Looking for USB controlled plug recommendations.
Looking for a way to reboot my ISP equipment when a failure is detected.
I was thinking of running an old raspberry Pi 1 pinging and on failure turn off the power to the routers, wait a minute, and turn on the power again. Given that the wireless component might be the cause of the failure, I would like to have a wired connection to control the power.
What I am thinking of is something like a kasa smart plug but controlled by USB by the Pi.
I am a plug and play person and world not feel comfortable soldering something that uses 120v. Especially as it would be running 24/7.
Any recommendations?
This is the way to do it. I made a simple relay plus outlet where any 5v signal would turn the outlet off, and used it to control my router.
Eventually I got a better modem that I could reboot with a software command, then later an even better one that would auto sense problems and recover.