Hi all, I suspect the answer to this question is that what I asking for is not possible, but just in case…
I just came home to discover all my lights and my TV was on. Checking the HA uptime it looks as if there was a power outage a few hours ago.
I’d like to detect this so I can ensure everything is reset to a known state when the power returns. As such I wondered if there was anything in the MQTT data from the Glow CAD I could use to determine such a power outage?
Obviously the HA server itself (a Yellow) was powered down, so unless I move it to a UPS (which is an option) polling to see that electricity usage is zero is not an option.
Looking at the MQTT data on the broker I cannot see anything obvious, but thought I would ask here in case anyone had any ideas.
If I were to put the HA yellow on a UPS would this give any additional data during a power outage? i.e. would the supplier id vanish?
I know much of this may be speculative since it is hard to simulate a power cut and there may be many reasons for the outage, but again I just wondered if anyone had any ideas?