A lightweight, cross-platform Python 3 script that can reboot the T-Mobile Home Internet Arcadyan and Nokia 5G Gateways.
It's based on highvolt-dev/tmo-monitor: it's a stripped-down version of the code, with minimal dependencies.
Simply run tmo-reboot.py
.
All the configuration is done via environment variables:
TMHI_MODEL
: one ofNOK5G21
for the Nokia router orARCKVD21
for the Arcadyan router (required)TMHI_USER
: name of the router's admin user; defaults to "admin"TMHI_PASSWORD
: password for the router's admin user
The reason for stripping down to the minimum is for installing this software on the least capable OpenWRT devices.