iobroker.zigbee 1.9.6 → 1.9.7
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/admin/tab_m.html +1 -1
- package/io-package.json +14 -14
- package/lib/zbDeviceConfigure.js +10 -8
- package/main.js +4 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -134,6 +134,9 @@ You can thank the authors by these links:
|
|
|
134
134
|
-----------------------------------------------------------------------------------------------------
|
|
135
135
|
|
|
136
136
|
## Changelog
|
|
137
|
+
### 1.9.7 (2024-01-05)
|
|
138
|
+
* (arteck) corr configure for some devices
|
|
139
|
+
|
|
137
140
|
### 1.9.6 (2024-01-01)
|
|
138
141
|
* (arteck) corr ikea bug
|
|
139
142
|
* (crckmc) trv child lock works
|
package/admin/tab_m.html
CHANGED
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
<li>
|
|
475
475
|
<div class="col main-toolbar-table-types-tools main-toolbar-table-filter input-field" style="line-height: 24px;">
|
|
476
476
|
<i class="material-icons prefix" style="line-height: 24px;">search</i>
|
|
477
|
-
<input id="device-search" class="filter-input translateP" placeholder="Искать"
|
|
477
|
+
<input id="device-search" class="filter-input translateP" placeholder="Искать" readonly="readonly" onfocus="if (this.hasAttribute('readonly')) {this.removeAttribute('readonly'); this.blur(); this.focus();}" data-lang-placeholder="Filter">
|
|
478
478
|
<a class="filter-clear btn-floating btn-very-small translateT red lighten-3" title="Очистить" data-lang-title="clear" style="display: none;"><i class="material-icons">clear</i></a>
|
|
479
479
|
</div>
|
|
480
480
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "zigbee",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.7",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.9.7": {
|
|
7
|
+
"en": "corr configure for some devices",
|
|
8
|
+
"de": "corr konfigurieren für einige geräte",
|
|
9
|
+
"ru": "для некоторых устройств",
|
|
10
|
+
"pt": "corr configurar para alguns dispositivos",
|
|
11
|
+
"nl": "corr instellen voor sommige apparaten",
|
|
12
|
+
"fr": "corr configure pour certains appareils",
|
|
13
|
+
"it": "corr configurare per alcuni dispositivi",
|
|
14
|
+
"es": "configuración de corr para algunos dispositivos",
|
|
15
|
+
"pl": "configure corr dla niektórych urządzeń",
|
|
16
|
+
"uk": "налаштовувати корр для деяких пристроїв",
|
|
17
|
+
"zh-cn": "一些设备的corr配置"
|
|
18
|
+
},
|
|
6
19
|
"1.9.6": {
|
|
7
20
|
"en": "corr ikea bug \ntrv child lock works",
|
|
8
21
|
"de": "corr ikea bug\nkinderschlösser funktioniert",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "kor Type Error: Cannot przeczytał właściwości nieokreślone (czytać stan)",
|
|
81
94
|
"uk": "тип кореня Помилка: Не можна прочитати властивості невизнаного (прочитаного стану)",
|
|
82
95
|
"zh-cn": "类型 Error: Cannot宣读了未界定的(国名)财产"
|
|
83
|
-
},
|
|
84
|
-
"1.9.0": {
|
|
85
|
-
"en": "up to new zhc\nupdate dependency",
|
|
86
|
-
"de": "bis zum neuen zhc\naktualisierung abhängigkeit",
|
|
87
|
-
"ru": "до нового жк\nобновление зависимости",
|
|
88
|
-
"pt": "até novo zhc\ndependência de atualização",
|
|
89
|
-
"nl": "♪\nvertaling:",
|
|
90
|
-
"fr": "jusqu'au nouveau zhc\nmettre à jour la dépendance",
|
|
91
|
-
"it": "fino a nuovo zhc\ndipendenza da aggiornamento",
|
|
92
|
-
"es": "hasta nuevo zhc\nactualización de la dependencia",
|
|
93
|
-
"pl": "do nowego żc\nzależności",
|
|
94
|
-
"uk": "до нового жк\nоновлення залежності",
|
|
95
|
-
"zh-cn": "新的忠诚\n更新"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/zbDeviceConfigure.js
CHANGED
|
@@ -112,13 +112,10 @@ class DeviceConfigure extends BaseExtension {
|
|
|
112
112
|
|
|
113
113
|
try {
|
|
114
114
|
await this.doConfigure(device, mappedDevice);
|
|
115
|
-
this.configuring.delete(device.ieeeAddr);
|
|
115
|
+
// this.configuring.delete(device.ieeeAddr);
|
|
116
116
|
} catch (error) {
|
|
117
117
|
this.sendError(error);
|
|
118
|
-
this.warn(
|
|
119
|
-
`DeviceConfigure failed ${device.ieeeAddr} ${device.modelID}, ` +
|
|
120
|
-
`attempt ${this.attempts[device.ieeeAddr] + 1} (${error.stack})`,
|
|
121
|
-
);
|
|
118
|
+
this.warn(`DeviceConfigure failed ${device.ieeeAddr} ${device.modelID} attempt ${this.attempts[device.ieeeAddr] + 1} (${error.stack})`);
|
|
122
119
|
this.attempts[device.ieeeAddr]++;
|
|
123
120
|
}
|
|
124
121
|
}
|
|
@@ -132,15 +129,20 @@ class DeviceConfigure extends BaseExtension {
|
|
|
132
129
|
const coordinatorEndpoint = await this.zigbee.getDevicesByType('Coordinator')[0].endpoints[0];
|
|
133
130
|
try {
|
|
134
131
|
if (mappedDevice) {
|
|
135
|
-
this.info(
|
|
132
|
+
this.info(`-> Configuring ${device.ieeeAddr} ${device.modelID}`);
|
|
136
133
|
await mappedDevice.configure(device, coordinatorEndpoint, this);
|
|
137
134
|
device.meta.configured = zigbeeHerdsmanConverters.getConfigureKey(mappedDevice);
|
|
138
135
|
device.save();
|
|
139
136
|
this.info(`DeviceConfigure successful ${device.ieeeAddr} ${device.modelID}`);
|
|
140
137
|
}
|
|
141
138
|
} catch (error) {
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/14857
|
|
140
|
+
if (error.stack.includes('UNSUPPORTED_ATTRIBUTE')) {
|
|
141
|
+
// do nothing
|
|
142
|
+
} else {
|
|
143
|
+
this.sendError(error);
|
|
144
|
+
this.error(`Failed to DeviceConfigure.configure ${device.ieeeAddr} ${device.modelID} (${error.stack})`);
|
|
145
|
+
}
|
|
144
146
|
}
|
|
145
147
|
}
|
|
146
148
|
}
|
package/main.js
CHANGED
|
@@ -555,7 +555,10 @@ class Zigbee extends utils.Adapter {
|
|
|
555
555
|
|
|
556
556
|
this.processConverters(converters, devId, model, mappedModel, message, meta)
|
|
557
557
|
.catch((error) => {
|
|
558
|
-
|
|
558
|
+
// 'Error: Expected one of: 0, 1, got: 'undefined''
|
|
559
|
+
if (cluster !== '64529') {
|
|
560
|
+
this.log.error(`Error while processing converters DEVICE_ID: '${devId}' cluster '${cluster}' type '${type}'`);
|
|
561
|
+
}
|
|
559
562
|
});
|
|
560
563
|
}
|
|
561
564
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.zigbee",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.7",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Kirov Ilya",
|
|
6
6
|
"email": "kirovilya@gmail.com"
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@iobroker/adapter-core": "^3.0.4",
|
|
25
|
-
"@iobroker/dm-utils": "^0.1.
|
|
25
|
+
"@iobroker/dm-utils": "^0.1.9",
|
|
26
26
|
"humanize-duration": "^3.31.0",
|
|
27
27
|
"tar": "^6.2.0",
|
|
28
28
|
"typescript": "^5.3.3",
|
|
29
|
-
"zigbee-herdsman": "0.
|
|
29
|
+
"zigbee-herdsman": "0.30.0",
|
|
30
30
|
"zigbee-herdsman-converters": "16.18.0"
|
|
31
31
|
},
|
|
32
32
|
"description": "Zigbee devices",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
|
|
38
38
|
"@iobroker/testing": "^4.1.0",
|
|
39
39
|
"axios": "^1.6.3",
|
|
40
|
-
"chai": "^4.3.
|
|
40
|
+
"chai": "^4.3.5",
|
|
41
41
|
"chai-as-promised": "^7.1.1",
|
|
42
42
|
"eslint": "^8.52.0",
|
|
43
43
|
"eslint-config-prettier": "^9.1.0",
|