eiabea / tempea-api

Thermostat control based on node.js
MIT License
1 stars 0 forks source link

No sensor data fallback #77

Open eiabea opened 2 years ago

eiabea commented 2 years ago

If the sensor breaks down, or is just not read correctly, a heating loop could occur. This should be prevented by checking for success readings of the sensor and that the temperature is not 85, which is an error code of the sensor. If reading fails for x attempts a notification should be sent and the temperature should be set to the fallback temperature