-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathenoceanmqtt.conf.sample
77 lines (63 loc) · 2.49 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
## the general section defines parameter for the mqtt broker and the enocean interface
[CONFIG]
enocean_port = /dev/enocean
log_packets = 1
overlay = HA
#mapping_file = /config/mapping.yaml # Uncomment if you want to use a custom mapping.yaml file
#db_file = /config/devices.db # Uncomment if you want to specify another location for the device database
## the discovery prefix is used by MQTT discovery in Home Assistant
mqtt_discovery_prefix = homeassistant/
mqtt_host = localhost
mqtt_port = 1883
mqtt_client_id = enocean_gateway # 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 = enoceanmqtt/
# 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/Disable MQTT debugging. Requires --debug on the command line.
mqtt_debug = false
## all other sections define the sensors to monitor
[rocker_1]
address = 0xBABECAFE
rorg = 0xF6
func = 0x02
type = 0x02
[smoke_detector]
address = 0xABADC0DE
rorg = 0xA5
func = 0x02
type = 0x05
[shutter]
address = 0x12345678
rorg = 0xD2
func = 0x05
type = 0x00
[pilotwire]
address = 0xDEADBEEF
rorg = 0xD2
func = 0x01
type = 0x0C
[non_interesting]
address = 0xBAAAAAAD
# This sensor will be ignored
ignore = 1