Bredbandskollen, internet speedtest, integrating with Home Assistant via MQTT Discovery
In my earlier posts about Lightweight DIY Linux Server Monitoring I used a small Bash script and MQTT Auto-Discovery to get server metrics into Home Assistant (HA) without any manual sensor setup. The same idea works very well for something else I wanted to keep an eye on: the speed of my internet connection. This time the data source is the command line client for Bredbandskollen. It measures download, upload and latency against a nearby test server, and prints the result as a single line of text, perfect for a script. The script runs on my Proxmox host, publishes the result to the Mosquitto broker, and HA creates a device with all the sensors by itself.