iobroker.zigbee2mqtt 2.1.0 → 2.2.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.
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  ## zigbee2mqtt adapter for ioBroker
15
15
 
16
- Zigbee2MQTT adapter for ioBroker
16
+ This adapter allows to control the data points of the devices of a Zigbee2MQTT instance in ioBroker.
17
17
 
18
18
  ## Adapter Documentation
19
19
 
@@ -30,6 +30,17 @@ Zigbee2MQTT adapter for ioBroker
30
30
  Placeholder for the next version (at the beginning of the line):
31
31
  ### **WORK IN PROGRESS**
32
32
  -->
33
+ ### 2.2.0 (2022-10-20)
34
+
35
+ - (o0shojo0o) added support for [Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)
36
+ - (o0shojo0o) added support for hs color
37
+ - (o0shojo0o) simulated_brightness data point is added only for supported devices
38
+
39
+ ### 2.1.1 (2022-10-16)
40
+
41
+ - (o0shojo0o) advanced detection if a device has been removed
42
+ - (o0shojo0o) fixes the design error in the websocket connection
43
+
33
44
  ### 2.1.0 (2022-10-14)
34
45
 
35
46
  - (o0shojo0o) added option for color temperature sync with color
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "zigbee2mqtt",
4
- "version": "2.1.0",
4
+ "version": "2.2.0",
5
5
  "news": {
6
+ "2.2.0": {
7
+ "en": "added support for [Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nadded support for hs color\nsimulated_brightness data point is added only for supported devices",
8
+ "de": "unterstützung für [Lidl HG06467-Effekte](https://www.zigbee2mqt.io/devices/HG06467.html#trigger-Effekte)\nunterstützung für hs farbe\nsimuld_brightness-datenpunkt wird nur für unterstützte geräte hinzugefügt",
9
+ "ru": "добавлена поддержка [Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nдобавлена поддержка цвета hs\nsimulated_brightness дата точка добавлена только для поддерживаемых устройств",
10
+ "pt": "apoio adicional para efeitos [Lidl HG06467](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nsuporte adicionado para cor hs\nsimulated_brightness data point é adicionado apenas para dispositivos suportados",
11
+ "nl": "quality over Quantity (QoQ) Releases Vertaling:\nvertaling:\nvertaling:",
12
+ "fr": "ajouté support for [Lidl HG06467 effects](https://www.zigbee2mqt.io/devices/HG06467.html#trigger-effects)\nsupport ajouté pour la couleur hs\nsimuld_brightness data point est ajouté seulement pour les appareils pris en charge",
13
+ "it": "[Lidl HG06467 Effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effetti)\nsupporto aggiunto per il colore hs\nil punto di dati simulated_brightness viene aggiunto solo per i dispositivi supportati",
14
+ "es": "[Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nsoporte añadido para el color hs\nsimulated_brightness punto de datos se añade sólo para dispositivos compatibles",
15
+ "pl": "dodano wsparcie dla Lidla HG06467 efektów (https:/wwww.zigbee2mqtt.io/devices/HG06467.html#trigger)\ndodano obsługę koloru hs\nsymulacja danych _brighta jest dodana tylko dla obsługi urządzeń",
16
+ "uk": "додано підтримку [Lidl HG06467 ефектів](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nдодана підтримка кольору hs\nсимулятор_brightness дата додано тільки для підтримуваних пристроїв",
17
+ "zh-cn": "进一步支持[Lidl HG06467效应](http://www.zigbee2mqt.io/devices/HG06467.html#er-effects)\nb. 对地壳的增援\n仅为支助装置增添了简历数据点。"
18
+ },
19
+ "2.1.1": {
20
+ "en": "advanced detection if a device has been removed\nfixes the design error in the websocket connection",
21
+ "de": "fortgeschrittene erkennung, wenn ein gerät entfernt wurde\nkorrigiert den designfehler in der websocket-verbindung",
22
+ "ru": "предварительное обнаружение, если устройство было удалено\nисправляет ошибку дизайна в подключении к сети",
23
+ "pt": "detecção avançada se um dispositivo foi removido\ncorrige o erro de projeto na conexão websocket",
24
+ "nl": "als er een apparaat verwijderd is\nde ontwerpfout in de websocket verbinding",
25
+ "fr": "détection avancée si un dispositif a été enlevé\ncorrige l'erreur de conception dans la connexion websocket",
26
+ "it": "rilevamento avanzato se un dispositivo è stato rimosso\ncorregge l'errore di progettazione nella connessione websocket",
27
+ "es": "detección avanzada si se ha eliminado un dispositivo\nfija el error de diseño en la conexión websocket",
28
+ "pl": "wykrywanie zaawansowane, jeśli urządzenie zostało usunięte\numożliwia to błędy projektowe w łączu internetowym",
29
+ "uk": "розширене виявлення, якщо пристрій було видалено\nвиправлено помилку дизайну в підключенні websocket",
30
+ "zh-cn": "如果一个装置被拆除,则预先发现\nf 确定网站的设计错误"
31
+ },
6
32
  "2.1.0": {
7
33
  "en": "added option for color temperature sync with color\nfix logfilter and debugDevices\nlots of bugfixes\nnow set the correct min/max at color temp\nbetter error handling for the connections",
8
34
  "de": "zusatzoption für farbtemperatur-sync mit farbe\nlogfilter und DebugDevices fixieren\nviele bugfixes\njetzt die richtige min/max in der farbe tempo einstellen\nbessere fehlerbehandlung für die verbindungen",
@@ -64,18 +90,6 @@
64
90
  "es": "primera liberación",
65
91
  "pl": "pierwsze wydanie",
66
92
  "zh-cn": "首次释放"
67
- },
68
- "0.0.1": {
69
- "en": "initial release",
70
- "de": "Erstveröffentlichung",
71
- "ru": "Начальная версия",
72
- "pt": "lançamento inicial",
73
- "nl": "Eerste uitgave",
74
- "fr": "Première version",
75
- "it": "Versione iniziale",
76
- "es": "Versión inicial",
77
- "pl": "Pierwsze wydanie",
78
- "zh-cn": "首次出版"
79
93
  }
80
94
  },
81
95
  "titleLang": {
package/lib/check.js CHANGED
@@ -1,36 +1,36 @@
1
1
  function checkConfig(config, log) {
2
- const checkAPIOptions = {
3
- legacy_api_enabled: config.advanced.legacy_api != false,
4
- legacy_availability_payload_enabled: config.advanced.legacy_availability_payload != false,
5
- device_legacy_enabled: config.device_options.legacy != false
6
- };
2
+ const checkAPIOptions = {
3
+ legacy_api_enabled: config.advanced.legacy_api != false,
4
+ legacy_availability_payload_enabled: config.advanced.legacy_availability_payload != false,
5
+ device_legacy_enabled: config.device_options.legacy != false
6
+ };
7
7
 
8
- if (Object.values(checkAPIOptions).filter(x => x == true).length > 0) {
9
- log.error('===================================================');
10
- log.error('===================================================');
11
- if (checkAPIOptions.legacy_api_enabled == true) {
12
- log.error('Legacy api is activated, so the adapter can not work correctly!!!');
13
- log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
14
- log.error('legacy_api: false');
15
- log.error('');
16
- }
17
- if (checkAPIOptions.legacy_availability_payload_enabled == true) {
18
- log.error('Legacy Availability Payload is activated, thus the adapter cannot represent the availability of the devices!!!');
19
- log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
20
- log.error('legacy_availability_payload: false');
21
- log.error('');
22
- }
23
- if (checkAPIOptions.device_legacy_enabled == true) {
24
- log.error('Device Legacy Payload is activated, therefore the adapter may process the states of the devices correctly!!!');
25
- log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
26
- log.error('device_options:');
27
- log.error(' legacy: false');
28
- }
29
- log.error('===================================================');
30
- log.error('===================================================');
31
- }
8
+ if (Object.values(checkAPIOptions).filter(x => x == true).length > 0) {
9
+ log.error('===================================================');
10
+ log.error('===================================================');
11
+ if (checkAPIOptions.legacy_api_enabled == true) {
12
+ log.error('Legacy api is activated, so the adapter can not work correctly!!!');
13
+ log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
14
+ log.error('legacy_api: false');
15
+ log.error('');
16
+ }
17
+ if (checkAPIOptions.legacy_availability_payload_enabled == true) {
18
+ log.error('Legacy Availability Payload is activated, thus the adapter cannot represent the availability of the devices!!!');
19
+ log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
20
+ log.error('legacy_availability_payload: false');
21
+ log.error('');
22
+ }
23
+ if (checkAPIOptions.device_legacy_enabled == true) {
24
+ log.error('Device Legacy Payload is activated, therefore the adapter may process the states of the devices correctly!!!');
25
+ log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
26
+ log.error('device_options:');
27
+ log.error(' legacy: false');
28
+ }
29
+ log.error('===================================================');
30
+ log.error('===================================================');
31
+ }
32
32
  }
33
33
 
34
34
  module.exports = {
35
- checkConfig: checkConfig,
35
+ checkConfig: checkConfig,
36
36
  };