Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hobbyquaker/speedtest2mqtt
Run speedtest-cli and publish results via MQTT
https://github.com/hobbyquaker/speedtest2mqtt
dsl internet mqtt smarthome speedtest test
Last synced: about 2 months ago
JSON representation
Run speedtest-cli and publish results via MQTT
- Host: GitHub
- URL: https://github.com/hobbyquaker/speedtest2mqtt
- Owner: hobbyquaker
- License: mit
- Created: 2018-02-07T20:48:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-09T23:28:07.000Z (almost 7 years ago)
- Last Synced: 2024-11-01T10:42:26.910Z (about 2 months ago)
- Topics: dsl, internet, mqtt, smarthome, speedtest, test
- Language: Shell
- Size: 9.77 KB
- Stars: 15
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# speedtest2mqtt
[![mqtt-smarthome](https://img.shields.io/badge/mqtt-smarthome-blue.svg)](https://github.com/mqtt-smarthome/mqtt-smarthome)
[![License][mit-badge]][mit-url]> 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](https://github.com/hobbyquaker)
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
[mit-url]: LICENSE