forked from ilcato/homebridge-mqttswitch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
32 lines (29 loc) · 1.12 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
{
"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": "mqttswitch",
"name": "PUT THE NAME OF YOUR SWITCH HERE",
"url": "PUT URL OF THE BROKER HERE",
"username": "PUT USERNAME OF THE BROKER HERE",
"password": "PUT PASSWORD OF THE BROKER HERE",
"caption": "PUT THE LABEL OF YOUR SWITCH HERE",
"topics": {
"statusGet": "PUT THE MQTT TOPIC FOR THE GETTING THE STATUS OF YOUR SWITCH HERE",
"statusSet": "PUT THE MQTT TOPIC FOR THE SETTING THE STATUS OF YOUR SWITCH 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 STATUSCMD HERE",
"integerValue": "OPTIONALLY SET THIS TRUE TO USE 1/0 AS VALUES",
}
]
}