Is there a way to setup my smart plug so if my internet goes down, the plug will automatically reboot until my internet starts up?
Something like this post
I think this would work?
I have 2 of these on the way.
Is there a way to setup my smart plug so if my internet goes down, the plug will automatically reboot until my internet starts up?
Something like this post
I think this would work?
I have 2 of these on the way.
What’s the purpose of this?
Do you mean local internet or WAN(outside internet)?
Maybe reboot_timeout is what you’re looking for. It will only reboot if HA isn’t connected basically. So has same effect as reboot with no network
(Native API Component — ESPHome)
reboot_timeout** (Optional, Time): The amount of time to wait before rebooting when no client connects to the API. This is needed because sometimes the low level ESP functions report that the ESP is connected to the network, when in fact it is not - only a full reboot fixes it. Can be disabled by setting this to
0s
. Defaults to15min
.
Both. One smart plug for modem and one for router.
Both smart plugs ping an IP at a set interval. Power goes out. Ping fails. Smart plugs reboot, wait X time and pings IP. Ping fails, automation restarts.
Are they connected to HA