forked from rudders/homebridge-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-config.json
54 lines (52 loc) · 1.48 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"bridge": {
"name": "HomeBridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "HomeBridge HTTP Status Control",
"accessories": [
{
"accessory": "Http",
"name": "Alfresco Lamp",
"switchHandling": "realtime",
"http_method": "GET",
"on_url": "http://localhost/controller/1700/ON",
"off_url": "http://localhost/controller/1700/OFF",
"status_url": "http://localhost/status/100059",
"status_on": "ON",
"status_off": "OFF",
"service": "Light",
"brightnessHandling": "yes",
"brightness_url": "http://localhost/controller/1707/%b",
"brightnesslvl_url": "http://localhost/status/100054",
"sendimmediately": "",
"username" : "",
"password" : ""
},
{
"accessory": "Http",
"name": "Color Changing Lamp",
"switchHandling": "realtime",
"http_method": "GET",
"on_url": "http://localhost/controller/1700/ON",
"off_url": "http://localhost/controller/1700/OFF",
"status_url": "http://localhost/status/100059",
"status_on": {
"power": "ON",
"color": "Blue"
},
"status_off": {
"power": "OFF"
},
"service": "Light",
"brightnessHandling": "yes",
"brightness_url": "http://localhost/controller/1707/%b",
"brightnesslvl_url": "http://localhost/status/100054",
"sendimmediately": "",
"username" : "",
"password" : ""
}
]
}