forked from rudders/homebridge-http
-
Notifications
You must be signed in to change notification settings - Fork 3
/
sample-config.json
31 lines (28 loc) · 844 Bytes
/
sample-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
{
"bridge": {
"name": "HomebridgePI",
"username": "CD:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-156"
},
"description": "The Onion!",
"platforms": [],
"accessories": [
{
"accessory": "Http",
"name": "Kitchen Lamp",
"on_url": "https://192.168.1.22:3030/devices/23222/on",
"on_body": "{\"state\":\"On\"}",
"off_url": "https://192.168.1.22:3030/devices/23222/off",
"off_body": "{\"state\":\"Off\"}",
"brightness_url": "https://192.168.1.22:3030/devices/23222/brightness/%b",
"username": "",
"password": "",
"sendimmediately": "",
"http_method": "POST",
"http_brightness_method": "POST",
"service": "Switch",
"brightnessHandling": "no"
}
]
}