-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
example-config.json
329 lines (329 loc) · 11 KB
/
example-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
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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
{
"bridge": {
...
},
"plugins": [
...
],
"accessories": [
...
],
"platforms": [
{
"name": "FritzPlatform",
"debug": true,
"devices": [
{
"active": true,
"name": "FritzBox 7590",
"host": "192.168.178.1",
"port": 49000,
"username": "Test",
"password": "Test123",
"manufacturer": "Fritz Box",
"model": "7590",
"serialNumber": "12345",
"master": true,
"ssl": true,
"tr064": true,
"igd": false,
"readOnly": false,
"hide": true,
"connection": "dsl",
"wifiUnits": 2,
"options": {
"wifi_2ghz": "switch",
"wifi_5ghz": "switch",
"wifi_guest": "switch",
"wps": "characteristic",
"aw": "characteristic",
"deflection": "switch",
"led": "switch",
"lock": "switch",
"dect": "switch",
"reconnect": "switch",
"broadband": "characteristic"
}
},
{
"active": true,
"name": "FritzBox 7430 BU",
"host": "192.168.178.28",
"port": 49000,
"username": "Test",
"password": "Test123",
"manufacturer": "Fritz Box",
"model": "7430 BU",
"serialNumber": "12345",
"readOnly": false,
"connection": "dsl",
"hide": false,
"ssl": true,
"tr064": true,
"igd": false,
"wifiUnits": 2,
"options": {
"wifi_2ghz": "characteristic",
"wifi_guest": "switch",
"led": "switch",
"reconnect": "characteristic",
"lock": "characteristic"
}
},
{
"active": true,
"name": "FritzRepeater",
"host": "192.168.178.66",
"port": 49000,
"username": "Test",
"password": "Test123",
"ssl": true,
"tr064": true,
"igd": false,
"manufacturer": "FritzBox",
"model": "Repeater",
"serialNumber": "123456",
"readOnly": false,
"oldFW": true,
"connection": "repeater",
"hide": false,
"wifiUnits": 1,
"options": {
"led": "characteristic",
"lock": "characteristic"
}
}
],
"presence": [
{
"active": true,
"blockTelegram": true,
"name": "Seyit",
"address": "11:1A:25:22:88:33",
"accType": "occupancy",
"ping": true,
"threshold": 15,
"onDelay": 30,
"offDelay": 90
},
{
"active": true,
"name": "Test",
"address": "06:64:F0:49:63:F8",
"accType": "motion"
}
],
"wol": [
{
"active": true,
"name": "Computer",
"address": "30:9C:23:A8:7B:23"
}
],
"childLock": [
{
"active": true,
"name": "Daughter",
"ips": [
"192.168.178.99",
"192.168.178.11"
]
}
],
"smarthome": [
{
"active": true,
"name": "DECT 200",
"ain": "11630 0190819",
"energy": true,
"temperature": true,
"accType": "switch",
"startValue": 3
},
{
"active": true,
"name": "DECT 200 Temperature",
"ain": "11630 0190819",
"accType": "temperature"
},
{
"active": true,
"name": "HAN FUN Sensor",
"ain": "119340107283",
"accType": "contact",
"battery": true
},
{
"active": true,
"name": "DECT 301",
"ain": "09995 0692315",
"temperature": true,
"window": true,
"openWindow": true,
"accType": "thermostat",
"battery": true
},
{
"active": true,
"name": "DECT 301",
"ain": "09995 0692315",
"accType": "window",
"battery": true
},
{
"active": true,
"name": "DECT 301",
"ain": "09995 0692315",
"accType": "temperature",
"battery": true
},
{
"active": true,
"name": "DECT 500",
"ain": "09995 0692315",
"accType": "lightbulb",
"brightness": true,
"color": true
},
{
"active": true,
"name": "DECT 400",
"ain": "09995 0692315",
"accType": "button",
"buttons": 1,
"longPress": true
},
{
"active": true,
"name": "DECT 440",
"ain": "09995 0692315",
"accType": "button",
"buttons": 4,
"longPress": false
}
],
"network": [
{
"active": true,
"name": "Camera",
"address": "B0:D5:9D:B5:A7:C1",
"polling": 60,
"offDelay": 20,
"onDelay": 0
}
],
"callmonitor": {
"active": true,
"group": true,
"ip": "192.168.178.1",
"port": 1012,
"cityPrefix": "031",
"countryPrefix": "+49",
"incomingFrom": [
"123456780",
"998877665"
],
"incomingTo": [
"123456780"
],
"outgoingFrom": [
"1234567890"
]
},
"extras": {
"alarm": {
"active": true,
"duration": 30,
"telNr": "01765487925",
"accType": "switch"
},
"wakeup": {
"active": true,
"duration": 30,
"internNr": "**620",
"accType": "characteristic"
},
"ringlock": {
"active": false,
"DECTphones": 1,
"start": "11:00",
"end": "22:00",
"accType": "characteristic"
},
"phoneBook": {
"active": true,
"accType": "characteristic",
"blacklists": [
"Blacklist"
]
},
"dnsServer": {
"active": false,
"preferredDns": "8.8.8.8",
"alternateDns": "8.8.4.4",
"accType": "switch"
},
"fallbackInternet": {
"active": false,
"provider": "Vodafone",
"onState": 1,
"offState": 4,
"accType": "switch"
}
},
"options": {
"polling": {
"timer": 15,
"timerSmarthomeButtons": 5,
"exclude": []
},
"presence": {
"anyone": true,
"guest": true,
"accType": "occupancy"
},
"reboot": {
"on": "/var/lib/homebridgee/rebootOn.sh",
"off": "/var/lib/homebridge/rebootOff.sh"
}
},
"telegram": {
"active": true,
"token": "123456678:Aaahdjeijbdnkkiwhwhwbwk_hahqh124",
"chatID": "-11223344556677",
"messages": {
"presence": {
"user_in": "Welcome at home @",
"user_out": "Bye Bye @",
"anyone_in": "Someone is at home!",
"anyone_out": "Nobody at home!",
"guest_in": "Someone is at home!",
"guest_out": "Nobody at home!"
},
"callmonitor": {
"incoming": "Incoming call from @",
"outgoing": "Outgoing call to @",
"disconnected": "Call with @ disconnected"
},
"alarm": {
"activated": "Alarm activated",
"deactivated": "Alarm deactivated"
},
"reboot": {
"start": "@: Offline!",
"finish": "@: Online!"
},
"network": {
"on": "@ is in network!",
"off": "@ not in network!"
},
"outlet": {
"started": "@ started!",
"finished": "@ finished!"
}
}
},
"platform": "FritzPlatform"
}
]
}