-
Notifications
You must be signed in to change notification settings - Fork 154
/
sampleConfig.json
260 lines (260 loc) · 9.48 KB
/
sampleConfig.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
{
"bridge": {
"name": "HomeBridge_MiAqaraPlatform",
"username": "B8:27:EB:EE:AF:1B",
"port": 51888,
"pin": "011-12-399"
},
"platforms": [{
"platform": "MiAqaraPlatform",
"gateways": {
"6409802da3b3": "02i44k56zrgg578b",
"f0b4299a5b2b": "2F92E7DA90C66B86",
"f0b4299a77dd": "syu3oasva3uqd5qd"
},
"bindAddress": "10.0.0.1",
"manage": {
"port": 11128,
"password": "107927710"
},
"defaultValue": {
"6409802da3b3": {
"Gateway_Lightbulb": {
"name": "gateway light"
},
"Gateway_LightSensor": {
"name": "living room light sensor"
},
"Gateway_Switch_JoinPermission": {
"name": "living room gateway join permission switch",
"disable": true
}
},
"158d0001000001": {
"ContactSensor_ContactSensor": {
"name": "entrance door"
}
},
"158d0001000002": {
"MotionSensor_MotionSensor": {
"name": "living room motion sensor"
}
},
"158d0001000003": {
"Global": {
"disable": true
},
"Button_StatelessProgrammableSwitch": {
"name": "living room button",
"disable": false
},
"Button_Switch_VirtualSinglePress": {
"name": "living room button virtual single press"
},
"Button_Switch_VirtualDoublePress": {
"name": "living room button virtual double press"
}
},
"158d0001000004": {
"TemperatureAndHumiditySensor_TemperatureSensor": {
"name": "living room temperature"
},
"TemperatureAndHumiditySensor_HumiditySensor": {
"name": "living room humidity"
}
},
"158d0001000007": {
"SingleSwitch_Switch": {
"name": "living room light",
"serviceType": "Lightbulb"
}
},
"158d0001000008": {
"Global": {
"serviceType": "Lightbulb"
},
"DuplexSwitch_Switch_Left": {
"name": "master bedroom room light"
},
"DuplexSwitch_Switch_Right": {
"name": "study room light"
}
},
"158d0001000009": {
"SingleSwitchLN_Switch": {
"name": "kitchen room light"
}
},
"158d0001000010": {
"DuplexSwitchLN_Switch_Left": {
"name": "dining room left light"
},
"DuplexSwitchLN_Switch_Right": {
"name": "dining room right light"
}
},
"158d0001000011": {
"SingleButton86_StatelessProgrammableSwitch": {
"name": "living room 86 button"
},
"SingleButton86_Switch_VirtualSinglePress": {
"name": "living room 86 button virtual single press",
"disable": true
}
},
"158d0001000012": {
"DuplexButton86_StatelessProgrammableSwitch_Left": {
"name": "dining room 86 button left"
},
"DuplexButton86_Switch_VirtualSinglePress_Left": {
"name": "dining room 86 button left virtual single press",
"disable": true
},
"DuplexButton86_StatelessProgrammableSwitch_Right": {
"name": "dining room 86 button right"
},
"DuplexButton86_Switch_VirtualSinglePress_Right": {
"name": "dining room 86 button right virtual single press",
"disable": true
},
"DuplexButton86_StatelessProgrammableSwitch_Both": {
"name": "dining room 86 button both"
},
"DuplexButton86_Switch_VirtualSinglePress_Both": {
"name": "dining room 86 button both virtual single press",
"disable": true
}
},
"158d0001000013": {
"PlugBase_Outlet": {
"name": "living room fan"
}
},
"158d0001000014": {
"PlugBase86_Outlet": {
"name": "study room fan"
}
},
"158d0001000015": {
"MagicSquare_StatelessProgrammableSwitch_Flip90": {
"name": "study room magic square flip90",
"disable": true
},
"MagicSquare_Switch_VirtualFlip90": {
"name": "study room magic square virtual flip90"
},
"MagicSquare_StatelessProgrammableSwitch_Flip180": {
"name": "study room magic square flip180",
"disable": true
},
"MagicSquare_Switch_VirtualFlip180": {
"name": "study room magic square virtual flip180"
},
"MagicSquare_StatelessProgrammableSwitch_Move": {
"name": "study room magic square move",
"disable": true
},
"MagicSquare_Switch_VirtualMove": {
"name": "study room magic square virtual move"
},
"MagicSquare_StatelessProgrammableSwitch_TapTwice": {
"name": "study room magic square tapTwice",
"disable": true
},
"MagicSquare_Switch_VirtualTapTwice": {
"name": "study room magic square virtual tapTwice"
},
"MagicSquare_StatelessProgrammableSwitch_ShakeAir": {
"name": "study room magic square shakeAir",
"disable": true
},
"MagicSquare_Switch_VirtualShakeAir": {
"name": "study room magic square virtual shakeAir"
},
"MagicSquare_StatelessProgrammableSwitch_Rotate": {
"name": "study room magic square rotate",
"disable": true
}
},
"158d0001000016": {
"NatgasDetector_SmokeSensor": {
"name": "kitchen room natgas sensor"
}
},
"158d0001000017": {
"SmokeDetector_SmokeSensor": {
"name": "kitchen room smoke sensor"
}
},
"158d0001000018": {
"ElectricCurtain_WindowCovering": {
"name": "living room curtain"
}
},
"158d0001000019": {
"ContactSensor2_ContactSensor": {
"name": "living room window"
}
},
"158d0001000020": {
"MotionSensor2_MotionSensor": {
"name": "study room motion sensor"
},
"MotionSensor2_LightSensor": {
"name": "study room light sensor"
}
},
"158d0001000021": {
"Button2_StatelessProgrammableSwitch": {
"name": "study room button"
},
"Button2_Switch_VirtualSinglePress": {
"name": "study room button virtual single press",
"disable": true
},
"Button2_Switch_VirtualDoublePress": {
"name": "study room button virtual double press",
"disable": true
}
},
"158d0001000022": {
"TemperatureAndHumiditySensor2_TemperatureSensor": {
"name": "dining room temperature"
},
"TemperatureAndHumiditySensor2_HumiditySensor": {
"name": "dining room humidity"
}
},
"158d0001000023": {
"WaterDetector_LeakSensor": {
"name": "kitchen room leak sensor"
}
},
"158d0001000024": {
"Lock_MotionSensor": {
"name": "door"
},
"Lock_MotionSensor_65536": {
"name": "Administrator"
},
"Lock_MotionSensor_65537": {
"name": "Finger"
},
"Lock_MotionSensor_196608": {
"name": "Card"
}
},
"158d0001000025": {
"VibrationSensor_MotionSensor_Vibrate": {
"name": "Vibrate"
},
"VibrationSensor_MotionSensor_Tilt": {
"name": "Tilt"
},
"VibrationSensor_MotionSensor_FreeFall": {
"name": "FreeFall"
}
}
}
}]
}