iobroker.device-watcher 0.0.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -6
- package/admin/i18n/de/translations.json +23 -2
- package/admin/i18n/en/translations.json +20 -1
- package/admin/i18n/es/translations.json +24 -1
- package/admin/i18n/fr/translations.json +24 -1
- package/admin/i18n/it/translations.json +24 -1
- package/admin/i18n/nl/translations.json +24 -1
- package/admin/i18n/pl/translations.json +24 -1
- package/admin/i18n/pt/translations.json +24 -1
- package/admin/i18n/ru/translations.json +24 -1
- package/admin/i18n/zh-cn/translations.json +24 -1
- package/admin/images/add_blacklist.png +0 -0
- package/admin/images/list2.png +0 -0
- package/admin/index_m.html +6 -45
- package/admin/jsonConfig.json +476 -105
- package/io-package.json +107 -50
- package/main.js +1025 -447
- package/package.json +1 -1
package/admin/jsonConfig.json
CHANGED
|
@@ -9,144 +9,126 @@
|
|
|
9
9
|
"_headerDevices": {
|
|
10
10
|
"type": "header",
|
|
11
11
|
"text": "Choose devices to watch",
|
|
12
|
-
"size":
|
|
12
|
+
"size": 2
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"alexa2Devices": {
|
|
15
15
|
"type": "checkbox",
|
|
16
|
-
"sm":
|
|
16
|
+
"sm": 6,
|
|
17
17
|
"md": 6,
|
|
18
18
|
"lg": 3,
|
|
19
|
-
"label": "
|
|
19
|
+
"label": "Alexa2"
|
|
20
20
|
},
|
|
21
21
|
"bleDevices": {
|
|
22
22
|
"type": "checkbox",
|
|
23
|
-
"sm":
|
|
23
|
+
"sm": 6,
|
|
24
24
|
"md": 6,
|
|
25
25
|
"lg": 3,
|
|
26
26
|
"label": "Ble"
|
|
27
27
|
},
|
|
28
|
-
"
|
|
29
|
-
"type": "checkbox",
|
|
30
|
-
"sm": 12,
|
|
31
|
-
"md": 6,
|
|
32
|
-
"lg": 3,
|
|
33
|
-
"label": "Sonoff"
|
|
34
|
-
},
|
|
35
|
-
"shellyDevices": {
|
|
36
|
-
"type": "checkbox",
|
|
37
|
-
"sm": 12,
|
|
38
|
-
"md": 6,
|
|
39
|
-
"lg": 3,
|
|
40
|
-
"label": "Shelly"
|
|
41
|
-
},
|
|
42
|
-
"homematicDevices": {
|
|
28
|
+
"deconzDevices": {
|
|
43
29
|
"type": "checkbox",
|
|
44
|
-
"sm":
|
|
30
|
+
"sm": 6,
|
|
45
31
|
"md": 6,
|
|
46
32
|
"lg": 3,
|
|
47
|
-
"label": "
|
|
33
|
+
"label": "Deconz"
|
|
48
34
|
},
|
|
49
|
-
"
|
|
35
|
+
"dectDevices": {
|
|
50
36
|
"type": "checkbox",
|
|
51
|
-
"sm":
|
|
37
|
+
"sm": 6,
|
|
52
38
|
"md": 6,
|
|
53
39
|
"lg": 3,
|
|
54
|
-
"label": "
|
|
40
|
+
"label": "FritzDect"
|
|
55
41
|
},
|
|
56
|
-
"
|
|
42
|
+
"esphomeDevices": {
|
|
57
43
|
"type": "checkbox",
|
|
58
|
-
"sm":
|
|
44
|
+
"sm": 6,
|
|
59
45
|
"md": 6,
|
|
60
46
|
"lg": 3,
|
|
61
|
-
"label": "
|
|
47
|
+
"label": "EspHome"
|
|
62
48
|
},
|
|
63
|
-
"
|
|
49
|
+
"homematicDevices": {
|
|
64
50
|
"type": "checkbox",
|
|
65
|
-
"sm":
|
|
51
|
+
"sm": 6,
|
|
66
52
|
"md": 6,
|
|
67
53
|
"lg": 3,
|
|
68
|
-
"label": "
|
|
54
|
+
"label": "Homematic"
|
|
69
55
|
},
|
|
70
56
|
"hueDevices": {
|
|
71
57
|
"type": "checkbox",
|
|
72
|
-
"sm":
|
|
58
|
+
"sm": 6,
|
|
73
59
|
"md": 6,
|
|
74
60
|
"lg": 3,
|
|
75
61
|
"label": "Hue"
|
|
76
62
|
},
|
|
77
63
|
"hueExtDevices": {
|
|
78
64
|
"type": "checkbox",
|
|
79
|
-
"sm":
|
|
65
|
+
"sm": 6,
|
|
80
66
|
"md": 6,
|
|
81
67
|
"lg": 3,
|
|
82
68
|
"label": "Hue Extended"
|
|
83
69
|
},
|
|
70
|
+
"mihomeDevices": {
|
|
71
|
+
"type": "checkbox",
|
|
72
|
+
"sm": 6,
|
|
73
|
+
"md": 6,
|
|
74
|
+
"lg": 3,
|
|
75
|
+
"label": "MiHome"
|
|
76
|
+
},
|
|
84
77
|
"nukiExtDevices": {
|
|
85
78
|
"type": "checkbox",
|
|
86
|
-
"sm":
|
|
79
|
+
"sm": 6,
|
|
87
80
|
"md": 6,
|
|
88
81
|
"lg": 3,
|
|
89
82
|
"label": "Nuki Extended"
|
|
90
83
|
},
|
|
91
84
|
"pingDevices": {
|
|
92
85
|
"type": "checkbox",
|
|
93
|
-
"sm":
|
|
86
|
+
"sm": 6,
|
|
94
87
|
"md": 6,
|
|
95
88
|
"lg": 3,
|
|
96
89
|
"label": "Ping"
|
|
97
90
|
},
|
|
98
|
-
"
|
|
91
|
+
"shellyDevices": {
|
|
99
92
|
"type": "checkbox",
|
|
100
|
-
"sm":
|
|
93
|
+
"sm": 6,
|
|
101
94
|
"md": 6,
|
|
102
95
|
"lg": 3,
|
|
103
|
-
"label": "
|
|
96
|
+
"label": "Shelly"
|
|
104
97
|
},
|
|
105
|
-
"
|
|
98
|
+
"sonoffDevices": {
|
|
106
99
|
"type": "checkbox",
|
|
107
|
-
"sm":
|
|
100
|
+
"sm": 6,
|
|
108
101
|
"md": 6,
|
|
109
102
|
"lg": 3,
|
|
110
|
-
"label": "
|
|
103
|
+
"label": "Sonoff"
|
|
111
104
|
},
|
|
112
|
-
"
|
|
105
|
+
"sonosDevices": {
|
|
113
106
|
"type": "checkbox",
|
|
114
|
-
"sm":
|
|
107
|
+
"sm": 6,
|
|
115
108
|
"md": 6,
|
|
116
109
|
"lg": 3,
|
|
117
|
-
"label": "
|
|
118
|
-
},
|
|
119
|
-
"_headerOtherSettings": {
|
|
120
|
-
"type": "header",
|
|
121
|
-
"text": "Other Settings",
|
|
122
|
-
"size": 1
|
|
110
|
+
"label": "Sonos"
|
|
123
111
|
},
|
|
124
|
-
"
|
|
125
|
-
"newLine": true,
|
|
112
|
+
"switchbotBleDevices": {
|
|
126
113
|
"type": "checkbox",
|
|
127
|
-
"sm":
|
|
114
|
+
"sm": 6,
|
|
128
115
|
"md": 6,
|
|
129
|
-
"lg":
|
|
130
|
-
"label": "
|
|
131
|
-
"help": "Use the true state from quality state"
|
|
116
|
+
"lg": 3,
|
|
117
|
+
"label": "Switchbot Ble"
|
|
132
118
|
},
|
|
133
|
-
"
|
|
119
|
+
"zigbeeDevices": {
|
|
134
120
|
"type": "checkbox",
|
|
135
|
-
"sm":
|
|
121
|
+
"sm": 6,
|
|
136
122
|
"md": 6,
|
|
137
|
-
"lg":
|
|
138
|
-
"label": "
|
|
139
|
-
"help": "Choose if only devices with battery should be listed or all devices"
|
|
123
|
+
"lg": 3,
|
|
124
|
+
"label": "Zigbee"
|
|
140
125
|
},
|
|
141
|
-
"
|
|
142
|
-
"type": "
|
|
143
|
-
"
|
|
144
|
-
"max": 100000,
|
|
145
|
-
"sm": 12,
|
|
126
|
+
"zwaveDevices": {
|
|
127
|
+
"type": "checkbox",
|
|
128
|
+
"sm": 6,
|
|
146
129
|
"md": 6,
|
|
147
|
-
"lg":
|
|
148
|
-
"label": "
|
|
149
|
-
"help": "in minutes"
|
|
130
|
+
"lg": 3,
|
|
131
|
+
"label": "Zwave"
|
|
150
132
|
}
|
|
151
133
|
}
|
|
152
134
|
},
|
|
@@ -157,14 +139,14 @@
|
|
|
157
139
|
"_headerCommon": {
|
|
158
140
|
"type":"header",
|
|
159
141
|
"text":"Common Notification Settings",
|
|
160
|
-
"size":
|
|
142
|
+
"size": 2
|
|
161
143
|
},
|
|
162
144
|
"checkSendOfflineMsg": {
|
|
163
145
|
"type":"checkbox",
|
|
164
146
|
"sm": 12,
|
|
165
147
|
"md": 6,
|
|
166
|
-
"lg":
|
|
167
|
-
"label": "
|
|
148
|
+
"lg": 3,
|
|
149
|
+
"label": "Offline message",
|
|
168
150
|
"help": "Get message if an device is not reachable"
|
|
169
151
|
},
|
|
170
152
|
"trenner": {
|
|
@@ -174,28 +156,42 @@
|
|
|
174
156
|
"checkSendBatteryMsg": {
|
|
175
157
|
"newLine": "true",
|
|
176
158
|
"type":"checkbox",
|
|
177
|
-
"sm":
|
|
178
|
-
"md":
|
|
179
|
-
"lg":
|
|
180
|
-
"label": "
|
|
159
|
+
"sm": 12,
|
|
160
|
+
"md": 12,
|
|
161
|
+
"lg": 6,
|
|
162
|
+
"label": "Battery message",
|
|
181
163
|
"help": "Get message if an device has low battery"
|
|
182
164
|
},
|
|
183
165
|
"minWarnBatterie": {
|
|
184
166
|
"type": "number",
|
|
185
167
|
"min": 0,
|
|
186
168
|
"max": 100,
|
|
187
|
-
"sm":
|
|
188
|
-
"md":
|
|
169
|
+
"sm": 12,
|
|
170
|
+
"md": 12,
|
|
189
171
|
"lg": 4,
|
|
190
172
|
"label": "From how much min % would you get a message",
|
|
191
|
-
"help": "in percent"
|
|
173
|
+
"help": "in percent",
|
|
174
|
+
"hidden": "!data.checkSendBatteryMsg",
|
|
175
|
+
"hideOnlyControl": true
|
|
192
176
|
},
|
|
193
177
|
"chooseDay": {
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"
|
|
178
|
+
"newLine": true,
|
|
179
|
+
"sm": 12,
|
|
180
|
+
"md": 12,
|
|
181
|
+
"lg": 6,
|
|
182
|
+
"hidden": "!data.checkSendBatteryMsg",
|
|
183
|
+
"hideOnlyControl": true,
|
|
197
184
|
"items": {
|
|
185
|
+
"_textDays": {
|
|
186
|
+
"type": "staticText",
|
|
187
|
+
"text": "Choose the day(s) where you want to get the message of low battery:",
|
|
188
|
+
"style": {
|
|
189
|
+
"fontSize": 16,
|
|
190
|
+
"marginTop": 20
|
|
191
|
+
}
|
|
192
|
+
},
|
|
198
193
|
"checkMonday": {
|
|
194
|
+
"newLine": true,
|
|
199
195
|
"type": "checkbox",
|
|
200
196
|
"label": "Mon"
|
|
201
197
|
},
|
|
@@ -225,11 +221,46 @@
|
|
|
225
221
|
}
|
|
226
222
|
}
|
|
227
223
|
},
|
|
224
|
+
"_headerMSGservice": {
|
|
225
|
+
"newLine": true,
|
|
226
|
+
"type": "header",
|
|
227
|
+
"text": "Notification Service",
|
|
228
|
+
"size": 2,
|
|
229
|
+
"hidden": "!data.checkSendBatteryMsg && !data.checkSendOfflineMsg",
|
|
230
|
+
"hideOnlyControl": false
|
|
231
|
+
},
|
|
232
|
+
"msgServiceText": {
|
|
233
|
+
"type": "staticText",
|
|
234
|
+
"text": "Here you can choose your notification service. You can use more than one service. But you can also leave all blank, then only the datapoint lastNotification will be filled.",
|
|
235
|
+
"style": {
|
|
236
|
+
"fontSize": 16,
|
|
237
|
+
"marginTop": 20
|
|
238
|
+
},
|
|
239
|
+
"hidden": "!data.checkSendBatteryMsg && !data.checkSendOfflineMsg",
|
|
240
|
+
"hideOnlyControl": false
|
|
241
|
+
},
|
|
242
|
+
"msgService": {
|
|
243
|
+
"newLine": true,
|
|
244
|
+
"type": "select",
|
|
245
|
+
"help": "Choose your notification services",
|
|
246
|
+
"options": [{"label":"Please choose", "value": "none"},
|
|
247
|
+
{"label":"Pushover", "value": "pushover"},
|
|
248
|
+
{"label":"Telegram", "value": "telegram"},
|
|
249
|
+
{"label":"Whatsapp", "value": "whatsapp"},
|
|
250
|
+
{"label":"E-Mail", "value": "email"},
|
|
251
|
+
{"label":"Jarvis", "value": "jarvis"},
|
|
252
|
+
{"label":"Lovelace", "value": "lovelace"}],
|
|
253
|
+
"default": "none",
|
|
254
|
+
"hidden": "!data.checkSendBatteryMsg && !data.checkSendOfflineMsg",
|
|
255
|
+
"hideOnlyControl": false
|
|
256
|
+
},
|
|
228
257
|
"_headerPushover": {
|
|
229
258
|
"newLine": true,
|
|
230
259
|
"type": "header",
|
|
231
260
|
"text": "Pushover",
|
|
232
|
-
"size":
|
|
261
|
+
"size": 2,
|
|
262
|
+
"hidden": "data.msgService !== 'pushover'",
|
|
263
|
+
"hideOnlyControl": false
|
|
233
264
|
},
|
|
234
265
|
"instancePushover": {
|
|
235
266
|
"newLine": true,
|
|
@@ -241,7 +272,9 @@
|
|
|
241
272
|
"md": 4,
|
|
242
273
|
"lg": 4,
|
|
243
274
|
"label": "Pushover Instance",
|
|
244
|
-
"help": "Please choose the pushover instance"
|
|
275
|
+
"help": "Please choose the pushover instance",
|
|
276
|
+
"hidden": "data.msgService !== 'pushover'",
|
|
277
|
+
"hideOnlyControl": false
|
|
245
278
|
},
|
|
246
279
|
"devicePushover": {
|
|
247
280
|
"type": "text",
|
|
@@ -249,7 +282,24 @@
|
|
|
249
282
|
"md": 4,
|
|
250
283
|
"lg": 4,
|
|
251
284
|
"label": "Device-ID (optional)",
|
|
252
|
-
"help": "Choose your device"
|
|
285
|
+
"help": "Choose your device",
|
|
286
|
+
"hidden": "data.msgService !== 'pushover'",
|
|
287
|
+
"hideOnlyControl": false
|
|
288
|
+
},
|
|
289
|
+
"prioPushover": {
|
|
290
|
+
"type": "select",
|
|
291
|
+
"sm": 12,
|
|
292
|
+
"md": 4,
|
|
293
|
+
"lg": 4,
|
|
294
|
+
"help": "Choose the priority",
|
|
295
|
+
"options": [
|
|
296
|
+
{"label": "Normal", "value": ""},
|
|
297
|
+
{"label": "High Priority", "value": 1},
|
|
298
|
+
{"label": "Silent", "value": -1},
|
|
299
|
+
{"label": "With confirmation", "value": 2}
|
|
300
|
+
],
|
|
301
|
+
"hidden": "data.msgService !== 'pushover'",
|
|
302
|
+
"hideOnlyControl": false
|
|
253
303
|
},
|
|
254
304
|
"titlePushover": {
|
|
255
305
|
"type": "text",
|
|
@@ -257,13 +307,17 @@
|
|
|
257
307
|
"md": 4,
|
|
258
308
|
"lg": 4,
|
|
259
309
|
"label": "Title (optional)",
|
|
260
|
-
"help": "Choose your title for Pushmessage"
|
|
310
|
+
"help": "Choose your title for Pushmessage",
|
|
311
|
+
"hidden": "data.msgService !== 'pushover'",
|
|
312
|
+
"hideOnlyControl": false
|
|
261
313
|
},
|
|
262
314
|
"headerTelegram": {
|
|
263
315
|
"newLine": "true",
|
|
264
316
|
"type": "header",
|
|
265
317
|
"text": "Telegram",
|
|
266
|
-
"size":
|
|
318
|
+
"size": 2,
|
|
319
|
+
"hidden": "data.msgService !== 'telegram'",
|
|
320
|
+
"hideOnlyControl": false
|
|
267
321
|
},
|
|
268
322
|
"instanceTelegram": {
|
|
269
323
|
"newLine": true,
|
|
@@ -275,7 +329,9 @@
|
|
|
275
329
|
"md": 4,
|
|
276
330
|
"lg": 4,
|
|
277
331
|
"label": "Telegram Instance",
|
|
278
|
-
"help": "Please choose the telegram instance"
|
|
332
|
+
"help": "Please choose the telegram instance",
|
|
333
|
+
"hidden": "data.msgService !== 'telegram'",
|
|
334
|
+
"hideOnlyControl": false
|
|
279
335
|
},
|
|
280
336
|
"deviceTelegram": {
|
|
281
337
|
"type": "text",
|
|
@@ -283,7 +339,9 @@
|
|
|
283
339
|
"md": 4,
|
|
284
340
|
"lg": 4,
|
|
285
341
|
"label": "Device-ID (optional)",
|
|
286
|
-
"help": "Choose your device"
|
|
342
|
+
"help": "Choose your device",
|
|
343
|
+
"hidden": "data.msgService !== 'telegram'",
|
|
344
|
+
"hideOnlyControl": false
|
|
287
345
|
},
|
|
288
346
|
"chatIdTelegram": {
|
|
289
347
|
"type": "text",
|
|
@@ -291,13 +349,49 @@
|
|
|
291
349
|
"md": 4,
|
|
292
350
|
"lg": 4,
|
|
293
351
|
"label": "Chat-ID (optional)",
|
|
294
|
-
"help": "Choose your Chat-ID"
|
|
352
|
+
"help": "Choose your Chat-ID",
|
|
353
|
+
"hidden": "data.msgService !== 'telegram'",
|
|
354
|
+
"hideOnlyControl": false
|
|
355
|
+
},
|
|
356
|
+
"headerWhatsapp": {
|
|
357
|
+
"newLine": "true",
|
|
358
|
+
"type": "header",
|
|
359
|
+
"text": "Whatsapp",
|
|
360
|
+
"size": 2,
|
|
361
|
+
"hidden": "data.msgService !== 'whatsapp'",
|
|
362
|
+
"hideOnlyControl": false
|
|
363
|
+
},
|
|
364
|
+
"instanceWhatsapp": {
|
|
365
|
+
"newLine": true,
|
|
366
|
+
"type": "instance",
|
|
367
|
+
"adapter": "whatsapp-cmb",
|
|
368
|
+
"all": true,
|
|
369
|
+
"allowDeactivate": true,
|
|
370
|
+
"sm": 12,
|
|
371
|
+
"md": 4,
|
|
372
|
+
"lg": 4,
|
|
373
|
+
"label": "Whatsapp Instance",
|
|
374
|
+
"help": "Please choose the Whatsapp instance",
|
|
375
|
+
"hidden": "data.msgService !== 'whatsapp'",
|
|
376
|
+
"hideOnlyControl": false
|
|
377
|
+
},
|
|
378
|
+
"phoneWhatapp": {
|
|
379
|
+
"type": "text",
|
|
380
|
+
"sm": 12,
|
|
381
|
+
"md": 4,
|
|
382
|
+
"lg": 4,
|
|
383
|
+
"label": "Recipient (optional)",
|
|
384
|
+
"help": "Choose your recipient",
|
|
385
|
+
"hidden": "data.msgService !== 'whatsapp'",
|
|
386
|
+
"hideOnlyControl": false
|
|
295
387
|
},
|
|
296
388
|
"_headerEmail": {
|
|
297
389
|
"newLine": true,
|
|
298
390
|
"type": "header",
|
|
299
391
|
"text": "Email",
|
|
300
|
-
"size":
|
|
392
|
+
"size": 2,
|
|
393
|
+
"hidden": "data.msgService !== 'email'",
|
|
394
|
+
"hideOnlyControl": false
|
|
301
395
|
},
|
|
302
396
|
"instanceEmail": {
|
|
303
397
|
"newLine": true,
|
|
@@ -309,7 +403,9 @@
|
|
|
309
403
|
"md": 4,
|
|
310
404
|
"lg": 4,
|
|
311
405
|
"label": "Email Instance",
|
|
312
|
-
"help": "Please choose the email instance"
|
|
406
|
+
"help": "Please choose the email instance",
|
|
407
|
+
"hidden": "data.msgService !== 'email'",
|
|
408
|
+
"hideOnlyControl": false
|
|
313
409
|
},
|
|
314
410
|
"sendToEmail": {
|
|
315
411
|
"type": "text",
|
|
@@ -317,7 +413,9 @@
|
|
|
317
413
|
"md": 4,
|
|
318
414
|
"lg": 4,
|
|
319
415
|
"label": "Send to (optional)",
|
|
320
|
-
"help": "Choose your email address"
|
|
416
|
+
"help": "Choose your email address",
|
|
417
|
+
"hidden": "data.msgService !== 'email'",
|
|
418
|
+
"hideOnlyControl": false
|
|
321
419
|
},
|
|
322
420
|
"subjectEmail": {
|
|
323
421
|
"type": "text",
|
|
@@ -325,13 +423,17 @@
|
|
|
325
423
|
"md": 4,
|
|
326
424
|
"lg": 4,
|
|
327
425
|
"label": "Subject (optional)",
|
|
328
|
-
"help": "Choose your subject for the Email"
|
|
426
|
+
"help": "Choose your subject for the Email",
|
|
427
|
+
"hidden": "data.msgService !== 'email'",
|
|
428
|
+
"hideOnlyControl": false
|
|
329
429
|
},
|
|
330
430
|
"headerJarvis": {
|
|
331
431
|
"newLine": "true",
|
|
332
432
|
"type": "header",
|
|
333
433
|
"text": "Jarvis Notification",
|
|
334
|
-
"size":
|
|
434
|
+
"size": 2,
|
|
435
|
+
"hidden": "data.msgService !== 'jarvis'",
|
|
436
|
+
"hideOnlyControl": false
|
|
335
437
|
},
|
|
336
438
|
"instanceJarvis": {
|
|
337
439
|
"newLine": true,
|
|
@@ -343,21 +445,27 @@
|
|
|
343
445
|
"md": 4,
|
|
344
446
|
"lg": 4,
|
|
345
447
|
"label": "Jarvis Instance",
|
|
346
|
-
"help": "Please choose the jarvis instance"
|
|
448
|
+
"help": "Please choose the jarvis instance",
|
|
449
|
+
"hidden": "data.msgService !== 'jarvis'",
|
|
450
|
+
"hideOnlyControl": false
|
|
347
451
|
},
|
|
348
|
-
"
|
|
452
|
+
"titleJarvis": {
|
|
349
453
|
"type": "text",
|
|
350
454
|
"sm": 12,
|
|
351
455
|
"md": 4,
|
|
352
456
|
"lg": 4,
|
|
353
457
|
"label": "Title (optional)",
|
|
354
|
-
"help": "Choose your title for Pushmessage"
|
|
458
|
+
"help": "Choose your title for Pushmessage",
|
|
459
|
+
"hidden": "data.msgService !== 'jarvis'",
|
|
460
|
+
"hideOnlyControl": false
|
|
355
461
|
},
|
|
356
462
|
"headerLovelace": {
|
|
357
463
|
"newLine": "true",
|
|
358
464
|
"type": "header",
|
|
359
465
|
"text": "Lovelace Notification",
|
|
360
|
-
"size":
|
|
466
|
+
"size": 2,
|
|
467
|
+
"hidden": "data.msgService !== 'lovelace'",
|
|
468
|
+
"hideOnlyControl": false
|
|
361
469
|
},
|
|
362
470
|
"instanceLovelace": {
|
|
363
471
|
"newLine": true,
|
|
@@ -369,15 +477,19 @@
|
|
|
369
477
|
"md": 4,
|
|
370
478
|
"lg": 4,
|
|
371
479
|
"label": "Lovelace Instance",
|
|
372
|
-
"help": "Please choose the lovelace instance"
|
|
480
|
+
"help": "Please choose the lovelace instance",
|
|
481
|
+
"hidden": "data.msgService !== 'lovelace'",
|
|
482
|
+
"hideOnlyControl": false
|
|
373
483
|
},
|
|
374
|
-
"
|
|
484
|
+
"titleLovelace": {
|
|
375
485
|
"type": "text",
|
|
376
486
|
"sm": 12,
|
|
377
487
|
"md": 4,
|
|
378
488
|
"lg": 4,
|
|
379
489
|
"label": "Title (optional)",
|
|
380
|
-
"help": "Choose your title for Pushmessage"
|
|
490
|
+
"help": "Choose your title for Pushmessage",
|
|
491
|
+
"hidden": "data.msgService !== 'lovelace'",
|
|
492
|
+
"hideOnlyControl": false
|
|
381
493
|
}
|
|
382
494
|
}
|
|
383
495
|
},
|
|
@@ -395,22 +507,281 @@
|
|
|
395
507
|
"items": [
|
|
396
508
|
{
|
|
397
509
|
"type": "objectId",
|
|
398
|
-
"width": "
|
|
399
|
-
"title": "Choose which devices should be excluded",
|
|
400
|
-
"attr": "device",
|
|
510
|
+
"width": "50%",
|
|
511
|
+
"title": "Choose which devices should be excluded",
|
|
401
512
|
"filter": false,
|
|
402
513
|
"sort": false,
|
|
514
|
+
"attr": "device",
|
|
403
515
|
"default": ""
|
|
404
516
|
},
|
|
405
517
|
{
|
|
406
518
|
"type": "text",
|
|
407
|
-
"width": "60%",
|
|
408
519
|
"title": "Info",
|
|
520
|
+
"width": "50%",
|
|
521
|
+
"attr": "ownNotes",
|
|
522
|
+
"filter":false,
|
|
523
|
+
"sort":false,
|
|
409
524
|
"label": "Add own notes, name, etc"
|
|
410
525
|
}
|
|
411
526
|
]
|
|
412
527
|
}
|
|
413
528
|
}
|
|
529
|
+
},
|
|
530
|
+
"_expertSettings": {
|
|
531
|
+
"type": "panel",
|
|
532
|
+
"label": "Expert Settings",
|
|
533
|
+
"items": {
|
|
534
|
+
"_headerOtherSettings": {
|
|
535
|
+
"type": "header",
|
|
536
|
+
"text": "Other Settings",
|
|
537
|
+
"size": 2
|
|
538
|
+
},
|
|
539
|
+
"trueState": {
|
|
540
|
+
"newLine": true,
|
|
541
|
+
"type": "checkbox",
|
|
542
|
+
"sm": 12,
|
|
543
|
+
"md": 6,
|
|
544
|
+
"lg": 4,
|
|
545
|
+
"label": "True State",
|
|
546
|
+
"help": "Use the true state from quality state, otherwise it will be converted in percent value."
|
|
547
|
+
},
|
|
548
|
+
"listOnlyBattery": {
|
|
549
|
+
"type": "checkbox",
|
|
550
|
+
"sm": 12,
|
|
551
|
+
"md": 6,
|
|
552
|
+
"lg": 4,
|
|
553
|
+
"label": "List only devices with battery",
|
|
554
|
+
"help": "Choose if only devices with battery should be listed or all devices"
|
|
555
|
+
},
|
|
556
|
+
"createOwnFolder": {
|
|
557
|
+
"type": "checkbox",
|
|
558
|
+
"sm": 12,
|
|
559
|
+
"md": 6,
|
|
560
|
+
"lg": 4,
|
|
561
|
+
"label": "Create own folders for each adapter",
|
|
562
|
+
"help": "If you like to have for every Adapter an own folder with own data"
|
|
563
|
+
},
|
|
564
|
+
"_headerOfflineTime": {
|
|
565
|
+
"type": "header",
|
|
566
|
+
"text": "Offline Time",
|
|
567
|
+
"size": 2
|
|
568
|
+
},
|
|
569
|
+
"textOfflineTime": {
|
|
570
|
+
"type": "staticText",
|
|
571
|
+
"text": "Here you can choose the offline time of devices for each adapter. The device is considered offline after the specified time. If set to '-1', the adapter will use the datapoint available, reachable, alive etc. when the device has one of these.",
|
|
572
|
+
"sm": 12,
|
|
573
|
+
"md": 12,
|
|
574
|
+
"lg": 12,
|
|
575
|
+
"style": {
|
|
576
|
+
"fontSize": 16,
|
|
577
|
+
"marginBottom": 20
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"alexa2MaxMinutes": {
|
|
581
|
+
"type": "number",
|
|
582
|
+
"min": -1,
|
|
583
|
+
"max": 100000,
|
|
584
|
+
"sm": 6,
|
|
585
|
+
"md": 6,
|
|
586
|
+
"lg": 3,
|
|
587
|
+
"label": "Alexa2",
|
|
588
|
+
"help": "in minutes",
|
|
589
|
+
"hidden": "!data.alexa2Devices",
|
|
590
|
+
"hideOnlyControl": false
|
|
591
|
+
},
|
|
592
|
+
"bleMaxMinutes": {
|
|
593
|
+
"type": "number",
|
|
594
|
+
"min": 0,
|
|
595
|
+
"max": 100000,
|
|
596
|
+
"sm": 6,
|
|
597
|
+
"md": 6,
|
|
598
|
+
"lg": 3,
|
|
599
|
+
"label": "Ble",
|
|
600
|
+
"help": "in minutes",
|
|
601
|
+
"hidden": "!data.bleDevices",
|
|
602
|
+
"hideOnlyControl": false
|
|
603
|
+
},
|
|
604
|
+
"deconzMaxMinutes": {
|
|
605
|
+
"type": "number",
|
|
606
|
+
"min": -1,
|
|
607
|
+
"max": 100000,
|
|
608
|
+
"sm": 6,
|
|
609
|
+
"md": 6,
|
|
610
|
+
"lg": 3,
|
|
611
|
+
"label": "Deconz",
|
|
612
|
+
"help": "in minutes",
|
|
613
|
+
"hidden": "!data.deconzDevices",
|
|
614
|
+
"hideOnlyControl": false
|
|
615
|
+
},
|
|
616
|
+
"esphomeMaxMinutes": {
|
|
617
|
+
"type": "number",
|
|
618
|
+
"min": -1,
|
|
619
|
+
"max": 100000,
|
|
620
|
+
"sm": 6,
|
|
621
|
+
"md": 6,
|
|
622
|
+
"lg": 3,
|
|
623
|
+
"label": "EspHome",
|
|
624
|
+
"help": "in minutes",
|
|
625
|
+
"hidden": "!data.esphomeDevices",
|
|
626
|
+
"hideOnlyControl": false
|
|
627
|
+
},
|
|
628
|
+
"fritzdectMaxMinutes": {
|
|
629
|
+
"type": "number",
|
|
630
|
+
"min": -1,
|
|
631
|
+
"max": 100000,
|
|
632
|
+
"sm": 6,
|
|
633
|
+
"md": 6,
|
|
634
|
+
"lg": 3,
|
|
635
|
+
"label": "FritzDect",
|
|
636
|
+
"help": "in minutes",
|
|
637
|
+
"hidden": "!data.dectDevices",
|
|
638
|
+
"hideOnlyControl": false
|
|
639
|
+
},
|
|
640
|
+
"homematicMaxMinutes": {
|
|
641
|
+
"type": "number",
|
|
642
|
+
"min": -1,
|
|
643
|
+
"max": 100000,
|
|
644
|
+
"sm": 6,
|
|
645
|
+
"md": 6,
|
|
646
|
+
"lg": 3,
|
|
647
|
+
"label": "Homematic",
|
|
648
|
+
"help": "in minutes",
|
|
649
|
+
"hidden": "!data.homematicDevices",
|
|
650
|
+
"hideOnlyControl": false
|
|
651
|
+
},
|
|
652
|
+
"hueMaxMinutes": {
|
|
653
|
+
"type": "number",
|
|
654
|
+
"min": -1,
|
|
655
|
+
"max": 100000,
|
|
656
|
+
"sm": 6,
|
|
657
|
+
"md": 6,
|
|
658
|
+
"lg": 3,
|
|
659
|
+
"label": "Hue",
|
|
660
|
+
"help": "in minutes",
|
|
661
|
+
"hidden": "!data.hueDevices",
|
|
662
|
+
"hideOnlyControl": false
|
|
663
|
+
},
|
|
664
|
+
"hueextMaxMinutes": {
|
|
665
|
+
"type": "number",
|
|
666
|
+
"min": -1,
|
|
667
|
+
"max": 100000,
|
|
668
|
+
"sm": 6,
|
|
669
|
+
"md": 6,
|
|
670
|
+
"lg": 3,
|
|
671
|
+
"label": "HueExtended",
|
|
672
|
+
"help": "in minutes",
|
|
673
|
+
"hidden": "!data.hueExtDevices",
|
|
674
|
+
"hideOnlyControl": false
|
|
675
|
+
},
|
|
676
|
+
"mihomeMaxMinutes": {
|
|
677
|
+
"type": "number",
|
|
678
|
+
"min": 0,
|
|
679
|
+
"max": 100000,
|
|
680
|
+
"sm": 6,
|
|
681
|
+
"md": 6,
|
|
682
|
+
"lg": 3,
|
|
683
|
+
"label": "MiHome",
|
|
684
|
+
"help": "in minutes",
|
|
685
|
+
"hidden": "!data.mihomeDevices",
|
|
686
|
+
"hideOnlyControl": false
|
|
687
|
+
},
|
|
688
|
+
"nukiextendMaxMinutes": {
|
|
689
|
+
"type": "number",
|
|
690
|
+
"min": -1,
|
|
691
|
+
"max": 100000,
|
|
692
|
+
"sm": 6,
|
|
693
|
+
"md": 6,
|
|
694
|
+
"lg": 3,
|
|
695
|
+
"label": "Nuki Extended",
|
|
696
|
+
"help": "in minutes",
|
|
697
|
+
"hidden": "!data.nukiExtDevices",
|
|
698
|
+
"hideOnlyControl": false
|
|
699
|
+
},
|
|
700
|
+
"pingMaxMinutes": {
|
|
701
|
+
"type": "number",
|
|
702
|
+
"min": -1,
|
|
703
|
+
"max": 100000,
|
|
704
|
+
"sm": 6,
|
|
705
|
+
"md": 6,
|
|
706
|
+
"lg": 3,
|
|
707
|
+
"label": "Ping",
|
|
708
|
+
"help": "in minutes",
|
|
709
|
+
"hidden": "!data.pingDevices",
|
|
710
|
+
"hideOnlyControl": false
|
|
711
|
+
},
|
|
712
|
+
"shellyMaxMinutes": {
|
|
713
|
+
"type": "number",
|
|
714
|
+
"min": -1,
|
|
715
|
+
"max": 100000,
|
|
716
|
+
"sm": 6,
|
|
717
|
+
"md": 6,
|
|
718
|
+
"lg": 3,
|
|
719
|
+
"label": "Shelly",
|
|
720
|
+
"help": "in minutes",
|
|
721
|
+
"hidden": "!data.shellyDevices",
|
|
722
|
+
"hideOnlyControl": false
|
|
723
|
+
},
|
|
724
|
+
"sonoffMaxMinutes": {
|
|
725
|
+
"type": "number",
|
|
726
|
+
"min": -1,
|
|
727
|
+
"max": 100000,
|
|
728
|
+
"sm": 6,
|
|
729
|
+
"md": 6,
|
|
730
|
+
"lg": 3,
|
|
731
|
+
"label": "Sonoff",
|
|
732
|
+
"help": "in minutes",
|
|
733
|
+
"hidden": "!data.sonoffDevices",
|
|
734
|
+
"hideOnlyControl": false
|
|
735
|
+
},
|
|
736
|
+
"sonosMaxMinutes": {
|
|
737
|
+
"type": "number",
|
|
738
|
+
"min": -1,
|
|
739
|
+
"max": 100000,
|
|
740
|
+
"sm": 6,
|
|
741
|
+
"md": 6,
|
|
742
|
+
"lg": 3,
|
|
743
|
+
"label": "Sonos",
|
|
744
|
+
"help": "in minutes",
|
|
745
|
+
"hidden": "!data.sonosDevices",
|
|
746
|
+
"hideOnlyControl": false
|
|
747
|
+
},
|
|
748
|
+
"switchbotMaxMinutes": {
|
|
749
|
+
"type": "number",
|
|
750
|
+
"min": 0,
|
|
751
|
+
"max": 100000,
|
|
752
|
+
"sm": 6,
|
|
753
|
+
"md": 6,
|
|
754
|
+
"lg": 3,
|
|
755
|
+
"label": "Switchbot Ble",
|
|
756
|
+
"help": "in minutes",
|
|
757
|
+
"hidden": "!data.switchbotBleDevices",
|
|
758
|
+
"hideOnlyControl": false
|
|
759
|
+
},
|
|
760
|
+
"zigbeeMaxMinutes": {
|
|
761
|
+
"type": "number",
|
|
762
|
+
"min": -1,
|
|
763
|
+
"max": 100000,
|
|
764
|
+
"sm": 6,
|
|
765
|
+
"md": 6,
|
|
766
|
+
"lg": 3,
|
|
767
|
+
"label": "Zigbee",
|
|
768
|
+
"help": "in minutes",
|
|
769
|
+
"hidden": "!data.zigbeeDevices",
|
|
770
|
+
"hideOnlyControl": false
|
|
771
|
+
},
|
|
772
|
+
"zwaveMaxMinutes": {
|
|
773
|
+
"type": "number",
|
|
774
|
+
"min": -1,
|
|
775
|
+
"max": 100000,
|
|
776
|
+
"sm": 6,
|
|
777
|
+
"md": 6,
|
|
778
|
+
"lg": 3,
|
|
779
|
+
"label": "Zwave",
|
|
780
|
+
"help": "in minutes",
|
|
781
|
+
"hidden": "!data.zwaveDevices",
|
|
782
|
+
"hideOnlyControl": false
|
|
783
|
+
}
|
|
784
|
+
}
|
|
414
785
|
}
|
|
415
786
|
}
|
|
416
787
|
}
|