tmo-monitor
tmo-monitor copied to clipboard
A lightweight, cross-platform Python 3 script that can monitor the T-Mobile Home Internet Nokia, Arcadyan, and Sagecom 5G Gateways for 4G/5G bands, cellular site (tower), and internet connectivity and...
macOS 12.4 Python 3.9.13 tmo-monitor 2.0.0 beta6 All dependencies installed, as far as I know. The main script crashes with: `$ ./bin/tmo-monitor.py Password: 2022/06/20 18:42:29 [DEBUG] Starting new HTTP connection...
Using Nokia 5G "trashcan" on firmware 1.2104.00.0286 2022/06/15 00:20:38 [DEBUG] Starting new HTTP connection (1): 192.168.12.1:80 2022/06/15 00:20:39 [DEBUG] http://192.168.12.1:80 "GET /dashboard_device_info_status_web_app.cgi HTTP/1.1" 200 649 2022/06/15 00:20:39 [INFO] Reboot requested....
Sorry, Python noob here. On an uppdated RaspberryPi Python 3.9.2 pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9) pip3 install . yields ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml'...
Handle DNS failures in a more explicit way. Pinging an IP address (e.g. 1.1.1.1 or 8.8.8.8) can indicate whether there is network connectivity regardless of DNS functionality. Likewise, more explicitly...
day = uptime // (24 * 3600) uptime = uptime % (24 * 3600) hour = uptime // 3600 uptime %= 3600 minutes = uptime // 60 uptime %= 60...
FYI, I created a Docker container version of your tool at https://github.com/hugoh/docker-tmo-monitor. The image is published at https://hub.docker.com/r/hugohh/tmo-monitor. It's been working fine for me. I'm happy to provide a pull...
`capture_output` kwarg for `subprocess.run` was introduced in Python 3.7 - instead use `stdout=subprocess.PIPE, stderr=subprocess.PIPE` Reported by reddit user /u/Tractor_Boy_500
Add linting rules for better consistency of code. Incorporate in GitHub Actions.
I have a pi with a fresh install of the latest version. What do I need to do to install and then run this script? I can run pip3 and,...
When the Arcadyan gateway returns the status of the signal, it doesn't always provide both 4g and 5g bands if not connected. For example, my gateway pulls this currently: `{...