Hello everyone - here’s my use case. Every so often the power company cuts off power, for some reason when power comes back on my router (Google WiFi) gets confused and remains offline. When I am home, no big deal, I unplug and plug it back in. If I am not home, the challenge is that I lose all remote access to my instance.
My idea is to plug the router into a ESP-home flashed plug, write an automation that checks periodically if I can ping an external website, and if not trigger a power cycle of the plug.
I have seen posts referring to the Ping sensor or even to use the Command Line Interface but can’t figure out how to apply that in my case.
Any suggestions ?