Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active polling of read values crashes the heat pump #10

Open
jkunczik opened this issue Mar 4, 2024 · 0 comments
Open

Active polling of read values crashes the heat pump #10

jkunczik opened this issue Mar 4, 2024 · 0 comments

Comments

@jkunczik
Copy link

jkunczik commented Mar 4, 2024

After the latest update of the ebusd-configuration (PR john30/ebusd-configuration#316) many Home Assistant users experienced heat pumps, which were shutting off (after 5 to 10 minutes) although the energy integral was still negative. Because of that the configuration changes have been reverted.

During debugging (see john30/ebusd#1205) we found out that ebusdpy and the MQTT integration actively poll read messages and that the new configuration contains read values, which should not be read by a second master (because it will prematurely shut off the heat pump). The theory was successfully tested with the MQTT integration, which is why I am opening this issue.

This part of ebusdpy actively polls read messages:

https://github.com/CrazYoshi/ebusdpy/blob/977fe2d795e0521a0a99d33f19f2cf8ba28e18cb/ebusdpy/ebusdpy.py#L30C1-L31C58

Would it be possible to make active polling optional to prevent such system crashes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant