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

Possible undesirable behaviour on MQTT broker connection failure #423

Open
arc12 opened this issue Mar 28, 2024 · 0 comments
Open

Possible undesirable behaviour on MQTT broker connection failure #423

arc12 opened this issue Mar 28, 2024 · 0 comments

Comments

@arc12
Copy link

arc12 commented Mar 28, 2024

Consider the situation when everything has been working well and one or more of the outputs (smart grid, thermo-on, safety) have been activated.
Now consider a failure of the network or of the MQTT broker.

What should happen when ESPAltherma cannot reconnect to the broker?
I propose there should be default ("safe") settings for the outputs which are asserted on MQTT connection loss.
As far as I can see from the code, the current algorithm for reconnection makes no change to the output. So it could leave SG=mode3 on!

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