Automatically reboot your modem and router when your Internet crashes.
Forever Internets monitors your Internet connection and will restart your modem and router automatically whenever your Internet goes down.
It is intended to be a self-hosted alternative to ResetPlug.
- Two TP-Link HS105 smart plugs. HS110 is also likely compatible.
- Static IPs for each smart plug (use static DHCP).
- Ruby 2.5+
- Python 2.7
# Install required gems
bundle install
# Run
./forever-internets --help
./forever-internets --modem-plug-ip 10.0.0.11 --router-plug-ip 10.0.0.12
It is recommended to run this in a Docker container. See docker-compose.yml.
This uses the excellent TP-Link Python script by Lubomir Stroetmann.