Hi. I am building an esp32 irrigation controler with 9v pulse valves, powered by solar charged bateries. I use deep sleep to save power and the controler runs 20s each 15 minutes.
I would like to have an entity in my dashboard that shows on when the esp32 is awake and reconected to HA.
After lots of googling, i have not found any way to do it.
¿Any idea?
Did you try the status sensor?
Hi aconsuegra,
I believe that would involve some ESPHome yaml to export something that you can monitor in HA.
I have a sensor that might help,
Home-Assistant-Config/esphome/packages/sg_base.yaml at 46dd61e154fa75a354f9aa346234f3f4c7fb9ab1 · SirGoodenough/Home-Assistant-Config · GitHub.
otherwise think along these lines and use the ESPHome docs or Discord to come up with something is my advice.
ESPHome
and
ESPHome — ESPHome .
The status sensor is exactly what i need.
I have tested it and it works exactly as i need
Thanks to all for your fast answere.