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 +3 -0
- package/io-package.json +14 -5
- package/main.js +14 -11
- package/package.json +1 -1
package/README.md
CHANGED
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "zigbee",
|
|
4
|
-
"version": "1.8.
|
|
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
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
if (
|
|
561
|
-
|
|
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
|
|