Files
aqara-mqtt/config/config-sample.yaml
T
2018-10-21 11:25:44 +00:00

51 lines
865 B
YAML

mqtt:
server: 192.168.1.2
port: 1883
username: username
password: passw0rd
prefix: home
#secure mqtt. uncomment to enable ssl:
#ca: "config/roots.pem"
#tls_version: "tlsv1.2"
#send report as json
json: False
gateway:
ip: 192.168.0.47
password: passw0rd
unwanted_data_fix: True #leave it True if it works for you. Otherwise (if you didn't recieve any data from sensors) - set it to False
polling_interval: 2
polling_models:
- motion
sids:
# motion
158d0000e7c7ad:
model: motion
name: hall
# temperature
158d0001149b3c:
model: sensor_ht
name: living
# plugs
158d00010dd98d:
model: plug
name: heater
# buttons
158d00012d5720:
model: switch
name: kitchen
# cube
158d00011065e3:
model: cube
name: main
# gateway
f0b429aa1463:
model: gateway
name: main