highvolt-dev / tmo-monitor

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 reboots as needed or on-demand.
MIT License
89 stars 15 forks source link

A more detailed installation procedure? #63

Open DWomack opened 2 years ago

DWomack commented 2 years ago

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, after a while, it returns a string of command line options.

I am a noob at python.

Have you looked at this...

https://github.com/geerlingguy/internet-pi

I have been running it for 3 months. It works with any ISP.

My TMHI was terrible during the day until about 3 weeks ago. Speeds are not great but very usable.

Thanks for sharing your work.

Dennis

internet=pi output...

Internet_connection_-_Grafana

32 0 Mbs

danhausman commented 2 years ago

@DWomack I am running it on a pi at my house.

Grab the latest release I extracted it to my home directory on the pi Go into that new directory pip3 install -e .

That should get you started. I set up the .env file to store settings. Then I use crontab -e to run it every 3 minutes.

/3 * python3 /home/pi/tmo-monitor-2.0.0-beta4/bin/tmo-monitor.py

I also set up a log in /var/log/ That is all documented in the readme.

Let me know if you need any more help.

DWomack commented 2 years ago

Got things to working with 1.8.

Thanks