iobroker.zigbee 1.8.19 → 1.8.21
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 +6 -0
- package/io-package.json +27 -9
- package/main.js +10 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -138,6 +138,12 @@ You can thank the authors by these links:
|
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
## Changelog
|
|
141
|
+
### 1.8.21 (2023-07-31)
|
|
142
|
+
* (arteck) no converter found
|
|
143
|
+
|
|
144
|
+
### 1.8.20 (2023-07-31)
|
|
145
|
+
* (arteck) add log
|
|
146
|
+
|
|
141
147
|
### 1.8.19 (2023-07-31)
|
|
142
148
|
* (arteck) fix occupancy_timeout
|
|
143
149
|
* (arteck) fix battery percentage and voltage
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "zigbee",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.21",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.8.21": {
|
|
7
|
+
"en": "no converter found",
|
|
8
|
+
"de": "kein konverter gefunden",
|
|
9
|
+
"ru": "не найдено конвертер",
|
|
10
|
+
"pt": "não encontrado",
|
|
11
|
+
"nl": "geen converter gevonden",
|
|
12
|
+
"fr": "aucun convertisseur trouvé",
|
|
13
|
+
"it": "nessun convertitore trovato",
|
|
14
|
+
"es": "no convertidor encontrado",
|
|
15
|
+
"pl": "nie znaleziono konwerterów",
|
|
16
|
+
"uk": "не знайдено",
|
|
17
|
+
"zh-cn": "未找到转换器"
|
|
18
|
+
},
|
|
19
|
+
"1.8.20": {
|
|
20
|
+
"en": "add log",
|
|
21
|
+
"de": "log",
|
|
22
|
+
"ru": "добавить лог",
|
|
23
|
+
"pt": "adicionar log",
|
|
24
|
+
"nl": "voeg logboek toe",
|
|
25
|
+
"fr": "ajouter log",
|
|
26
|
+
"it": "aggiungi log",
|
|
27
|
+
"es": "añadir registro",
|
|
28
|
+
"pl": "dodać",
|
|
29
|
+
"uk": "увійти",
|
|
30
|
+
"zh-cn": "增 编"
|
|
31
|
+
},
|
|
6
32
|
"1.8.19": {
|
|
7
33
|
"en": "fix occupancy_timeout\nfix battery percentage and voltage",
|
|
8
34
|
"de": "fix occupation_timeout\nbatterieanteil und spannung fixieren",
|
|
@@ -58,14 +84,6 @@
|
|
|
58
84
|
"1.8.13": {
|
|
59
85
|
"en": "see Readme https://github.com/ioBroker/ioBroker.zigbee/blob/master/README.md",
|
|
60
86
|
"de": "see Readme https://github.com/ioBroker/ioBroker.zigbee/blob/master/README.md"
|
|
61
|
-
},
|
|
62
|
-
"1.8.12": {
|
|
63
|
-
"en": "new Documentation",
|
|
64
|
-
"de": "neue Dokumentation"
|
|
65
|
-
},
|
|
66
|
-
"1.8.11": {
|
|
67
|
-
"en": "fix exposes with composite list",
|
|
68
|
-
"de": "fix exposes with composite list"
|
|
69
87
|
}
|
|
70
88
|
},
|
|
71
89
|
"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
|
}
|
|
@@ -554,12 +553,16 @@ class Zigbee extends utils.Adapter {
|
|
|
554
553
|
|
|
555
554
|
for (const converter of converters) {
|
|
556
555
|
this.stController.collectOptions(devId, model, (options) => {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
if (
|
|
561
|
-
|
|
556
|
+
try {
|
|
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
|
}
|
|
564
|
+
} catch (err) {
|
|
565
|
+
this.log.warn(`convert problem with '${model}' '${devId}' `);
|
|
563
566
|
}
|
|
564
567
|
});
|
|
565
568
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.zigbee",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.21",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Kirov Ilya",
|
|
6
6
|
"email": "kirovilya@gmail.com"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"tar": "^6.1.15",
|
|
26
26
|
"typescript": "^5.1.6",
|
|
27
27
|
"zigbee-herdsman": "0.17.2",
|
|
28
|
-
"zigbee-herdsman-converters": "15.
|
|
28
|
+
"zigbee-herdsman-converters": "15.50.0"
|
|
29
29
|
},
|
|
30
30
|
"description": "Zigbee devices",
|
|
31
31
|
"devDependencies": {
|