Skip to content

Log internet bandwidth to a CSV file with a Raspberry Pi and speedtest.net

License

Notifications You must be signed in to change notification settings

benbankes/speedtest-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

speedtest-pi

Log internet bandwidth to a CSV file with a Raspberry Pi

Install

After installing Raspbian, run the following commands in a terminal:

sudo apt install ansible
git clone https://github.com/benbankes/speedtest-pi.git
cd speetest-pi
ansible-playbook speedtest.yml

Usage

After installation, internet bandwidth is automatically benchmarked and logged to the file /var/log/speedtest.csv

Dependencies

  • Ansible is used to automate installation tasks
  • The speedtest-csv command from speedtest-cli-extras is automatically included during installation

Limitations

Some hardware on the Raspberry Pi limits the network throughput that can be achieved. If the internet bandwidth is above these limits, the log may report bandwidths that are below what can be achieved with the same internet connection on different hardware.

  • Raspberry Pi 1 - The CPU limits network traffic to about 20Mbps
  • Raspberry Pi 2 - The NIC card limits network traffic to 100Mbps
  • Raspberry Pi 3 - The NIC card limits network traffic to 100Mbps

Although untested, speedtest-pi will probably work perfectly fine on any Debian-based operating system (eg. Ubuntu) with Python 2 or 3.

License

MIT © Ben Bankes

Join the chat at https://gitter.im/speedtest-pi/Lobby

About

Log internet bandwidth to a CSV file with a Raspberry Pi and speedtest.net

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages