Victor-Mo / IRT-ESP

Nefit / Buderus iRT protocol encoder / decoder for ESP8266
GNU Lesser General Public License v3.0
22 stars 6 forks source link

Fail safe shut down upon wifi disconnect #15

Open jperquin opened 3 years ago

jperquin commented 3 years ago

Is your feature request related to a problem? Please describe. Had a few occasions where wifi connectivity dropped while boiler was at full blast and whole house turned into a sauna.

Describe the solution you'd like Set flow temp to zero upon wifi or mqtt disconnect

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Victor-Mo commented 3 years ago

@jperquin I had the opposite, I had a couple of cold mornings because the home automation had failed. The current firmware does check if the MQTT if it is connected and has no errors (isMQTTHealthy). If the MQTT connection drops or if there are errors sending MQTT it resets the flow temp to 0. But it looks like this does not get updated if the wifi drops. You are right it should also include the WiFi status.

Maybe it should also have a timeout, if it does not receive any flow temp commands for X time, reset to 0.