EspHOME dashbord deepsleep signal

I am using a lot of esp’s programmed with deepsleep.
They are all shown as offline which is sometime frustating.
Can we make it possible to showup as deepsleep mode.
We can than see which are in real offline.

I am useing solar end battery. When battery are not charged enough they are in real offline and not in sleep mode.

Not sure how you would do this.

The device disconnects from the network when it sleeps as the wifi module is shut down. There is no way to differentiate this from a device that has disconnected for some other reason.

1 Like

Best bet might be to set up some battery level monitoring?

You cant monitor anything when it is disconnected.

There would have to be some way for the ESP device to send an “I’m going to sleep now” signal. Not sure such a thing exists, or if there’s an event which could be caught to create one. Then you’d need a matching “I’m awake now” signal. Then HA would need to know how long to expect it to stay asleep before considering it truly “unavailable.”

Admittedly, I have no clue if any of this is practical, but I don’t like to say impossible.

Sure that’s possible but if the ESP crashes while asleep or when waking up, it will be falsely reported as asleep rather than disconnected.

1 Like

I guess where I was going with my comment is that if the main underlying issue is battery levels, then some battery level monitoring might help the situation more generally.

I have some of my solar projects wake up, check if their level is above x% if so, do work, if not sleep for a long time and hope you get more solar before the next wake.

But yeah, take your other points for sure…

1 Like

OK, I think i will made a workaround. Testing if data is comming in within a timeframe. Scanning all ESP’s and if not than sending a red flag. However I have to find-out how to do this :slight_smile:
Thanks for the reply’s.