Skip to content

An open source python script to display network speed in command line and write it to an external I2C 16x2 display.

License

Notifications You must be signed in to change notification settings

maxi07/speedtest-display

Repository files navigation

Network speedtest display

An open source python script to display network speed in command line and write it to an external I2C 16x2 display.

The script will check your internet connection every 120 seconds (changeable with options) and print the up- and download speed into the console and display. In addition, it will save the result into a csv file. The display contains of the current download speed, upload speed and the average from the last ten probes. The timer can be customized with the option python3 run-speedtest-display --sleep [integer]

Installation

To install clone this repository and run

sudo ./install.sh

The device will reboot after completed.

Wiring / LCD Display

The script was developed for a 16x2 I2C display, which can be found for cheap on Amazon.com. For wiring setup, please check the wiki.

Run

To run the script, execute

python3 run-speedtest-display.py

Options

To print all available options, use

python3 run-speedtest-display.py --help

Credits

Credits go to https://github.com/the-raspberry-pi-guy/ on teaching how to communicate with i2c

About

An open source python script to display network speed in command line and write it to an external I2C 16x2 display.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published