A little while back, whilst at one of the evening Ipswich Makerspace nights, I was asked how easy it would be to design a plug-and-play speed testing tool from a Raspberry Pi. Thanks to existing libraries like “speedtest-cli” for python, the answer is – really easy.
So I started work on just such a device, but then after getting it to send emails daily and weekly – I thought – how can this be improved and what more can be done to make network administrators jobs easier.
Whilst working on this problem, I was again approached asking this very question. Well – after many days of sweat and tears – I would like to introduce the Pi Network Testing Appliance V1.
Currently this still only does a speed test – but it does it in a fancy way.
Don’t just take my word for it – watch the clip below:
The code for all of this is freely available on Github: https://github.com/vwillcox/speedtest-cron
So what is it doing and why?
This application will either manually or automatically run a speed test of your internet connection against the excellent speedtest.net systems. When it has completed it run, the results get stored in a file. Then once a day it will email this file off to you.
If you are using the excellent E-Paper hat from http://www.percheron-electronics.uk/shop/e-paper-hat/ you can make use of the buttons to run the test on demand and also output the results to the screen.
I plan on developing this further to do more lower level testing of switch/hub ports that network administrators normally carry out with expensive dedicated equipment.