iobroker.zigbee 1.8.19 → 1.8.20

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
@@ -138,6 +138,9 @@ You can thank the authors by these links:
138
138
 
139
139
 
140
140
  ## Changelog
141
+ ### 1.8.20 (2023-07-31)
142
+ * (arteck) add log
143
+
141
144
  ### 1.8.19 (2023-07-31)
142
145
  * (arteck) fix occupancy_timeout
143
146
  * (arteck) fix battery percentage and voltage
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "zigbee",
4
- "version": "1.8.19",
4
+ "version": "1.8.20",
5
5
  "news": {
6
+ "1.8.20": {
7
+ "en": "add log",
8
+ "de": "log",
9
+ "ru": "добавить лог",
10
+ "pt": "adicionar log",
11
+ "nl": "voeg logboek toe",
12
+ "fr": "ajouter log",
13
+ "it": "aggiungi log",
14
+ "es": "añadir registro",
15
+ "pl": "dodać",
16
+ "uk": "увійти",
17
+ "zh-cn": "增 编"
18
+ },
6
19
  "1.8.19": {
7
20
  "en": "fix occupancy_timeout\nfix battery percentage and voltage",
8
21
  "de": "fix occupation_timeout\nbatterieanteil und spannung fixieren",
@@ -62,10 +75,6 @@
62
75
  "1.8.12": {
63
76
  "en": "new Documentation",
64
77
  "de": "neue Dokumentation"
65
- },
66
- "1.8.11": {
67
- "en": "fix exposes with composite list",
68
- "de": "fix exposes with composite list"
69
78
  }
70
79
  },
71
80
  "title": "Zigbee",
package/main.js CHANGED
@@ -538,8 +538,7 @@ class Zigbee extends utils.Adapter {
538
538
 
539
539
  if (!converters.length) {
540
540
  if (type !== 'readResponse') {
541
- this.log.debug(`No converter available for '${mappedModel.model}' '${devId}' with cluster '${cluster}' and type '${type}'`
542
- );
541
+ this.log.debug(`No converter available for '${mappedModel.model}' '${devId}' with cluster '${cluster}' and type '${type}'`);
543
542
  }
544
543
  return;
545
544
  }
@@ -552,16 +551,20 @@ class Zigbee extends utils.Adapter {
552
551
  }
553
552
  };
554
553
 
555
- for (const converter of converters) {
556
- this.stController.collectOptions(devId, model, (options) => {
557
- payload = converter.convert(mappedModel, message, publish, options, meta);
558
-
559
- if (payload) {
560
- if (Object.keys(payload).length) {
561
- publish(payload);
554
+ try {
555
+ for (const converter of converters) {
556
+ this.stController.collectOptions(devId, model, (options) => {
557
+ payload = converter.convert(mappedModel, message, publish, options, meta);
558
+
559
+ if (payload) {
560
+ if (Object.keys(payload).length) {
561
+ publish(payload);
562
+ }
562
563
  }
563
- }
564
- });
564
+ });
565
+ }
566
+ } catch (err) {
567
+ this.log.error(`convert problem with '${model}' '${devId}' `);
565
568
  }
566
569
  }
567
570
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.zigbee",
3
- "version": "1.8.19",
3
+ "version": "1.8.20",
4
4
  "author": {
5
5
  "name": "Kirov Ilya",
6
6
  "email": "kirovilya@gmail.com"