-
Notifications
You must be signed in to change notification settings - Fork 35
/
readme.txt
44 lines (26 loc) · 987 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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