-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfrewe-client.cfg
281 lines (221 loc) · 10.1 KB
/
frewe-client.cfg
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
#######################################################################
# Freetz Weather Client (frewe-client) for FRITZ!Box Configuration File
# Alexey Ozerov (c) 2015 - ver. 1.19
# All settings are optional, all lines beginning with # are comments
#######################################################################
#######################################################################
# Weather station related settings
#######################################################################
# Weather station type
# Set to WH3080 for WH3080 and WH3081, keep WH1080 otherwise
StationType WH1080
# Weather station altitude in meters for relative pressure calculation
Altitude 50
# Set RunInterval in seconds in order to run frewe-client continuously
# Less then 48 seconds is not reasonable as the last reading updated every 48 secs
RunInterval 300
#######################################################################
# frewe-server settings (OPTIONAL)
# Remove the heading # to enable and set your settings
#######################################################################
# Full URL of frewe-server.php
#FreweServer_URL http://www.domain.com/path/to/frewe-server.php
# Server key as defined in frewe-server.php
#FreweServer_Key your_server_key
# Send weather data to frewe-server, set On to enable
#FreweServer_SendData Off
# Resend missing weather data, set On to enable
#FreweServer_Resend Off
# Send all kind of errors to specified email address (requires frewe-server to be configured)
#Error_Email [email protected]
#######################################################################
# Configuration of known weather services
# Register for the weather service in order to use it
# Set WSWIN Direkt Link in Datenuebernahme in Awekas Configuration
# Remove the heading # to enable service and set your settings
#######################################################################
#WUnderground_StationID your_station_ID
#WUnderground_Password your_password
#PWSWeather_StationID your_station_ID
#PWSWeather_Password your_password
#Awekas_Username your_username
#Awekas_Password your_password
#METOffice_SiteID your_site_ID
#METOffice_SiteAuthKey your_auth_key
#Wetter.com_Username your_username
#Wetter.com_Password your_password
#Wedaal_Username your_username
#Wedaal_StationPass your_station_pass
#Sauerlandwetter_StationID your_station_kennung
#Sauerlandwetter_Password your_station_password
#WetternetzSachsen_UserID your_user_id
#WetternetzSachsen_Password your_password
#######################################################################
# Sensor calibration (ADVANCED)
# value = sensor * factor + offset
# Offsets are in C, hPa, km/h, mm, lux
#######################################################################
TempInFactor 1.0
TempInOffset 0.0
TempOutFactor 1.0
TempOutOffset 0.0
HumidityInFactor 1.0
HumidityInOffset 0.0
HumidityOutFactor 1.0
HumidityOutOffset 0.0
PressAbsFactor 1.0
PressAbsOffset 0.0
WindspeedFactor 1.0
WindspeedOffset 0.0
WindgustFactor 1.0
WindgustOffset 0.0
WinddirOffset 0.0
RainFactor 1.0
RainOffset 0.0
IlluminationFactor 1.0
IlluminationOffset 0.0
UVFactor 1.0
UVOffset 0.0
#######################################################################
# Additional URLs of services to submit the weather data to (ADVANCED)
# Run "/var/media/ftp/frewe/frewe-client -h" for the full list of vars
#######################################################################
# WeatherURL http://www.domain.com/path/to/service.php?action=updateraw&ID=YOURID&PASSWORD=YOURPWD&dateutc=%n&winddir=%d&windspeedmph=%w&windgustmph=%g&humidity=%H&tempf=%o&dewptf=%e&baromin=%l&indoortempf=%i&indoorhumidity=%h&rainin=%s&dailyrainin=%t&softwaretype=Freetz%%20Weather
#######################################################################
# Output format and error string (may be empty) (ADVANCED)
# Run "/var/media/ftp/frewe/frewe-client -h" for the full list of vars
#######################################################################
# Full output string with metric units
# OutputFormat time: %N\nage %a min\nin humidity: %h %%\nout humidity: %H %%\nin temperature: %I C\nout temperature: %O C\ndewpoint temperature: %E C\nwindchill temperature: %C C\nwind speed: %W km/h\nwind gust: %G km/h\nwind direction: %D\npressure: %P hPa\nrel. pressure: %L hPa\nrain total: %R mm\nrain 60 min: %S mm\nrain since 0h: %T mm\n\n
# Full output string with english units
# OutputFormat time: %N\nage %a min\nin humidity: %h %%\nout humidity: %H %%\nin temperature: %i F\nout temperature: %o F\ndewpoint temperature: %e F\nwindchill temperature: %c F\nwind speed: %w mph\nwind gust: %g mph\nwind direction: %D\npressure: %p in\nrel. pressure: %l in\nrain total: %r in\nrain 60 min: %s in\nrain since 0h: %t in\n\n
# Use this output format if your want to log the data in a local CSV file
# OutputFormat %N;%I;%O;%h;%H;%L;%W;%G;%d;%S;%T\n
# Empty output for silent run, keep it
OutputFormat
ErrorString N/A
#######################################################################
# Output format and file for FHEM integration (ADVANCED)
# Use this command to add your weather station to FHEM
# define myWH1080 WS3600 "cat /var/media/ftp/frewe/fhem.txt" 300
#######################################################################
#FHEM_File /var/media/ftp/frewe/fhem.txt
#FHEM_OutputFormat DTime %N\nTi %I\nTo %O\nRHi %h\nRHo %H\nDIR %d\nDIRtext %D\nWS %W\nWG %G\nRtot %R\nRP %L\n
#FHEM_ErrorString
#######################################################################
# Alarms (ADVANCED)
# Get URL, run command or send eMail if threshold value is reached
# Run "/var/media/ftp/frewe/frewe-client -h" for the full list of vars
# You can enable up to 20 alarms and use each alarm type more than once
# Alarm_Email require frewe-server to be configured
# Thresholds are in C, hPa, km/h, mm, lux
# Helpful commands for Fritzbox:
# echo "ATDT123456" | nc 127.0.0.1 1011; sleep 2; echo "ATH" | nc 127.0.0.1 1011 # Ring Phone Number 123456
# ether-wake 00:11:22:33:44:55 # Wake up a device on specified MAC address
# echo "Email content" > /var/tmp/frewe.txt; mailer -t [email protected] -s "Email subject" -i /var/tmp/frewe.txt # Send email by Fritzbox, push service must be configured
#######################################################################
#HighOutdoorTemp 20.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowOutdoorTemp -20.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighWindchillTemp 40.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowWindchillTemp -40.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighDewTemp 40.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowDewTemp -40.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighIndoorTemp 40.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowIndoorTemp 10.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighOutdoorHumidity 100
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowOutdoorHumidity 10
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighIndoorHumidity 100
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowIndoorHumidity 10
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighRelPressure 1050.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowRelPressure 950.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighWind 50.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowWind 0.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighGust 100.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowGust 0.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighRainHour 10.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowRainHour 0.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighRainDay 100.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowRainDay 0.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighIllumination 100.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowIllumination 0.0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#HighUV 100
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
#LowUV 0
#Alarm_Get http://www.domain.com/path/to/service?query
#Alarm_Run /path/to/command args
#Alarm_Email [email protected]
# END OF FILE