Used to forward real-time MQTT datapoints to another MQTT database. For example I use it to forward to Adafruit.io for convienient visualization.
Head over to the Data & Visualization page on the OSP wiki for background, setup, etc.
here's a shot of my adafruit dashboard |
python3 -m pip install paho-mqtt colorama
python3 mqtt_relay.py --help
- Run in a screen:
screen -AdmS relay python3 mqtt_relay.py --...
- Go see more complete setup on the wiki