iobroker.zigbee 1.10.3 → 1.10.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +271 -17
- package/admin/adapter-settings.js +105 -18
- package/admin/admin.js +76 -44
- package/admin/i18n/de/translations.json +1 -1
- package/admin/i18n/en/translations.json +1 -1
- package/admin/i18n/fr/translations.json +1 -1
- package/admin/i18n/nl/translations.json +1 -1
- package/admin/i18n/pl/translations.json +1 -1
- package/admin/i18n/pt/translations.json +1 -1
- package/admin/img/E2204.png +0 -0
- package/admin/img/group_1.png +0 -0
- package/admin/img/group_2.png +0 -0
- package/admin/img/group_3.png +0 -0
- package/admin/img/group_4.png +0 -0
- package/admin/img/group_5.png +0 -0
- package/admin/img/group_6.png +0 -0
- package/admin/img/group_7.png +0 -0
- package/admin/index_m.html +286 -32
- package/admin/tab_m.html +312 -7
- package/admin/vis-network.min.css +1 -1
- package/admin/words.js +2 -2
- package/docs/de/readme.md +15 -16
- package/docs/en/readme.md +19 -19
- package/io-package.json +104 -99
- package/lib/backup.js +1 -2
- package/lib/commands.js +6 -5
- package/lib/developer.js +6 -2
- package/lib/devices.js +6 -2
- package/lib/groups.js +1 -25
- package/lib/ota.js +2 -2
- package/lib/statescontroller.js +48 -39
- package/lib/utils.js +4 -1
- package/lib/zigbeecontroller.js +31 -26
- package/main.js +57 -8
- package/package.json +17 -16
- package/support/docgen.js +3 -1
package/admin/tab_m.html
CHANGED
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
.m .zlogo {
|
|
80
80
|
padding: 0.5rem;
|
|
81
81
|
width: 64px;
|
|
82
|
+
margin-right: 10px;
|
|
82
83
|
}
|
|
83
84
|
.input-group {
|
|
84
85
|
display: table;
|
|
@@ -406,6 +407,242 @@
|
|
|
406
407
|
.m.react-dark .switch label .lever:after {
|
|
407
408
|
background-color: #436a93;
|
|
408
409
|
}
|
|
410
|
+
|
|
411
|
+
.m .tabs .tab a.active {
|
|
412
|
+
color: #fff !important;
|
|
413
|
+
border-bottom: 2px solid #fff !important;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.m .navbar-fixed nav {
|
|
417
|
+
position: fixed;
|
|
418
|
+
z-index: 200;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
#tabs {
|
|
422
|
+
margin-top: 0;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.m .page {
|
|
426
|
+
margin-top: 7.0rem;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
#sett {
|
|
430
|
+
margin-top: 40px;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.m .row .col.offset-s11 {
|
|
434
|
+
margin-left: 15px;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
#tab-main .navbar-fixed #nav-mobile {
|
|
438
|
+
position: fixed;
|
|
439
|
+
z-index: 100;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.m .navbar-fixed {
|
|
443
|
+
z-index: unset;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.resposHeight {
|
|
447
|
+
height: 36px !important;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* Style for medium Screens */
|
|
451
|
+
@media screen and (max-width: 900px) {
|
|
452
|
+
.m nav ul a.btn-floating {
|
|
453
|
+
margin-left: 5px;
|
|
454
|
+
margin-right: 5px;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/* Style for small Screens */
|
|
459
|
+
@media screen and (max-width: 768px) {
|
|
460
|
+
#viewconfig {
|
|
461
|
+
margin-top: 0;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.m nav ul a.btn-floating {
|
|
465
|
+
margin-left: 5px;
|
|
466
|
+
margin-right: 5px;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
#tab-sett {
|
|
470
|
+
margin-top: 10px;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
#tab-main .navbar-fixed #nav-mobile {
|
|
474
|
+
display: flex;
|
|
475
|
+
flex-wrap: wrap;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(1) {
|
|
479
|
+
flex: 0 0 5%;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(2) {
|
|
483
|
+
flex: 0 0 30%;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(3),
|
|
487
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(4),
|
|
488
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(5) {
|
|
489
|
+
flex: 0 0 20%;
|
|
490
|
+
display: flex;
|
|
491
|
+
justify-content: center;
|
|
492
|
+
height: 36px;
|
|
493
|
+
margin-top: 6px;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(3) i.material-icons,
|
|
497
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(4) i.material-icons,
|
|
498
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(5) i.material-icons {
|
|
499
|
+
display: none;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(3) a.btn,
|
|
503
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(4) a.btn,
|
|
504
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(5) a.btn {
|
|
505
|
+
margin-left: 5px;
|
|
506
|
+
margin-right: 5px;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.resposHeight {
|
|
510
|
+
height: 45px !important;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
#devices {
|
|
514
|
+
margin-top: 1rem;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
/* Style for very small Screens */
|
|
519
|
+
@media screen and (max-width: 600px) {
|
|
520
|
+
.m .navbar-fixed nav {
|
|
521
|
+
position: relative;
|
|
522
|
+
z-index: unset;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.m nav ul a.btn-floating {
|
|
526
|
+
margin-left: 8px;
|
|
527
|
+
margin-right: 8px;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
#nav-mobile {
|
|
531
|
+
background-color: #39c;
|
|
532
|
+
padding-bottom: 2px;
|
|
533
|
+
padding-top: 2px;
|
|
534
|
+
margin-top: -8px;
|
|
535
|
+
width: calc(100%);
|
|
536
|
+
}
|
|
537
|
+
.m .navbar-fixed {
|
|
538
|
+
position: relative;
|
|
539
|
+
}
|
|
540
|
+
.m .dropdown-menu {
|
|
541
|
+
position: fixed;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
#viewconfig {
|
|
545
|
+
margin-top: 0;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.m .modal {
|
|
549
|
+
width: 98%;
|
|
550
|
+
}
|
|
551
|
+
.m .modal .modal-content {
|
|
552
|
+
padding: 24px;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
#tab-dev {
|
|
556
|
+
overflow-x: hidden;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.m .row .col.offset-s11 {
|
|
560
|
+
margin-left: 13px;
|
|
561
|
+
margin-bottom: 10px;
|
|
562
|
+
width: calc(100% - 26px);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.device {
|
|
566
|
+
padding: 8px;
|
|
567
|
+
width: calc(100%);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
#devices {
|
|
571
|
+
margin-top: 3rem;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
#tab-main .navbar-fixed #nav-mobile {
|
|
575
|
+
display: flex;
|
|
576
|
+
flex-wrap: wrap;
|
|
577
|
+
position: fixed;
|
|
578
|
+
margin-bottom: 4rem;
|
|
579
|
+
z-index: 100;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(1) {
|
|
583
|
+
flex: 0 0 20%;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(2) {
|
|
587
|
+
flex: 0 0 70%;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(3),
|
|
591
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(4),
|
|
592
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(5) {
|
|
593
|
+
flex: 0 0 30%;
|
|
594
|
+
display: flex;
|
|
595
|
+
justify-content: center;
|
|
596
|
+
height: 36px;
|
|
597
|
+
margin-top: 6px;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(3) i.material-icons,
|
|
601
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(4) i.material-icons,
|
|
602
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(5) i.material-icons {
|
|
603
|
+
display: none;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(3) a.btn,
|
|
607
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(4) a.btn,
|
|
608
|
+
#tab-main .navbar-fixed #nav-mobile li:nth-child(5) a.btn {
|
|
609
|
+
margin-left: 5px;
|
|
610
|
+
margin-right: 5px;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
#dev_result_log {
|
|
614
|
+
overflow: auto;
|
|
615
|
+
height: 20em;
|
|
616
|
+
padding: 0.5em;
|
|
617
|
+
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.move-label-up {
|
|
621
|
+
position: absolute !important;
|
|
622
|
+
top: -60px !important;
|
|
623
|
+
left: 0 !important;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
#tabs {
|
|
627
|
+
margin-top: 0;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
#tab-main {
|
|
631
|
+
margin-top: 0;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.resposHeight {
|
|
635
|
+
height: 36px !important;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.m .navbar-fixed {
|
|
639
|
+
z-index: unset;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.m .page {
|
|
643
|
+
margin-top: 0rem;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
409
646
|
</style>
|
|
410
647
|
</head>
|
|
411
648
|
<body>
|
|
@@ -414,11 +651,11 @@
|
|
|
414
651
|
<div class="row navbar-fixed">
|
|
415
652
|
<nav class="nav-extended">
|
|
416
653
|
<div class="nav-wrapper">
|
|
417
|
-
<div class="col">
|
|
654
|
+
<div class="col s12 m6 l6">
|
|
418
655
|
<img src="zigbee.png" class="zlogo left" height="64px"/>
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
656
|
+
<p>
|
|
657
|
+
<h5 class="translate">Zigbee adapter</h5>
|
|
658
|
+
</p>
|
|
422
659
|
</div>
|
|
423
660
|
<ul id="nav-mobile" class="right">
|
|
424
661
|
<li>
|
|
@@ -464,7 +701,7 @@
|
|
|
464
701
|
<div id="tabs" class="tabs-content row">
|
|
465
702
|
<div id="tab-main" class="col s12 page active">
|
|
466
703
|
<div class="navbar-fixed" style="height: 36px;">
|
|
467
|
-
<nav style="
|
|
704
|
+
<nav class="resposHeight" style="margin-left: -12px; line-height: 24px; width: calc(100% + 24px);">
|
|
468
705
|
<ul id="nav-mobile" class="left">
|
|
469
706
|
<li>
|
|
470
707
|
<a id="rotate_btn" class="btn-floating waves-effect waves-light blue tooltipped center-align hoverable translateT" title="Rotate cards">
|
|
@@ -485,6 +722,8 @@
|
|
|
485
722
|
<a id="device-order-btn" class="dropdown-trigger btn" href="#" data-target="device-order">Default</a>
|
|
486
723
|
<ul id="device-order" class="dropdown-content" tabindex="0">
|
|
487
724
|
<li class="device-order-item" data-type="a-z" tabindex="0"><a class="translate" data-lang="A-Z">A-Z</a></li>
|
|
725
|
+
<!--<li class="device-order-item" data-type="kind" tabindex="0"><a class="translate" data-lang="Kind">Kind</a></li>-->
|
|
726
|
+
<!--<li class="device-order-item" data-type="status" tabindex="0"><a class="translate" data-lang="Status">Status</a></li>-->
|
|
488
727
|
<li class="device-order-item" data-type="default" tabindex="0"><a class="translate" data-lang="Default">Default</a></li>
|
|
489
728
|
</ul>
|
|
490
729
|
</div>
|
|
@@ -497,6 +736,21 @@
|
|
|
497
736
|
</ul>
|
|
498
737
|
</div>
|
|
499
738
|
</li>
|
|
739
|
+
<li>
|
|
740
|
+
<div class="col input-field" style="line-height: 24px;">
|
|
741
|
+
<i class="material-icons left" style="line-height: 24px; margin-top: 5px;">filter_list</i>
|
|
742
|
+
<a id="device-filter-btn" class="dropdown-trigger btn" href="#" data-target="device-filter">All</a>
|
|
743
|
+
<ul id="device-filter" class="dropdown-content" tabindex="0">
|
|
744
|
+
<li class="device-filter-item" data-type="connected" tabindex="0"><a class="translate" data-lang="Connected">Connected</a></li>
|
|
745
|
+
<li class="device-filter-item" data-type="disconnected" tabindex="0"><a class="translate" data-lang="Disconnected">Disconnected</a></li>
|
|
746
|
+
<li class="device-filter-item" data-type="deactivated" tabindex="0"><a class="translate" data-lang="Deactivated">Deactivated</a></li>
|
|
747
|
+
<li class="device-filter-item" data-type="router" tabindex="0"><a class="translate" data-lang="Router">Router</a></li>
|
|
748
|
+
<li class="device-filter-item" data-type="enddevice" tabindex="0"><a class="translate" data-lang="Enddevice">End Device</a></li>
|
|
749
|
+
<li class="device-filter-item" data-type="group" tabindex="0"><a class="translate" data-lang="Group">Group</a></li>
|
|
750
|
+
<li class="device-filter-item" data-type="all" tabindex="0"><a class="all" data-lang="All">All</a></li>
|
|
751
|
+
</ul>
|
|
752
|
+
</div>
|
|
753
|
+
</li>
|
|
500
754
|
</ul>
|
|
501
755
|
</nav>
|
|
502
756
|
</div>
|
|
@@ -507,7 +761,7 @@
|
|
|
507
761
|
<div class="fixed-action-btn">
|
|
508
762
|
<a id="refresh" class="btn-floating waves-effect waves-light blue tooltipped center-align hoverable translateT" title="Refresh"><i class="material-icons large">autorenew</i></a>
|
|
509
763
|
</div>
|
|
510
|
-
<div id="viewconfigbtn" class="fixed-action-btn top left"
|
|
764
|
+
<div id="viewconfigbtn" class="fixed-action-btn top left">
|
|
511
765
|
<a id="viewconfig" class="btn-floating waves-effect waves-light orange tooltipped center-align hoverable translateT" title="View config"><i class="material-icons large">menu</i></a>
|
|
512
766
|
</div>
|
|
513
767
|
<div id="map" class="row">
|
|
@@ -672,7 +926,7 @@
|
|
|
672
926
|
<div class="materialize-dialogs m">
|
|
673
927
|
<div id="modaledit" class="modal">
|
|
674
928
|
<div class="modal-content">
|
|
675
|
-
<h3 class="translate">
|
|
929
|
+
<h3 class="translate">Rename / Group device</h3>
|
|
676
930
|
<div class="row">
|
|
677
931
|
<div class="col1">
|
|
678
932
|
<div class="input-field">
|
|
@@ -741,6 +995,51 @@
|
|
|
741
995
|
</div>
|
|
742
996
|
</div>
|
|
743
997
|
</div>
|
|
998
|
+
<div class="row epid4">
|
|
999
|
+
<div class="col epid">
|
|
1000
|
+
<div class=endpointid>
|
|
1001
|
+
<p class="translate device_with_endpoint">Sub Endpoint 4</p>
|
|
1002
|
+
</div>
|
|
1003
|
+
</div>
|
|
1004
|
+
<div class="col">
|
|
1005
|
+
<div class="input-field groups">
|
|
1006
|
+
<select id="d_groups_ep4" class="materialSelect" multiple>
|
|
1007
|
+
<option value="1">select</option>
|
|
1008
|
+
</select>
|
|
1009
|
+
<label for="d_groups_ep4" class="translate">Groups</label>
|
|
1010
|
+
</div>
|
|
1011
|
+
</div>
|
|
1012
|
+
</div>
|
|
1013
|
+
<div class="row epid5">
|
|
1014
|
+
<div class="col epid">
|
|
1015
|
+
<div class=endpointid>
|
|
1016
|
+
<p class="translate device_with_endpoint">Sub Endpoint 5</p>
|
|
1017
|
+
</div>
|
|
1018
|
+
</div>
|
|
1019
|
+
<div class="col">
|
|
1020
|
+
<div class="input-field groups">
|
|
1021
|
+
<select id="d_groups_ep5" class="materialSelect" multiple>
|
|
1022
|
+
<option value="1">select</option>
|
|
1023
|
+
</select>
|
|
1024
|
+
<label for="d_groups_ep5" class="translate">Groups</label>
|
|
1025
|
+
</div>
|
|
1026
|
+
</div>
|
|
1027
|
+
</div>
|
|
1028
|
+
<div class="row epid6">
|
|
1029
|
+
<div class="col epid">
|
|
1030
|
+
<div class=endpointid>
|
|
1031
|
+
<p class="translate device_with_endpoint">Sub Endpoint 6</p>
|
|
1032
|
+
</div>
|
|
1033
|
+
</div>
|
|
1034
|
+
<div class="col">
|
|
1035
|
+
<div class="input-field groups">
|
|
1036
|
+
<select id="d_groups_ep6" class="materialSelect" multiple>
|
|
1037
|
+
<option value="1">select</option>
|
|
1038
|
+
</select>
|
|
1039
|
+
<label for="d_groups_ep6" class="translate">Groups</label>
|
|
1040
|
+
</div>
|
|
1041
|
+
</div>
|
|
1042
|
+
</div>
|
|
744
1043
|
</div>
|
|
745
1044
|
<div class="modal-footer">
|
|
746
1045
|
<a name="save" href="#!" class="modal-action modal-close waves-effect waves-green btn green translate">Save</a>
|
|
@@ -901,6 +1200,12 @@
|
|
|
901
1200
|
<span style="pointer-events: none;">Mesh</span>
|
|
902
1201
|
</label>
|
|
903
1202
|
</div>
|
|
1203
|
+
<div id="physicsOnTgl" class="input-field col s12 admin-tooltip-icon translateT"
|
|
1204
|
+
title="Physics On">
|
|
1205
|
+
<label for="physicsOn" style="pointer-events: auto;">
|
|
1206
|
+
<input style="pointer-events: none;" id="physicsOn" type="checkbox" class="filled-in"checked="checked"/> <span style="pointer-events: none;">Physics</span>
|
|
1207
|
+
</label>
|
|
1208
|
+
</div>
|
|
904
1209
|
</div>
|
|
905
1210
|
<div class="input-field input-group col s12 m6 l6">
|
|
906
1211
|
<p class="translate">Device map info</p>
|