fashberg / WThermostatBeca

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

Home Assistant (schedule controller) heartbeat #168

Closed Kejszijo closed 1 year ago

Kejszijo commented 2 years ago

Hi,

It would be nice if there was a function that monitors that the Home Assistant is available (HA Heartbeat). If it is not available for, say, 10 minutes, it would automatically return to "auto" mode. This would be good because many people schedule the thermostat from HA. However, if for some reason the thermostat cannot be controlled (HA fail, Wifi fail, etc.), it would revert to its own scheduler.

I can imagine this in the way that the IP address of the Home Assistant could be entered in an input field. It would ping this every minute. If this IP address do not answer 10 times, it will return to "auto" mode.

Is this development possible?

Thanks!

github-actions[bot] commented 1 year ago

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