-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmqtt.conf.template
More file actions
23 lines (19 loc) · 819 Bytes
/
mqtt.conf.template
File metadata and controls
23 lines (19 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Type of device. Valid options are 'lookup', 'rm', 'sp1', 'sp2', 'a1', 'mp1'
device_type = 'rm'
## lookup parameters
#lookup_timeout = 20
#local_address = '127.0.0.1'
## parameters for direct connection
device_host = '${DEVICE_HOST}'
device_mac = '${DEVICE_MAC}'
## MQTT connection parameters
mqtt_broker = '${MQTT_SERVER}'
mqtt_port = ${MQTT_PORT}
## Client must be unique if you run multiple docker containers
mqtt_clientid = '${MQTT_TOPIC_PREFIX}'
mqtt_username = '${MQTT_USER}'
mqtt_password = '${MQTT_PASS}'
mqtt_topic_prefix = '${MQTT_TOPIC_PREFIX}'
## extra parameters
#broadlink_rm_temperature_interval = 120 # publish temperature from RM device to broadlink/temperature topic every two minutes
#broadlink_sp_energy_interval = 30 # publish energy from SP device to broadlink/energy topic every 30 seconds