iobroker.zigbee 1.7.5 → 1.8.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.
Files changed (50) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +22 -29
  3. package/admin/admin.js +494 -469
  4. package/admin/i18n/de/translations.json +108 -0
  5. package/admin/i18n/en/translations.json +108 -0
  6. package/admin/i18n/es/translations.json +102 -0
  7. package/admin/i18n/fr/translations.json +108 -0
  8. package/admin/i18n/it/translations.json +102 -0
  9. package/admin/i18n/nl/translations.json +108 -0
  10. package/admin/i18n/pl/translations.json +108 -0
  11. package/admin/i18n/pt/translations.json +102 -0
  12. package/admin/i18n/ru/translations.json +108 -0
  13. package/admin/i18n/uk/translations.json +108 -0
  14. package/admin/i18n/zh-cn/translations.json +102 -0
  15. package/admin/index_m.html +1 -1
  16. package/admin/tab_m.html +44 -3
  17. package/admin/words.js +107 -108
  18. package/io-package.json +326 -357
  19. package/lib/backup.js +2 -2
  20. package/lib/binding.js +23 -24
  21. package/lib/colors.js +16 -14
  22. package/lib/commands.js +89 -82
  23. package/lib/developer.js +6 -7
  24. package/lib/devices.js +145 -154
  25. package/lib/exclude.js +30 -36
  26. package/lib/exposes.js +106 -111
  27. package/lib/groups.js +53 -54
  28. package/lib/json.js +3 -4
  29. package/lib/networkmap.js +2 -2
  30. package/lib/ota.js +23 -15
  31. package/lib/rgb.js +47 -44
  32. package/lib/seriallist.js +21 -10
  33. package/lib/states.js +488 -498
  34. package/lib/statescontroller.js +170 -164
  35. package/lib/utils.js +22 -21
  36. package/lib/zbBaseExtension.js +4 -4
  37. package/lib/zbDelayedAction.js +5 -13
  38. package/lib/zbDeviceAvailability.js +47 -44
  39. package/lib/zbDeviceConfigure.js +18 -23
  40. package/lib/zbDeviceEvent.js +3 -4
  41. package/lib/zigbeecontroller.js +97 -100
  42. package/main.js +149 -133
  43. package/package.json +33 -19
  44. package/.eslintignore +0 -2
  45. package/.eslintrc.json +0 -37
  46. package/.github/FUNDING.yml +0 -3
  47. package/.github/stale.yml +0 -13
  48. package/.github/workflows/test-and-release.yml +0 -151
  49. package/.travis/wiki.sh +0 -28
  50. package/admin/adapter-settings.js +0 -244
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018-2021 Kirov Ilya <kirovilya@gmail.com>
3
+ Copyright (c) 2018-2022 Kirov Ilya <kirovilya@gmail.com>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -10,17 +10,12 @@
10
10
  [![Downloads](https://img.shields.io/npm/dm/iobroker.zigbee.svg)](https://www.npmjs.com/package/iobroker.zigbee)
11
11
 
12
12
  ## ioBroker adapter for Zigbee devices via TI cc2531/cc2530/cc26x2r/cc2538 and deCONZ ConBee/RaspBee.
13
-
14
- With the Zigbee-coordinator based on Texas Instruments SoC, deCONZ ConBee/RaspBee modules, Silicon Labs EZSP v8 or ZIGate USB-TTL it creates its own zigbee-network, into which zigbee-devices are connected. By work directly with the coordinator, the driver allows you to manage devices without additional application / gateways / bridge from device manufacturers (Xiaomi / TRADFRI / Hue / Tuya). About the device Zigbee-network can be read [here (in English)](https://www.zigbee2mqtt.io/information/zigbee_network.html).
13
+ With the Zigbee-coordinator based on `Texas Instruments SoC, deCONZ ConBee/RaspBee` modules, `Silicon Labs EZSP v8` or `ZIGate USB-TTL` it creates its own zigbee-network, into which zigbee-devices are connected. By work directly with the coordinator, the driver allows you to manage devices without additional application / gateways / bridge from device manufacturers (Xiaomi / TRADFRI / Hue / Tuya). About the device Zigbee-network can be read [here (in English)](https://www.zigbee2mqtt.io/information/zigbee_network.html).
15
14
 
16
15
  ## Hardware
17
-
18
-
19
16
  One coordinator device is required for each zigbee Adapter instance. The device must be flashed with the respective coordinator firmware. A list of supported coordinators, the necessary equipment for the firmware and the device preparation process for different coordinator devices are described [here (in English)](https://www.zigbee2mqtt.io/guide/adapters/) or [here (in Russian)](https://myzigbee.ru/books/%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BA%D0%B8/page/%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BA%D0%B0-cc2531cc2530)
20
17
 
21
-
22
18
  ### Texas Instruments SoC
23
-
24
19
  Recommended devices are based on either the CC2652 or CC1352 chip. Devices based on cc253x chips are still supported but are no longer recommended.
25
20
  Only CC26xx/cc1352/cc2538 Devices support extraction of the NVRam backup which should allow to swap coordinator hardware without having to reconnect all zigbee devices to the network.
26
21
  Current firmware files for these devices can be found [on GitHub](https://github.com/Koenkk/Z-Stack-firmware)
@@ -32,9 +27,7 @@ Current firmware files for these devices can be found [on GitHub](https://github
32
27
  <span><img src="docs/de/img/CC2538_CC2592_PA.PNG" width="100"></span>
33
28
  <span><img src="docs/de/img/cc26x2r.PNG" width="100"></span>
34
29
 
35
-
36
30
  ### Dresden Elektronik SoC
37
-
38
31
  <span><img src="docs/en/img/deconz.png"></span>
39
32
 
40
33
  recommended:
@@ -45,21 +38,18 @@ no longer recommended:
45
38
  - ConBee I
46
39
  - RaspBee
47
40
 
48
- While Conbee/RaspBee Support is no longer considered experimental in the zigbee-herdsman and zigbee-herdsman-converters libraries used by the zigbee Adapter, use of these devices with the adapter may limit functionality. Known issues are:
41
+ While `Conbee/RaspBee` Support is no longer considered experimental in the zigbee-herdsman and zigbee-herdsman-converters libraries used by the zigbee Adapter, use of these devices with the adapter may limit functionality. Known issues are:
49
42
  - link quality display may be incorrect
50
43
  - device map metrics may be incorrect
51
44
  - NVRam Backup is not supported.
52
45
 
53
- ### Silicon Labs EZPS v8 / Zigate USB-TTL
54
-
55
- Support for these chipsets is experimental. Please refer to the respective documentation on [this page](https://www.zigbee2mqtt.io/guide/adapters/) with regards to the state of the integration into the zigbee-herdsman and zigbee-herdsman-converters libraries.
56
-
57
-
58
-
46
+ ### Silicon Labs SoC
47
+ Support for [Silicon Lab Zigbee](https://www.silabs.com/wireless/zigbee) based adapters is experimental. The initial support for EZSP v8 is still not yet considered stable and the project is in need of more developers volunteering to help with this integration. Please refer to the respective documentation on [this page](https://www.zigbee2mqtt.io/guide/adapters/) and [ongoing development discussion](https://github.com/Koenkk/zigbee-herdsman/issues/319) with regard to the state of Silabs EmberZNet Serial Protocol (EZSP) adapter implementation integration into the zigbee-herdsman and zigbee-herdsman-converters libraries which it depends on.
59
48
 
49
+ ### ZiGate SoC
50
+ Support for [ZiGate](https://zigate.fr) based adapters is experimental. The initial support for ZiGate is still not yet considered stable and the project is in need of more developers volunteering to help with this integration. Please refer to the respective documentation on [this page](https://www.zigbee2mqtt.io/guide/adapters/) and [ongoing development discussion](https://github.com/Koenkk/zigbee-herdsman/issues/242) with regard to the state of ZiGate adapter implementation into the zigbee-herdsman and zigbee-herdsman-converters libraries which it depends on.
60
51
 
61
52
  ## Work with adapter
62
-
63
53
  ![](docs/tutorial/zigbee.png)
64
54
 
65
55
  To start the driver, you must specify the name of the port on which the Zigbee-module (stick) is connected. Usually this is the port `/dev/ttyACM0` or `/dev/ttyUSB0` for the UART-connection. Or you can find with `ls -l /dev/serial/by-id` the device direct.
@@ -67,7 +57,6 @@ To start the driver, you must specify the name of the port on which the Zigbee-m
67
57
  open the settings and change port
68
58
  ![](docs/tutorial/settings.png)
69
59
 
70
-
71
60
  For Windows this will be the COM port number.
72
61
 
73
62
  Starting from version 1.0.0 you can also use *tcp connection* for cases using esp8266 (or other microcontrollers) as serial-bridge. For example `tcp://192.168.1.46:8880`. Read more info here https://www.zigbee2mqtt.io/information/connecting_cc2530#via-an-esp8266
@@ -90,18 +79,14 @@ It is a Zigbee feature, intended for example to switch bulbs synchronized. Assig
90
79
 
91
80
  Note: Not all devices support groups (not supported by end devices like sensors).
92
81
 
93
-
94
82
  ### Binding
95
-
96
83
  https://www.zigbee2mqtt.io/information/binding
97
84
 
98
85
  ### Developer Tab
99
-
100
- This is a tool for advanced users to test currently unsupported devices or enhance this adapters functionality. More instructions can be found on tab.
86
+ This is a tool for advanced users to test currently unsupported devices or enhance this adapter's functionality. More instructions can be found on tab.
101
87
  ![](docs/tutorial/tab-dev-1.png)
102
88
 
103
89
  ## Additional info
104
-
105
90
  There is a [friendly project](https://github.com/koenkk/zigbee2mqtt) with similar functionality on the same technologies, where you can work with the same devices using the MQTT protocol. Therefore, if any improvements or support for new zigbee-devices occur in the Zigbee2MQTT project, we can transfer and add the same functionality to this adapter. If you notice this, then write the issue - we'll postpone it.
106
91
 
107
92
  There are knowledge bases that can be useful for working with Zigbee-devices and equipment:
@@ -109,11 +94,9 @@ There are knowledge bases that can be useful for working with Zigbee-devices and
109
94
  * in Russian https://myzigbee.ru/
110
95
 
111
96
  ## Supported devices
112
-
113
97
  Works with devices from this list https://github.com/ioBroker/ioBroker.zigbee/wiki/Supported-devices
114
98
 
115
99
  ## Donate
116
-
117
100
  You can thank the authors by these links:
118
101
  * to Kirov Ilya https://www.paypal.me/goofyk
119
102
  * to Arthur Rupp https://paypal.me/ArthurRupp
@@ -126,11 +109,21 @@ You can thank the authors by these links:
126
109
  npm run release patch -- --all 0.9.8 -> 0.9.9
127
110
  npm run release prerelease beta -- --all v0.2.1 -> v0.2.2-beta.0
128
111
  Placeholder for the next version (at the beginning of the line):
129
- ## **WORK IN PROGRESS**
112
+ ### **WORK IN PROGRESS**
130
113
  -->
131
114
 
132
-
133
115
  ## Changelog
116
+ ### 1.8.0 (2022-11-28)
117
+ * (bluefox) Packages updated
118
+ * (bluefox) Added names of serial ports in configuration dialog
119
+
120
+ ### 1.7.7 (2022-11-24)
121
+ * dep update
122
+
123
+ ### 1.7.6 (2022-07-23)
124
+ * (kirovilya) fix selecting nodes in admin
125
+ * (arteck) ikea fix
126
+
134
127
  ### 1.7.5 (2022-06-01)
135
128
  * (arteck) error message for undefined devices or icons
136
129
 
@@ -170,8 +163,8 @@ You can thank the authors by these links:
170
163
  - when a pingable device is marked active (from being inactive) it will be pinged again.
171
164
  - inactive devices are excluded from OTA updates.
172
165
  * (asgothian) Group rework part 2:
173
- - state device.groups will now be deleted with state Cleanup
174
- - state info.groups is now obsolete and will be deleted at adapter start (after transferring data to
166
+ - state `device.groups` will now be deleted with state Cleanup
167
+ - state `info.groups` is now obsolete and will be deleted at adapter start (after transferring data to
175
168
  the new storage)
176
169
  * (asgothian) Device name persistance.
177
170
  - Changes to device names made within the zigbee adapter are stored in the file dev_names.json. This file
@@ -185,7 +178,7 @@ You can thank the authors by these links:
185
178
 
186
179
  ### 1.6.12 (2022-01)
187
180
  * (asgothian) Groups were newly revised (read [here](https://github.com/ioBroker/ioBroker.zigbee/pull/1327) )
188
- - object device.groups is obsolet..the old one is no longer up to date
181
+ - object `device.groups` is obsolet. The old one is no longer up to date
189
182
 
190
183
  ### 1.6.9 (2021-12)
191
184
  * (simatec) fix admin Dark-Mode