-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
65 lines (44 loc) · 1.67 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
wns - weewx extension that sends data to Wetternetz-Sachsen
Copyright 2020 Johanna Roedenbeck
Distributed under the terms of the GNU Public License (GPLv3)
You will need an account at Wetternetz-Sachsen
http://www.wetternetz-sachsen.de
Installation instructions:
1) download
wget -O weewx-wns.zip https://github.com/roe-dl/weewx-wns/archive/master.zip
2) run the installer
sudo wee_extension --install weewx-wns.zip
3) enter parameters in the weewx configuration file
[StdRESTful]
[[Wns]]
enable = true
station = station ID
api_key = WNS-Kennung
T5AKT_ = observation type that holds 5cm-temperature
SOD1D_ = observation type that holds sun duration
skip_upload = false
log_url = false
4) restart weewx
for SysVinit systems:
```
sudo /etc/init.d/weewx stop
sudo /etc/init.d/weewx start
```
for systemd systems:
```
sudo systemctl stop weewx
sudo systemctl start weewx
```
Configuration instructions:
Station ID and WNS-Kennung are mandatory. You get them from the Wetternetz
Sachsen administrator.
Set T5AKT_ = None if you do not measure 5cm temperature. Otherwise give the
WeeWX observation type you use for that value.
Set SOD1D_ to the observation type of sun duration. If you do not have
such an observation type set it to None.
Set `TSOI10`, `TSOI20`, and `TSOI50` to the appropriate WeeWX observation
types if you measure soil temperatures. The number is the depth in cm.
Set skip_upload to true to do all the calculation and preparation without
doing the real upload. This is for testing.
Set log_url to true to log the URL sent to Wetternetz Sachsen to syslog.
This is for trouble shooting.