Im using NodeRed together with Speedtest by Ookla but just the other day it wasn't showing the right data so it was time for "Bredbandskollen", the command line version.
Bredbandskollen has always been a reliable source when testing internet speed. I'm using their WEB-site and the iPhone app and it have always worked very well.
This post will show how to plot data in a graph according to the picture.
Precompiled
Info regarding downloading the command is found here in Swedish. I'm running a Raspberry Pi(RPi) with 32 bit OS so used the following commands to activate the command
wget https://frontend.bredbandskollen.se/download/bbk_cli_linux_armhf-1.0
sudo cp bbk_cli_linux_armhf-1.0 /usr/bin/bbk_cli
Compile yourself
The source code is found here.
On my RPi the following commands did the job
wget https://github.com/dotse/bbk/archive/refs/heads/master.zip
unzip master.zip
cd bbk-master/src/cli
make
sudo cp cli /usr/bin/bbk_cli
Check installation
Run the command "bbk_cli" to check.
NodeRed implementation
Here you can find the command line options and I used the "--quiet" option where you will get the data in one line separated with a space.
The NodeRed flow, "ISP_speedtest_BBK_NR.json", can be downloaded here. The flow runs every 20 minutes checking our Mobile 5G receiver.
No comments:
Post a Comment
Feel free to leave a comment ! ... but due to a lot of spam comments I have to moderate them. Will reply ASAP !