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

BHT-002 Power cycle and status memory 1.38 #315

Open
multijohn opened this issue Dec 16, 2023 · 0 comments
Open

BHT-002 Power cycle and status memory 1.38 #315

multijohn opened this issue Dec 16, 2023 · 0 comments

Comments

@multijohn
Copy link

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!

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