klausahrenberg / WThermostatBeca

Replaces original Tuya firmware on Beca thermostat with ESP8266 wifi module
395 stars 96 forks source link

BHT-002 Power cycle and status memory 1.38 #315

Open multijohn opened 9 months ago

multijohn commented 9 months ago

Hello, This version is working good and i have noticed that the device "remembers" the states values!! But it remembers only when successfully connected to the mqtt brocker! Is that conclusion that i made correct;

I made some tests! 1 turn on thermostat from local button 2 set target temp to 7 degrees from local buttons 3 set target temp to 8 degrees from home assistant 4 turn off thermostat from home assistant 5 stop temporarily mqtt broker from hass server 6 power cycle the device Result: Thermostat returns powered on with target temp to 7

This is not safe if for some reason the server fails to start after power failure.

Can the values be saved locally on device's eeprom Especially the deviceOn value

Thank you!