Closed swa72 closed 3 years ago
I think it's worth looking into why EMS-ESP is losing the MQTT connection. Put SysLog on and see when it occurs. I could be related to the MQTT server going down for longer than a few minutes (see https://github.com/emsesp/EMS-ESP32/issues/42).
There's also a last will topic called status
so you could subscribe to that. See https://www.home-assistant.io/docs/mqtt/birth_will/
Every couple of weeks I notice flat lines of data in HA (no changing data for a couple of hours). I discovered that EMS ESP MQTT service has stopped working.
I now have an automation that checks for
sensor.thermostat_damped_outdoor_temperature
which should change regularly. And if there is no change within 2 hours, I get a message to look after the system. Is there any better approach?