WTH isn't there a way the restart ESPhome devices

WTH isn’t there a way the restart ESPhome devices when they crash,
for instance by adding a button to the webinterface,
or add some option in de devices panel, for people who don’t have web enabled

Do you mean other than this?

Restart Switch — ESPHome

Restart Button — ESPHome

I suppose they may not work, if the device has crashed, but then I suspect it’s webserver may not either.

1 Like

I have the restart button as part of my standard package which I include in all my configurations

1 Like

The only way I see to get that to work is to put the adapter that powers the ESPHome device in a smart plug. Then you can create an automation if the esp32 is offline for xx time then powercycle it. But I’d rather look into why the esp device crashes in the first place.

I just had this issue,
the webserver was serving a page without any entities or logs,
so this restart switch(which actually is new to me) wouldn’t have shown up either :wink:

You can expose it to HA and press it there. If it’s just the web interface that doesn’t work

at that point everything dies
image
including the physical button.

But as there is kind a solution, I now need to find why my ESPHome crashes so ofthen while updating, but this is not a WTH issue