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!
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!