-
Notifications
You must be signed in to change notification settings - Fork 6
/
sample-config.json
95 lines (93 loc) · 1.92 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"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.",
"platforms": [
{
"platform": "Nikobus",
"name": "Nikobus",
"port": "/dev/ttyS0",
"loglevel": 0,
"modules": [
{
"type": "switch",
"name": "Switch Module 1",
"address": "1234",
"model": "05-000-02",
"outputs": [
{
"number": 1,
"name": "Light 1",
"service": "lightbulb"
},
{
"number": 3,
"name": "Light 2",
"service": "lightbulb"
},
{
"number": 10,
"name": "Computer",
"service": "switch"
},
{
"number": 12,
"name": "Light 3",
"service": "lightbulb"
}
]
},
{
"type": "pushbutton",
"name": "Pushbutton 1",
"address": "1D4F76",
"model": "05-060-01",
"buttons": [
{
"number": "A",
"name": "Light 4 On",
"service": "lightbulb"
},
{
"number": "B",
"name": "Light 4 Off",
"service": "lightbulb"
}
]
},
{
"type": "pushbutton",
"name": "Pushbutton 2",
"address": "1B0512",
"model": "05-064-01",
"buttons": [
{
"number": "A",
"name": "Television On",
"service": "lightbulb"
},
{
"number": "B",
"name": "Television Off",
"service": "lightbulb"
},
{
"number": "C",
"name": "Light 5 On",
"service": "lightbulb"
},
{
"number": "D",
"name": "Light 5 Off",
"service": "lightbulb"
}
]
}
]
}
]
}