Bredbandskollen, Internet speed, CLI

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.

Installing
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.


Comments

Popular post the last 30 days

iCloud drive sync, or mount, with a Linux, Ubuntu, device

SeaTalk1 to NMEA 0183 converter, DIY

Installing Ubuntu 24.04 or 24.10/25.04 on an old MacBook Air(2011)

NetworkManager UI and access point, hotspot

Raspberry Pi OS Lite with GUI, RDP, VNC, Chromium

AIS for Raspberry with Map, Dispatcher

AIS receiver and dispatcher ! The best ?!

Waveshare CAN hat with Signal K & OpenPlotter

Homekit, temperature with DS18B20

Clone the Raspberry boot disk