-
Notifications
You must be signed in to change notification settings - Fork 22
/
enoceanmqtt.conf.sample
92 lines (78 loc) · 2.84 KB
/
enoceanmqtt.conf.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
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
## the general section defines parameter for the mqtt broker and the enocean interface
[CONFIG]
enocean_port = /dev/enocean
log_packets = 1
mqtt_host = localhost
mqtt_port = 1883
mqtt_client_id = enocean # ensure that this is unique if you use multiple clients
## setting mqtt_keepalive = 0 sets the timeout to infinitive but does not work reliably
## due to an upstream issue https://github.com/eclipse/paho.mqtt.python/issues/473
mqtt_keepalive = 60
## the prefix is used for the mqtt value names; this is extended by the sensor name
mqtt_prefix = enocean/
## publish received packets as single MQTT message with a JSON payload
# mqtt_publish_json = true
## optionally also set mqtt_user and mqtt_pwd (don't use quotes).
# mqtt_user = mqtt
# mqtt_pwd = password
## enable SSL on MQTT connection
## Ensure that mqtt_host matches one of the hostnames contained in the broker's
## certificate, otherwise the client will refuse to connect.
##
## mqtt_ssl_ca_certs: CA certificates to be treated as trusted. Required if
## the MQTT broker is configured with a self-signed certificate.
## mqtt_ssl_certfile, mqtt_ssl_keyfile: Client certificate and private key.
## Only required if the broker requires clients to present a certificate.
## mqtt_ssl_insecure: Disable verification of the broker's certificate.
## WARNING: do NOT use on production systems as this is insecure!
##
# mqtt_ssl = true
# mqtt_ssl_ca_certs = /path/CA_files_merged.pem
# mqtt_ssl_certfile = /path/client_cert.pem
# mqtt_ssl_keyfile = /path/client_key.pem
# mqtt_ssl_insecure = true
## Enable MQTT debugging. Requires --debug on the command line.
# mqtt_debug = true
## all other sections define the sensors to monitor
[switch]
address = 0xfefee192
rorg = 0xf6 # BS1
func = 0x02
type = 0x02
log_learn = 1
publish_rssi = 1
[temperature]
address = 0x01823FFA
rorg = 0xA5
func = 0x02
type = 0x05
persistent = 1
[shutter]
# this sensor is used for sending data
# address is the destination address then
address = 0x051C1FB7
rorg = 0xD2
func = 0x05
type = 0x00
[radiator]
address = 0xDEADBEEF
rorg = 0xD2 # VLD
func = 0x01
type = 0x0C
log_learn = 1
command = CMD
# use a specific sender address when sending packets to this device
sender = 0xFFDC1711
[hvac_actuator]
address = 0xFFDC9500
rorg = 0xA5 # BS4
func = 0x20
type = 0x01
direction = 1
answer = 1
# when sending, this is the data default that can be customized via MQTT
default_data = 0x32790008
[non_interesting]
address = 0xFFD05085
# received messages from this sensor will not appear as warnings in the log file
ignore = 1