forked from ilcato/homebridge-mqttswitch
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.json
34 lines (32 loc) · 998 Bytes
/
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": "mqttlightbulb",
"name": "<name of lightbulb>",
"url": "<url of broker>",
"username": "<username>",
"password": "<password>",
"caption": "<label>",
"topics":
{
"getOn": "<topic to get the status>",
"setOn": "<topic to set the status>",
"getBrightness": "<topic to get the brightness>",
"setBrightness": "<topic to set the brightness>",
"getHue": "<topic to get the hue>",
"setHue": "<topic to set the hue>",
"getSaturation": "<topic to get the saturation>",
"setSaturation": "<topic to set the saturation>"
}
}
]
}