martinbernat / homebridge-th16ermostat

Turn your Sonoff TH16/TH10 into simple thermostat in homebridge.
Apache License 2.0
3 stars 2 forks source link

Thermostat is OFF after HB restart #1

Open Paulxp opened 3 years ago

Paulxp commented 3 years ago

Hi Martin, i use your plugin to control my heating convector in living room. When thermostat is set to Auto mode (auto heating to 23 degrees) and i restart homebridge for some reason (configuring something, etc.) the thermostat is in mode OFF after homebridge starts. Is there any option how to restore thermostat state in which was before homebridge restart?

martinbernat commented 3 years ago

Hi Paul, thanks for using the plugin, I'll take a look at your issue. I'm also thinking to get rid of the "Auto" mode and leave only two modes (Off, Heat) where the "Heat" mode will work as the todays "Auto".

Paulxp commented 3 years ago

Thanx! It should be fine to have Off and Heat option. Btw, it looks like you are from Slovakia?

martinbernat commented 3 years ago

Yep Slovakia, why?

Paulxp commented 3 years ago

Hi Martin. I am from Kosice, Slovakia. Do you have any update how to store status of thermostat before homebridge restart and set it back again after homebridge starts?

One more question. I just want to create temperature logging with graphs + mark status of thermostat on that graph (ON, OFF status). Do you have any recommendation how to do it in homebridge? I think rrdtool can do this job.

Paulxp commented 2 years ago

Hi Martin, any update to fix original issue? Thanx

martinbernat commented 2 years ago

Hi, well, I've thought about it a bit and I'm inclined to think that this is how it should work. I also have bulbs/sockets controlled via the homebridge and these also shut off when HB is restarted. Could you please describe your wokflow? Do you restart HB frequently?