http://resetplug.com/
Plug your WiFi router/modem into the ResetPlug. The smart plug will act as a WiFi client to test the Internet connection. If the Internet fails to work, the ResetPlug will cycle power to the WiFi equipment to reset the Internet connection.