-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.json
50 lines (50 loc) · 1.73 KB
/
config.example.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
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"manufacturer": "homebridge.io",
"model": "homebridge",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
"ports": {
"start": 52100,
"end": 52150,
"comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be bind to."
},
"accessories": [],
"platforms": [
{
"platform": "ProgrammableHTTPSwitch",
"port": 80,
"accessories": [
{
"name": "Programmable HTTP switch",
"identifier": "example",
"buttons": [
{
"name": "Button 1",
"identifier": "button1"
},
{
"name": "Button 2",
"identifier": "button2",
"supportedActions": [
"singlePress",
"longPress"
]
},
{
"name": "Button 3",
"identifier": "button3",
"supportedActions": [
0
]
}
]
}
]
}
]
}