forked from moppi4483/homebridge-mqtt-sprinkler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
34 lines (31 loc) · 1.48 KB
/
config.json
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
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file. You can use this as a template for creating your own configuration file.",
"platforms": [
],
"accessories": [
{
"accessory" : "mqtt-sprinkler",
"name" : "PUT THE NAME OF YOUR SWITCH HERE",
"url" : "PUT URL OF THE BROKER HERE",
"username" : "OPTIONALLY PUT USERNAME OF THE BROKER HERE",
"password" : "OPTIONALLY PUT PASSWORD OF THE BROKER HERE",
"qos" : "QOS OF THE MESSAGES (DEFAULT 0)",
"caption" : "OPTIONALLY PUT THE LABEL OF YOUR SWITCH HERE",
"serialNumberMAC" : "OPTIONALLY PUT THE LABEL OF YOUR SWITCH HERE",
"topics" : {
"statusGet" : "PUT THE MQTT TOPIC FOR THE GETTING THE STATUS OF YOUR SPRINKLER ACCESSORY HERE",
"statusSet" : "PUT THE MQTT TOPIC FOR THE SETTING THE STATUS OF YOUR SPRINKLER ACCESSORY HERE"
},
"onValue" : "OPTIONALLY PUT THE VALUE THAT MEANS ON HERE (DEFAULT true)",
"offValue" : "OPTIONALLY PUT THE VALUE THAT MEANS OFF HERE (DEFAULT false)",
"statusCmd" : "OPTIONALLY PUT THE STATUS COMMAND HERE",
"integerValue" : "OPTIONALLY SET THIS TRUE TO USE 1/0 AS VALUES",
}
]
}