Heyhey, happy new year everyone
This is more of an observation I wanted to share, but I found the scenario kind of curious:
I have one esp8266 node with 2 IR sensors for our gas and electricity meters, which transfers the calculated consumption for both and for the power meter additionally the current watt usage to HA, from where they go into the energy dashboard and my general overview.
Yesterday during the day I realised that a few minutes before midnight on Saturday there was a small glitch in the metering, then started again, but was “stuck” in HA at a fixed value of 87 watts from then on.
The other sensors (for consumption) also stopped updating from then on.
First I thought “Oh well, probably the node hung up, let’s see if I can even still connect to it”. Turned out: connection worked fine (I use the command line version of esphome), and the logs showed me regular updates that the esphome node marked as successfully sent.
HA also showed the device available as usual, all entities available, no errors in the log, just unchanged values since that glitch, despite the node continuously “sending” updated data.
In the end I hard-rebooted the node by pulling the plug, and everything came back to normal:
I also checked the main HA logs afterwards for that timeframe, but nothing that relates to esphome or that node or its sensors specifically.
Not a big thing, everything fine now, but I really couldnt find an explanation and would be curious.
And while I write this I’m now wondering: how could I detect something like this with a healthcheck? All “involved parties” looked as if they operated normally, were online/available. The only thing I can think of is adding an additional template sensor for important sensors that turns red when the original sensor stays exactly on the same value for too long…
Well, that’s it, thanks for listening
Cheers!