iobroker.zigbee 1.6.18 → 1.7.2
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 +73 -60
- package/admin/admin.js +2 -2
- package/admin/img/philips_ensis.png +0 -0
- package/admin/index_m.html +7 -7
- package/admin/vis-network.min.css +1 -1
- package/admin/vis-network.min.js +7 -6
- package/admin/words.js +8 -5
- package/io-package.json +92 -122
- package/lib/backup.js +62 -24
- package/lib/exposes.js +4 -2
- package/lib/statescontroller.js +42 -4
- package/lib/zbDeviceAvailability.js +0 -6
- package/main.js +2 -29
- package/package.json +77 -77
package/README.md
CHANGED
|
@@ -126,20 +126,33 @@ You can thank the authors by these links:
|
|
|
126
126
|
npm run release patch -- --all 0.9.8 -> 0.9.9
|
|
127
127
|
npm run release prerelease beta -- --all v0.2.1 -> v0.2.2-beta.0
|
|
128
128
|
Placeholder for the next version (at the beginning of the line):
|
|
129
|
-
|
|
129
|
+
## **WORK IN PROGRESS**
|
|
130
130
|
-->
|
|
131
131
|
|
|
132
132
|
|
|
133
|
-
## Changelog
|
|
133
|
+
## Changelog
|
|
134
|
+
### 1.7.2 (2022-05-28)
|
|
135
|
+
* (arteck) download missing icons corr
|
|
136
|
+
|
|
137
|
+
### 1.7.1 (2022-05-28)
|
|
138
|
+
* (arteck) available status in admin is colored
|
|
139
|
+
* (arteck) disable Backups checkbox in settings
|
|
140
|
+
* (arteck) we keep last 10 backup files
|
|
141
|
+
* (arteck) download missing icons automatically (manual upload needed)
|
|
142
|
+
|
|
143
|
+
### 1.6.18 (2022-04-21)
|
|
144
|
+
* (arteck) fix pairing modus
|
|
145
|
+
|
|
146
|
+
### 1.6.17 (2022-04)
|
|
147
|
+
rollback
|
|
148
|
+
|
|
134
149
|
### 1.6.16 (2022-02-16)
|
|
135
150
|
* (arteck) admin dep fix
|
|
136
|
-
* (arteck) colored objects for online/offline state
|
|
137
|
-
|
|
138
|
-
|
|
151
|
+
* (arteck) colored objects for online/offline state
|
|
152
|
+
|
|
139
153
|
### 1.6.15 (2022-02-08)
|
|
140
|
-
* (arteck) Battery status % calculation was changed for xiaomi devices
|
|
141
|
-
|
|
142
|
-
|
|
154
|
+
* (arteck) Battery status % calculation was changed for xiaomi devices
|
|
155
|
+
|
|
143
156
|
### 1.6.14 (2022-01)
|
|
144
157
|
* (asgothian) OTA limitation
|
|
145
158
|
- devices with the available state set to false are excluded from OTA updates (and the update check)
|
|
@@ -158,53 +171,53 @@ You can thank the authors by these links:
|
|
|
158
171
|
- Changes to device names made within the zigbee adapter are stored in the file dev_names.json. This file
|
|
159
172
|
is not deleted when the adapter is removed, and will be referenced when a device is added to the zigbee adapter. Deleting and reinstalling the adapter will no longer remove custom device names, nor will deleting and adding the device anew.
|
|
160
173
|
* (asgothian) Readme edit to reflect the current information on zigbee coordinator hardware.
|
|
161
|
-
* (arteck) Zigbee-Herdsman 0.14.4, Zigbee-Herdsman-Converters 14.0.394
|
|
162
|
-
|
|
174
|
+
* (arteck) Zigbee-Herdsman 0.14.4, Zigbee-Herdsman-Converters 14.0.394
|
|
175
|
+
|
|
163
176
|
### 1.6.13 (2022-01)
|
|
164
177
|
|
|
165
|
-
* (kirovilya) update to Zigbee-Herdsman 0.14
|
|
166
|
-
|
|
178
|
+
* (kirovilya) update to Zigbee-Herdsman 0.14
|
|
179
|
+
|
|
167
180
|
### 1.6.12 (2022-01)
|
|
168
181
|
* (asgothian) Groups were newly revised (read [here](https://github.com/ioBroker/ioBroker.zigbee/pull/1327) )
|
|
169
|
-
- object device.groups is obsolet..the old one is no longer up to date
|
|
170
|
-
|
|
182
|
+
- object device.groups is obsolet..the old one is no longer up to date
|
|
183
|
+
|
|
171
184
|
### 1.6.9 (2021-12)
|
|
172
185
|
* (simatec) fix admin Dark-Mode
|
|
173
186
|
* (asgothian) Expose Access Handling
|
|
174
187
|
* (arteck) translations
|
|
175
188
|
* (asgothian) fix groups
|
|
176
|
-
* (agross) use different normalization rules
|
|
177
|
-
|
|
189
|
+
* (agross) use different normalization rules
|
|
190
|
+
|
|
178
191
|
### 1.6.1 (2021-08)
|
|
179
|
-
* (kirovilya) herdsman compatibility
|
|
180
|
-
|
|
181
|
-
### 1.6.0 (2021-08-09)
|
|
182
|
-
|
|
192
|
+
* (kirovilya) herdsman compatibility
|
|
193
|
+
|
|
194
|
+
### 1.6.0 (2021-08-09)
|
|
195
|
+
|
|
183
196
|
### 1.5.6 (2021-05-26)
|
|
184
|
-
* (kirovilya) new UI add
|
|
185
|
-
|
|
197
|
+
* (kirovilya) new UI add
|
|
198
|
+
|
|
186
199
|
### 1.5.5 (2021-05-05)
|
|
187
200
|
* Fixes for new zigbee-herdsman-converters
|
|
188
|
-
* UI fixes
|
|
189
|
-
|
|
201
|
+
* UI fixes
|
|
202
|
+
|
|
190
203
|
### 1.5.3 (2021-04-30)
|
|
191
|
-
* (arteck) Fix for js-controller 3.3.*
|
|
192
|
-
|
|
204
|
+
* (arteck) Fix for js-controller 3.3.*
|
|
205
|
+
|
|
193
206
|
### 1.5.2 (2021-04-29)
|
|
194
|
-
* (asgothian) Groups on dashboard
|
|
195
|
-
|
|
207
|
+
* (asgothian) Groups on dashboard
|
|
208
|
+
|
|
196
209
|
### 1.5.1 (2021-04-14)
|
|
197
210
|
* (kirovilya) Dashboard
|
|
198
211
|
* (asgothian) Groups (reworked)
|
|
199
|
-
* [Experimental support EZSP protocol for EFR32 chips](https://github.com/Koenkk/zigbee-herdsman/issues/319) (zigbee-herdsman)
|
|
200
|
-
|
|
212
|
+
* [Experimental support EZSP protocol for EFR32 chips](https://github.com/Koenkk/zigbee-herdsman/issues/319) (zigbee-herdsman)
|
|
213
|
+
|
|
201
214
|
### 1.4.4 (2021-02-14)
|
|
202
215
|
* (kirovilya) External converters https://www.zigbee2mqtt.io/information/configuration.html#external-converters-configuration
|
|
203
216
|
* (asgothian) Enhancement ping process
|
|
204
217
|
* (asgothian) Devive query state-button
|
|
205
218
|
* (asgothian) State Cleanup button
|
|
206
|
-
* (arteck) Setting to use exposes instead of internal device description
|
|
207
|
-
|
|
219
|
+
* (arteck) Setting to use exposes instead of internal device description
|
|
220
|
+
|
|
208
221
|
### 1.4.1 (2020-12)
|
|
209
222
|
* (o0shojo0o) added a kelvin posibility into colortemp
|
|
210
223
|
* (asgothian) Hue_calibration for exposed devices (Use requires PR on zigbee-herdsman-converters, PR is being worked on)
|
|
@@ -216,8 +229,8 @@ You can thank the authors by these links:
|
|
|
216
229
|
* (asgothian) RGB Color can now be entered as "named" color. Implemented names are taken from the list of extended web colors on wikipedia (https://en.wikipedia.org/wiki/Web_colors)
|
|
217
230
|
* (asgothian) change in how RGB color is parsed. Incomplete colors will now be parsed successfully. #FFF will result in R 0, G 15, B 255
|
|
218
231
|
* (asgothian) change in OTA: Message that a device does not respond for OTA query downgraded to "info" from "error"
|
|
219
|
-
* (asgothian) new coordinator card
|
|
220
|
-
|
|
232
|
+
* (asgothian) new coordinator card
|
|
233
|
+
|
|
221
234
|
### 1.4.0 (2020-12)
|
|
222
235
|
* Many new devices available
|
|
223
236
|
|
|
@@ -233,13 +246,13 @@ If you want to use local images, then you need to put the image file in /admin/i
|
|
|
233
246
|
icon: 'img/ITEAD01ZBMINI. png',
|
|
234
247
|
}
|
|
235
248
|
```
|
|
236
|
-
in this case, the *states* attribute will be formed based on the *exposes* description and the image will be local.
|
|
237
|
-
|
|
249
|
+
in this case, the *states* attribute will be formed based on the *exposes* description and the image will be local.
|
|
250
|
+
|
|
238
251
|
### 1.3.1 (2020-10-30)
|
|
239
252
|
* [Experimental Zigate support](https://github.com/Koenkk/zigbee-herdsman/issues/242) (zigbee-herdsman)
|
|
240
253
|
* New devices by:
|
|
241
|
-
asgothian, arteck, kirovilya, PaulchenPlump
|
|
242
|
-
|
|
254
|
+
asgothian, arteck, kirovilya, PaulchenPlump
|
|
255
|
+
|
|
243
256
|
### 1.3.0 (2020-10-07)
|
|
244
257
|
* More stable (zigbee-herdsman)
|
|
245
258
|
* Backup prior database and nv-data (for z-stack 3) before start adapter
|
|
@@ -248,12 +261,12 @@ in this case, the *states* attribute will be formed based on the *exposes* descr
|
|
|
248
261
|
* (UncleSamSwiss, DutchmanNL) Translation
|
|
249
262
|
* New devices by:
|
|
250
263
|
arteck, kirovilya, Shade, krumbholz, fre, Alex18081, ae, asgothian,
|
|
251
|
-
Strunzdesign, kairauer, VLGorskij, Hesse-Bub, PaulchenPlump, blackrozes
|
|
252
|
-
|
|
264
|
+
Strunzdesign, kairauer, VLGorskij, Hesse-Bub, PaulchenPlump, blackrozes
|
|
265
|
+
|
|
253
266
|
### 1.2.1 (2020-08-16)
|
|
254
267
|
* Fixes after changing device identify method
|
|
255
|
-
* (Garfonso) Allow to unbind from coordinator
|
|
256
|
-
|
|
268
|
+
* (Garfonso) Allow to unbind from coordinator
|
|
269
|
+
|
|
257
270
|
### 1.2.0 (2020-08-09)
|
|
258
271
|
* Serialport 9.0.0. (zigbee-herdsman)
|
|
259
272
|
* Drop support Node < 10 (zigbee-herdsman)
|
|
@@ -309,14 +322,14 @@ New devices:
|
|
|
309
322
|
* (kirovilya) MCLH-08, MCLH-05
|
|
310
323
|
* (Sacred-Shadow) 1746130P7
|
|
311
324
|
* (mar565) GUNNARP panel round
|
|
312
|
-
* (Erdnuss3003) 4090531P7
|
|
313
|
-
|
|
325
|
+
* (Erdnuss3003) 4090531P7
|
|
326
|
+
|
|
314
327
|
### 1.1.1 (2020-04-17)
|
|
315
328
|
* (kirovilya) Critical. Fixed error starting adapter if cc-chip was only flashed
|
|
316
329
|
* (kirovilya) Nue/3A FNB56-ZSW02LX2.0
|
|
317
330
|
* (Strunzdesign) Added missing raw button events for Philips Hue Smart Button ROM001
|
|
318
|
-
* (Sacred-Shadow) Fix Color for Outdoor Lantern W RGBW OSRAM
|
|
319
|
-
|
|
331
|
+
* (Sacred-Shadow) Fix Color for Outdoor Lantern W RGBW OSRAM
|
|
332
|
+
|
|
320
333
|
### 1.1.0 (2020-04-12)
|
|
321
334
|
new Zigbee-herdsman features:
|
|
322
335
|
* ConBee/RaspBee (experimental support) https://github.com/Koenkk/zigbee-herdsman/issues/72
|
|
@@ -340,8 +353,8 @@ new Zigbee-herdsman features:
|
|
|
340
353
|
* (kirovilya) Smart remote controller (4 buttons)
|
|
341
354
|
* (allofmex) OTA updates
|
|
342
355
|
* (kirovilya) Aqara opple change mode keys (for binding)
|
|
343
|
-
* (palsch) Heiman HS2WD-E siren
|
|
344
|
-
|
|
356
|
+
* (palsch) Heiman HS2WD-E siren
|
|
357
|
+
|
|
345
358
|
### 1.0.4 (2020-03-14)
|
|
346
359
|
* (kirovilya) Philips Hue Adore Bathroom Mirror Light
|
|
347
360
|
* (kirovilya) Oujiabao Gas and carbon monoxide alarm
|
|
@@ -367,8 +380,8 @@ new Zigbee-herdsman features:
|
|
|
367
380
|
* (kirovilya) Allow pairing to routers (again)
|
|
368
381
|
* (Erdnuss3003) Philips Hue LCT021
|
|
369
382
|
* (root) Trust ZWLD-100 water leak sensor
|
|
370
|
-
* (smartpran) Bitron AV2010/32
|
|
371
|
-
|
|
383
|
+
* (smartpran) Bitron AV2010/32
|
|
384
|
+
|
|
372
385
|
### 1.0.3 (2020-02-09)
|
|
373
386
|
* (Tw1nh34d) Hornbach FLAIR LED
|
|
374
387
|
* (asgothian) Hue smart button, Heiman smoke sensor
|
|
@@ -378,8 +391,8 @@ new Zigbee-herdsman features:
|
|
|
378
391
|
* (kirovilya) Change illuminance state to illuminance_lux (for lux value)
|
|
379
392
|
* (arteck) Philips LCF002
|
|
380
393
|
* (arteck) TRADFRI open/close remote
|
|
381
|
-
* (kirovilya) Tuya sensor TS0201
|
|
382
|
-
|
|
394
|
+
* (kirovilya) Tuya sensor TS0201
|
|
395
|
+
|
|
383
396
|
### 1.0.2 (2020-01-29)
|
|
384
397
|
* (kirovilya) All button events for Aqara Opple switch
|
|
385
398
|
* (ma-john) OSRAM PAR16 RGBW Z3
|
|
@@ -388,23 +401,23 @@ new Zigbee-herdsman features:
|
|
|
388
401
|
* (kirovilya) Force remove device
|
|
389
402
|
* (kirovilya) Fix some networkmap bugs
|
|
390
403
|
* (kirovilya) Extended info button
|
|
391
|
-
* (kirovilya) Long press for WXKG01LM
|
|
392
|
-
|
|
404
|
+
* (kirovilya) Long press for WXKG01LM
|
|
405
|
+
|
|
393
406
|
### 1.0.1 (2020-01-23)
|
|
394
|
-
* fix for old z-stack firmware
|
|
395
|
-
|
|
407
|
+
* fix for old z-stack firmware
|
|
408
|
+
|
|
396
409
|
### 1.0.0 (2020-01-22)
|
|
397
410
|
* Powered by new [zigbee-herdsman](https://github.com/Koenkk/zigbee-herdsman) library and new [converters database](https://github.com/Koenkk/zigbee-herdsman-converters)
|
|
398
411
|
* Drop support NodeJS 6
|
|
399
412
|
* Serialport 8.0.5 (in zigbee-herdsman)
|
|
400
413
|
* More new devices
|
|
401
414
|
* Some design update
|
|
402
|
-
* Binding
|
|
403
|
-
|
|
415
|
+
* Binding
|
|
416
|
+
|
|
404
417
|
## License
|
|
405
418
|
The MIT License (MIT)
|
|
406
419
|
|
|
407
|
-
Copyright (c) 2018-
|
|
420
|
+
Copyright (c) 2018-2022 Kirov Ilya <kirovilya@gmail.com>
|
|
408
421
|
|
|
409
422
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
410
423
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -422,4 +435,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
422
435
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
423
436
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
424
437
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
425
|
-
THE SOFTWARE.
|
|
438
|
+
THE SOFTWARE.
|
package/admin/admin.js
CHANGED
|
@@ -31,7 +31,7 @@ const updateCardInterval = setInterval(updateCardTimer, 6000);
|
|
|
31
31
|
|
|
32
32
|
const savedSettings = [
|
|
33
33
|
'port', 'panID', 'channel', 'disableLed', 'countDown', 'groups', 'extPanID', 'precfgkey', 'transmitPower',
|
|
34
|
-
'adapterType', 'debugHerdsman', '
|
|
34
|
+
'adapterType', 'debugHerdsman', 'disableBackup', 'disablePing', 'external', 'startWithInconsistent',
|
|
35
35
|
];
|
|
36
36
|
|
|
37
37
|
function getDeviceByID(ID) {
|
|
@@ -2763,7 +2763,7 @@ function getDashCard(dev, groupImage) {
|
|
|
2763
2763
|
} else if (stateDef.role == 'level.dimmer' && stateDef.write) {
|
|
2764
2764
|
val = `<span class="range-field dash"><input type="range" min="0" max="100" ${(val != undefined) ? `value="${val}"` : ""} /></span>`;
|
|
2765
2765
|
} else if (stateDef.role == 'level.color.temperature' && stateDef.write) {
|
|
2766
|
-
val = `<span class="range-field dash"><input type="range" min="
|
|
2766
|
+
val = `<span class="range-field dash"><input type="range" min="150" max="500" ${(val != undefined) ? `value="${val}"` : ""} /></span>`;
|
|
2767
2767
|
} else if (stateDef.type == 'boolean') {
|
|
2768
2768
|
const disabled = (stateDef.write) ? '' : 'disabled="disabled"';
|
|
2769
2769
|
val = `<label class="dash"><input type="checkbox" ${(val == true) ? "checked='checked'" : ""} ${disabled}/><span></span></label>`;
|
|
Binary file
|
package/admin/index_m.html
CHANGED
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
</div>
|
|
566
566
|
</div>
|
|
567
567
|
<div class="row">
|
|
568
|
-
<h6>Others</h6>
|
|
568
|
+
<h6 class="translate">Others</h6>
|
|
569
569
|
<div class="input-field col s12 m6 l4 col-disableLed">
|
|
570
570
|
<input id="disableLed" type="checkbox" class="value" />
|
|
571
571
|
<label class="translate" for="disableLed">Disable LED for cc2531</label>
|
|
@@ -574,18 +574,18 @@
|
|
|
574
574
|
<input id="disablePing" type="checkbox" class="value" />
|
|
575
575
|
<label class="translate" for="disablePing">Disable active availability check</label>
|
|
576
576
|
</div>
|
|
577
|
-
|
|
578
577
|
<div class="input-field col s12 m6 l4 col-debugHerdsman">
|
|
579
578
|
<input id="debugHerdsman" type="checkbox" class="value" />
|
|
580
579
|
<label class="translate" for="debugHerdsman">Zigbee-herdsman debug info</label>
|
|
581
580
|
</div>
|
|
582
|
-
<div class="input-field col s12 m6 l4
|
|
583
|
-
<input id="colorize" type="checkbox" class="value" />
|
|
584
|
-
<label class="translate" for="colorize">color available state</label>
|
|
585
|
-
</div>
|
|
586
|
-
<div class="input-field col s12 m6 l6">
|
|
581
|
+
<div class="input-field col s12 m6 l4">
|
|
587
582
|
<a id="reset-btn" class="waves-effect waves-light white-text btn-large translate">Reset...</a>
|
|
588
583
|
</div>
|
|
584
|
+
<div class="input-field col s12 m6 l4 col-disableBackup">
|
|
585
|
+
<input id="disableBackup" type="checkbox" class="value" />
|
|
586
|
+
<label class="translate" for="disableBackup">disable internal Backup</label>
|
|
587
|
+
</div>
|
|
588
|
+
|
|
589
589
|
</div>
|
|
590
590
|
<div class="row">
|
|
591
591
|
<h6 class="translate">External converters</h6>
|