forked from nbeguier/rfxcmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.xml.sample
55 lines (44 loc) · 1.6 KB
/
config.xml.sample
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
<config>
<version>1</version>
<!-- Serial -->
<serial_active>yes</serial_active>
<serial_device>/dev/ttyUSB0</serial_device>
<serial_rate>38400</serial_rate>
<serial_timeout>9</serial_timeout>
<!-- Process -->
<process_rfxmsg>yes</process_rfxmsg>
<!-- Daemon -->
<daemon_active>no</daemon_active>
<daemon_pidfile>/var/run/rfxcmd.pid</daemon_pidfile>
<!-- Logging -->
<loglevel>error</loglevel>
<logfile>/var/log/rfxcmd.log</logfile>
<outputfile>/var/log/output.log</outputfile>
<!-- Socket server -->
<socketserver>yes</socketserver>
<sockethost>localhost</sockethost>
<socketport>55000</socketport>
<!-- Whitelist -->
<whitelist_active>no</whitelist_active>
<whitelist_file>whitelist.xml</whitelist_file>
<!-- Barometric adjustemnt, only 0x54 -->
<barometric>0</barometric>
<!-- Log messages -->
<log_msg>no</log_msg>
<log_msgfile>msg.log</log_msgfile>
<!-- Protocol configuration -->
<protocol_startup>no</protocol_startup>
<protocol_file>protocol.xml</protocol_file>
<!-- MQTT configuration -->
<sendMQTT>no</sendMQTT>
<MQTThost>192.168.0.1</MQTThost>
<MQTTport>1883</MQTTport>
<MQTTtopic>sensor/oregon/</MQTTtopic>
<MQTTqos>2</MQTTqos>
<MQTTretain>True</MQTTretain>
<!-- MQTTsenddata can be: temperature,humidity,humidity status, -->
<!-- signal level,battery,barometric pressure,rain, -->
<!-- wind direction,wind speed,wind gust,ultra violet -->
<MQTTsenddata>temperature,humidity,humidity status,signal level,battery</MQTTsenddata>
<MQTTunits>imperial</MQTTunits> <!-- imperial/metric -->
</config>