fashberg / WThermostatBeca

Open Source firmware replacement for Tuya Wifi Thermostate from Beca and Moes with Home Assistant Autodiscovery
334 stars 69 forks source link

Feature request: automatically turn on the thermostat when connected to power #226

Closed giovi321 closed 5 days ago

giovi321 commented 6 months ago

Hi, the BHT-6000 does not automatically turn on when power is given to it. It would be nice to have the option to turn on automatically the device when power is given to it, the equivalent of sending an mqtt message like this:

topic: thermostat1/cmnd/things/thermostat/properties/deviceOn
message: true

Currently I'm managing it through home-assistant sending this message with a schedule, but it would be nice for the thermostat to be independent.

Thanks!

Stoatwblr commented 4 months ago

Are you sure about that? At least some of these devices have this option in the presets (resume, off, on)

giovi321 commented 4 months ago

I'm quite sure... where should I see this option? Sending a MQTT message?

tomik671108 commented 4 months ago

I would also be interested in such a function, remembering the state before the power failure would be very helpful.

giovi321 commented 3 months ago

I checked, there's no preset {resume, off, on}.

{"idx":"therm_1piano","ip":"192.168.165.156","firmware":"v1.22-fas","switchBackToAuto":false,"temperature":17.50,"targetTemperature":5.00,"deviceOn":true,"schedulesMode":"off","holdState":"manual","ecoMode":false,"locked":false,"mode":"heat","preset":"none","action":"idle","state":"off","mcuId":"IAYz2WK1th0cMLmL1.0.0"}

Would really appreciate if you could integrate that, I don't know how hard it is though :)

github-actions[bot] commented 1 week ago

Message to comment on stale issues. If none provided, will not mark issues stale