iobroker.zigbee 1.6.0 → 1.6.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 +16 -2
- package/admin/adapter-settings.js +39 -3
- package/admin/admin.js +179 -27
- package/admin/img/14153905L.png +0 -0
- package/admin/img/81855.png +0 -0
- package/admin/img/HG06338.png +0 -0
- package/admin/img/R7060.png +0 -0
- package/admin/img/TI0001-cover.png +0 -0
- package/admin/img/WHD02.png +0 -0
- package/admin/img/ikea_E1812.png +0 -0
- package/admin/img/tuya_rb280.png +0 -0
- package/admin/index_m.html +141 -24
- package/admin/tab_m.html +170 -216
- package/admin/words.js +31 -30
- package/io-package.json +24 -1
- package/lib/commands.js +35 -4
- package/lib/developer.js +6 -2
- package/lib/devices.js +46 -1
- package/lib/exposes.js +7 -4
- package/lib/groups.js +28 -18
- package/lib/rgb.js +30 -0
- package/lib/states.js +64 -39
- package/lib/statescontroller.js +84 -22
- package/lib/utils.js +19 -0
- package/lib/zbBaseExtension.js +4 -3
- package/lib/zbDelayedAction.js +1 -0
- package/lib/zbDeviceAvailability.js +2 -1
- package/lib/zbDeviceConfigure.js +11 -7
- package/lib/zbDeviceEvent.js +6 -0
- package/lib/zigbeecontroller.js +95 -16
- package/main.js +47 -32
- package/package.json +4 -4
package/admin/index_m.html
CHANGED
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
border: none;
|
|
145
145
|
bottom: 0;
|
|
146
146
|
height: 50px;
|
|
147
|
-
background: #fff
|
|
147
|
+
/*background: #fff;*/
|
|
148
148
|
right: 0;
|
|
149
149
|
/*text-align: right;*/
|
|
150
150
|
padding: 10px;
|
|
@@ -174,18 +174,42 @@
|
|
|
174
174
|
i.icon-green {
|
|
175
175
|
color: green;
|
|
176
176
|
}
|
|
177
|
+
.m.react-dark i.icon-green {
|
|
178
|
+
color: green!important;
|
|
179
|
+
}
|
|
180
|
+
.m.react-blue i.icon-green {
|
|
181
|
+
color: green!important;
|
|
182
|
+
}
|
|
177
183
|
i.icon-black {
|
|
178
184
|
color: black;
|
|
179
185
|
}
|
|
180
186
|
i.icon-blue {
|
|
181
187
|
color: blue;
|
|
182
188
|
}
|
|
189
|
+
.m.react-dark i.icon-blue {
|
|
190
|
+
color: rgb(100, 181, 246)!important;
|
|
191
|
+
}
|
|
192
|
+
.m.react-blue i.icon-blue {
|
|
193
|
+
color: rgb(100, 181, 246)!important;
|
|
194
|
+
}
|
|
183
195
|
i.icon-red {
|
|
184
196
|
color: red;
|
|
185
197
|
}
|
|
198
|
+
.m.react-dark i.icon-red {
|
|
199
|
+
color: red!important;
|
|
200
|
+
}
|
|
201
|
+
.m.react-blue i.icon-red {
|
|
202
|
+
color: red!important;
|
|
203
|
+
}
|
|
186
204
|
i.icon-orange {
|
|
187
205
|
color: orange;
|
|
188
206
|
}
|
|
207
|
+
.m.react-dark i.icon-orange {
|
|
208
|
+
color: orange!important;
|
|
209
|
+
}
|
|
210
|
+
.m.react-blue i.icon-orange {
|
|
211
|
+
color: orange!important;
|
|
212
|
+
}
|
|
189
213
|
.m .btn-small.btn-flat {
|
|
190
214
|
padding: 0 4px;
|
|
191
215
|
}
|
|
@@ -247,7 +271,7 @@
|
|
|
247
271
|
position:absolute;
|
|
248
272
|
height: 100%;
|
|
249
273
|
width: 100%;
|
|
250
|
-
background: #fff
|
|
274
|
+
/*background: #fff;*/
|
|
251
275
|
z-index: 2;
|
|
252
276
|
-webkit-transform: rotateY( 0deg );
|
|
253
277
|
-moz-transform: rotateY( 0deg );
|
|
@@ -261,7 +285,7 @@
|
|
|
261
285
|
box-sizing: border-box;
|
|
262
286
|
height: 100%;
|
|
263
287
|
width: 100%;
|
|
264
|
-
background: #fff
|
|
288
|
+
/*background: #fff;*/
|
|
265
289
|
-webkit-transform: rotateY( -180deg );
|
|
266
290
|
-moz-transform: rotateY( -180deg );
|
|
267
291
|
-o-transform: rotateY( -180deg );
|
|
@@ -311,6 +335,25 @@
|
|
|
311
335
|
.m .idletime {
|
|
312
336
|
padding-left: 15px;
|
|
313
337
|
}
|
|
338
|
+
.m.react-blue .switch label input[type="checkbox"]:checked + .lever {
|
|
339
|
+
background-color: #436a93;
|
|
340
|
+
}
|
|
341
|
+
.m.react-blue .switch label .lever {
|
|
342
|
+
background-color: #4dabf5;
|
|
343
|
+
}
|
|
344
|
+
.m.react-blue .switch label .lever:after {
|
|
345
|
+
background-color: #436a93;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.m.react-dark .switch label input[type="checkbox"]:checked + .lever {
|
|
349
|
+
background-color: #436a93;
|
|
350
|
+
}
|
|
351
|
+
.m.react-dark .switch label .lever {
|
|
352
|
+
background-color: #4dabf5;
|
|
353
|
+
}
|
|
354
|
+
.m.react-dark .switch label .lever:after {
|
|
355
|
+
background-color: #436a93;
|
|
356
|
+
}
|
|
314
357
|
</style>
|
|
315
358
|
</head>
|
|
316
359
|
<body>
|
|
@@ -327,7 +370,7 @@
|
|
|
327
370
|
</div>
|
|
328
371
|
<ul id="nav-mobile" class="right">
|
|
329
372
|
<li>
|
|
330
|
-
<a id="state_cleanup_btn" class="btn-floating waves-effect waves-light
|
|
373
|
+
<a id="state_cleanup_btn" class="btn-floating waves-effect waves-light red tooltipped center-align hoverable translateT" title="State Cleanup">
|
|
331
374
|
<i class="material-icons large icon-blue">sync</i></a>
|
|
332
375
|
</li>
|
|
333
376
|
<li>
|
|
@@ -335,7 +378,7 @@
|
|
|
335
378
|
<i class="material-icons large icon-blue">system_update</i></a>
|
|
336
379
|
</li>
|
|
337
380
|
<li>
|
|
338
|
-
<a id="add_grp_btn" class="btn-floating waves-effect waves-light
|
|
381
|
+
<a id="add_grp_btn" class="btn-floating waves-effect waves-light brown tooltipped center-align hoverable translateT" title="Add Group">
|
|
339
382
|
<i class="material-icons large">group_work</i></a>
|
|
340
383
|
</li>
|
|
341
384
|
<li>
|
|
@@ -377,7 +420,7 @@
|
|
|
377
420
|
<input id="device-search" class="filter-input translateP" placeholder="Искать" autocomplete="new-password" readonly="readonly" onfocus="if (this.hasAttribute('readonly')) {this.removeAttribute('readonly'); this.blur(); this.focus();}" data-lang-placeholder="Filter">
|
|
378
421
|
<a class="filter-clear btn-floating btn-very-small translateT red lighten-3" title="Очистить" data-lang-title="clear" style="display: none;"><i class="material-icons">clear</i></a>
|
|
379
422
|
</div>
|
|
380
|
-
|
|
423
|
+
|
|
381
424
|
</li>
|
|
382
425
|
<li>
|
|
383
426
|
<div class="col input-field" style="line-height: 24px;">
|
|
@@ -504,6 +547,7 @@
|
|
|
504
547
|
<option value="-22">low</option>
|
|
505
548
|
<option value="0">norm</option>
|
|
506
549
|
<option value="19">high</option>
|
|
550
|
+
<option value="20">high+</option>
|
|
507
551
|
</select>
|
|
508
552
|
<label class="translate" for="transmitPower">transmitPower</label>
|
|
509
553
|
</div>
|
|
@@ -536,7 +580,7 @@
|
|
|
536
580
|
</div>
|
|
537
581
|
<div class="input-field col s12 m12 l12 col-disableLed">
|
|
538
582
|
<input id="startWithInconsistent" type="checkbox" class="value" />
|
|
539
|
-
<label class="translate" for="startWithInconsistent">
|
|
583
|
+
<label class="translate" for="startWithInconsistent">SettingsExclude</label>
|
|
540
584
|
</div>
|
|
541
585
|
</div>
|
|
542
586
|
|
|
@@ -752,8 +796,8 @@
|
|
|
752
796
|
</div>
|
|
753
797
|
</div>
|
|
754
798
|
<div id="tab-exclude" class="col s12 page">
|
|
755
|
-
<div class="
|
|
756
|
-
<p class="translate">ExcludeTextTranslation</p
|
|
799
|
+
<div class="row">
|
|
800
|
+
<p class="translate">ExcludeTextTranslation</p>
|
|
757
801
|
</div>
|
|
758
802
|
<div class="fixed-action-btn" style="margin-bottom: 100px">
|
|
759
803
|
<a id="add_exclude" class="btn-floating waves-effect waves-light blue tooltipped center-align hoverable translateT" title="Add exlude"><i class="material-icons large">add</i></a>
|
|
@@ -767,17 +811,67 @@
|
|
|
767
811
|
<div class="materialize-dialogs m">
|
|
768
812
|
<div id="modaledit" class="modal">
|
|
769
813
|
<div class="modal-content">
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
<select id="d_groups" class="materialSelect" multiple><option value="1">Значение</option></select>
|
|
778
|
-
<label for="d_groups" class="translate">Groups</label>
|
|
779
|
-
</div>
|
|
814
|
+
<h3 class="translate">Config device</h3>
|
|
815
|
+
<div class="row">
|
|
816
|
+
<div class="col">
|
|
817
|
+
<div class="input-field">
|
|
818
|
+
<input id="d_name" type="text" class="value validate">
|
|
819
|
+
<label for="d_name" class="translate">Name</label>
|
|
820
|
+
</div>
|
|
780
821
|
</div>
|
|
822
|
+
</div>
|
|
823
|
+
<div class="row epid0">
|
|
824
|
+
<div class="col">
|
|
825
|
+
<div class=endpointid>
|
|
826
|
+
<p class="translate device_with_endpoint">Main Endpoint</p>
|
|
827
|
+
</div>
|
|
828
|
+
</div>
|
|
829
|
+
<div class="col">
|
|
830
|
+
<div class="input-field groups">
|
|
831
|
+
<select id="d_groups_ep0" class="materialSelect" multiple><option value="1">Значение</option></select>
|
|
832
|
+
<label for="d_groups_ep0" class="translate">Groups</label>
|
|
833
|
+
</div>
|
|
834
|
+
</div>
|
|
835
|
+
</div>
|
|
836
|
+
<div class="row epid1">
|
|
837
|
+
<div class="col epid">
|
|
838
|
+
<div class=endpointid>
|
|
839
|
+
<p class="translate device_with_endpoint">Sub Endpoint 1</p>
|
|
840
|
+
</div>
|
|
841
|
+
</div>
|
|
842
|
+
<div class="col">
|
|
843
|
+
<div class="input-field groups">
|
|
844
|
+
<select id="d_groups_ep1" class="materialSelect" multiple><option value="1">Значение</option></select>
|
|
845
|
+
<label for="d_groups_ep1" class="translate">Groups</label>
|
|
846
|
+
</div>
|
|
847
|
+
</div>
|
|
848
|
+
</div>
|
|
849
|
+
<div class="row epid2">
|
|
850
|
+
<div class="col epid">
|
|
851
|
+
<div class=endpointid>
|
|
852
|
+
<p class="translate device_with_endpoint">Sub Endpoint 2</p>
|
|
853
|
+
</div>
|
|
854
|
+
</div>
|
|
855
|
+
<div class="col">
|
|
856
|
+
<div class="input-field groups">
|
|
857
|
+
<select id="d_groups_ep2" class="materialSelect" multiple><option value="1">Значение</option></select>
|
|
858
|
+
<label for="d_groups_ep2" class="translate">Groups</label>
|
|
859
|
+
</div>
|
|
860
|
+
</div>
|
|
861
|
+
</div>
|
|
862
|
+
<div class="row epid3">
|
|
863
|
+
<div class="col epid">
|
|
864
|
+
<div class=endpointid>
|
|
865
|
+
<p class="translate device_with_endpoint">Sub Endpoint 3</p>
|
|
866
|
+
</div>
|
|
867
|
+
</div>
|
|
868
|
+
<div class="col">
|
|
869
|
+
<div class="input-field groups">
|
|
870
|
+
<select id="d_groups_ep3" class="materialSelect" multiple><option value="1">Значение</option></select>
|
|
871
|
+
<label for="d_groups_ep3" class="translate">Groups</label>
|
|
872
|
+
</div>
|
|
873
|
+
</div>
|
|
874
|
+
</div>
|
|
781
875
|
</div>
|
|
782
876
|
<div class="modal-footer">
|
|
783
877
|
<a name="save" href="#!" class="modal-action modal-close waves-effect waves-green btn green translate">Save</a>
|
|
@@ -787,19 +881,32 @@
|
|
|
787
881
|
|
|
788
882
|
<div id="groupedit" class="modal">
|
|
789
883
|
<div class="modal-content">
|
|
790
|
-
<
|
|
884
|
+
<div class = "addgroup">
|
|
885
|
+
<h3 class="translate">Add Group</h3>
|
|
886
|
+
</div>
|
|
887
|
+
<div class = "editgroup">
|
|
888
|
+
<h3 class="translate">Edit Group</h3>
|
|
889
|
+
</div>
|
|
791
890
|
<div class="row">
|
|
792
|
-
<div class="
|
|
891
|
+
<div class="col s4 m4 l2">
|
|
892
|
+
<div class="input-field groupid">
|
|
793
893
|
<input id="g_index" type="number" min="1" class="value validate">
|
|
794
894
|
<label for="g_index" class="translate">№</label>
|
|
895
|
+
</div>
|
|
795
896
|
</div>
|
|
796
|
-
|
|
797
|
-
<div class="row">
|
|
798
|
-
<div class="input-field col s12">
|
|
897
|
+
<div class="input-field col s8 m8 l10">
|
|
799
898
|
<input id="g_name" type="text" class="value validate">
|
|
800
899
|
<label for="g_name" class="translate">Name</label>
|
|
801
900
|
</div>
|
|
802
901
|
</div>
|
|
902
|
+
<div class="row hide">
|
|
903
|
+
<div class="col s12">
|
|
904
|
+
<div class="input-field members">
|
|
905
|
+
<label for="g_members" class="translate">Members</label>
|
|
906
|
+
<select id="g_members" class="materialSelect" multiple><option value="1">Значение</option></select>
|
|
907
|
+
</div>
|
|
908
|
+
</div>
|
|
909
|
+
</div>
|
|
803
910
|
</div>
|
|
804
911
|
<div class="modal-footer">
|
|
805
912
|
<a name="save" href="#!" class="modal-action modal-close waves-effect waves-green btn green translate">Save</a>
|
|
@@ -835,6 +942,16 @@
|
|
|
835
942
|
<a href="#!" class="modal-action modal-close waves-effect waves-red btn-flat translate">Cancel</a>
|
|
836
943
|
</div>
|
|
837
944
|
</div>
|
|
945
|
+
<div id="modalreconfigure" class="modal">
|
|
946
|
+
<div class="modal-content">
|
|
947
|
+
<h3 class="translate">Reconfigure device</h3>
|
|
948
|
+
<p>A bunch of text</p>
|
|
949
|
+
</div>
|
|
950
|
+
<div class="modal-footer">
|
|
951
|
+
<a name="yes" href="#!" class="modal-action modal-close waves-effect waves-green btn green translate">Yes</a>
|
|
952
|
+
<a href="#!" class="modal-action modal-close waves-effect waves-red btn-flat translate">Cancel</a>
|
|
953
|
+
</div>
|
|
954
|
+
</div>
|
|
838
955
|
|
|
839
956
|
<div id="modalpairing" class="modal modal-fixed-footer">
|
|
840
957
|
<div class="modal-content">
|