weewx-mqtt
weewx-mqtt copied to clipboard
upload data to mqtt broker
mqtt - weewx extension that sends data to an MQTT broker Copyright 2014-2020 Matthew Wall Distributed under the terms of the GNU Public License (GPLv3)
=============================================================================== Pre-Requisites
Install the MQTT python bindings
For python3:
sudo pip3 install paho-mqtt
For python2:
sudo pip install paho-mqtt
=============================================================================== Installation instructions:
- download
wget -O weewx-mqtt.zip https://github.com/matthewwall/weewx-mqtt/archive/master.zip
- run the installer:
wee_extension --install weewx-mqtt.zip
- modify weewx.conf:
[StdRESTful] [[MQTT]] server_url = mqtt://username:[email protected]:1883
- restart weewx
sudo /etc/init.d/weewx stop sudo /etc/init.d/weewx start
=============================================================================== Options
For configuration options and details, see the comments in mqtt.py