Runs a speed test every X seconds and publish the result to an mqtt topic
- Copy
.env.exampleto.env - Add values to the following variables in the created
.env:RUN_EVERY- <= 0 run only once
- > 0 run every X seconds
MQTT_HOSTNAMEMQTT_USERMQTT_PASSWORDMQTT_TOPIC
- Manual run:
- Run
pip install requirements.txtto install the dependencies - Run
python3 app.pyto publish to mqtt
- Run
- Run using docker:
docker-compose up