Skip to content

hobbyquaker/speedtest2mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

speedtest2mqtt

mqtt-smarthome License

Run speedtest-cli and publish results via MQTT

Install

Prerequisites: needs mosquitto_pub and of cource speedtest-cli. On Debian/Ubuntu do:
sudo apt install mosquitto-clients speedtest-cli

cd /usr/local/bin
sudo wget https://raw.githubusercontent.com/hobbyquaker/speedtest2mqtt/master/speedtest2mqtt
sudo chmod a+x speedtest2mqtt

If neccessary adjust paths and params.

Topics and Payloads:

  • speedtest/status/Ping {"val":"29.214","ts":1518035980012,"unit":"ms"}
  • speedtest/status/Download {"val":"49.51","ts":1518035980012,"unit":"Mbit/s"}
  • speedtest/status/Upload {"val":"9.51","ts":1518035980012,"unit":"Mbit/s"}

License

MIT © Sebastian Raff

About

Run speedtest-cli and publish results via MQTT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages