Setting up an automated Raspberry Pi broadband speed monitor

Based on this Make article:

http://makezine.com/projects/send-ticket-isp-when-your-internet-drops/

Grab the scripts:

sudo apt-get install python-pip
sudo pip install speedtest-cli
git clone https://github.com/HenrikBengtsson/speedtest-cli-extras.git

Create an IFTTT account and add the ‘If Maker then Google Drive‘ recipe to your account. This step deserves further investigation… this is an incredibly easy way to integrate access to online accounts (Twitter, Facebook, Google etc) and trigger writing messages to them via a REST based api call. Very, very cool.

After you’ve done the above, while logged on to IFTTT, click Channels in the top right, find the Maker channel and click it, and you’ll find your secret key value to use in the next script.

Copy script from this Gist, modify to add your secret key from above setup:

https://gist.github.com/aallan/bafc70a347f3b9526d30

At this point you can follow the other steps in the Maker article to set up to run the script using cron, and you’re all set!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.