Skip to content

matthewwall/weewx-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

1) download

wget -O weewx-mqtt.zip https://github.com/matthewwall/weewx-mqtt/archive/master.zip

2) run the installer:

wee_extension --install weewx-mqtt.zip

3) modify weewx.conf:

[StdRESTful]
    [[MQTT]]
        server_url = mqtt://username:[email protected]:1883

4) 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

About

upload data to mqtt broker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages