iobroker.device-watcher 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,9 +6,21 @@
6
6
  "type": "panel",
7
7
  "label": "Options",
8
8
  "items": {
9
+ "_headerAdapter": {
10
+ "type": "header",
11
+ "text": "Create lists for instances",
12
+ "size": 2
13
+ },
14
+ "checkAdapterInstances": {
15
+ "type": "checkbox",
16
+ "sm": 12,
17
+ "md": 12,
18
+ "lg": 6,
19
+ "label": "Watch instances"
20
+ },
9
21
  "_headerDevices": {
10
22
  "type": "header",
11
- "text": "Choose devices to watch",
23
+ "text": "Create lists for devices",
12
24
  "size": 2
13
25
  },
14
26
  "alexa2Devices": {
@@ -346,9 +358,190 @@
346
358
  "type": "panel",
347
359
  "label": "Notifications",
348
360
  "items": {
361
+ "_headerAdapterInstances": {
362
+ "type": "header",
363
+ "text": "Adapter & Instances Notification Settings",
364
+ "size": 2
365
+ },
366
+ "checkSendAdapterUpdateMsg": {
367
+ "newLine": "true",
368
+ "type": "checkbox",
369
+ "sm": 12,
370
+ "md": 12,
371
+ "lg": 6,
372
+ "label": "Adapter update message",
373
+ "help": "Receive a message when an update for an adapter is available"
374
+ },
375
+ "checkSendAdapterUpdateMsgDaily": {
376
+ "type": "checkbox",
377
+ "sm": 12,
378
+ "md": 12,
379
+ "lg": 6,
380
+ "label": "Overview of updatable adapter",
381
+ "help": "Get a message with an overview of all updatable adapter"
382
+ },
383
+ "_sendIntervallAdapterUpdateDay": {
384
+ "newLine": true,
385
+ "sm": 12,
386
+ "md": 12,
387
+ "lg": 6,
388
+ "hidden": "!data.checkSendAdapterUpdateMsgDaily",
389
+ "hideOnlyControl": true,
390
+ "items": {
391
+ "_textDays": {
392
+ "type": "staticText",
393
+ "text": "Choose the day(s) where you want to get the overview of updatable Adapter:",
394
+ "style": {
395
+ "fontSize": 16,
396
+ "marginTop": 20
397
+ }
398
+ },
399
+ "checkAdapterUpdateMonday": {
400
+ "newLine": true,
401
+ "type": "checkbox",
402
+ "label": "Mon"
403
+ },
404
+ "checkAdapterUpdateTuesday": {
405
+ "type": "checkbox",
406
+ "label": "Tue"
407
+ },
408
+ "checkAdapterUpdateWednesday": {
409
+ "type": "checkbox",
410
+ "label": "Wed"
411
+ },
412
+ "checkAdapterUpdateThursday": {
413
+ "type": "checkbox",
414
+ "label": "Thu"
415
+ },
416
+ "checkAdapterUpdateFriday": {
417
+ "type": "checkbox",
418
+ "label": "Fri"
419
+ },
420
+ "checkAdapterUpdateSaturday": {
421
+ "type": "checkbox",
422
+ "label": "Sat"
423
+ },
424
+ "checkAdapterUpdateSunday": {
425
+ "type": "checkbox",
426
+ "label": "Sun"
427
+ }
428
+ }
429
+ },
430
+ "_sendIntervallAdapterUpdateMsgTime": {
431
+ "sm": 12,
432
+ "md": 12,
433
+ "lg": 6,
434
+ "hidden": "!data.checkSendAdapterUpdateMsgDaily",
435
+ "hideOnlyControl": true,
436
+ "items": {
437
+ "_textTime": {
438
+ "type": "staticText",
439
+ "text": "Choose the Time:",
440
+ "style": {
441
+ "fontSize": 16,
442
+ "marginTop": 20
443
+ }
444
+ },
445
+ "checkSendAdapterUpdateTime": {
446
+ "newLine": true,
447
+ "type": "text",
448
+ "help": "Format hh:mm"
449
+ }
450
+ }
451
+ },
452
+ "trennerUpdatableAdapter": {
453
+ "newLine": true,
454
+ "type": "divider"
455
+ },
456
+ "checkSendInstanceFailedMsg": {
457
+ "newLine": "true",
458
+ "type": "checkbox",
459
+ "sm": 12,
460
+ "md": 12,
461
+ "lg": 6,
462
+ "label": "Instance failed message",
463
+ "help": "Receive a message when an instance failed"
464
+ },
465
+ "checkSendInstanceFailedDaily": {
466
+ "type": "checkbox",
467
+ "sm": 12,
468
+ "md": 12,
469
+ "lg": 6,
470
+ "label": "Overview of failed instances",
471
+ "help": "Get a message with an overview of all failed instances"
472
+ },
473
+ "_sendIntervallFailedInstancesDay": {
474
+ "newLine": true,
475
+ "sm": 12,
476
+ "md": 12,
477
+ "lg": 6,
478
+ "hidden": "!data.checkSendInstanceFailedDaily",
479
+ "hideOnlyControl": true,
480
+ "items": {
481
+ "_textDays": {
482
+ "type": "staticText",
483
+ "text": "Choose the day(s) where you want to get the overview of failed instances:",
484
+ "style": {
485
+ "fontSize": 16,
486
+ "marginTop": 20
487
+ }
488
+ },
489
+ "checkFailedInstancesMonday": {
490
+ "newLine": true,
491
+ "type": "checkbox",
492
+ "label": "Mon"
493
+ },
494
+ "checkFailedInstancesTuesday": {
495
+ "type": "checkbox",
496
+ "label": "Tue"
497
+ },
498
+ "checkFailedInstancesWednesday": {
499
+ "type": "checkbox",
500
+ "label": "Wed"
501
+ },
502
+ "checkFailedInstancesThursday": {
503
+ "type": "checkbox",
504
+ "label": "Thu"
505
+ },
506
+ "checkFailedInstancesFriday": {
507
+ "type": "checkbox",
508
+ "label": "Fri"
509
+ },
510
+ "checkFailedInstancesSaturday": {
511
+ "type": "checkbox",
512
+ "label": "Sat"
513
+ },
514
+ "checkFailedInstancesSunday": {
515
+ "type": "checkbox",
516
+ "label": "Sun"
517
+ }
518
+ }
519
+ },
520
+ "_sendIntervallInstanceFailedMsgTime": {
521
+ "sm": 12,
522
+ "md": 12,
523
+ "lg": 6,
524
+ "hidden": "!data.checkSendInstanceFailedDaily",
525
+ "hideOnlyControl": true,
526
+ "items": {
527
+ "_textTime": {
528
+ "type": "staticText",
529
+ "text": "Choose the Time:",
530
+ "style": {
531
+ "fontSize": 16,
532
+ "marginTop": 20
533
+ }
534
+ },
535
+ "checkSendInstanceFailedTime": {
536
+ "newLine": true,
537
+ "type": "text",
538
+ "help": "Format hh:mm"
539
+ }
540
+ }
541
+ },
349
542
  "_headerCommon": {
350
543
  "type": "header",
351
- "text": "Common Notification Settings",
544
+ "text": "Devices Notification Settings",
352
545
  "size": 2
353
546
  },
354
547
  "checkSendOfflineMsg": {
@@ -631,14 +824,18 @@
631
824
  "label": "Add adapter name in notifcations",
632
825
  "help": "Will add the adaptername from the device",
633
826
  "hidden": "!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade && !data.checkSendUpgradeMsgDaily"
634
- },
827
+ }
828
+ }
829
+ },
830
+ "_notificationServices": {
831
+ "type": "panel",
832
+ "label": "Notification Service",
833
+ "items": {
635
834
  "_headerMSGservice": {
636
835
  "newLine": true,
637
836
  "type": "header",
638
837
  "text": "Notification Service",
639
- "size": 2,
640
- "hidden": "!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade",
641
- "hideOnlyControl": false
838
+ "size": 2
642
839
  },
643
840
  "msgServiceText": {
644
841
  "type": "staticText",
@@ -646,9 +843,7 @@
646
843
  "style": {
647
844
  "fontSize": 16,
648
845
  "marginTop": 20
649
- },
650
- "hidden": "!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade",
651
- "hideOnlyControl": false
846
+ }
652
847
  },
653
848
  "msgService": {
654
849
  "newLine": true,
@@ -664,9 +859,7 @@
664
859
  { "label": "Lovelace", "value": "lovelace" },
665
860
  { "label": "Synochat", "value": "synochat" }
666
861
  ],
667
- "default": "none",
668
- "hidden": "!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade",
669
- "hideOnlyControl": false
862
+ "default": "none"
670
863
  },
671
864
  "_headerPushover": {
672
865
  "newLine": true,
@@ -935,9 +1128,14 @@
935
1128
  "type": "panel",
936
1129
  "label": "Blacklist",
937
1130
  "items": {
1131
+ "headerDevices": {
1132
+ "newLine": "true",
1133
+ "type": "header",
1134
+ "text": "Devices Blacklist",
1135
+ "size": 2
1136
+ },
938
1137
  "tableBlacklist": {
939
1138
  "type": "table",
940
- "label": "Blacklist",
941
1139
  "nodelete": true,
942
1140
  "sm": 12,
943
1141
  "md": 12,
@@ -976,6 +1174,50 @@
976
1174
  "alsoDependsOn": ["devices"]
977
1175
  }
978
1176
  ]
1177
+ },
1178
+ "headerBlacklistInstances": {
1179
+ "newLine": "true",
1180
+ "type": "header",
1181
+ "text": "Instances Blacklist",
1182
+ "size": 2,
1183
+ "hidden": "!data.checkAdapterInstances && !data.checkSendInstanceFailedMsg && !data.checkSendInstanceFailedMsgDaily",
1184
+ "hideOnlyControl": false
1185
+ },
1186
+ "tableBlacklistInstances": {
1187
+ "type": "table",
1188
+ "nodelete": true,
1189
+ "sm": 12,
1190
+ "md": 12,
1191
+ "lg": 12,
1192
+ "hidden": "!data.checkAdapterInstances && !data.checkSendInstanceFailedMsg && !data.checkSendInstanceFailedMsgDaily",
1193
+ "hideOnlyControl": false,
1194
+ "items": [
1195
+ {
1196
+ "type": "selectSendTo",
1197
+ "title": "Choose which instances should be excluded",
1198
+ "attr": "instances",
1199
+ "filter": false,
1200
+ "allowAddByFilter": false,
1201
+ "sort": false,
1202
+ "jsonData": "{\"instanceName\":\"${globalData.instanceName}\",\"adapter\":\"${globalData.adapter}\",\"path\":\"${globalData.path}\"}",
1203
+ "command": "instancesList",
1204
+ "width": "60%"
1205
+ },
1206
+ {
1207
+ "type": "checkbox",
1208
+ "title": "Ignor in notifications",
1209
+ "attr": "checkIgnorNotify",
1210
+ "width": "15%",
1211
+ "alsoDependsOn": ["devices"]
1212
+ },
1213
+ {
1214
+ "type": "checkbox",
1215
+ "title": "Ignore in lists",
1216
+ "attr": "checkIgnorLists",
1217
+ "width": "10%",
1218
+ "alsoDependsOn": ["devices"]
1219
+ }
1220
+ ]
979
1221
  }
980
1222
  }
981
1223
  },