iobroker.device-watcher 2.13.0 → 2.14.5

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.
@@ -2,7 +2,7 @@
2
2
  i18n: true,
3
3
  type: 'tabs',
4
4
  items: {
5
- _options: {
5
+ _adapterList: {
6
6
  type: 'panel',
7
7
  label: 'Options',
8
8
  items: {
@@ -20,3150 +20,1818 @@
20
20
  xl: 6,
21
21
  label: 'Watch adapter/instances',
22
22
  },
23
- _headerDevices: {
23
+ _headerAdapterInstances: {
24
24
  type: 'header',
25
25
  text: 'Watch devices/services',
26
26
  size: 2,
27
27
  },
28
- alexa2Devices: {
29
- type: 'checkbox',
30
- xs: 12,
31
- sm: 6,
32
- md: 6,
33
- lg: 3,
34
- xl: 3,
35
- label: 'Alexa2',
36
- },
37
- apcupsDevices: {
38
- type: 'checkbox',
39
- xs: 12,
28
+
29
+ tableDevices: {
30
+ type: 'table',
31
+ noDelete: true,
32
+ compact: true,
33
+ xs: 6,
40
34
  sm: 6,
41
- md: 6,
42
- lg: 3,
43
- xl: 3,
44
- label: 'Apc UPS',
35
+ md: 12,
36
+ lg: 12,
37
+ xl: 12,
38
+ items: [
39
+ {
40
+ title: 'Active',
41
+ type: 'checkbox',
42
+ attr: 'enabled',
43
+ width: '3%',
44
+ default: false,
45
+ },
46
+ {
47
+ type: 'text',
48
+ title: 'Adapter Name',
49
+ attr: 'adapterName',
50
+ maxLength: 50,
51
+ width: '47%',
52
+ filter: true,
53
+ sort: true,
54
+ disabled: true,
55
+ },
56
+ {
57
+ type: 'number',
58
+ title: 'Offline Time for devices/services',
59
+ attr: 'maxSecondDevicesOffline',
60
+ width: '20%',
61
+ min: -1,
62
+ max: 100000,
63
+ default: 0,
64
+ unit: 'sec',
65
+ disabled: '!data.enabled',
66
+ },
67
+ {
68
+ type: 'checkbox',
69
+ title: 'Telegram Silent Mode',
70
+ attr: 'telegramSilent',
71
+ width: '20%',
72
+ default: false,
73
+ disabled: '!data.enabled',
74
+ },
75
+ {
76
+ type: 'text',
77
+ title: '',
78
+ attr: 'adapterKey',
79
+ width: '1%',
80
+ disabled: true,
81
+ hidden: true,
82
+ },
83
+ ],
45
84
  },
46
- bleDevices: {
47
- type: 'checkbox',
48
- xs: 12,
49
- sm: 6,
50
- md: 6,
51
- lg: 3,
52
- xl: 3,
53
- label: 'Ble',
85
+ },
86
+ },
87
+ _notifications: {
88
+ type: 'panel',
89
+ label: 'Notifications',
90
+ items: {
91
+ _headerAdapterInstances: {
92
+ type: 'header',
93
+ text: 'Adapter & Instances Notification Settings',
94
+ size: 2,
95
+ hidden: '!data.checkAdapterInstances',
96
+ hideOnlyControl: false,
54
97
  },
55
- deconzDevices: {
98
+ checkSendAdapterUpdateMsg: {
99
+ newLine: true,
56
100
  type: 'checkbox',
57
101
  xs: 12,
58
- sm: 6,
59
- md: 6,
60
- lg: 3,
61
- xl: 3,
62
- label: 'Deconz',
102
+ sm: 12,
103
+ md: 12,
104
+ lg: 6,
105
+ xl: 6,
106
+ label: 'Adapter update message',
107
+ help: 'Receive a message when an update for an adapter is available',
108
+ hidden: '!data.checkAdapterInstances',
109
+ hideOnlyControl: false,
63
110
  },
64
- ecovacsdeebotDevices: {
111
+ checkSendAdapterUpdateMsgDaily: {
65
112
  type: 'checkbox',
66
113
  xs: 12,
67
- sm: 6,
68
- md: 6,
69
- lg: 3,
70
- xl: 3,
71
- label: 'Ecovacs-Deebot',
114
+ sm: 12,
115
+ md: 12,
116
+ lg: 6,
117
+ xl: 6,
118
+ label: 'Overview of updatable adapter',
119
+ help: 'Get a message with an overview of all updatable adapter',
120
+ hidden: '!data.checkAdapterInstances',
121
+ hideOnlyControl: false,
72
122
  },
73
- enoceanDevices: {
74
- type: 'checkbox',
123
+ _sendIntervallAdapterUpdateDay: {
124
+ type: 'panel',
125
+ newLine: true,
75
126
  xs: 12,
76
- sm: 6,
77
- md: 6,
78
- lg: 3,
79
- xl: 3,
80
- label: 'Enocean',
127
+ sm: 12,
128
+ md: 12,
129
+ lg: 6,
130
+ xl: 6,
131
+ hidden: '!data.checkSendAdapterUpdateMsgDaily',
132
+ hideOnlyControl: false,
133
+ items: {
134
+ _textDays: {
135
+ type: 'staticText',
136
+ text: 'Choose the day(s) where you want to get the overview of updatable Adapter:',
137
+ style: {
138
+ fontSize: 16,
139
+ marginTop: 20,
140
+ },
141
+ xs: 12,
142
+ sm: 12,
143
+ md: 12,
144
+ lg: 12,
145
+ xl: 12,
146
+ },
147
+ checkAdapterUpdateMonday: {
148
+ newLine: true,
149
+ xs: 12,
150
+ sm: 12,
151
+ md: 12,
152
+ lg: 6,
153
+ xl: 6,
154
+ type: 'checkbox',
155
+ label: 'Mon',
156
+ },
157
+ checkAdapterUpdateTuesday: {
158
+ xs: 12,
159
+ sm: 12,
160
+ md: 12,
161
+ lg: 6,
162
+ xl: 6,
163
+ type: 'checkbox',
164
+ label: 'Tue',
165
+ },
166
+ checkAdapterUpdateWednesday: {
167
+ xs: 12,
168
+ sm: 12,
169
+ md: 12,
170
+ lg: 6,
171
+ xl: 6,
172
+ type: 'checkbox',
173
+ label: 'Wed',
174
+ },
175
+ checkAdapterUpdateThursday: {
176
+ xs: 12,
177
+ sm: 12,
178
+ md: 12,
179
+ lg: 6,
180
+ xl: 6,
181
+ type: 'checkbox',
182
+ label: 'Thu',
183
+ },
184
+ checkAdapterUpdateFriday: {
185
+ xs: 12,
186
+ sm: 12,
187
+ md: 12,
188
+ lg: 6,
189
+ xl: 6,
190
+ type: 'checkbox',
191
+ label: 'Fri',
192
+ },
193
+ checkAdapterUpdateSaturday: {
194
+ xs: 12,
195
+ sm: 12,
196
+ md: 12,
197
+ lg: 6,
198
+ xl: 6,
199
+ type: 'checkbox',
200
+ label: 'Sat',
201
+ },
202
+ checkAdapterUpdateSunday: {
203
+ xs: 12,
204
+ sm: 12,
205
+ md: 12,
206
+ lg: 6,
207
+ xl: 6,
208
+ type: 'checkbox',
209
+ label: 'Sun',
210
+ },
211
+ },
81
212
  },
82
- esphomeDevices: {
83
- type: 'checkbox',
213
+ _sendIntervallAdapterUpdateMsgTime: {
214
+ type: 'panel',
84
215
  xs: 12,
85
- sm: 6,
86
- md: 6,
87
- lg: 3,
88
- xl: 3,
89
- label: 'EspHome',
216
+ sm: 12,
217
+ md: 12,
218
+ lg: 6,
219
+ xl: 6,
220
+ hidden: '!data.checkSendAdapterUpdateMsgDaily',
221
+ hideOnlyControl: false,
222
+ items: {
223
+ _textTime: {
224
+ type: 'staticText',
225
+ text: 'Choose the Time:',
226
+ style: {
227
+ fontSize: 16,
228
+ marginTop: 20,
229
+ },
230
+ xs: 12,
231
+ sm: 12,
232
+ md: 12,
233
+ lg: 12,
234
+ xl: 12,
235
+ },
236
+ checkSendAdapterUpdateTime: {
237
+ newLine: true,
238
+ type: 'text',
239
+ help: 'Format hh:mm',
240
+ validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendAdapterUpdateTime; if(timePattern.test(value)) return true;return false;',
241
+ validatorNoSaveOnError: true,
242
+ xs: 12,
243
+ sm: 12,
244
+ md: 12,
245
+ lg: 12,
246
+ xl: 12,
247
+ },
248
+ },
90
249
  },
91
- eusecDevices: {
92
- type: 'checkbox',
93
- xs: 12,
94
- sm: 6,
95
- md: 6,
96
- lg: 3,
97
- xl: 3,
98
- label: 'euSec',
250
+ trennerUpdatableAdapter: {
251
+ newLine: true,
252
+ type: 'divider',
253
+ hidden: '!data.checkAdapterInstances',
254
+ hideOnlyControl: false,
99
255
  },
100
- fhemTFAsensorsDevices: {
256
+ checkSendInstanceDeactivatedMsg: {
257
+ newLine: true,
101
258
  type: 'checkbox',
102
259
  xs: 12,
103
- sm: 6,
104
- md: 6,
105
- lg: 3,
106
- xl: 3,
107
- label: 'FHEM TFA Sensors',
260
+ sm: 12,
261
+ md: 12,
262
+ lg: 6,
263
+ xl: 6,
264
+ label: 'Instance deactivated message',
265
+ help: 'Receive a message when an instance is deactivated',
266
+ hidden: '!data.checkAdapterInstances',
267
+ hideOnlyControl: false,
108
268
  },
109
- fritzdectDevices: {
269
+ checkSendInstanceDeactivatedDaily: {
110
270
  type: 'checkbox',
111
271
  xs: 12,
112
- sm: 6,
113
- md: 6,
114
- lg: 3,
115
- xl: 3,
116
- label: 'FritzDect',
272
+ sm: 12,
273
+ md: 12,
274
+ lg: 6,
275
+ xl: 6,
276
+ label: 'Overview of deactivated instances',
277
+ help: 'Get a message with an overview of all deactivated instances',
278
+ hidden: '!data.checkAdapterInstances',
279
+ hideOnlyControl: false,
117
280
  },
118
- fullybrowserDevices: {
119
- type: 'checkbox',
120
- xs: 12,
121
- sm: 6,
122
- md: 6,
123
- lg: 3,
124
- xl: 3,
125
- label: 'fullyBrowser',
126
- },
127
- fullybrowserV3Devices: {
128
- type: 'checkbox',
129
- xs: 12,
130
- sm: 6,
131
- md: 6,
132
- lg: 3,
133
- xl: 3,
134
- label: 'fullyBrowser > v3',
135
- },
136
- fullyMQTTDevices: {
137
- type: 'checkbox',
138
- xs: 12,
139
- sm: 6,
140
- md: 6,
141
- lg: 3,
142
- xl: 3,
143
- label: 'Fully-MQTT',
144
- },
145
- hamDevices: {
146
- type: 'checkbox',
147
- xs: 12,
148
- sm: 6,
149
- md: 6,
150
- lg: 3,
151
- xl: 3,
152
- label: 'Ham',
153
- },
154
- harmonyDevices: {
155
- type: 'checkbox',
156
- xs: 12,
157
- sm: 6,
158
- md: 6,
159
- lg: 3,
160
- xl: 3,
161
- label: 'Harmony',
162
- },
163
- hmiPDevices: {
164
- type: 'checkbox',
165
- xs: 12,
166
- sm: 6,
167
- md: 6,
168
- lg: 3,
169
- xl: 3,
170
- label: 'HmiP',
171
- },
172
- hmrpcDevices: {
173
- type: 'checkbox',
174
- xs: 12,
175
- sm: 6,
176
- md: 6,
177
- lg: 3,
178
- xl: 3,
179
- label: 'HM-RPC',
180
- },
181
- homeconnectDevices: {
182
- type: 'checkbox',
183
- xs: 12,
184
- sm: 6,
185
- md: 6,
186
- lg: 3,
187
- xl: 3,
188
- label: 'Home Connect',
189
- },
190
- homekitControllerDevices: {
191
- type: 'checkbox',
192
- xs: 12,
193
- sm: 6,
194
- md: 6,
195
- lg: 3,
196
- xl: 3,
197
- label: 'Homekit-Controller',
198
- },
199
- hs100Devices: {
200
- type: 'checkbox',
201
- xs: 12,
202
- sm: 6,
203
- md: 6,
204
- lg: 3,
205
- xl: 3,
206
- label: 'hs100',
207
- },
208
- hueDevices: {
209
- type: 'checkbox',
210
- xs: 12,
211
- sm: 6,
212
- md: 6,
213
- lg: 3,
214
- xl: 3,
215
- label: 'Hue',
216
- },
217
- hueExtDevices: {
218
- type: 'checkbox',
219
- xs: 12,
220
- sm: 6,
221
- md: 6,
222
- lg: 3,
223
- xl: 3,
224
- label: 'Hue Extended',
225
- },
226
- innogyDevices: {
227
- type: 'checkbox',
228
- xs: 12,
229
- sm: 6,
230
- md: 6,
231
- lg: 3,
232
- xl: 3,
233
- label: 'Innogy Smarthome',
234
- },
235
- jeelinkDevices: {
236
- type: 'checkbox',
237
- xs: 12,
238
- sm: 6,
239
- md: 6,
240
- lg: 3,
241
- xl: 3,
242
- label: 'Jeelink',
243
- },
244
- loqedSmartLockDevices: {
245
- type: 'checkbox',
246
- xs: 12,
247
- sm: 6,
248
- md: 6,
249
- lg: 3,
250
- xl: 3,
251
- label: 'Loqed Smart Lock',
252
- },
253
- lupusecDevices: {
254
- type: 'checkbox',
255
- xs: 12,
256
- sm: 6,
257
- md: 6,
258
- lg: 3,
259
- xl: 3,
260
- label: 'Lupusec',
261
- },
262
- maxcubeDevices: {
263
- type: 'checkbox',
264
- xs: 12,
265
- sm: 6,
266
- md: 6,
267
- lg: 3,
268
- xl: 3,
269
- label: 'Maxcube',
270
- },
271
- merossDevices: {
272
- type: 'checkbox',
273
- xs: 12,
274
- sm: 6,
275
- md: 6,
276
- lg: 3,
277
- xl: 3,
278
- label: 'Meross',
279
- },
280
- mihomeDevices: {
281
- type: 'checkbox',
282
- xs: 12,
283
- sm: 6,
284
- md: 6,
285
- lg: 3,
286
- xl: 3,
287
- label: 'MiHome',
288
- },
289
- mihomeVacuumDevices: {
290
- type: 'checkbox',
291
- xs: 12,
292
- sm: 6,
293
- md: 6,
294
- lg: 3,
295
- xl: 3,
296
- label: 'MiHome Vacuum',
297
- },
298
- mqttClientZigbee2MqttDevices: {
299
- type: 'checkbox',
300
- xs: 12,
301
- sm: 6,
302
- md: 6,
303
- lg: 3,
304
- xl: 3,
305
- label: 'MQTT Client: Zigbee2MQTT',
306
- },
307
- mqttNukiDevices: {
308
- type: 'checkbox',
309
- xs: 12,
310
- sm: 6,
311
- md: 6,
312
- lg: 3,
313
- xl: 3,
314
- label: 'MQTT: Nuki Hub',
315
- },
316
- musiccastDevices: {
317
- type: 'checkbox',
318
- xs: 12,
319
- sm: 6,
320
- md: 6,
321
- lg: 3,
322
- xl: 3,
323
- label: 'MusicCast',
324
- },
325
- netatmoDevices: {
326
- type: 'checkbox',
327
- xs: 12,
328
- sm: 6,
329
- md: 6,
330
- lg: 3,
331
- xl: 3,
332
- label: 'Netatmo',
333
- },
334
- nukiExtDevices: {
335
- type: 'checkbox',
336
- xs: 12,
337
- sm: 6,
338
- md: 6,
339
- lg: 3,
340
- xl: 3,
341
- label: 'Nuki Extended',
342
- },
343
- nutDevices: {
344
- type: 'checkbox',
345
- xs: 12,
346
- sm: 6,
347
- md: 6,
348
- lg: 3,
349
- xl: 3,
350
- label: 'Nut',
351
- },
352
- pingDevices: {
353
- type: 'checkbox',
354
- xs: 12,
355
- sm: 6,
356
- md: 6,
357
- lg: 3,
358
- xl: 3,
359
- label: 'Ping',
360
- },
361
- proxmoxDevices: {
362
- type: 'checkbox',
363
- xs: 12,
364
- sm: 6,
365
- md: 6,
366
- lg: 3,
367
- xl: 3,
368
- label: 'Proxmox',
369
- },
370
- ringDevices: {
371
- type: 'checkbox',
372
- xs: 12,
373
- sm: 6,
374
- md: 6,
375
- lg: 3,
376
- xl: 3,
377
- label: 'Ring',
378
- },
379
- roombaDevices: {
380
- type: 'checkbox',
381
- xs: 12,
382
- sm: 6,
383
- md: 6,
384
- lg: 3,
385
- xl: 3,
386
- label: 'Roomba',
387
- },
388
- shellyDevices: {
389
- type: 'checkbox',
390
- xs: 12,
391
- sm: 6,
392
- md: 6,
393
- lg: 3,
394
- xl: 3,
395
- label: 'Shelly',
396
- },
397
- smartgardenDevices: {
398
- type: 'checkbox',
399
- xs: 12,
400
- sm: 6,
401
- md: 6,
402
- lg: 3,
403
- xl: 3,
404
- label: 'Smartgarden',
405
- },
406
- sonoffDevices: {
407
- type: 'checkbox',
408
- xs: 12,
409
- sm: 6,
410
- md: 6,
411
- lg: 3,
412
- xl: 3,
413
- label: 'Sonoff',
414
- },
415
- sonosDevices: {
416
- type: 'checkbox',
417
- xs: 12,
418
- sm: 6,
419
- md: 6,
420
- lg: 3,
421
- xl: 3,
422
- label: 'Sonos',
423
- },
424
- sureflapDevices: {
425
- type: 'checkbox',
426
- xs: 12,
427
- sm: 6,
428
- md: 6,
429
- lg: 3,
430
- xl: 3,
431
- label: 'Sure Flap',
432
- },
433
- switchbotBleDevices: {
434
- type: 'checkbox',
435
- xs: 12,
436
- sm: 6,
437
- md: 6,
438
- lg: 3,
439
- xl: 3,
440
- label: 'Switchbot Ble',
441
- },
442
- tadoDevices: {
443
- type: 'checkbox',
444
- xs: 12,
445
- sm: 6,
446
- md: 6,
447
- lg: 3,
448
- xl: 3,
449
- label: 'Tado',
450
- },
451
- tapoDevices: {
452
- type: 'checkbox',
453
- xs: 12,
454
- sm: 6,
455
- md: 6,
456
- lg: 3,
457
- xl: 3,
458
- label: 'Tapo',
459
- },
460
- tradfriDevices: {
461
- type: 'checkbox',
462
- xs: 12,
463
- sm: 6,
464
- md: 6,
465
- lg: 3,
466
- xl: 3,
467
- label: 'Tradfri',
468
- },
469
- tuyaDevices: {
470
- type: 'checkbox',
471
- xs: 12,
472
- sm: 6,
473
- md: 6,
474
- lg: 3,
475
- xl: 3,
476
- label: 'Tuya',
477
- },
478
- unifiDevices: {
479
- type: 'checkbox',
480
- xs: 12,
481
- sm: 6,
482
- md: 6,
483
- lg: 3,
484
- xl: 3,
485
- label: 'Unifi',
486
- },
487
- viessmannDevices: {
488
- type: 'checkbox',
489
- xs: 12,
490
- sm: 6,
491
- md: 6,
492
- lg: 3,
493
- xl: 3,
494
- label: 'Viessmann',
495
- },
496
- wifilightDevices: {
497
- type: 'checkbox',
498
- xs: 12,
499
- sm: 6,
500
- md: 6,
501
- lg: 3,
502
- xl: 3,
503
- label: 'Wifilight',
504
- },
505
- wledDevices: {
506
- type: 'checkbox',
507
- xs: 12,
508
- sm: 6,
509
- md: 6,
510
- lg: 3,
511
- xl: 3,
512
- label: 'WLED',
513
- },
514
- xsenseDevices: {
515
- type: 'checkbox',
516
- xs: 12,
517
- sm: 6,
518
- md: 6,
519
- lg: 3,
520
- xl: 3,
521
- label: 'XSense',
522
- },
523
- yeelightDevices: {
524
- type: 'checkbox',
525
- xs: 12,
526
- sm: 6,
527
- md: 6,
528
- lg: 3,
529
- xl: 3,
530
- label: 'Yeelight-2',
531
- },
532
- zigbeeDevices: {
533
- type: 'checkbox',
534
- xs: 12,
535
- sm: 6,
536
- md: 6,
537
- lg: 3,
538
- xl: 3,
539
- label: 'Zigbee',
540
- },
541
- zigbee2mqttDevices: {
542
- type: 'checkbox',
543
- xs: 12,
544
- sm: 6,
545
- md: 6,
546
- lg: 3,
547
- xl: 3,
548
- label: 'Zigbee2MQTT',
549
- },
550
- zwaveDevices: {
551
- type: 'checkbox',
552
- xs: 12,
553
- sm: 6,
554
- md: 6,
555
- lg: 3,
556
- xl: 3,
557
- label: 'Zwave',
558
- },
559
- },
560
- },
561
- _notifications: {
562
- type: 'panel',
563
- label: 'Notifications',
564
- items: {
565
- _headerAdapterInstances: {
566
- type: 'header',
567
- text: 'Adapter & Instances Notification Settings',
568
- size: 2,
569
- hidden: '!data.checkAdapterInstances',
570
- hideOnlyControl: false,
571
- },
572
- checkSendAdapterUpdateMsg: {
573
- newLine: true,
574
- type: 'checkbox',
575
- xs: 12,
576
- sm: 12,
577
- md: 12,
578
- lg: 6,
579
- xl: 6,
580
- label: 'Adapter update message',
581
- help: 'Receive a message when an update for an adapter is available',
582
- hidden: '!data.checkAdapterInstances',
583
- hideOnlyControl: false,
584
- },
585
- checkSendAdapterUpdateMsgDaily: {
586
- type: 'checkbox',
587
- xs: 12,
588
- sm: 12,
589
- md: 12,
590
- lg: 6,
591
- xl: 6,
592
- label: 'Overview of updatable adapter',
593
- help: 'Get a message with an overview of all updatable adapter',
594
- hidden: '!data.checkAdapterInstances',
595
- hideOnlyControl: false,
596
- },
597
- _sendIntervallAdapterUpdateDay: {
598
- type: 'panel',
599
- newLine: true,
600
- xs: 12,
601
- sm: 12,
602
- md: 12,
603
- lg: 6,
604
- xl: 6,
605
- hidden: '!data.checkSendAdapterUpdateMsgDaily',
606
- hideOnlyControl: false,
607
- items: {
608
- _textDays: {
609
- type: 'staticText',
610
- text: 'Choose the day(s) where you want to get the overview of updatable Adapter:',
611
- style: {
612
- fontSize: 16,
613
- marginTop: 20,
614
- },
615
- xs: 12,
616
- sm: 12,
617
- md: 12,
618
- lg: 12,
619
- xl: 12,
620
- },
621
- checkAdapterUpdateMonday: {
622
- newLine: true,
623
- xs: 12,
624
- sm: 12,
625
- md: 12,
626
- lg: 6,
627
- xl: 6,
628
- type: 'checkbox',
629
- label: 'Mon',
630
- },
631
- checkAdapterUpdateTuesday: {
632
- xs: 12,
633
- sm: 12,
634
- md: 12,
635
- lg: 6,
636
- xl: 6,
637
- type: 'checkbox',
638
- label: 'Tue',
639
- },
640
- checkAdapterUpdateWednesday: {
641
- xs: 12,
642
- sm: 12,
643
- md: 12,
644
- lg: 6,
645
- xl: 6,
646
- type: 'checkbox',
647
- label: 'Wed',
648
- },
649
- checkAdapterUpdateThursday: {
650
- xs: 12,
651
- sm: 12,
652
- md: 12,
653
- lg: 6,
654
- xl: 6,
655
- type: 'checkbox',
656
- label: 'Thu',
657
- },
658
- checkAdapterUpdateFriday: {
659
- xs: 12,
660
- sm: 12,
661
- md: 12,
662
- lg: 6,
663
- xl: 6,
664
- type: 'checkbox',
665
- label: 'Fri',
666
- },
667
- checkAdapterUpdateSaturday: {
668
- xs: 12,
669
- sm: 12,
670
- md: 12,
671
- lg: 6,
672
- xl: 6,
673
- type: 'checkbox',
674
- label: 'Sat',
675
- },
676
- checkAdapterUpdateSunday: {
677
- xs: 12,
678
- sm: 12,
679
- md: 12,
680
- lg: 6,
681
- xl: 6,
682
- type: 'checkbox',
683
- label: 'Sun',
684
- },
685
- },
686
- },
687
- _sendIntervallAdapterUpdateMsgTime: {
688
- type: 'panel',
689
- xs: 12,
690
- sm: 12,
691
- md: 12,
692
- lg: 6,
693
- xl: 6,
694
- hidden: '!data.checkSendAdapterUpdateMsgDaily',
695
- hideOnlyControl: false,
696
- items: {
697
- _textTime: {
698
- type: 'staticText',
699
- text: 'Choose the Time:',
700
- style: {
701
- fontSize: 16,
702
- marginTop: 20,
703
- },
704
- xs: 12,
705
- sm: 12,
706
- md: 12,
707
- lg: 12,
708
- xl: 12,
709
- },
710
- checkSendAdapterUpdateTime: {
711
- newLine: true,
712
- type: 'text',
713
- help: 'Format hh:mm',
714
- validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendAdapterUpdateTime; if(timePattern.test(value)) return true;return false;',
715
- validatorNoSaveOnError: true,
716
- xs: 12,
717
- sm: 12,
718
- md: 12,
719
- lg: 12,
720
- xl: 12,
721
- },
722
- },
723
- },
724
- trennerUpdatableAdapter: {
725
- newLine: true,
726
- type: 'divider',
727
- hidden: '!data.checkAdapterInstances',
728
- hideOnlyControl: false,
729
- },
730
- checkSendInstanceDeactivatedMsg: {
731
- newLine: true,
732
- type: 'checkbox',
733
- xs: 12,
734
- sm: 12,
735
- md: 12,
736
- lg: 6,
737
- xl: 6,
738
- label: 'Instance deactivated message',
739
- help: 'Receive a message when an instance is deactivated',
740
- hidden: '!data.checkAdapterInstances',
741
- hideOnlyControl: false,
742
- },
743
- checkSendInstanceDeactivatedDaily: {
744
- type: 'checkbox',
745
- xs: 12,
746
- sm: 12,
747
- md: 12,
748
- lg: 6,
749
- xl: 6,
750
- label: 'Overview of deactivated instances',
751
- help: 'Get a message with an overview of all deactivated instances',
752
- hidden: '!data.checkAdapterInstances',
753
- hideOnlyControl: false,
754
- },
755
- _sendIntervallInstanceDeactivatedDay: {
756
- type: 'panel',
757
- newLine: true,
758
- xs: 12,
759
- sm: 12,
760
- md: 12,
761
- lg: 6,
762
- xl: 6,
763
- hidden: '!data.checkSendInstanceDeactivatedDaily',
764
- hideOnlyControl: false,
765
- items: {
766
- _textDays: {
767
- type: 'staticText',
768
- text: 'Choose the day(s) where you want to get the overview of deactivated instances:',
769
- style: {
770
- fontSize: 16,
771
- marginTop: 20,
772
- },
773
- xs: 12,
774
- sm: 12,
775
- md: 12,
776
- lg: 12,
777
- xl: 12,
778
- },
779
- checkInstanceDeactivatedMonday: {
780
- xs: 12,
781
- sm: 12,
782
- md: 12,
783
- lg: 6,
784
- xl: 6,
785
- newLine: true,
786
- type: 'checkbox',
787
- label: 'Mon',
788
- },
789
- checkInstanceDeactivatedTuesday: {
790
- xs: 12,
791
- sm: 12,
792
- md: 12,
793
- lg: 6,
794
- xl: 6,
795
- type: 'checkbox',
796
- label: 'Tue',
797
- },
798
- checkInstanceDeactivatedWednesday: {
799
- xs: 12,
800
- sm: 12,
801
- md: 12,
802
- lg: 6,
803
- xl: 6,
804
- type: 'checkbox',
805
- label: 'Wed',
806
- },
807
- checkInstanceDeactivatedThursday: {
808
- xs: 12,
809
- sm: 12,
810
- md: 12,
811
- lg: 6,
812
- xl: 6,
813
- type: 'checkbox',
814
- label: 'Thu',
815
- },
816
- checkInstanceDeactivatedFriday: {
817
- xs: 12,
818
- sm: 12,
819
- md: 12,
820
- lg: 6,
821
- xl: 6,
822
- type: 'checkbox',
823
- label: 'Fri',
824
- },
825
- checkInstanceDeactivatedSaturday: {
826
- xs: 12,
827
- sm: 12,
828
- md: 12,
829
- lg: 6,
830
- xl: 6,
831
- type: 'checkbox',
832
- label: 'Sat',
833
- },
834
- checkInstanceDeactivatedSunday: {
835
- xs: 12,
836
- sm: 12,
837
- md: 12,
838
- lg: 6,
839
- xl: 6,
840
- type: 'checkbox',
841
- label: 'Sun',
842
- },
843
- },
844
- },
845
- _sendIntervallInstanceDeactivatedMsgTime: {
846
- type: 'panel',
847
- xs: 12,
848
- sm: 12,
849
- md: 12,
850
- lg: 6,
851
- xl: 6,
852
- hidden: '!data.checkSendInstanceDeactivatedDaily',
853
- hideOnlyControl: false,
854
- items: {
855
- _textTime: {
856
- type: 'staticText',
857
- text: 'Choose the Time:',
858
- style: {
859
- fontSize: 16,
860
- marginTop: 20,
861
- },
862
- xs: 12,
863
- sm: 12,
864
- md: 12,
865
- lg: 12,
866
- xl: 12,
867
- },
868
- checkSendInstanceDeactivatedTime: {
869
- newLine: true,
870
- type: 'text',
871
- help: 'Format hh:mm',
872
- validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendInstanceDeactivatedTime; if(timePattern.test(value)) return true;return false;',
873
- validatorNoSaveOnError: true,
874
- xs: 12,
875
- sm: 12,
876
- md: 12,
877
- lg: 12,
878
- xl: 12,
879
- },
880
- },
881
- },
882
- trennerInstanceDeactivated: {
883
- newLine: true,
884
- type: 'divider',
885
- hidden: '!data.checkAdapterInstances',
886
- hideOnlyControl: false,
887
- },
888
- checkSendInstanceFailedMsg: {
889
- newLine: true,
890
- type: 'checkbox',
891
- xs: 12,
892
- sm: 12,
893
- md: 12,
894
- lg: 6,
895
- xl: 6,
896
- label: 'Instance failed message',
897
- help: 'Receive a message when an instance failed',
898
- hidden: '!data.checkAdapterInstances',
899
- hideOnlyControl: false,
900
- },
901
- checkSendInstanceFailedDaily: {
902
- type: 'checkbox',
903
- xs: 12,
904
- sm: 12,
905
- md: 12,
906
- lg: 6,
907
- xl: 6,
908
- label: 'Overview of failed instances',
909
- help: 'Get a message with an overview of all failed instances',
910
- hidden: '!data.checkAdapterInstances',
911
- hideOnlyControl: false,
912
- },
913
- _sendIntervallFailedInstancesDay: {
914
- type: 'panel',
915
- newLine: true,
916
- xs: 12,
917
- sm: 12,
918
- md: 12,
919
- lg: 6,
920
- xl: 6,
921
- hidden: '!data.checkSendInstanceFailedDaily',
922
- hideOnlyControl: false,
923
- items: {
924
- _textDays: {
925
- type: 'staticText',
926
- text: 'Choose the day(s) where you want to get the overview of failed instances:',
927
- style: {
928
- fontSize: 16,
929
- marginTop: 20,
930
- },
931
- xs: 12,
932
- sm: 12,
933
- md: 12,
934
- lg: 12,
935
- xl: 12,
936
- },
937
- checkFailedInstancesMonday: {
938
- newLine: true,
939
- type: 'checkbox',
940
- label: 'Mon',
941
- xs: 12,
942
- sm: 6,
943
- md: 6,
944
- lg: 3,
945
- xl: 3,
946
- },
947
- checkFailedInstancesTuesday: {
948
- type: 'checkbox',
949
- label: 'Tue',
950
- xs: 12,
951
- sm: 6,
952
- md: 6,
953
- lg: 3,
954
- xl: 3,
955
- },
956
- checkFailedInstancesWednesday: {
957
- type: 'checkbox',
958
- label: 'Wed',
959
- xs: 12,
960
- sm: 6,
961
- md: 6,
962
- lg: 3,
963
- xl: 3,
964
- },
965
- checkFailedInstancesThursday: {
966
- type: 'checkbox',
967
- label: 'Thu',
968
- xs: 12,
969
- sm: 6,
970
- md: 6,
971
- lg: 3,
972
- xl: 3,
973
- },
974
- checkFailedInstancesFriday: {
975
- type: 'checkbox',
976
- label: 'Fri',
977
- xs: 12,
978
- sm: 6,
979
- md: 6,
980
- lg: 3,
981
- xl: 3,
982
- },
983
- checkFailedInstancesSaturday: {
984
- type: 'checkbox',
985
- label: 'Sat',
986
- xs: 12,
987
- sm: 6,
988
- md: 6,
989
- lg: 3,
990
- xl: 3,
991
- },
992
- checkFailedInstancesSunday: {
993
- type: 'checkbox',
994
- label: 'Sun',
995
- xs: 12,
996
- sm: 6,
997
- md: 6,
998
- lg: 3,
999
- xl: 3,
1000
- },
1001
- },
1002
- },
1003
- _sendIntervallInstanceFailedMsgTime: {
1004
- type: 'panel',
1005
- xs: 12,
1006
- sm: 12,
1007
- md: 12,
1008
- lg: 6,
1009
- xl: 6,
1010
- hidden: '!data.checkSendInstanceFailedDaily',
1011
- hideOnlyControl: false,
1012
- items: {
1013
- _textTime: {
1014
- type: 'staticText',
1015
- text: 'Choose the Time:',
1016
- style: {
1017
- fontSize: 16,
1018
- marginTop: 20,
1019
- },
1020
- xs: 12,
1021
- sm: 12,
1022
- md: 12,
1023
- lg: 12,
1024
- xl: 12,
1025
- },
1026
- checkSendInstanceFailedTime: {
1027
- newLine: true,
1028
- type: 'text',
1029
- help: 'Format hh:mm',
1030
- validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendInstanceFailedTime; if(timePattern.test(value)) return true;return false;',
1031
- validatorNoSaveOnError: true,
1032
- xs: 12,
1033
- sm: 12,
1034
- md: 12,
1035
- lg: 12,
1036
- xl: 12,
1037
- },
1038
- },
1039
- },
1040
- _headerCommon: {
1041
- type: 'header',
1042
- text: 'Devices/Services Notification Settings',
1043
- size: 2,
1044
- },
1045
- checkSendOfflineMsg: {
1046
- type: 'checkbox',
1047
- xs: 12,
1048
- sm: 12,
1049
- md: 12,
1050
- lg: 6,
1051
- xl: 6,
1052
- label: 'Offline message',
1053
- help: 'Get message if an device is not reachable',
1054
- },
1055
- checkSendOfflineMsgDaily: {
1056
- type: 'checkbox',
1057
- xs: 12,
1058
- sm: 12,
1059
- md: 12,
1060
- lg: 6,
1061
- xl: 6,
1062
- label: 'Overview of offline devices/services',
1063
- help: 'Get a message with an overview all offline devices/services',
1064
- },
1065
- _sendIntervallOfflineDay: {
1066
- type: 'panel',
1067
- newLine: true,
1068
- xs: 12,
1069
- sm: 12,
1070
- md: 12,
1071
- lg: 6,
1072
- xl: 6,
1073
- hidden: '!data.checkSendOfflineMsgDaily',
1074
- hideOnlyControl: true,
1075
- items: {
1076
- _textDays: {
1077
- type: 'staticText',
1078
- text: 'Choose the day(s) where you want to get the overview of offline devices/services:',
1079
- style: {
1080
- fontSize: 16,
1081
- marginTop: 20,
1082
- },
1083
- xs: 12,
1084
- sm: 12,
1085
- md: 12,
1086
- lg: 12,
1087
- xl: 12,
1088
- },
1089
- checkOfflineMonday: {
1090
- newLine: true,
1091
- type: 'checkbox',
1092
- label: 'Mon',
1093
- xs: 12,
1094
- sm: 6,
1095
- md: 6,
1096
- lg: 3,
1097
- xl: 3,
1098
- },
1099
- checkOfflineTuesday: {
1100
- type: 'checkbox',
1101
- label: 'Tue',
1102
- xs: 12,
1103
- sm: 6,
1104
- md: 6,
1105
- lg: 3,
1106
- xl: 3,
1107
- },
1108
- checkOfflineWednesday: {
1109
- type: 'checkbox',
1110
- label: 'Wed',
1111
- xs: 12,
1112
- sm: 6,
1113
- md: 6,
1114
- lg: 3,
1115
- xl: 3,
1116
- },
1117
- checkOfflineThursday: {
1118
- type: 'checkbox',
1119
- label: 'Thu',
1120
- xs: 12,
1121
- sm: 6,
1122
- md: 6,
1123
- lg: 3,
1124
- xl: 3,
1125
- },
1126
- checkOfflineFriday: {
1127
- type: 'checkbox',
1128
- label: 'Fri',
1129
- xs: 12,
1130
- sm: 6,
1131
- md: 6,
1132
- lg: 3,
1133
- xl: 3,
1134
- },
1135
- checkOfflineSaturday: {
1136
- type: 'checkbox',
1137
- label: 'Sat',
1138
- xs: 12,
1139
- sm: 6,
1140
- md: 6,
1141
- lg: 3,
1142
- xl: 3,
1143
- },
1144
- checkOfflineSunday: {
1145
- type: 'checkbox',
1146
- label: 'Sun',
1147
- xs: 12,
1148
- sm: 6,
1149
- md: 6,
1150
- lg: 3,
1151
- xl: 3,
1152
- },
1153
- },
1154
- },
1155
- _sendIntervallOfflineTime: {
1156
- type: 'panel',
1157
- xs: 12,
1158
- sm: 12,
1159
- md: 12,
1160
- lg: 6,
1161
- xl: 6,
1162
- hidden: '!data.checkSendOfflineMsgDaily',
1163
- hideOnlyControl: true,
1164
- items: {
1165
- _textTime: {
1166
- type: 'staticText',
1167
- text: 'Choose the Time:',
1168
- style: {
1169
- fontSize: 16,
1170
- marginTop: 20,
1171
- },
1172
- xs: 12,
1173
- sm: 12,
1174
- md: 12,
1175
- lg: 12,
1176
- xl: 12,
1177
- },
1178
- checkSendOfflineTime: {
1179
- newLine: true,
1180
- type: 'text',
1181
- help: 'Format hh:mm',
1182
- validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendOfflineTime; if(timePattern.test(value)) return true;return false;',
1183
- validatorNoSaveOnError: true,
1184
- xs: 12,
1185
- sm: 12,
1186
- md: 12,
1187
- lg: 12,
1188
- xl: 12,
1189
- },
1190
- },
1191
- },
1192
- _trenner: {
1193
- newLine: true,
1194
- type: 'divider',
1195
- },
1196
- checkSendBatteryMsg: {
1197
- newLine: true,
1198
- type: 'checkbox',
1199
- xs: 12,
1200
- sm: 12,
1201
- md: 12,
1202
- lg: 6,
1203
- xl: 6,
1204
- label: 'Battery message',
1205
- help: 'Get message if an device has low battery',
1206
- },
1207
- checkSendBatteryMsgDaily: {
1208
- type: 'checkbox',
1209
- xs: 12,
1210
- sm: 12,
1211
- md: 12,
1212
- lg: 6,
1213
- xl: 6,
1214
- label: 'Overview of low battery devices',
1215
- help: 'Get a regular message with an overview all low battery devices',
1216
- },
1217
- _chooseDay: {
1218
- type: 'panel',
1219
- newLine: true,
1220
- xs: 12,
1221
- sm: 12,
1222
- md: 12,
1223
- lg: 6,
1224
- xl: 6,
1225
- hidden: '!data.checkSendBatteryMsgDaily',
1226
- hideOnlyControl: true,
1227
- items: {
1228
- _textDays: {
1229
- type: 'staticText',
1230
- text: 'Choose the day(s) where you want to get the message of low battery:',
1231
- style: {
1232
- fontSize: 16,
1233
- marginTop: 20,
1234
- },
1235
- xs: 12,
1236
- sm: 12,
1237
- md: 12,
1238
- lg: 12,
1239
- xl: 12,
1240
- },
1241
- checkMonday: {
1242
- newLine: true,
1243
- type: 'checkbox',
1244
- label: 'Mon',
1245
- xs: 12,
1246
- sm: 6,
1247
- md: 6,
1248
- lg: 3,
1249
- xl: 3,
1250
- },
1251
- checkTuesday: {
1252
- type: 'checkbox',
1253
- label: 'Tue',
1254
- xs: 12,
1255
- sm: 6,
1256
- md: 6,
1257
- lg: 3,
1258
- xl: 3,
1259
- },
1260
- checkWednesday: {
1261
- type: 'checkbox',
1262
- label: 'Wed',
1263
- xs: 12,
1264
- sm: 6,
1265
- md: 6,
1266
- lg: 3,
1267
- xl: 3,
1268
- },
1269
- checkThursday: {
1270
- type: 'checkbox',
1271
- label: 'Thu',
1272
- xs: 12,
1273
- sm: 6,
1274
- md: 6,
1275
- lg: 3,
1276
- xl: 3,
1277
- },
1278
- checkFriday: {
1279
- type: 'checkbox',
1280
- label: 'Fri',
1281
- xs: 12,
1282
- sm: 6,
1283
- md: 6,
1284
- lg: 3,
1285
- xl: 3,
1286
- },
1287
- checkSaturday: {
1288
- type: 'checkbox',
1289
- label: 'Sat',
1290
- xs: 12,
1291
- sm: 6,
1292
- md: 6,
1293
- lg: 3,
1294
- xl: 3,
1295
- },
1296
- checkSunday: {
1297
- type: 'checkbox',
1298
- label: 'Sun',
1299
- xs: 12,
1300
- sm: 6,
1301
- md: 6,
1302
- lg: 3,
1303
- xl: 3,
1304
- },
1305
- },
1306
- },
1307
- _checkSendBatteryTime: {
1308
- type: 'panel',
1309
- xs: 12,
1310
- sm: 12,
1311
- md: 12,
1312
- lg: 6,
1313
- xl: 6,
1314
- hidden: '!data.checkSendBatteryMsgDaily',
1315
- hideOnlyControl: true,
1316
- items: {
1317
- _textTime: {
1318
- type: 'staticText',
1319
- text: 'Choose the Time:',
1320
- style: {
1321
- fontSize: 16,
1322
- marginTop: 20,
1323
- },
1324
- xs: 12,
1325
- sm: 12,
1326
- md: 12,
1327
- lg: 12,
1328
- xl: 12,
1329
- },
1330
- checkSendBatteryTime: {
1331
- newLine: true,
1332
- type: 'text',
1333
- help: 'Format hh:mm',
1334
- validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendBatteryTime; if(timePattern.test(value)) return true;return false;',
1335
- validatorNoSaveOnError: true,
1336
- xs: 12,
1337
- sm: 12,
1338
- md: 12,
1339
- lg: 12,
1340
- xl: 12,
1341
- },
1342
- },
1343
- },
1344
- _trennerZwei: {
1345
- newLine: true,
1346
- type: 'divider',
1347
- },
1348
- checkSendDeviceUpgrade: {
1349
- newLine: true,
1350
- type: 'checkbox',
1351
- xs: 12,
1352
- sm: 12,
1353
- md: 12,
1354
- lg: 6,
1355
- xl: 6,
1356
- label: 'Device update message',
1357
- help: 'Receive a message when an update for an device is available',
1358
- },
1359
- checkSendUpgradeMsgDaily: {
1360
- type: 'checkbox',
1361
- xs: 12,
1362
- sm: 12,
1363
- md: 12,
1364
- lg: 6,
1365
- xl: 6,
1366
- label: 'Overview of devices with update',
1367
- help: 'Get a message with an overview all devices with update',
1368
- },
1369
- _sendIntervallUpgradeDay: {
1370
- type: 'panel',
1371
- newLine: true,
1372
- xs: 12,
1373
- sm: 12,
1374
- md: 12,
1375
- lg: 6,
1376
- xl: 6,
1377
- hidden: '!data.checkSendUpgradeMsgDaily',
1378
- hideOnlyControl: true,
1379
- items: {
1380
- _textDays: {
1381
- type: 'staticText',
1382
- text: 'Choose the day(s) where you want to get the overview of update devices:',
1383
- style: {
1384
- fontSize: 16,
1385
- marginTop: 20,
1386
- },
1387
- xs: 12,
1388
- sm: 12,
1389
- md: 12,
1390
- lg: 12,
1391
- xl: 12,
1392
- },
1393
- checkUpgradeMonday: {
1394
- newLine: true,
1395
- type: 'checkbox',
1396
- label: 'Mon',
1397
- xs: 12,
1398
- sm: 6,
1399
- md: 6,
1400
- lg: 3,
1401
- xl: 3,
1402
- },
1403
- checkUpgradeTuesday: {
1404
- type: 'checkbox',
1405
- label: 'Tue',
1406
- xs: 12,
1407
- sm: 6,
1408
- md: 6,
1409
- lg: 3,
1410
- xl: 3,
1411
- },
1412
- checkUpgradeWednesday: {
1413
- type: 'checkbox',
1414
- label: 'Wed',
1415
- xs: 12,
1416
- sm: 6,
1417
- md: 6,
1418
- lg: 3,
1419
- xl: 3,
1420
- },
1421
- checkUpgradeThursday: {
1422
- type: 'checkbox',
1423
- label: 'Thu',
1424
- xs: 12,
1425
- sm: 6,
1426
- md: 6,
1427
- lg: 3,
1428
- xl: 3,
1429
- },
1430
- checkUpgradeFriday: {
1431
- type: 'checkbox',
1432
- label: 'Fri',
1433
- xs: 12,
1434
- sm: 6,
1435
- md: 6,
1436
- lg: 3,
1437
- xl: 3,
1438
- },
1439
- checkUpgradeSaturday: {
1440
- type: 'checkbox',
1441
- label: 'Sat',
1442
- xs: 12,
1443
- sm: 6,
1444
- md: 6,
1445
- lg: 3,
1446
- xl: 3,
1447
- },
1448
- checkUpgradeSunday: {
1449
- type: 'checkbox',
1450
- label: 'Sun',
1451
- xs: 12,
1452
- sm: 6,
1453
- md: 6,
1454
- lg: 3,
1455
- xl: 3,
1456
- },
1457
- },
1458
- },
1459
- _sendIntervallUpgradeTime: {
1460
- type: 'panel',
1461
- xs: 12,
1462
- sm: 12,
1463
- md: 12,
1464
- lg: 6,
1465
- xl: 6,
1466
- hidden: '!data.checkSendUpgradeMsgDaily',
1467
- hideOnlyControl: true,
1468
- items: {
1469
- _textTime: {
1470
- type: 'staticText',
1471
- text: 'Choose the Time:',
1472
- style: {
1473
- fontSize: 16,
1474
- marginTop: 20,
1475
- },
1476
- xs: 12,
1477
- sm: 12,
1478
- md: 12,
1479
- lg: 12,
1480
- xl: 12,
1481
- },
1482
- checkSendUpgradeTime: {
1483
- newLine: true,
1484
- type: 'text',
1485
- help: 'Format hh:mm',
1486
- validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendUpgradeTime; if(timePattern.test(value)) return true;return false;',
1487
- validatorNoSaveOnError: true,
1488
- xs: 12,
1489
- sm: 12,
1490
- md: 12,
1491
- lg: 12,
1492
- xl: 12,
1493
- },
1494
- },
1495
- },
1496
- _headerOtherSettings: {
1497
- type: 'header',
1498
- text: 'Other Notification Settings',
1499
- size: 2,
1500
- hidden: '!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade && !data.checkSendUpgradeMsgDaily',
1501
- },
1502
- showAdapterNameinMsg: {
1503
- newLine: true,
1504
- type: 'checkbox',
1505
- xs: 12,
1506
- sm: 12,
1507
- md: 6,
1508
- lg: 3,
1509
- xl: 3,
1510
- label: 'Add adapter name in notifcations',
1511
- help: 'Will add the adaptername from the device',
1512
- hidden: '!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade && !data.checkSendUpgradeMsgDaily',
1513
- },
1514
- },
1515
- },
1516
- _notificationServices: {
1517
- type: 'panel',
1518
- label: 'Notification Service',
1519
- items: {
1520
- _headerMSGservice: {
1521
- newLine: true,
1522
- type: 'header',
1523
- text: 'Notification Service',
1524
- size: 2,
1525
- },
1526
- _msgServiceText: {
1527
- type: 'staticText',
1528
- 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.',
1529
- style: {
1530
- fontSize: 16,
1531
- marginTop: 20,
1532
- },
1533
- xs: 12,
1534
- sm: 12,
1535
- md: 12,
1536
- lg: 12,
1537
- xl: 12,
1538
- },
1539
- msgService: {
1540
- newLine: true,
1541
- type: 'select',
1542
- help: 'Choose your notification services',
1543
- options: [
1544
- { label: 'Please choose', value: 'none' },
1545
- { label: 'E-Mail', value: 'email' },
1546
- { label: 'Jarvis', value: 'jarvis' },
1547
- { label: 'Lovelace', value: 'lovelace' },
1548
- { label: 'Matrix', value: 'matrix' },
1549
- { label: 'Pushover', value: 'pushover' },
1550
- { label: 'Signal', value: 'signal' },
1551
- { label: 'Synochat', value: 'synochat' },
1552
- { label: 'Telegram', value: 'telegram' },
1553
- { label: 'Whatsapp', value: 'whatsapp' },
1554
- ],
1555
- default: 'none',
1556
- xs: 12,
1557
- sm: 12,
1558
- md: 4,
1559
- lg: 4,
1560
- xl: 4,
1561
- },
1562
- _headerEmail: {
1563
- newLine: true,
1564
- type: 'header',
1565
- text: 'Email',
1566
- size: 2,
1567
- hidden: "data.msgService !== 'email' && !data.instanceEmail",
1568
- hideOnlyControl: false,
1569
- },
1570
- instanceEmail: {
1571
- newLine: true,
1572
- type: 'instance',
1573
- adapter: 'email',
1574
- all: false,
1575
- xs: 12,
1576
- sm: 12,
1577
- md: 4,
1578
- lg: 4,
1579
- xl: 4,
1580
- label: 'Email Instance',
1581
- help: 'Please choose the email instance',
1582
- hidden: "data.msgService !== 'email' && !data.instanceEmail",
1583
- hideOnlyControl: false,
1584
- },
1585
- sendToEmail: {
1586
- type: 'text',
1587
- xs: 12,
1588
- sm: 12,
1589
- md: 4,
1590
- lg: 4,
1591
- xl: 4,
1592
- label: 'Send to (optional)',
1593
- help: 'Choose your email address',
1594
- hidden: "data.msgService !== 'email' && !data.instanceEmail",
1595
- hideOnlyControl: false,
1596
- },
1597
- subjectEmail: {
1598
- type: 'text',
1599
- xs: 12,
1600
- sm: 12,
1601
- md: 4,
1602
- lg: 4,
1603
- xl: 4,
1604
- label: 'Subject (optional)',
1605
- help: 'Choose your subject for the Email',
1606
- hidden: "data.msgService !== 'email' && !data.instanceEmail",
1607
- hideOnlyControl: false,
1608
- },
1609
- headerJarvis: {
1610
- newLine: true,
1611
- type: 'header',
1612
- text: 'Jarvis Notification',
1613
- size: 2,
1614
- hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
1615
- hideOnlyControl: false,
1616
- },
1617
- instanceJarvis: {
1618
- newLine: true,
1619
- type: 'instance',
1620
- adapter: 'jarvis',
1621
- all: false,
1622
- xs: 12,
1623
- sm: 12,
1624
- md: 4,
1625
- lg: 4,
1626
- xl: 4,
1627
- label: 'Jarvis Instance',
1628
- help: 'Please choose the jarvis instance',
1629
- hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
1630
- hideOnlyControl: false,
1631
- },
1632
- titleJarvis: {
1633
- type: 'text',
1634
- xs: 12,
1635
- sm: 12,
1636
- md: 4,
1637
- lg: 4,
1638
- xl: 4,
1639
- label: 'Title (optional)',
1640
- help: 'Choose your title for Pushmessage',
1641
- hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
1642
- hideOnlyControl: false,
1643
- },
1644
- headerLovelace: {
1645
- newLine: true,
1646
- type: 'header',
1647
- text: 'Lovelace Notification',
1648
- size: 2,
1649
- hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
1650
- hideOnlyControl: false,
1651
- },
1652
- instanceLovelace: {
1653
- newLine: true,
1654
- type: 'instance',
1655
- adapter: 'lovelace',
1656
- all: false,
1657
- xs: 12,
1658
- sm: 12,
1659
- md: 4,
1660
- lg: 4,
1661
- xl: 4,
1662
- label: 'Lovelace Instance',
1663
- help: 'Please choose the lovelace instance',
1664
- hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
1665
- hideOnlyControl: false,
1666
- },
1667
- titleLovelace: {
1668
- type: 'text',
1669
- xs: 12,
1670
- sm: 12,
1671
- md: 4,
1672
- lg: 4,
1673
- xl: 4,
1674
- label: 'Title (optional)',
1675
- help: 'Choose your title for Pushmessage',
1676
- hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
1677
- hideOnlyControl: false,
1678
- },
1679
- headerMatrix: {
1680
- newLine: true,
1681
- type: 'header',
1682
- text: 'Matrix',
1683
- size: 2,
1684
- hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
1685
- hideOnlyControl: false,
1686
- },
1687
- instanceMatrix: {
1688
- newLine: true,
1689
- type: 'instance',
1690
- adapter: 'matrix-org',
1691
- all: false,
1692
- xs: 12,
1693
- sm: 12,
1694
- md: 4,
1695
- lg: 4,
1696
- xl: 4,
1697
- label: 'Matrix Instance',
1698
- help: 'Please choose the matrix instance',
1699
- hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
1700
- hideOnlyControl: false,
1701
- },
1702
- titleMatrix: {
1703
- type: 'text',
1704
- xs: 12,
1705
- sm: 12,
1706
- md: 4,
1707
- lg: 4,
1708
- xl: 4,
1709
- label: 'Title (optional)',
1710
- help: 'Choose your title for message',
1711
- hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
1712
- hideOnlyControl: false,
1713
- },
1714
- _headerPushover: {
1715
- newLine: true,
1716
- type: 'header',
1717
- text: 'Pushover',
1718
- size: 2,
1719
- hidden: "data.msgService !== 'pushover' && !data.instancePushover",
1720
- hideOnlyControl: false,
1721
- },
1722
- instancePushover: {
1723
- newLine: true,
1724
- type: 'instance',
1725
- adapter: 'pushover',
1726
- all: false,
1727
- xs: 12,
1728
- sm: 12,
1729
- md: 4,
1730
- lg: 4,
1731
- xl: 4,
1732
- label: 'Pushover Instance',
1733
- help: 'Please choose the pushover instance',
1734
- hidden: "data.msgService !== 'pushover' && !data.instancePushover",
1735
- hideOnlyControl: false,
1736
- },
1737
- userPushover: {
1738
- type: 'text',
1739
- xs: 12,
1740
- sm: 12,
1741
- md: 4,
1742
- lg: 4,
1743
- xl: 4,
1744
- label: 'User/Group key (optional)',
1745
- help: 'Choose your User/Group key for Pushmessage',
1746
- hidden: "data.msgService !== 'pushover' && !data.instancePushover",
1747
- hideOnlyControl: false,
1748
- },
1749
- devicePushover: {
1750
- type: 'text',
1751
- xs: 12,
1752
- sm: 12,
1753
- md: 4,
1754
- lg: 4,
1755
- xl: 4,
1756
- label: 'Device-ID (optional)',
1757
- help: 'Choose your device',
1758
- hidden: "data.msgService !== 'pushover' && !data.instancePushover",
1759
- hideOnlyControl: false,
1760
- },
1761
- prioPushover: {
1762
- type: 'select',
1763
- xs: 12,
1764
- sm: 12,
1765
- md: 4,
1766
- lg: 4,
1767
- xl: 4,
1768
- help: 'Choose the priority',
1769
- options: [
1770
- { label: 'Normal', value: '' },
1771
- { label: 'High Priority', value: 1 },
1772
- { label: 'Silent', value: -1 },
1773
- { label: 'With confirmation', value: 2 },
1774
- ],
1775
- hidden: "data.msgService !== 'pushover' && !data.instancePushover",
1776
- hideOnlyControl: false,
1777
- },
1778
- titlePushover: {
1779
- type: 'text',
1780
- xs: 12,
1781
- sm: 12,
1782
- md: 4,
1783
- lg: 4,
1784
- xl: 4,
1785
- label: 'Title (optional)',
1786
- help: 'Choose your title for Pushmessage',
1787
- hidden: "data.msgService !== 'pushover' && !data.instancePushover",
1788
- hideOnlyControl: false,
1789
- },
1790
- headerSignal: {
1791
- newLine: true,
1792
- type: 'header',
1793
- text: 'Signal',
1794
- size: 2,
1795
- hidden: "data.msgService !== 'signal' && !data.instanceSignal",
1796
- hideOnlyControl: false,
1797
- },
1798
- instanceSignal: {
1799
- newLine: true,
1800
- type: 'instance',
1801
- adapter: 'signal-cmb',
1802
- all: false,
1803
- xs: 12,
1804
- sm: 12,
1805
- md: 4,
1806
- lg: 4,
1807
- xl: 4,
1808
- label: 'Signal Instance',
1809
- help: 'Please choose the Signal instance',
1810
- hidden: "data.msgService !== 'signal' && !data.instanceSignal",
1811
- hideOnlyControl: false,
1812
- },
1813
- phonSignal: {
1814
- type: 'text',
1815
- xs: 12,
1816
- sm: 12,
1817
- md: 4,
1818
- lg: 4,
1819
- xl: 4,
1820
- label: 'Recipient (optional)',
1821
- help: 'Choose your recipient',
1822
- hidden: "data.msgService !== 'signal' && !data.instanceSignal",
1823
- hideOnlyControl: false,
1824
- },
1825
- headerSynochat: {
1826
- newLine: true,
1827
- type: 'header',
1828
- text: 'Synochat',
1829
- size: 2,
1830
- hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
1831
- hideOnlyControl: false,
1832
- },
1833
- instanceSynochat: {
1834
- newLine: true,
1835
- type: 'instance',
1836
- adapter: 'synochat',
1837
- all: false,
1838
- xs: 12,
1839
- sm: 12,
1840
- md: 4,
1841
- lg: 4,
1842
- xl: 4,
1843
- label: 'Synochat Instance',
1844
- help: 'Please choose the Synochat instance',
1845
- hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
1846
- hideOnlyControl: false,
1847
- },
1848
- channelSynochat: {
1849
- type: 'text',
1850
- xs: 12,
1851
- sm: 12,
1852
- md: 4,
1853
- lg: 4,
1854
- xl: 4,
1855
- label: 'Channel',
1856
- help: 'Enter the channelname for Synochat',
1857
- hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
1858
- hideOnlyControl: false,
1859
- },
1860
- headerTelegram: {
1861
- newLine: true,
1862
- type: 'header',
1863
- text: 'Telegram',
1864
- size: 2,
1865
- hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
1866
- hideOnlyControl: false,
1867
- },
1868
- instanceTelegram: {
1869
- newLine: true,
1870
- type: 'instance',
1871
- adapter: 'telegram',
1872
- all: false,
1873
- xs: 12,
1874
- sm: 12,
1875
- md: 4,
1876
- lg: 4,
1877
- xl: 4,
1878
- label: 'Telegram Instance',
1879
- help: 'Please choose the telegram instance',
1880
- hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
1881
- hideOnlyControl: false,
1882
- },
1883
- deviceTelegram: {
1884
- type: 'text',
281
+ _sendIntervallInstanceDeactivatedDay: {
282
+ type: 'panel',
283
+ newLine: true,
1885
284
  xs: 12,
1886
285
  sm: 12,
1887
- md: 4,
1888
- lg: 4,
1889
- xl: 4,
1890
- label: 'Device-ID (optional)',
1891
- help: 'Choose your device',
1892
- hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
286
+ md: 12,
287
+ lg: 6,
288
+ xl: 6,
289
+ hidden: '!data.checkSendInstanceDeactivatedDaily',
1893
290
  hideOnlyControl: false,
291
+ items: {
292
+ _textDays: {
293
+ type: 'staticText',
294
+ text: 'Choose the day(s) where you want to get the overview of deactivated instances:',
295
+ style: {
296
+ fontSize: 16,
297
+ marginTop: 20,
298
+ },
299
+ xs: 12,
300
+ sm: 12,
301
+ md: 12,
302
+ lg: 12,
303
+ xl: 12,
304
+ },
305
+ checkInstanceDeactivatedMonday: {
306
+ xs: 12,
307
+ sm: 12,
308
+ md: 12,
309
+ lg: 6,
310
+ xl: 6,
311
+ newLine: true,
312
+ type: 'checkbox',
313
+ label: 'Mon',
314
+ },
315
+ checkInstanceDeactivatedTuesday: {
316
+ xs: 12,
317
+ sm: 12,
318
+ md: 12,
319
+ lg: 6,
320
+ xl: 6,
321
+ type: 'checkbox',
322
+ label: 'Tue',
323
+ },
324
+ checkInstanceDeactivatedWednesday: {
325
+ xs: 12,
326
+ sm: 12,
327
+ md: 12,
328
+ lg: 6,
329
+ xl: 6,
330
+ type: 'checkbox',
331
+ label: 'Wed',
332
+ },
333
+ checkInstanceDeactivatedThursday: {
334
+ xs: 12,
335
+ sm: 12,
336
+ md: 12,
337
+ lg: 6,
338
+ xl: 6,
339
+ type: 'checkbox',
340
+ label: 'Thu',
341
+ },
342
+ checkInstanceDeactivatedFriday: {
343
+ xs: 12,
344
+ sm: 12,
345
+ md: 12,
346
+ lg: 6,
347
+ xl: 6,
348
+ type: 'checkbox',
349
+ label: 'Fri',
350
+ },
351
+ checkInstanceDeactivatedSaturday: {
352
+ xs: 12,
353
+ sm: 12,
354
+ md: 12,
355
+ lg: 6,
356
+ xl: 6,
357
+ type: 'checkbox',
358
+ label: 'Sat',
359
+ },
360
+ checkInstanceDeactivatedSunday: {
361
+ xs: 12,
362
+ sm: 12,
363
+ md: 12,
364
+ lg: 6,
365
+ xl: 6,
366
+ type: 'checkbox',
367
+ label: 'Sun',
368
+ },
369
+ },
1894
370
  },
1895
- chatIdTelegram: {
1896
- type: 'text',
371
+ _sendIntervallInstanceDeactivatedMsgTime: {
372
+ type: 'panel',
1897
373
  xs: 12,
1898
374
  sm: 12,
1899
- md: 4,
1900
- lg: 4,
1901
- xl: 4,
1902
- label: 'Chat-ID (optional)',
1903
- help: 'Choose your Chat-ID',
1904
- hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
375
+ md: 12,
376
+ lg: 6,
377
+ xl: 6,
378
+ hidden: '!data.checkSendInstanceDeactivatedDaily',
1905
379
  hideOnlyControl: false,
380
+ items: {
381
+ _textTime: {
382
+ type: 'staticText',
383
+ text: 'Choose the Time:',
384
+ style: {
385
+ fontSize: 16,
386
+ marginTop: 20,
387
+ },
388
+ xs: 12,
389
+ sm: 12,
390
+ md: 12,
391
+ lg: 12,
392
+ xl: 12,
393
+ },
394
+ checkSendInstanceDeactivatedTime: {
395
+ newLine: true,
396
+ type: 'text',
397
+ help: 'Format hh:mm',
398
+ validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendInstanceDeactivatedTime; if(timePattern.test(value)) return true;return false;',
399
+ validatorNoSaveOnError: true,
400
+ xs: 12,
401
+ sm: 12,
402
+ md: 12,
403
+ lg: 12,
404
+ xl: 12,
405
+ },
406
+ },
1906
407
  },
1907
- headerWhatsapp: {
408
+ trennerInstanceDeactivated: {
1908
409
  newLine: true,
1909
- type: 'header',
1910
- text: 'Whatsapp',
1911
- size: 2,
1912
- hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
410
+ type: 'divider',
411
+ hidden: '!data.checkAdapterInstances',
1913
412
  hideOnlyControl: false,
1914
413
  },
1915
- instanceWhatsapp: {
414
+ checkSendInstanceFailedMsg: {
1916
415
  newLine: true,
1917
- type: 'instance',
1918
- adapter: 'whatsapp-cmb',
1919
- all: false,
416
+ type: 'checkbox',
1920
417
  xs: 12,
1921
418
  sm: 12,
1922
- md: 4,
1923
- lg: 4,
1924
- xl: 4,
1925
- label: 'Whatsapp Instance',
1926
- help: 'Please choose the Whatsapp instance',
1927
- hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
419
+ md: 12,
420
+ lg: 6,
421
+ xl: 6,
422
+ label: 'Instance failed message',
423
+ help: 'Receive a message when an instance failed',
424
+ hidden: '!data.checkAdapterInstances',
1928
425
  hideOnlyControl: false,
1929
426
  },
1930
- phoneWhatapp: {
1931
- type: 'text',
427
+ checkSendInstanceFailedDaily: {
428
+ type: 'checkbox',
1932
429
  xs: 12,
1933
430
  sm: 12,
1934
- md: 4,
1935
- lg: 4,
1936
- xl: 4,
1937
- label: 'Recipient (optional)',
1938
- help: 'Choose your recipient',
1939
- hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
1940
- hideOnlyControl: false,
1941
- },
1942
- },
1943
- },
1944
- _blacklist: {
1945
- type: 'panel',
1946
- label: 'Blacklist',
1947
- items: {
1948
- _headerBlacklistInstances: {
1949
- newLine: true,
1950
- type: 'header',
1951
- text: 'Instances Blacklist',
1952
- size: 2,
431
+ md: 12,
432
+ lg: 6,
433
+ xl: 6,
434
+ label: 'Overview of failed instances',
435
+ help: 'Get a message with an overview of all failed instances',
1953
436
  hidden: '!data.checkAdapterInstances',
1954
437
  hideOnlyControl: false,
1955
438
  },
1956
- tableBlacklistInstances: {
1957
- type: 'table',
439
+ _sendIntervallFailedInstancesDay: {
440
+ type: 'panel',
441
+ newLine: true,
1958
442
  xs: 12,
1959
443
  sm: 12,
1960
444
  md: 12,
1961
- lg: 12,
1962
- xl: 12,
1963
- hidden: '!data.checkAdapterInstances',
445
+ lg: 6,
446
+ xl: 6,
447
+ hidden: '!data.checkSendInstanceFailedDaily',
1964
448
  hideOnlyControl: false,
1965
- confirm: {
1966
- condition: '!_alive',
1967
- title: 'Attention!',
1968
- text: 'This selection is only possible with a running instance!',
1969
- ok: 'Got it!',
1970
- cancel: 'cancel',
1971
- type: 'warning',
1972
- },
1973
- items: [
1974
- {
1975
- type: 'selectSendTo',
1976
- title: 'Choose which instances should be excluded',
1977
- attr: 'instances',
1978
- filter: false,
1979
- sort: false,
1980
- jsonData: '{"instanceID":"${globalData.instanceID}","adapter":"${globalData.adapter}"}',
1981
- command: 'instancesList',
1982
- width: '60%',
449
+ items: {
450
+ _textDays: {
451
+ type: 'staticText',
452
+ text: 'Choose the day(s) where you want to get the overview of failed instances:',
453
+ style: {
454
+ fontSize: 16,
455
+ marginTop: 20,
456
+ },
457
+ xs: 12,
458
+ sm: 12,
459
+ md: 12,
460
+ lg: 12,
461
+ xl: 12,
462
+ },
463
+ checkFailedInstancesMonday: {
464
+ newLine: true,
465
+ type: 'checkbox',
466
+ label: 'Mon',
467
+ xs: 12,
468
+ sm: 6,
469
+ md: 6,
470
+ lg: 3,
471
+ xl: 3,
472
+ },
473
+ checkFailedInstancesTuesday: {
474
+ type: 'checkbox',
475
+ label: 'Tue',
476
+ xs: 12,
477
+ sm: 6,
478
+ md: 6,
479
+ lg: 3,
480
+ xl: 3,
481
+ },
482
+ checkFailedInstancesWednesday: {
483
+ type: 'checkbox',
484
+ label: 'Wed',
485
+ xs: 12,
486
+ sm: 6,
487
+ md: 6,
488
+ lg: 3,
489
+ xl: 3,
490
+ },
491
+ checkFailedInstancesThursday: {
492
+ type: 'checkbox',
493
+ label: 'Thu',
494
+ xs: 12,
495
+ sm: 6,
496
+ md: 6,
497
+ lg: 3,
498
+ xl: 3,
499
+ },
500
+ checkFailedInstancesFriday: {
501
+ type: 'checkbox',
502
+ label: 'Fri',
503
+ xs: 12,
504
+ sm: 6,
505
+ md: 6,
506
+ lg: 3,
507
+ xl: 3,
1983
508
  },
1984
- {
509
+ checkFailedInstancesSaturday: {
1985
510
  type: 'checkbox',
1986
- title: 'Ignor in notifications',
1987
- attr: 'checkIgnorNotify',
1988
- width: '15%',
511
+ label: 'Sat',
512
+ xs: 12,
513
+ sm: 6,
514
+ md: 6,
515
+ lg: 3,
516
+ xl: 3,
1989
517
  },
1990
- {
518
+ checkFailedInstancesSunday: {
1991
519
  type: 'checkbox',
1992
- title: 'Ignore in lists',
1993
- attr: 'checkIgnorLists',
1994
- width: '10%',
520
+ label: 'Sun',
521
+ xs: 12,
522
+ sm: 6,
523
+ md: 6,
524
+ lg: 3,
525
+ xl: 3,
1995
526
  },
1996
- ],
1997
- },
1998
- _headerDevices: {
1999
- newLine: true,
2000
- type: 'header',
2001
- text: 'Devices/Services Blacklist',
2002
- size: 2,
527
+ },
2003
528
  },
2004
- tableBlacklist: {
2005
- type: 'table',
529
+ _sendIntervallInstanceFailedMsgTime: {
530
+ type: 'panel',
2006
531
  xs: 12,
2007
532
  sm: 12,
2008
533
  md: 12,
2009
- lg: 12,
2010
- xl: 12,
2011
- confirm: {
2012
- condition: '!_alive',
2013
- title: 'Attention!',
2014
- text: 'This selection is only possible with a running instance!',
2015
- ok: 'Got it!',
2016
- cancel: 'cancel',
2017
- type: 'warning',
2018
- },
2019
- items: [
2020
- {
2021
- type: 'selectSendTo',
2022
- title: 'Choose which devices/services should be excluded',
2023
- attr: 'devices',
2024
- filter: false,
2025
- sort: false,
2026
- jsonData: '{"deviceName":"${globalData.deviceName}","adapter":"${globalData.adapter}","path":"${globalData.path}"}',
2027
- command: 'devicesList',
2028
- width: '60%',
2029
- },
2030
- {
2031
- type: 'checkbox',
2032
- title: 'Ignor in notifications',
2033
- attr: 'checkIgnorNotify',
2034
- width: '15%',
2035
- },
2036
- {
2037
- type: 'checkbox',
2038
- title: 'Ignore in main lists',
2039
- attr: 'checkIgnorLists',
2040
- width: '10%',
534
+ lg: 6,
535
+ xl: 6,
536
+ hidden: '!data.checkSendInstanceFailedDaily',
537
+ hideOnlyControl: false,
538
+ items: {
539
+ _textTime: {
540
+ type: 'staticText',
541
+ text: 'Choose the Time:',
542
+ style: {
543
+ fontSize: 16,
544
+ marginTop: 20,
545
+ },
546
+ xs: 12,
547
+ sm: 12,
548
+ md: 12,
549
+ lg: 12,
550
+ xl: 12,
2041
551
  },
2042
- {
2043
- type: 'checkbox',
2044
- title: 'Ignore in lists per adapter',
2045
- attr: 'checkIgnorAdapterLists',
2046
- width: '10%',
552
+ checkSendInstanceFailedTime: {
553
+ newLine: true,
554
+ type: 'text',
555
+ help: 'Format hh:mm',
556
+ validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendInstanceFailedTime; if(timePattern.test(value)) return true;return false;',
557
+ validatorNoSaveOnError: true,
558
+ xs: 12,
559
+ sm: 12,
560
+ md: 12,
561
+ lg: 12,
562
+ xl: 12,
2047
563
  },
2048
- ],
564
+ },
2049
565
  },
2050
- },
2051
- },
2052
- _otherSettings: {
2053
- type: 'panel',
2054
- label: 'Other Settings',
2055
- items: {
2056
- _headerOtherSettings: {
566
+ _headerCommon: {
2057
567
  type: 'header',
2058
- text: 'Other Settings',
568
+ text: 'Devices/Services Notification Settings',
2059
569
  size: 2,
2060
570
  },
2061
- trueState: {
2062
- newLine: true,
2063
- type: 'checkbox',
2064
- xs: 12,
2065
- sm: 12,
2066
- md: 6,
2067
- lg: 4,
2068
- xl: 4,
2069
- label: 'True State',
2070
- help: 'Use the true value of the signal strength, or it is converted to %',
2071
- },
2072
- listOnlyBattery: {
571
+ checkSendOfflineMsg: {
2073
572
  type: 'checkbox',
2074
573
  xs: 12,
2075
574
  sm: 12,
2076
- md: 6,
2077
- lg: 4,
2078
- xl: 4,
2079
- label: 'List only devices with batteries',
2080
- help: 'Choose if only devices with batteries should be listed or all devices',
2081
- },
2082
- minWarnBatterie: {
2083
- type: 'number',
2084
- min: -1,
2085
- max: 100,
2086
- xs: 12,
2087
- sm: 12,
2088
575
  md: 12,
2089
- lg: 4,
2090
- xl: 4,
2091
- label: 'From what % battery is considered low',
2092
- help: 'in percent',
2093
- },
2094
- createOwnFolder: {
2095
- type: 'checkbox',
2096
- xs: 12,
2097
- sm: 12,
2098
- md: 6,
2099
- lg: 4,
2100
- xl: 4,
2101
- label: 'Create own folders for each adapter',
2102
- help: 'If you like to have for every Adapter an own folder with own data',
576
+ lg: 6,
577
+ xl: 6,
578
+ label: 'Offline message',
579
+ help: 'Get message if an device is not reachable',
2103
580
  },
2104
- createHtmlList: {
581
+ checkSendOfflineMsgDaily: {
2105
582
  type: 'checkbox',
2106
583
  xs: 12,
2107
584
  sm: 12,
2108
- md: 6,
2109
- lg: 4,
2110
- xl: 4,
2111
- label: 'Create additionally HTML lists',
2112
- help: 'Create the lists also in HTML',
585
+ md: 12,
586
+ lg: 6,
587
+ xl: 6,
588
+ label: 'Overview of offline devices/services',
589
+ help: 'Get a message with an overview all offline devices/services',
2113
590
  },
2114
- showLastSignal: {
2115
- type: 'checkbox',
591
+ _sendIntervallOfflineDay: {
592
+ type: 'panel',
593
+ newLine: true,
2116
594
  xs: 12,
2117
595
  sm: 12,
2118
- md: 6,
2119
- lg: 4,
2120
- xl: 4,
2121
- label: 'Display last signal strength',
2122
- help: 'Display the last signal strength value when the device is offline',
2123
- },
2124
- _updateInterval: {
2125
- type: 'header',
2126
- text: 'Update-Interval',
2127
- size: 2,
596
+ md: 12,
597
+ lg: 6,
598
+ xl: 6,
599
+ hidden: '!data.checkSendOfflineMsgDaily',
600
+ hideOnlyControl: true,
601
+ items: {
602
+ _textDays: {
603
+ type: 'staticText',
604
+ text: 'Choose the day(s) where you want to get the overview of offline devices/services:',
605
+ style: {
606
+ fontSize: 16,
607
+ marginTop: 20,
608
+ },
609
+ xs: 12,
610
+ sm: 12,
611
+ md: 12,
612
+ lg: 12,
613
+ xl: 12,
614
+ },
615
+ checkOfflineMonday: {
616
+ newLine: true,
617
+ type: 'checkbox',
618
+ label: 'Mon',
619
+ xs: 12,
620
+ sm: 6,
621
+ md: 6,
622
+ lg: 3,
623
+ xl: 3,
624
+ },
625
+ checkOfflineTuesday: {
626
+ type: 'checkbox',
627
+ label: 'Tue',
628
+ xs: 12,
629
+ sm: 6,
630
+ md: 6,
631
+ lg: 3,
632
+ xl: 3,
633
+ },
634
+ checkOfflineWednesday: {
635
+ type: 'checkbox',
636
+ label: 'Wed',
637
+ xs: 12,
638
+ sm: 6,
639
+ md: 6,
640
+ lg: 3,
641
+ xl: 3,
642
+ },
643
+ checkOfflineThursday: {
644
+ type: 'checkbox',
645
+ label: 'Thu',
646
+ xs: 12,
647
+ sm: 6,
648
+ md: 6,
649
+ lg: 3,
650
+ xl: 3,
651
+ },
652
+ checkOfflineFriday: {
653
+ type: 'checkbox',
654
+ label: 'Fri',
655
+ xs: 12,
656
+ sm: 6,
657
+ md: 6,
658
+ lg: 3,
659
+ xl: 3,
660
+ },
661
+ checkOfflineSaturday: {
662
+ type: 'checkbox',
663
+ label: 'Sat',
664
+ xs: 12,
665
+ sm: 6,
666
+ md: 6,
667
+ lg: 3,
668
+ xl: 3,
669
+ },
670
+ checkOfflineSunday: {
671
+ type: 'checkbox',
672
+ label: 'Sun',
673
+ xs: 12,
674
+ sm: 6,
675
+ md: 6,
676
+ lg: 3,
677
+ xl: 3,
678
+ },
679
+ },
2128
680
  },
2129
- _textUpdateInterval: {
2130
- type: 'staticText',
2131
- text: 'Here you can define the update interval of the datapoints/lists. For performance reasons, it is not recommended to select a poll value that is too low. Lower than two seconds is not selectable.',
681
+ _sendIntervallOfflineTime: {
682
+ type: 'panel',
2132
683
  xs: 12,
2133
684
  sm: 12,
2134
685
  md: 12,
2135
- lg: 12,
2136
- xl: 12,
2137
- style: {
2138
- fontSize: 16,
2139
- marginBottom: 10,
686
+ lg: 6,
687
+ xl: 6,
688
+ hidden: '!data.checkSendOfflineMsgDaily',
689
+ hideOnlyControl: true,
690
+ items: {
691
+ _textTime: {
692
+ type: 'staticText',
693
+ text: 'Choose the Time:',
694
+ style: {
695
+ fontSize: 16,
696
+ marginTop: 20,
697
+ },
698
+ xs: 12,
699
+ sm: 12,
700
+ md: 12,
701
+ lg: 12,
702
+ xl: 12,
703
+ },
704
+ checkSendOfflineTime: {
705
+ newLine: true,
706
+ type: 'text',
707
+ help: 'Format hh:mm',
708
+ validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendOfflineTime; if(timePattern.test(value)) return true;return false;',
709
+ validatorNoSaveOnError: true,
710
+ xs: 12,
711
+ sm: 12,
712
+ md: 12,
713
+ lg: 12,
714
+ xl: 12,
715
+ },
2140
716
  },
2141
717
  },
2142
- updateinterval: {
2143
- type: 'number',
2144
- min: 2,
2145
- max: 100000,
2146
- xs: 12,
2147
- sm: 6,
2148
- md: 6,
2149
- lg: 3,
2150
- xl: 3,
2151
- label: 'Update-Interval',
2152
- help: 'in seconds',
2153
- hideOnlyControl: false,
2154
- },
2155
- _headerLanguage: {
2156
- type: 'header',
2157
- text: 'Language',
2158
- size: 2,
718
+ _trenner: {
719
+ newLine: true,
720
+ type: 'divider',
2159
721
  },
2160
- _textLanguage: {
2161
- type: 'staticText',
2162
- text: 'Here you can select the language for the tables and messages',
722
+ checkSendBatteryMsg: {
723
+ newLine: true,
724
+ type: 'checkbox',
2163
725
  xs: 12,
2164
726
  sm: 12,
2165
727
  md: 12,
2166
- lg: 12,
2167
- xl: 12,
2168
- style: {
2169
- fontSize: 16,
2170
- marginBottom: 10,
2171
- },
728
+ lg: 6,
729
+ xl: 6,
730
+ label: 'Battery message',
731
+ help: 'Get message if an device has low battery',
2172
732
  },
2173
- userSelectedLanguage: {
2174
- type: 'language',
2175
- system: false,
733
+ checkSendBatteryMsgDaily: {
734
+ type: 'checkbox',
2176
735
  xs: 12,
2177
- sm: 6,
2178
- md: 6,
2179
- lg: 3,
2180
- xl: 3,
2181
- label: 'Language',
2182
- },
2183
- },
2184
- },
2185
- _expertSettings: {
2186
- type: 'panel',
2187
- label: 'Expert Settings',
2188
- items: {
2189
- _headerTimeInstances: {
2190
- type: 'header',
2191
- text: 'Deactivation and Error Time for Instances',
2192
- size: 2,
2193
- hidden: '!data.checkAdapterInstances',
2194
- hideOnlyControl: false,
736
+ sm: 12,
737
+ md: 12,
738
+ lg: 6,
739
+ xl: 6,
740
+ label: 'Overview of low battery devices',
741
+ help: 'Get a regular message with an overview all low battery devices',
2195
742
  },
2196
- _textTimeInstances: {
2197
- type: 'staticText',
2198
- text: 'Define the global instance deactivation and error time. The default value is 20 seconds.',
743
+ _chooseDay: {
744
+ type: 'panel',
745
+ newLine: true,
2199
746
  xs: 12,
2200
747
  sm: 12,
2201
748
  md: 12,
2202
- lg: 12,
2203
- xl: 12,
2204
- hidden: '!data.checkAdapterInstances',
2205
- hideOnlyControl: false,
2206
- style: {
2207
- fontSize: 16,
2208
- marginBottom: 10,
749
+ lg: 6,
750
+ xl: 6,
751
+ hidden: '!data.checkSendBatteryMsgDaily',
752
+ hideOnlyControl: true,
753
+ items: {
754
+ _textDays: {
755
+ type: 'staticText',
756
+ text: 'Choose the day(s) where you want to get the message of low battery:',
757
+ style: {
758
+ fontSize: 16,
759
+ marginTop: 20,
760
+ },
761
+ xs: 12,
762
+ sm: 12,
763
+ md: 12,
764
+ lg: 12,
765
+ xl: 12,
766
+ },
767
+ checkMonday: {
768
+ newLine: true,
769
+ type: 'checkbox',
770
+ label: 'Mon',
771
+ xs: 12,
772
+ sm: 6,
773
+ md: 6,
774
+ lg: 3,
775
+ xl: 3,
776
+ },
777
+ checkTuesday: {
778
+ type: 'checkbox',
779
+ label: 'Tue',
780
+ xs: 12,
781
+ sm: 6,
782
+ md: 6,
783
+ lg: 3,
784
+ xl: 3,
785
+ },
786
+ checkWednesday: {
787
+ type: 'checkbox',
788
+ label: 'Wed',
789
+ xs: 12,
790
+ sm: 6,
791
+ md: 6,
792
+ lg: 3,
793
+ xl: 3,
794
+ },
795
+ checkThursday: {
796
+ type: 'checkbox',
797
+ label: 'Thu',
798
+ xs: 12,
799
+ sm: 6,
800
+ md: 6,
801
+ lg: 3,
802
+ xl: 3,
803
+ },
804
+ checkFriday: {
805
+ type: 'checkbox',
806
+ label: 'Fri',
807
+ xs: 12,
808
+ sm: 6,
809
+ md: 6,
810
+ lg: 3,
811
+ xl: 3,
812
+ },
813
+ checkSaturday: {
814
+ type: 'checkbox',
815
+ label: 'Sat',
816
+ xs: 12,
817
+ sm: 6,
818
+ md: 6,
819
+ lg: 3,
820
+ xl: 3,
821
+ },
822
+ checkSunday: {
823
+ type: 'checkbox',
824
+ label: 'Sun',
825
+ xs: 12,
826
+ sm: 6,
827
+ md: 6,
828
+ lg: 3,
829
+ xl: 3,
830
+ },
2209
831
  },
2210
832
  },
2211
- offlineTimeInstances: {
2212
- type: 'number',
2213
- min: 20,
2214
- max: 100000,
2215
- xs: 12,
2216
- sm: 6,
2217
- md: 6,
2218
- lg: 3,
2219
- xl: 3,
2220
- label: 'Global deactivation time',
2221
- help: 'in seconds',
2222
- hidden: '!data.checkAdapterInstances',
2223
- hideOnlyControl: false,
2224
- },
2225
- errorTimeInstances: {
2226
- type: 'number',
2227
- min: 20,
2228
- max: 100000,
833
+ _checkSendBatteryTime: {
834
+ type: 'panel',
2229
835
  xs: 12,
2230
- sm: 6,
2231
- md: 6,
2232
- lg: 3,
2233
- xl: 3,
2234
- label: 'Global error time',
2235
- help: 'in seconds',
2236
- hidden: '!data.checkAdapterInstances',
2237
- hideOnlyControl: false,
836
+ sm: 12,
837
+ md: 12,
838
+ lg: 6,
839
+ xl: 6,
840
+ hidden: '!data.checkSendBatteryMsgDaily',
841
+ hideOnlyControl: true,
842
+ items: {
843
+ _textTime: {
844
+ type: 'staticText',
845
+ text: 'Choose the Time:',
846
+ style: {
847
+ fontSize: 16,
848
+ marginTop: 20,
849
+ },
850
+ xs: 12,
851
+ sm: 12,
852
+ md: 12,
853
+ lg: 12,
854
+ xl: 12,
855
+ },
856
+ checkSendBatteryTime: {
857
+ newLine: true,
858
+ type: 'text',
859
+ help: 'Format hh:mm',
860
+ validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendBatteryTime; if(timePattern.test(value)) return true;return false;',
861
+ validatorNoSaveOnError: true,
862
+ xs: 12,
863
+ sm: 12,
864
+ md: 12,
865
+ lg: 12,
866
+ xl: 12,
867
+ },
868
+ },
2238
869
  },
2239
- _divider: {
870
+ _trennerZwei: {
2240
871
  newLine: true,
2241
872
  type: 'divider',
2242
- hidden: '!data.checkAdapterInstances',
2243
- hideOnlyControl: false,
2244
873
  },
2245
- _textTableTimeInstances: {
2246
- type: 'staticText',
2247
- text: 'If necessary, set the deactivation and error time of each instance for yourself here. This setting overwrites the global setting for the selected instance.',
874
+ checkSendDeviceUpgrade: {
875
+ newLine: true,
876
+ type: 'checkbox',
2248
877
  xs: 12,
2249
878
  sm: 12,
2250
879
  md: 12,
2251
- lg: 12,
2252
- xl: 12,
2253
- hidden: '!data.checkAdapterInstances',
2254
- hideOnlyControl: false,
2255
- style: {
2256
- fontSize: 16,
2257
- marginBottom: 10,
2258
- },
880
+ lg: 6,
881
+ xl: 6,
882
+ label: 'Device update message',
883
+ help: 'Receive a message when an update for an device is available',
2259
884
  },
2260
- tableTimeInstance: {
2261
- type: 'table',
885
+ checkSendUpgradeMsgDaily: {
886
+ type: 'checkbox',
2262
887
  xs: 12,
2263
888
  sm: 12,
2264
889
  md: 12,
2265
- lg: 12,
2266
- xl: 12,
2267
- hidden: '!data.checkAdapterInstances',
2268
- hideOnlyControl: false,
2269
- confirm: {
2270
- condition: '!_alive',
2271
- title: 'Attention!',
2272
- text: 'This selection is only possible with a running instance!',
2273
- ok: 'Got it!',
2274
- cancel: 'cancel',
2275
- type: 'warning',
2276
- },
2277
- items: [
2278
- {
2279
- type: 'selectSendTo',
2280
- title: 'Choose which instances should have a longer downtime',
2281
- attr: 'instancesTime',
2282
- filter: false,
2283
- sort: false,
2284
- jsonData: '{"instanceID":"${globalData.instanceID}","adapter":"${globalData.adapter}"}',
2285
- command: 'instancesListTime',
2286
- width: '60%',
2287
- },
2288
- {
2289
- type: 'number',
2290
- min: 20,
2291
- max: 1000000,
2292
- default: 20,
2293
- title: 'Deactivation time in seconds',
2294
- attr: 'deactivationTime',
2295
- width: '15%',
2296
- },
2297
- {
2298
- type: 'number',
2299
- min: 20,
2300
- max: 1000000,
2301
- default: 20,
2302
- title: 'Error time in seconds',
2303
- attr: 'errorTime',
2304
- width: '15%',
2305
- },
2306
- ],
2307
- },
2308
- _headerOfflineTime: {
2309
- type: 'header',
2310
- text: 'Offline Time for devices/services',
2311
- size: 2,
890
+ lg: 6,
891
+ xl: 6,
892
+ label: 'Overview of devices with update',
893
+ help: 'Get a message with an overview all devices with update',
2312
894
  },
2313
- _textOfflineTime: {
2314
- type: 'staticText',
2315
- text: "Here you can define the offline times of each adapter. If you want to use the data points of the devices/services (online, available, reachable etc.) directly to determine the status, enter ' 0 '.",
895
+ _sendIntervallUpgradeDay: {
896
+ type: 'panel',
897
+ newLine: true,
2316
898
  xs: 12,
2317
899
  sm: 12,
2318
900
  md: 12,
2319
- lg: 12,
2320
- xl: 12,
2321
- style: {
2322
- fontSize: 16,
2323
- marginBottom: 10,
901
+ lg: 6,
902
+ xl: 6,
903
+ hidden: '!data.checkSendUpgradeMsgDaily',
904
+ hideOnlyControl: true,
905
+ items: {
906
+ _textDays: {
907
+ type: 'staticText',
908
+ text: 'Choose the day(s) where you want to get the overview of update devices:',
909
+ style: {
910
+ fontSize: 16,
911
+ marginTop: 20,
912
+ },
913
+ xs: 12,
914
+ sm: 12,
915
+ md: 12,
916
+ lg: 12,
917
+ xl: 12,
918
+ },
919
+ checkUpgradeMonday: {
920
+ newLine: true,
921
+ type: 'checkbox',
922
+ label: 'Mon',
923
+ xs: 12,
924
+ sm: 6,
925
+ md: 6,
926
+ lg: 3,
927
+ xl: 3,
928
+ },
929
+ checkUpgradeTuesday: {
930
+ type: 'checkbox',
931
+ label: 'Tue',
932
+ xs: 12,
933
+ sm: 6,
934
+ md: 6,
935
+ lg: 3,
936
+ xl: 3,
937
+ },
938
+ checkUpgradeWednesday: {
939
+ type: 'checkbox',
940
+ label: 'Wed',
941
+ xs: 12,
942
+ sm: 6,
943
+ md: 6,
944
+ lg: 3,
945
+ xl: 3,
946
+ },
947
+ checkUpgradeThursday: {
948
+ type: 'checkbox',
949
+ label: 'Thu',
950
+ xs: 12,
951
+ sm: 6,
952
+ md: 6,
953
+ lg: 3,
954
+ xl: 3,
955
+ },
956
+ checkUpgradeFriday: {
957
+ type: 'checkbox',
958
+ label: 'Fri',
959
+ xs: 12,
960
+ sm: 6,
961
+ md: 6,
962
+ lg: 3,
963
+ xl: 3,
964
+ },
965
+ checkUpgradeSaturday: {
966
+ type: 'checkbox',
967
+ label: 'Sat',
968
+ xs: 12,
969
+ sm: 6,
970
+ md: 6,
971
+ lg: 3,
972
+ xl: 3,
973
+ },
974
+ checkUpgradeSunday: {
975
+ type: 'checkbox',
976
+ label: 'Sun',
977
+ xs: 12,
978
+ sm: 6,
979
+ md: 6,
980
+ lg: 3,
981
+ xl: 3,
982
+ },
2324
983
  },
2325
984
  },
2326
- alexa2MaxMinutes: {
2327
- type: 'number',
2328
- min: -1,
2329
- max: 100000,
2330
- xs: 12,
2331
- sm: 6,
2332
- md: 6,
2333
- lg: 3,
2334
- xl: 3,
2335
- label: 'Alexa2',
2336
- help: 'in minutes',
2337
- hidden: '!data.alexa2Devices',
2338
- hideOnlyControl: false,
2339
- },
2340
- apcupsMaxMinutes: {
2341
- type: 'number',
2342
- min: -1,
2343
- max: 100000,
2344
- xs: 12,
2345
- sm: 6,
2346
- md: 6,
2347
- lg: 3,
2348
- xl: 3,
2349
- label: 'Apc UPS',
2350
- help: 'in minutes',
2351
- hidden: '!data.apcupsDevices',
2352
- hideOnlyControl: false,
2353
- },
2354
- bleMaxMinutes: {
2355
- type: 'number',
2356
- min: 1,
2357
- max: 100000,
2358
- xs: 12,
2359
- sm: 6,
2360
- md: 6,
2361
- lg: 3,
2362
- xl: 3,
2363
- label: 'Ble',
2364
- help: 'in minutes',
2365
- hidden: '!data.bleDevices',
2366
- hideOnlyControl: false,
2367
- },
2368
- deconzMaxMinutes: {
2369
- type: 'number',
2370
- min: -1,
2371
- max: 100000,
2372
- xs: 12,
2373
- sm: 6,
2374
- md: 6,
2375
- lg: 3,
2376
- xl: 3,
2377
- label: 'Deconz',
2378
- help: 'in minutes',
2379
- hidden: '!data.deconzDevices',
2380
- hideOnlyControl: false,
2381
- },
2382
- ecovacsdeebotMaxMinutes: {
2383
- type: 'number',
2384
- min: -1,
2385
- max: 100000,
2386
- xs: 12,
2387
- sm: 6,
2388
- md: 6,
2389
- lg: 3,
2390
- xl: 3,
2391
- label: 'Ecovacs-Deebot',
2392
- help: 'in minutes',
2393
- hidden: '!data.ecovacsdeebotDevices',
2394
- hideOnlyControl: false,
2395
- },
2396
- enoceanMaxMinutes: {
2397
- type: 'number',
2398
- min: 1,
2399
- max: 100000,
985
+ _sendIntervallUpgradeTime: {
986
+ type: 'panel',
2400
987
  xs: 12,
2401
- sm: 6,
2402
- md: 6,
2403
- lg: 3,
2404
- xl: 3,
2405
- label: 'Enocean',
2406
- help: 'in minutes',
2407
- hidden: '!data.enoceanDevices',
2408
- hideOnlyControl: false,
988
+ sm: 12,
989
+ md: 12,
990
+ lg: 6,
991
+ xl: 6,
992
+ hidden: '!data.checkSendUpgradeMsgDaily',
993
+ hideOnlyControl: true,
994
+ items: {
995
+ _textTime: {
996
+ type: 'staticText',
997
+ text: 'Choose the Time:',
998
+ style: {
999
+ fontSize: 16,
1000
+ marginTop: 20,
1001
+ },
1002
+ xs: 12,
1003
+ sm: 12,
1004
+ md: 12,
1005
+ lg: 12,
1006
+ xl: 12,
1007
+ },
1008
+ checkSendUpgradeTime: {
1009
+ newLine: true,
1010
+ type: 'text',
1011
+ help: 'Format hh:mm',
1012
+ validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendUpgradeTime; if(timePattern.test(value)) return true;return false;',
1013
+ validatorNoSaveOnError: true,
1014
+ xs: 12,
1015
+ sm: 12,
1016
+ md: 12,
1017
+ lg: 12,
1018
+ xl: 12,
1019
+ },
1020
+ },
2409
1021
  },
2410
- esphomeMaxMinutes: {
2411
- type: 'number',
2412
- min: -1,
2413
- max: 100000,
2414
- xs: 12,
2415
- sm: 6,
2416
- md: 6,
2417
- lg: 3,
2418
- xl: 3,
2419
- label: 'EspHome',
2420
- help: 'in minutes',
2421
- hidden: '!data.esphomeDevices',
2422
- hideOnlyControl: false,
1022
+ _headerOtherSettings: {
1023
+ type: 'header',
1024
+ text: 'Other Notification Settings',
1025
+ size: 2,
1026
+ hidden: '!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade && !data.checkSendUpgradeMsgDaily',
2423
1027
  },
2424
- eusecMaxMinutes: {
2425
- type: 'number',
2426
- min: 1,
2427
- max: 100000,
1028
+ showAdapterNameinMsg: {
1029
+ newLine: true,
1030
+ type: 'checkbox',
2428
1031
  xs: 12,
2429
- sm: 6,
2430
- md: 6,
2431
- lg: 3,
2432
- xl: 3,
2433
- label: 'euSec',
2434
- help: 'in minutes',
2435
- hidden: '!data.eusecDevices',
2436
- hideOnlyControl: false,
1032
+ sm: 12,
1033
+ md: 12,
1034
+ lg: 12,
1035
+ xl: 12,
1036
+ label: 'Add adapter name in notifications',
1037
+ help: 'Will add the adaptername from the device',
1038
+ hidden: '!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade && !data.checkSendUpgradeMsgDaily',
2437
1039
  },
2438
- fhemTFAsensorsMaxMinutes: {
2439
- type: 'number',
2440
- min: 1,
2441
- max: 100000,
2442
- xs: 12,
2443
- sm: 6,
2444
- md: 6,
2445
- lg: 3,
2446
- xl: 3,
2447
- label: 'FHEM TFA sensores',
2448
- help: 'in minutes',
2449
- hidden: '!data.fhemTFAsensorsDevices',
2450
- hideOnlyControl: false,
1040
+ },
1041
+ },
1042
+ _notificationServices: {
1043
+ type: 'panel',
1044
+ label: 'Notification Service',
1045
+ items: {
1046
+ _headerMSGservice: {
1047
+ newLine: true,
1048
+ type: 'header',
1049
+ text: 'Notification Service',
1050
+ size: 2,
2451
1051
  },
2452
- fritzdectMaxMinutes: {
2453
- type: 'number',
2454
- min: -1,
2455
- max: 100000,
1052
+ _msgServiceText: {
1053
+ type: 'staticText',
1054
+ 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.',
1055
+ style: {
1056
+ fontSize: 16,
1057
+ marginTop: 20,
1058
+ },
2456
1059
  xs: 12,
2457
- sm: 6,
2458
- md: 6,
2459
- lg: 3,
2460
- xl: 3,
2461
- label: 'FritzDect',
2462
- help: 'in minutes',
2463
- hidden: '!data.fritzdectDevices',
2464
- hideOnlyControl: false,
1060
+ sm: 12,
1061
+ md: 12,
1062
+ lg: 12,
1063
+ xl: 12,
2465
1064
  },
2466
- fullybrowserMaxMinutes: {
2467
- type: 'number',
2468
- min: -1,
2469
- max: 100000,
1065
+ msgService: {
1066
+ newLine: true,
1067
+ type: 'select',
1068
+ help: 'Choose your notification services',
1069
+ options: [
1070
+ { label: 'Please choose', value: 'none' },
1071
+ { label: 'E-Mail', value: 'email' },
1072
+ { label: 'Jarvis', value: 'jarvis' },
1073
+ { label: 'Lovelace', value: 'lovelace' },
1074
+ { label: 'Matrix', value: 'matrix' },
1075
+ { label: 'Pushover', value: 'pushover' },
1076
+ { label: 'Signal', value: 'signal' },
1077
+ { label: 'Synochat', value: 'synochat' },
1078
+ { label: 'Telegram', value: 'telegram' },
1079
+ { label: 'Whatsapp', value: 'whatsapp' },
1080
+ ],
1081
+ default: 'none',
2470
1082
  xs: 12,
2471
- sm: 6,
2472
- md: 6,
2473
- lg: 3,
2474
- xl: 3,
2475
- label: 'fullyBrowser',
2476
- help: 'in minutes',
2477
- hidden: '!data.fullybrowserDevices',
2478
- hideOnlyControl: false,
1083
+ sm: 12,
1084
+ md: 4,
1085
+ lg: 4,
1086
+ xl: 4,
2479
1087
  },
2480
- fullybrowserV3MaxMinutes: {
2481
- type: 'number',
2482
- min: -1,
2483
- max: 100000,
2484
- xs: 12,
2485
- sm: 6,
2486
- md: 6,
2487
- lg: 3,
2488
- xl: 3,
2489
- label: 'fullyBrowser > v3',
2490
- help: 'in minutes',
2491
- hidden: '!data.fullybrowserV3Devices',
1088
+ _headerEmail: {
1089
+ newLine: true,
1090
+ type: 'header',
1091
+ text: 'Email',
1092
+ size: 2,
1093
+ hidden: "data.msgService !== 'email' && !data.instanceEmail",
2492
1094
  hideOnlyControl: false,
2493
1095
  },
2494
- fullyMQTTMaxMinutes: {
2495
- type: 'number',
2496
- min: -1,
2497
- max: 100000,
1096
+ instanceEmail: {
1097
+ newLine: true,
1098
+ type: 'instance',
1099
+ adapter: 'email',
1100
+ all: false,
2498
1101
  xs: 12,
2499
- sm: 6,
2500
- md: 6,
2501
- lg: 3,
2502
- xl: 3,
2503
- label: 'Fully-MQTT',
2504
- help: 'in minutes',
2505
- hidden: '!data.fullyMQTTDevices',
1102
+ sm: 12,
1103
+ md: 4,
1104
+ lg: 4,
1105
+ xl: 4,
1106
+ label: 'Email Instance',
1107
+ help: 'Please choose the email instance',
1108
+ hidden: "data.msgService !== 'email' && !data.instanceEmail",
2506
1109
  hideOnlyControl: false,
2507
1110
  },
2508
- hamMaxMinutes: {
2509
- type: 'number',
2510
- min: 1,
2511
- max: 100000,
1111
+ sendToEmail: {
1112
+ type: 'text',
2512
1113
  xs: 12,
2513
- sm: 6,
2514
- md: 6,
2515
- lg: 3,
2516
- xl: 3,
2517
- label: 'Ham',
2518
- help: 'in minutes',
2519
- hidden: '!data.hamDevices',
1114
+ sm: 12,
1115
+ md: 4,
1116
+ lg: 4,
1117
+ xl: 4,
1118
+ label: 'Send to (optional)',
1119
+ help: 'Choose your email address',
1120
+ hidden: "data.msgService !== 'email' && !data.instanceEmail",
2520
1121
  hideOnlyControl: false,
2521
1122
  },
2522
- harmonyMaxMinutes: {
2523
- type: 'number',
2524
- min: -1,
2525
- max: 100000,
1123
+ subjectEmail: {
1124
+ type: 'text',
2526
1125
  xs: 12,
2527
- sm: 6,
2528
- md: 6,
2529
- lg: 3,
2530
- xl: 3,
2531
- label: 'Harmony',
2532
- help: 'in minutes',
2533
- hidden: '!data.harmonyDevices',
1126
+ sm: 12,
1127
+ md: 4,
1128
+ lg: 4,
1129
+ xl: 4,
1130
+ label: 'Subject (optional)',
1131
+ help: 'Choose your subject for the Email',
1132
+ hidden: "data.msgService !== 'email' && !data.instanceEmail",
2534
1133
  hideOnlyControl: false,
2535
1134
  },
2536
- hmiPMaxMinutes: {
2537
- type: 'number',
2538
- min: -1,
2539
- max: 100000,
2540
- xs: 12,
2541
- sm: 6,
2542
- md: 6,
2543
- lg: 3,
2544
- xl: 3,
2545
- label: 'HmiP',
2546
- help: 'in minutes',
2547
- hidden: '!data.hmiPDevices',
1135
+ headerJarvis: {
1136
+ newLine: true,
1137
+ type: 'header',
1138
+ text: 'Jarvis Notification',
1139
+ size: 2,
1140
+ hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
2548
1141
  hideOnlyControl: false,
2549
1142
  },
2550
- hmrpcMaxMinutes: {
2551
- type: 'number',
2552
- min: -1,
2553
- max: 100000,
1143
+ instanceJarvis: {
1144
+ newLine: true,
1145
+ type: 'instance',
1146
+ adapter: 'jarvis',
1147
+ all: false,
2554
1148
  xs: 12,
2555
- sm: 6,
2556
- md: 6,
2557
- lg: 3,
2558
- xl: 3,
2559
- label: 'HM-RPC',
2560
- help: 'in minutes',
2561
- hidden: '!data.hmrpcDevices',
1149
+ sm: 12,
1150
+ md: 4,
1151
+ lg: 4,
1152
+ xl: 4,
1153
+ label: 'Jarvis Instance',
1154
+ help: 'Please choose the jarvis instance',
1155
+ hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
2562
1156
  hideOnlyControl: false,
2563
1157
  },
2564
- homeconnectMaxMinutes: {
2565
- type: 'number',
2566
- min: -1,
2567
- max: 100000,
1158
+ titleJarvis: {
1159
+ type: 'text',
2568
1160
  xs: 12,
2569
- sm: 6,
2570
- md: 6,
2571
- lg: 3,
2572
- xl: 3,
2573
- label: 'Home Connect',
2574
- help: 'in minutes',
2575
- hidden: '!data.homeconnectDevices',
1161
+ sm: 12,
1162
+ md: 4,
1163
+ lg: 4,
1164
+ xl: 4,
1165
+ label: 'Title (optional)',
1166
+ help: 'Choose your title for Pushmessage',
1167
+ hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
2576
1168
  hideOnlyControl: false,
2577
1169
  },
2578
- homekitControllerMaxMinutes: {
2579
- type: 'number',
2580
- min: -1,
2581
- max: 100000,
2582
- xs: 12,
2583
- sm: 6,
2584
- md: 6,
2585
- lg: 3,
2586
- xl: 3,
2587
- label: 'Homekit-Controller',
2588
- help: 'in minutes',
2589
- hidden: '!data.homekitControllerDevices',
1170
+ headerLovelace: {
1171
+ newLine: true,
1172
+ type: 'header',
1173
+ text: 'Lovelace Notification',
1174
+ size: 2,
1175
+ hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
2590
1176
  hideOnlyControl: false,
2591
1177
  },
2592
- hs100MaxMinutes: {
2593
- type: 'number',
2594
- min: 1,
2595
- max: 100000,
1178
+ instanceLovelace: {
1179
+ newLine: true,
1180
+ type: 'instance',
1181
+ adapter: 'lovelace',
1182
+ all: false,
2596
1183
  xs: 12,
2597
- sm: 6,
2598
- md: 6,
2599
- lg: 3,
2600
- xl: 3,
2601
- label: 'hs100',
2602
- help: 'in minutes',
2603
- hidden: '!data.hs100Devices',
1184
+ sm: 12,
1185
+ md: 4,
1186
+ lg: 4,
1187
+ xl: 4,
1188
+ label: 'Lovelace Instance',
1189
+ help: 'Please choose the lovelace instance',
1190
+ hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
2604
1191
  hideOnlyControl: false,
2605
1192
  },
2606
- hueMaxMinutes: {
2607
- type: 'number',
2608
- min: -1,
2609
- max: 100000,
1193
+ titleLovelace: {
1194
+ type: 'text',
2610
1195
  xs: 12,
2611
- sm: 6,
2612
- md: 6,
2613
- lg: 3,
2614
- xl: 3,
2615
- label: 'Hue',
2616
- help: 'in minutes',
2617
- hidden: '!data.hueDevices',
1196
+ sm: 12,
1197
+ md: 4,
1198
+ lg: 4,
1199
+ xl: 4,
1200
+ label: 'Title (optional)',
1201
+ help: 'Choose your title for Pushmessage',
1202
+ hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
2618
1203
  hideOnlyControl: false,
2619
1204
  },
2620
- hueextMaxMinutes: {
2621
- type: 'number',
2622
- min: -1,
2623
- max: 100000,
2624
- xs: 12,
2625
- sm: 6,
2626
- md: 6,
2627
- lg: 3,
2628
- xl: 3,
2629
- label: 'HueExtended',
2630
- help: 'in minutes',
2631
- hidden: '!data.hueExtDevices',
1205
+ headerMatrix: {
1206
+ newLine: true,
1207
+ type: 'header',
1208
+ text: 'Matrix',
1209
+ size: 2,
1210
+ hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
2632
1211
  hideOnlyControl: false,
2633
1212
  },
2634
- innogyMaxMinutes: {
2635
- type: 'number',
2636
- min: 0,
2637
- max: 100000,
1213
+ instanceMatrix: {
1214
+ newLine: true,
1215
+ type: 'instance',
1216
+ adapter: 'matrix-org',
1217
+ all: false,
2638
1218
  xs: 12,
2639
- sm: 6,
2640
- md: 6,
2641
- lg: 3,
2642
- xl: 3,
2643
- label: 'Innogy Smarthome',
2644
- help: 'in minutes',
2645
- hidden: '!data.innogyDevices',
1219
+ sm: 12,
1220
+ md: 4,
1221
+ lg: 4,
1222
+ xl: 4,
1223
+ label: 'Matrix Instance',
1224
+ help: 'Please choose the matrix instance',
1225
+ hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
2646
1226
  hideOnlyControl: false,
2647
1227
  },
2648
- jeelinkMaxMinutes: {
2649
- type: 'number',
2650
- min: 1,
2651
- max: 100000,
1228
+ titleMatrix: {
1229
+ type: 'text',
2652
1230
  xs: 12,
2653
- sm: 6,
2654
- md: 6,
2655
- lg: 3,
2656
- xl: 3,
2657
- label: 'Jeelink',
2658
- help: 'in minutes',
2659
- hidden: '!data.jeelinkDevices',
1231
+ sm: 12,
1232
+ md: 4,
1233
+ lg: 4,
1234
+ xl: 4,
1235
+ label: 'Title (optional)',
1236
+ help: 'Choose your title for message',
1237
+ hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
2660
1238
  hideOnlyControl: false,
2661
1239
  },
2662
- loqedSmartLockMaxMinutes: {
2663
- type: 'number',
2664
- min: -1,
2665
- max: 100000,
2666
- xs: 12,
2667
- sm: 6,
2668
- md: 6,
2669
- lg: 3,
2670
- xl: 3,
2671
- label: 'Loqed Smart Lock',
2672
- help: 'in minutes',
2673
- hidden: '!data.loqedSmartLockDevices',
1240
+ _headerPushover: {
1241
+ newLine: true,
1242
+ type: 'header',
1243
+ text: 'Pushover',
1244
+ size: 2,
1245
+ hidden: "data.msgService !== 'pushover' && !data.instancePushover",
2674
1246
  hideOnlyControl: false,
2675
1247
  },
2676
- lupusecMaxMinutes: {
2677
- type: 'number',
2678
- min: -1,
2679
- max: 100000,
1248
+ instancePushover: {
1249
+ newLine: true,
1250
+ type: 'instance',
1251
+ adapter: 'pushover',
1252
+ all: false,
2680
1253
  xs: 12,
2681
- sm: 6,
2682
- md: 6,
2683
- lg: 3,
2684
- xl: 3,
2685
- label: 'Lupusec',
2686
- help: 'in minutes',
2687
- hidden: '!data.lupusecDevices',
1254
+ sm: 12,
1255
+ md: 4,
1256
+ lg: 4,
1257
+ xl: 4,
1258
+ label: 'Pushover Instance',
1259
+ help: 'Please choose the pushover instance',
1260
+ hidden: "data.msgService !== 'pushover' && !data.instancePushover",
2688
1261
  hideOnlyControl: false,
2689
1262
  },
2690
- maxcubeMaxMinutes: {
2691
- type: 'number',
2692
- min: -1,
2693
- max: 100000,
1263
+ userPushover: {
1264
+ type: 'text',
2694
1265
  xs: 12,
2695
- sm: 6,
2696
- md: 6,
2697
- lg: 3,
2698
- xl: 3,
2699
- label: 'Maxcube',
2700
- help: 'in minutes',
2701
- hidden: '!data.maxcubeDevices',
1266
+ sm: 12,
1267
+ md: 4,
1268
+ lg: 4,
1269
+ xl: 4,
1270
+ label: 'User/Group key (optional)',
1271
+ help: 'Choose your User/Group key for Pushmessage',
1272
+ hidden: "data.msgService !== 'pushover' && !data.instancePushover",
2702
1273
  hideOnlyControl: false,
2703
1274
  },
2704
- merossMaxMinutes: {
2705
- type: 'number',
2706
- min: -1,
2707
- max: 100000,
1275
+ devicePushover: {
1276
+ type: 'text',
2708
1277
  xs: 12,
2709
- sm: 6,
2710
- md: 6,
2711
- lg: 3,
2712
- xl: 3,
2713
- label: 'Meross',
2714
- help: 'in minutes',
2715
- hidden: '!data.merossDevices',
1278
+ sm: 12,
1279
+ md: 4,
1280
+ lg: 4,
1281
+ xl: 4,
1282
+ label: 'Device-ID (optional)',
1283
+ help: 'Choose your device',
1284
+ hidden: "data.msgService !== 'pushover' && !data.instancePushover",
2716
1285
  hideOnlyControl: false,
2717
1286
  },
2718
- mihomeMaxMinutes: {
2719
- type: 'number',
2720
- min: 1,
2721
- max: 100000,
1287
+ prioPushover: {
1288
+ type: 'select',
2722
1289
  xs: 12,
2723
- sm: 6,
2724
- md: 6,
2725
- lg: 3,
2726
- xl: 3,
2727
- label: 'MiHome',
2728
- help: 'in minutes',
2729
- hidden: '!data.mihomeDevices',
1290
+ sm: 12,
1291
+ md: 4,
1292
+ lg: 4,
1293
+ xl: 4,
1294
+ help: 'Choose the priority',
1295
+ options: [
1296
+ { label: 'Normal', value: '' },
1297
+ { label: 'High Priority', value: 1 },
1298
+ { label: 'Silent', value: -1 },
1299
+ { label: 'With confirmation', value: 2 },
1300
+ ],
1301
+ hidden: "data.msgService !== 'pushover' && !data.instancePushover",
2730
1302
  hideOnlyControl: false,
2731
1303
  },
2732
- mihomeGWMaxMinutes: {
2733
- type: 'number',
2734
- min: -1,
2735
- max: 100000,
1304
+ titlePushover: {
1305
+ type: 'text',
2736
1306
  xs: 12,
2737
- sm: 6,
2738
- md: 6,
2739
- lg: 3,
2740
- xl: 3,
2741
- label: 'MiHome Gateway',
2742
- help: 'in minutes',
2743
- hidden: '!data.mihomeDevices',
1307
+ sm: 12,
1308
+ md: 4,
1309
+ lg: 4,
1310
+ xl: 4,
1311
+ label: 'Title (optional)',
1312
+ help: 'Choose your title for Pushmessage',
1313
+ hidden: "data.msgService !== 'pushover' && !data.instancePushover",
2744
1314
  hideOnlyControl: false,
2745
1315
  },
2746
- mihomeVacuumMaxMinutes: {
2747
- type: 'number',
2748
- min: -1,
2749
- max: 100000,
2750
- xs: 12,
2751
- sm: 6,
2752
- md: 6,
2753
- lg: 3,
2754
- xl: 3,
2755
- label: 'Mihome Vacuum',
2756
- help: 'in minutes',
2757
- hidden: '!data.mihomeVacuumDevices',
1316
+ headerSignal: {
1317
+ newLine: true,
1318
+ type: 'header',
1319
+ text: 'Signal',
1320
+ size: 2,
1321
+ hidden: "data.msgService !== 'signal' && !data.instanceSignal",
2758
1322
  hideOnlyControl: false,
2759
1323
  },
2760
- mqttClientZigbee2MqttMaxMinutes: {
2761
- type: 'number',
2762
- min: -1,
2763
- max: 100000,
1324
+ instanceSignal: {
1325
+ newLine: true,
1326
+ type: 'instance',
1327
+ adapter: 'signal-cmb',
1328
+ all: false,
2764
1329
  xs: 12,
2765
- sm: 6,
2766
- md: 6,
2767
- lg: 3,
2768
- xl: 3,
2769
- label: 'MQTT Client: Zigbee2MQTT',
2770
- help: 'in minutes',
2771
- hidden: '!data.mqttClientZigbee2MqttDevices',
1330
+ sm: 12,
1331
+ md: 4,
1332
+ lg: 4,
1333
+ xl: 4,
1334
+ label: 'Signal Instance',
1335
+ help: 'Please choose the Signal instance',
1336
+ hidden: "data.msgService !== 'signal' && !data.instanceSignal",
2772
1337
  hideOnlyControl: false,
2773
1338
  },
2774
- mqttNukiMaxMinutes: {
2775
- type: 'number',
2776
- min: 1,
2777
- max: 100000,
1339
+ phonSignal: {
1340
+ type: 'text',
2778
1341
  xs: 12,
2779
- sm: 6,
2780
- md: 6,
2781
- lg: 3,
2782
- xl: 3,
2783
- label: 'MQTT: Nuki Hub',
2784
- help: 'in minutes',
2785
- hidden: '!data.mqttNukiDevices',
1342
+ sm: 12,
1343
+ md: 4,
1344
+ lg: 4,
1345
+ xl: 4,
1346
+ label: 'Recipient (optional)',
1347
+ help: 'Choose your recipient',
1348
+ hidden: "data.msgService !== 'signal' && !data.instanceSignal",
2786
1349
  hideOnlyControl: false,
2787
1350
  },
2788
- musiccastMaxMinutes: {
2789
- type: 'number',
2790
- min: -1,
2791
- max: 100000,
1351
+ headerSynochat: {
1352
+ newLine: true,
1353
+ type: 'header',
1354
+ text: 'Synochat',
1355
+ size: 2,
1356
+ hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
1357
+ hideOnlyControl: false,
1358
+ },
1359
+ instanceSynochat: {
1360
+ newLine: true,
1361
+ type: 'instance',
1362
+ adapter: 'synochat',
1363
+ all: false,
2792
1364
  xs: 12,
2793
- sm: 6,
2794
- md: 6,
2795
- lg: 3,
2796
- xl: 3,
2797
- label: 'MusicCast',
2798
- help: 'in minutes',
2799
- hidden: '!data.musiccastDevices',
1365
+ sm: 12,
1366
+ md: 4,
1367
+ lg: 4,
1368
+ xl: 4,
1369
+ label: 'Synochat Instance',
1370
+ help: 'Please choose the Synochat instance',
1371
+ hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
2800
1372
  hideOnlyControl: false,
2801
1373
  },
2802
- netatmoMaxMinutes: {
2803
- type: 'number',
2804
- min: 1,
2805
- max: 100000,
1374
+ channelSynochat: {
1375
+ type: 'text',
2806
1376
  xs: 12,
2807
- sm: 6,
2808
- md: 6,
2809
- lg: 3,
2810
- xl: 3,
2811
- label: 'Netatmo',
2812
- help: 'in minutes',
2813
- hidden: '!data.netatmoDevices',
1377
+ sm: 12,
1378
+ md: 4,
1379
+ lg: 4,
1380
+ xl: 4,
1381
+ label: 'Channel',
1382
+ help: 'Enter the channelname for Synochat',
1383
+ hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
2814
1384
  hideOnlyControl: false,
2815
1385
  },
2816
- nukiextendMaxMinutes: {
2817
- type: 'number',
2818
- min: 1,
2819
- max: 100000,
2820
- xs: 12,
2821
- sm: 6,
2822
- md: 6,
2823
- lg: 3,
2824
- xl: 3,
2825
- label: 'Nuki Extended',
2826
- help: 'in minutes',
2827
- hidden: '!data.nukiExtDevices',
1386
+ headerTelegram: {
1387
+ newLine: true,
1388
+ type: 'header',
1389
+ text: 'Telegram',
1390
+ size: 2,
1391
+ hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
2828
1392
  hideOnlyControl: false,
2829
1393
  },
2830
- nutMaxMinutes: {
2831
- type: 'number',
2832
- min: 1,
2833
- max: 100000,
1394
+ instanceTelegram: {
1395
+ newLine: true,
1396
+ type: 'instance',
1397
+ adapter: 'telegram',
1398
+ all: false,
2834
1399
  xs: 12,
2835
- sm: 6,
2836
- md: 6,
2837
- lg: 3,
2838
- xl: 3,
2839
- label: 'Nut',
2840
- help: 'in minutes',
2841
- hidden: '!data.nutDevices',
1400
+ sm: 12,
1401
+ md: 4,
1402
+ lg: 4,
1403
+ xl: 4,
1404
+ label: 'Telegram Instance',
1405
+ help: 'Please choose the telegram instance',
1406
+ hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
2842
1407
  hideOnlyControl: false,
2843
1408
  },
2844
- pingMaxMinutes: {
2845
- type: 'number',
2846
- min: -1,
2847
- max: 100000,
1409
+ deviceTelegram: {
1410
+ type: 'text',
2848
1411
  xs: 12,
2849
- sm: 6,
2850
- md: 6,
2851
- lg: 3,
2852
- xl: 3,
2853
- label: 'Ping',
2854
- help: 'in minutes',
2855
- hidden: '!data.pingDevices',
1412
+ sm: 12,
1413
+ md: 4,
1414
+ lg: 4,
1415
+ xl: 4,
1416
+ label: 'Device-ID (optional)',
1417
+ help: 'Choose your device',
1418
+ hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
2856
1419
  hideOnlyControl: false,
2857
1420
  },
2858
- proxmoxMaxMinutes: {
2859
- type: 'number',
2860
- min: -1,
2861
- max: 100000,
1421
+ chatIdTelegram: {
1422
+ type: 'text',
2862
1423
  xs: 12,
2863
- sm: 6,
2864
- md: 6,
2865
- lg: 3,
2866
- xl: 3,
2867
- label: 'Proxmox',
2868
- help: 'in minutes',
2869
- hidden: '!data.proxmoxDevices',
1424
+ sm: 12,
1425
+ md: 4,
1426
+ lg: 4,
1427
+ xl: 4,
1428
+ label: 'Chat-ID (optional)',
1429
+ help: 'Choose your Chat-ID',
1430
+ hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
2870
1431
  hideOnlyControl: false,
2871
1432
  },
2872
- ringMaxMinutes: {
2873
- type: 'number',
2874
- min: -1,
2875
- max: 100000,
2876
- xs: 12,
2877
- sm: 6,
2878
- md: 6,
2879
- lg: 3,
2880
- xl: 3,
2881
- label: 'Ring',
2882
- help: 'in minutes',
2883
- hidden: '!data.ringDevices',
1433
+ headerWhatsapp: {
1434
+ newLine: true,
1435
+ type: 'header',
1436
+ text: 'Whatsapp',
1437
+ size: 2,
1438
+ hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
2884
1439
  hideOnlyControl: false,
2885
1440
  },
2886
- roombaMaxMinutes: {
2887
- type: 'number',
2888
- min: -1,
2889
- max: 100000,
1441
+ instanceWhatsapp: {
1442
+ newLine: true,
1443
+ type: 'instance',
1444
+ adapter: 'whatsapp-cmb',
1445
+ all: false,
2890
1446
  xs: 12,
2891
- sm: 6,
2892
- md: 6,
2893
- lg: 3,
2894
- xl: 3,
2895
- label: 'Roomba',
2896
- help: 'in minutes',
2897
- hidden: '!data.roombaDevices',
1447
+ sm: 12,
1448
+ md: 4,
1449
+ lg: 4,
1450
+ xl: 4,
1451
+ label: 'Whatsapp Instance',
1452
+ help: 'Please choose the Whatsapp instance',
1453
+ hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
2898
1454
  hideOnlyControl: false,
2899
1455
  },
2900
- shellyMaxMinutes: {
2901
- type: 'number',
2902
- min: -1,
2903
- max: 100000,
1456
+ phoneWhatapp: {
1457
+ type: 'text',
2904
1458
  xs: 12,
2905
- sm: 6,
2906
- md: 6,
2907
- lg: 3,
2908
- xl: 3,
2909
- label: 'Shelly',
2910
- help: 'in minutes',
2911
- hidden: '!data.shellyDevices',
1459
+ sm: 12,
1460
+ md: 4,
1461
+ lg: 4,
1462
+ xl: 4,
1463
+ label: 'Recipient (optional)',
1464
+ help: 'Choose your recipient',
1465
+ hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
2912
1466
  hideOnlyControl: false,
2913
1467
  },
2914
- smartgardenMaxMinutes: {
2915
- type: 'number',
2916
- min: -1,
2917
- max: 100000,
2918
- xs: 12,
2919
- sm: 6,
2920
- md: 6,
2921
- lg: 3,
2922
- xl: 3,
2923
- label: 'Smartgarden',
2924
- help: 'in minutes',
2925
- hidden: '!data.smartgardenDevices',
1468
+ },
1469
+ },
1470
+ _blacklist: {
1471
+ type: 'panel',
1472
+ label: 'Blacklist',
1473
+ items: {
1474
+ _headerBlacklistInstances: {
1475
+ newLine: true,
1476
+ type: 'header',
1477
+ text: 'Instances Blacklist',
1478
+ size: 2,
1479
+ hidden: '!data.checkAdapterInstances',
2926
1480
  hideOnlyControl: false,
2927
1481
  },
2928
- sonoffMaxMinutes: {
2929
- type: 'number',
2930
- min: -1,
2931
- max: 100000,
1482
+ tableBlacklistInstances: {
1483
+ type: 'table',
2932
1484
  xs: 12,
2933
- sm: 6,
2934
- md: 6,
2935
- lg: 3,
2936
- xl: 3,
2937
- label: 'Sonoff',
2938
- help: 'in minutes',
2939
- hidden: '!data.sonoffDevices',
1485
+ sm: 12,
1486
+ md: 12,
1487
+ lg: 12,
1488
+ xl: 12,
1489
+ hidden: '!data.checkAdapterInstances',
2940
1490
  hideOnlyControl: false,
1491
+ confirm: {
1492
+ condition: '!_alive',
1493
+ title: 'Attention!',
1494
+ text: 'This selection is only possible with a running instance!',
1495
+ ok: 'Got it!',
1496
+ cancel: 'cancel',
1497
+ type: 'warning',
1498
+ },
1499
+ items: [
1500
+ {
1501
+ type: 'selectSendTo',
1502
+ title: 'Choose which instances should be excluded',
1503
+ attr: 'instances',
1504
+ filter: false,
1505
+ sort: false,
1506
+ jsonData: '{"instanceID":"${globalData.instanceID}","adapter":"${globalData.adapter}"}',
1507
+ command: 'instancesList',
1508
+ width: '60%',
1509
+ },
1510
+ {
1511
+ type: 'checkbox',
1512
+ title: 'Ignor in notifications',
1513
+ attr: 'checkIgnorNotify',
1514
+ width: '15%',
1515
+ },
1516
+ {
1517
+ type: 'checkbox',
1518
+ title: 'Ignore in lists',
1519
+ attr: 'checkIgnorLists',
1520
+ width: '10%',
1521
+ },
1522
+ ],
2941
1523
  },
2942
- sonosMaxMinutes: {
2943
- type: 'number',
2944
- min: -1,
2945
- max: 100000,
1524
+ _headerDevices: {
1525
+ newLine: true,
1526
+ type: 'header',
1527
+ text: 'Devices/Services Blacklist',
1528
+ size: 2,
1529
+ },
1530
+ tableBlacklist: {
1531
+ type: 'table',
2946
1532
  xs: 12,
2947
- sm: 6,
2948
- md: 6,
2949
- lg: 3,
2950
- xl: 3,
2951
- label: 'Sonos',
2952
- help: 'in minutes',
2953
- hidden: '!data.sonosDevices',
2954
- hideOnlyControl: false,
1533
+ sm: 12,
1534
+ md: 12,
1535
+ lg: 12,
1536
+ xl: 12,
1537
+ confirm: {
1538
+ condition: '!_alive',
1539
+ title: 'Attention!',
1540
+ text: 'This selection is only possible with a running instance!',
1541
+ ok: 'Got it!',
1542
+ cancel: 'cancel',
1543
+ type: 'warning',
1544
+ },
1545
+ items: [
1546
+ {
1547
+ type: 'selectSendTo',
1548
+ title: 'Choose which devices/services should be excluded',
1549
+ attr: 'devices',
1550
+ filter: false,
1551
+ sort: false,
1552
+ jsonData: '{"deviceName":"${globalData.deviceName}","adapter":"${globalData.adapter}","path":"${globalData.path}"}',
1553
+ command: 'devicesList',
1554
+ width: '60%',
1555
+ },
1556
+ {
1557
+ type: 'checkbox',
1558
+ title: 'Ignor in notifications',
1559
+ attr: 'checkIgnorNotify',
1560
+ width: '15%',
1561
+ },
1562
+ {
1563
+ type: 'checkbox',
1564
+ title: 'Ignore in main lists',
1565
+ attr: 'checkIgnorLists',
1566
+ width: '10%',
1567
+ },
1568
+ {
1569
+ type: 'checkbox',
1570
+ title: 'Ignore in lists per adapter',
1571
+ attr: 'checkIgnorAdapterLists',
1572
+ width: '10%',
1573
+ },
1574
+ ],
2955
1575
  },
2956
- sureflapMaxMinutes: {
2957
- type: 'number',
2958
- min: -1,
2959
- max: 100000,
1576
+ },
1577
+ },
1578
+ _otherSettings: {
1579
+ type: 'panel',
1580
+ label: 'Other Settings',
1581
+ items: {
1582
+ _headerOtherSettings: {
1583
+ type: 'header',
1584
+ text: 'Other Settings',
1585
+ size: 2,
1586
+ },
1587
+ trueState: {
1588
+ newLine: true,
1589
+ type: 'checkbox',
2960
1590
  xs: 12,
2961
- sm: 6,
1591
+ sm: 12,
2962
1592
  md: 6,
2963
- lg: 3,
2964
- xl: 3,
2965
- label: 'Sure Flap',
2966
- help: 'in minutes',
2967
- hidden: '!data.sureflapDevices',
2968
- hideOnlyControl: false,
1593
+ lg: 4,
1594
+ xl: 4,
1595
+ label: 'True State',
1596
+ help: 'Use the true value of the signal strength, or it is converted to %',
2969
1597
  },
2970
- switchbotMaxMinutes: {
2971
- type: 'number',
2972
- min: 1,
2973
- max: 100000,
1598
+ listOnlyBattery: {
1599
+ type: 'checkbox',
2974
1600
  xs: 12,
2975
- sm: 6,
1601
+ sm: 12,
2976
1602
  md: 6,
2977
- lg: 3,
2978
- xl: 3,
2979
- label: 'Switchbot Ble',
2980
- help: 'in minutes',
2981
- hidden: '!data.switchbotBleDevices',
2982
- hideOnlyControl: false,
1603
+ lg: 4,
1604
+ xl: 4,
1605
+ label: 'List only devices with batteries',
1606
+ help: 'Choose if only devices with batteries should be listed or all devices',
2983
1607
  },
2984
- tadoMaxMinutes: {
1608
+ minWarnBatterie: {
2985
1609
  type: 'number',
2986
1610
  min: -1,
2987
- max: 100000,
1611
+ max: 100,
2988
1612
  xs: 12,
2989
- sm: 6,
2990
- md: 6,
2991
- lg: 3,
2992
- xl: 3,
2993
- label: 'Tado',
2994
- help: 'in minutes',
2995
- hidden: '!data.tadoDevices',
2996
- hideOnlyControl: false,
1613
+ sm: 12,
1614
+ md: 12,
1615
+ lg: 4,
1616
+ xl: 4,
1617
+ label: 'From what % battery is considered low',
1618
+ help: 'in percent',
2997
1619
  },
2998
- tapoMaxMinutes: {
2999
- type: 'number',
3000
- min: 1,
3001
- max: 100000,
1620
+ createOwnFolder: {
1621
+ type: 'checkbox',
3002
1622
  xs: 12,
3003
- sm: 6,
1623
+ sm: 12,
3004
1624
  md: 6,
3005
- lg: 3,
3006
- xl: 3,
3007
- label: 'Tapo',
3008
- help: 'in minutes',
3009
- hidden: '!data.tapoDevices',
3010
- hideOnlyControl: false,
1625
+ lg: 4,
1626
+ xl: 4,
1627
+ label: 'Create own folders for each adapter',
1628
+ help: 'If you like to have for every Adapter an own folder with own data',
3011
1629
  },
3012
- tradfriMaxMinutes: {
3013
- type: 'number',
3014
- min: -1,
3015
- max: 100000,
1630
+ createHtmlList: {
1631
+ type: 'checkbox',
3016
1632
  xs: 12,
3017
- sm: 6,
1633
+ sm: 12,
3018
1634
  md: 6,
3019
- lg: 3,
3020
- xl: 3,
3021
- label: 'Tradfri',
3022
- help: 'in minutes',
3023
- hidden: '!data.tradfriDevices',
3024
- hideOnlyControl: false,
1635
+ lg: 4,
1636
+ xl: 4,
1637
+ label: 'Create additionally HTML lists',
1638
+ help: 'Create the lists also in HTML',
3025
1639
  },
3026
- tuyaMaxMinutes: {
3027
- type: 'number',
3028
- min: -1,
3029
- max: 100000,
1640
+ showLastSignal: {
1641
+ type: 'checkbox',
3030
1642
  xs: 12,
3031
- sm: 6,
1643
+ sm: 12,
3032
1644
  md: 6,
3033
- lg: 3,
3034
- xl: 3,
3035
- label: 'Tuya',
3036
- help: 'in minutes',
3037
- hidden: '!data.tuyaDevices',
3038
- hideOnlyControl: false,
1645
+ lg: 4,
1646
+ xl: 4,
1647
+ label: 'Display last signal strength',
1648
+ help: 'Display the last signal strength value when the device is offline',
3039
1649
  },
3040
- unifiMaxMinutes: {
3041
- type: 'number',
3042
- min: -1,
3043
- max: 100000,
1650
+ _updateInterval: {
1651
+ type: 'header',
1652
+ text: 'Update-Interval',
1653
+ size: 2,
1654
+ },
1655
+ _textUpdateInterval: {
1656
+ type: 'staticText',
1657
+ text: 'Here you can define the update interval of the datapoints/lists. For performance reasons, it is not recommended to select a poll value that is too low. Lower than two seconds is not selectable.',
3044
1658
  xs: 12,
3045
- sm: 6,
3046
- md: 6,
3047
- lg: 3,
3048
- xl: 3,
3049
- label: 'Unifi',
3050
- help: 'in minutes',
3051
- hidden: '!data.unifiDevices',
3052
- hideOnlyControl: false,
1659
+ sm: 12,
1660
+ md: 12,
1661
+ lg: 12,
1662
+ xl: 12,
1663
+ style: {
1664
+ fontSize: 16,
1665
+ marginBottom: 10,
1666
+ },
3053
1667
  },
3054
- viessmannMaxMinutes: {
1668
+ updateinterval: {
3055
1669
  type: 'number',
3056
- min: -1,
1670
+ min: 2,
3057
1671
  max: 100000,
3058
1672
  xs: 12,
3059
1673
  sm: 6,
3060
1674
  md: 6,
3061
1675
  lg: 3,
3062
1676
  xl: 3,
3063
- label: 'Viessmann',
3064
- help: 'in minutes',
3065
- hidden: '!data.viessmannDevices',
1677
+ label: 'Update-Interval',
1678
+ help: 'in seconds',
3066
1679
  hideOnlyControl: false,
3067
1680
  },
3068
- wifilightMaxMinutes: {
3069
- type: 'number',
3070
- min: -1,
3071
- max: 100000,
1681
+ _headerLanguage: {
1682
+ type: 'header',
1683
+ text: 'Language',
1684
+ size: 2,
1685
+ },
1686
+ _textLanguage: {
1687
+ type: 'staticText',
1688
+ text: 'Here you can select the language for the tables and messages',
3072
1689
  xs: 12,
3073
- sm: 6,
3074
- md: 6,
3075
- lg: 3,
3076
- xl: 3,
3077
- label: 'Wifilight',
3078
- help: 'in minutes',
3079
- hidden: '!data.wifilightDevices',
3080
- hideOnlyControl: false,
1690
+ sm: 12,
1691
+ md: 12,
1692
+ lg: 12,
1693
+ xl: 12,
1694
+ style: {
1695
+ fontSize: 16,
1696
+ marginBottom: 10,
1697
+ },
3081
1698
  },
3082
- wledMaxMinutes: {
3083
- type: 'number',
3084
- min: -1,
3085
- max: 100000,
1699
+ userSelectedLanguage: {
1700
+ type: 'language',
1701
+ system: false,
3086
1702
  xs: 12,
3087
1703
  sm: 6,
3088
1704
  md: 6,
3089
1705
  lg: 3,
3090
1706
  xl: 3,
3091
- label: 'WLED',
3092
- help: 'in minutes',
3093
- hidden: '!data.wledDevices',
1707
+ label: 'Language',
1708
+ },
1709
+ },
1710
+ },
1711
+ _expertSettings: {
1712
+ type: 'panel',
1713
+ label: 'Expert Settings',
1714
+ items: {
1715
+ _headerTimeInstances: {
1716
+ type: 'header',
1717
+ text: 'Deactivation and Error Time for Instances',
1718
+ size: 2,
1719
+ hidden: '!data.checkAdapterInstances',
3094
1720
  hideOnlyControl: false,
3095
1721
  },
3096
- xsenseMaxMinutes: {
3097
- type: 'number',
3098
- min: -1,
3099
- max: 100000,
1722
+ _textTimeInstances: {
1723
+ type: 'staticText',
1724
+ text: 'Define the global instance deactivation and error time. The default value is 20 seconds.',
3100
1725
  xs: 12,
3101
- sm: 6,
3102
- md: 6,
3103
- lg: 3,
3104
- xl: 3,
3105
- label: 'XSense',
3106
- help: 'in minutes',
3107
- hidden: '!data.xsenseDevices',
1726
+ sm: 12,
1727
+ md: 12,
1728
+ lg: 12,
1729
+ xl: 12,
1730
+ hidden: '!data.checkAdapterInstances',
3108
1731
  hideOnlyControl: false,
1732
+ style: {
1733
+ fontSize: 16,
1734
+ marginBottom: 10,
1735
+ },
3109
1736
  },
3110
- yeelightMaxMinutes: {
1737
+ offlineTimeInstances: {
3111
1738
  type: 'number',
3112
- min: -1,
1739
+ min: 20,
3113
1740
  max: 100000,
3114
1741
  xs: 12,
3115
1742
  sm: 6,
3116
1743
  md: 6,
3117
1744
  lg: 3,
3118
1745
  xl: 3,
3119
- label: 'Yeelight-2',
3120
- help: 'in minutes',
3121
- hidden: '!data.yeelightDevices',
1746
+ label: 'Global deactivation time',
1747
+ help: 'in seconds',
1748
+ hidden: '!data.checkAdapterInstances',
3122
1749
  hideOnlyControl: false,
3123
1750
  },
3124
- zigbeeMaxMinutes: {
1751
+ errorTimeInstances: {
3125
1752
  type: 'number',
3126
- min: -1,
1753
+ min: 20,
3127
1754
  max: 100000,
3128
1755
  xs: 12,
3129
1756
  sm: 6,
3130
1757
  md: 6,
3131
1758
  lg: 3,
3132
1759
  xl: 3,
3133
- label: 'Zigbee',
3134
- help: 'in minutes',
3135
- hidden: '!data.zigbeeDevices',
1760
+ label: 'Global error time',
1761
+ help: 'in seconds',
1762
+ hidden: '!data.checkAdapterInstances',
3136
1763
  hideOnlyControl: false,
3137
1764
  },
3138
- zigbee2mqttMaxMinutes: {
3139
- type: 'number',
3140
- min: -1,
3141
- max: 100000,
3142
- xs: 12,
3143
- sm: 6,
3144
- md: 6,
3145
- lg: 3,
3146
- xl: 3,
3147
- label: 'Zigbee2MQTT',
3148
- help: 'in minutes',
3149
- hidden: '!data.zigbee2mqttDevices',
1765
+ _divider: {
1766
+ newLine: true,
1767
+ type: 'divider',
1768
+ hidden: '!data.checkAdapterInstances',
3150
1769
  hideOnlyControl: false,
3151
1770
  },
3152
- zwaveMaxMinutes: {
3153
- type: 'number',
3154
- min: -1,
3155
- max: 100000,
1771
+ _textTableTimeInstances: {
1772
+ type: 'staticText',
1773
+ text: 'If necessary, set the deactivation and error time of each instance for yourself here. This setting overwrites the global setting for the selected instance.',
3156
1774
  xs: 12,
3157
- sm: 6,
3158
- md: 6,
3159
- lg: 3,
3160
- xl: 3,
3161
- label: 'Zwave',
3162
- help: 'in minutes',
3163
- hidden: '!data.zwaveDevices',
1775
+ sm: 12,
1776
+ md: 12,
1777
+ lg: 12,
1778
+ xl: 12,
1779
+ hidden: '!data.checkAdapterInstances',
3164
1780
  hideOnlyControl: false,
1781
+ style: {
1782
+ fontSize: 16,
1783
+ marginBottom: 10,
1784
+ },
3165
1785
  },
3166
- },
3167
- },
3168
- },
1786
+ tableTimeInstance: {
1787
+ type: 'table',
1788
+ xs: 12,
1789
+ sm: 12,
1790
+ md: 12,
1791
+ lg: 12,
1792
+ xl: 12,
1793
+ hidden: '!data.checkAdapterInstances',
1794
+ hideOnlyControl: false,
1795
+ confirm: {
1796
+ condition: '!_alive',
1797
+ title: 'Attention!',
1798
+ text: 'This selection is only possible with a running instance!',
1799
+ ok: 'Got it!',
1800
+ cancel: 'cancel',
1801
+ type: 'warning',
1802
+ },
1803
+ items: [
1804
+ {
1805
+ type: 'selectSendTo',
1806
+ title: 'Choose which instances should have a longer downtime',
1807
+ attr: 'instancesTime',
1808
+ filter: false,
1809
+ sort: false,
1810
+ jsonData: '{"instanceID":"${globalData.instanceID}","adapter":"${globalData.adapter}"}',
1811
+ command: 'instancesListTime',
1812
+ width: '60%',
1813
+ },
1814
+ {
1815
+ type: 'number',
1816
+ min: 20,
1817
+ max: 1000000,
1818
+ default: 20,
1819
+ title: 'Deactivation time in seconds',
1820
+ attr: 'deactivationTime',
1821
+ width: '15%',
1822
+ },
1823
+ {
1824
+ type: 'number',
1825
+ min: 20,
1826
+ max: 1000000,
1827
+ default: 20,
1828
+ title: 'Error time in seconds',
1829
+ attr: 'errorTime',
1830
+ width: '15%',
1831
+ }
1832
+ ]
1833
+ }
1834
+ }
1835
+ }
1836
+ }
3169
1837
  }