iobroker.zigbee2mqtt 3.0.1 → 3.0.2
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 -14
- package/lib/deviceController.js +3 -5
- package/lib/websocketController.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -22,6 +22,9 @@ This adapter allows to control the data points of the devices of a Zigbee2MQTT i
|
|
|
22
22
|
[Adapter Documentation](https://github.com/arteck/ioBroker.zigbee2mqtt/blob/main/docs/wiki.md)
|
|
23
23
|
|
|
24
24
|
## Changelog
|
|
25
|
+
### 3.0.2 (2025-01-06)
|
|
26
|
+
- (simateck) corr WebSocket connection
|
|
27
|
+
|
|
25
28
|
### 3.0.1 (2025-01-04)
|
|
26
29
|
- (arteck) corr icon download
|
|
27
30
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "zigbee2mqtt",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.2",
|
|
5
5
|
"news": {
|
|
6
|
+
"3.0.2": {
|
|
7
|
+
"en": "corr WebSocket connection",
|
|
8
|
+
"de": "korr WebSocket Verbindung",
|
|
9
|
+
"ru": "гофровое соединение WebSocket",
|
|
10
|
+
"pt": "conexão da WebSocket",
|
|
11
|
+
"nl": "corr WebSocket-verbinding",
|
|
12
|
+
"fr": "corr Connexion WebSocket",
|
|
13
|
+
"it": "collegamento corr WebSocket",
|
|
14
|
+
"es": "corr WebSocket connection",
|
|
15
|
+
"pl": "połączenie corr WebSocket",
|
|
16
|
+
"uk": "корр WebSocket підключення",
|
|
17
|
+
"zh-cn": "corr WebSocket 连接"
|
|
18
|
+
},
|
|
6
19
|
"3.0.1": {
|
|
7
20
|
"en": "corr icon download",
|
|
8
21
|
"de": "corr icon herunterladen",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "naprawić ścieżkę ikon",
|
|
81
94
|
"uk": "фіксувати шлях іконки",
|
|
82
95
|
"zh-cn": "修补图标路径"
|
|
83
|
-
},
|
|
84
|
-
"2.13.7": {
|
|
85
|
-
"en": "core dependecy\nupdate dependecy\nEnable occupancy to be always updated if true",
|
|
86
|
-
"de": "kernabhängigkeit\naktualisierung abhängigkeit\nErmöglichen Sie die Belegung immer aktualisieren, wenn zutreffend",
|
|
87
|
-
"ru": "основополагающая зависимость\nобновление\nВозможность всегда обновляться, если это правда",
|
|
88
|
-
"pt": "dependência do núcleo\natualização\nPermite que a ocupação seja sempre atualizada se for verdade",
|
|
89
|
-
"nl": "core afhankelijkheid\nafhankelijkheid bijwerken\nDe bezetting wordt altijd bijgewerkt indien deze waar is",
|
|
90
|
-
"fr": "dépendance du noyau\nmettre à jour la dépendance\nActiver l'occupation pour être toujours mis à jour si vrai",
|
|
91
|
-
"it": "core dipendenza\naggiornamento dipendenza\nAbilitare l'occupazione di essere sempre aggiornato se vero",
|
|
92
|
-
"es": "dependencia básica\ndependencia de actualización\nActivar ocupación para ser siempre actualizada si es verdad",
|
|
93
|
-
"pl": "zasadnicza zależność\naktualizacja zależności\nWłącz zawsze aktualizację obłożenia, jeśli jest prawdziwe",
|
|
94
|
-
"uk": "сердечник\nоновлення залежності\nУвімкнути можливість постійно оновлюватися, якщо правда",
|
|
95
|
-
"zh-cn": "核心依赖性\n更新依赖性\n启用若为真则总是更新占用"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"messages": [
|
package/lib/deviceController.js
CHANGED
|
@@ -251,11 +251,9 @@ class DeviceController {
|
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
if (
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
this.createCache[device.ieee_address].description != description
|
|
258
|
-
) {
|
|
254
|
+
if (!this.createCache[device.ieee_address] ||
|
|
255
|
+
this.createCache[device.ieee_address].name != deviceName ||
|
|
256
|
+
this.createCache[device.ieee_address].description != description) {
|
|
259
257
|
const deviceObj = {
|
|
260
258
|
type: 'device',
|
|
261
259
|
common: {
|
|
@@ -19,7 +19,7 @@ class WebsocketController {
|
|
|
19
19
|
wsURL += `?token=${this.adapter.config.wsToken}`;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
wsClient = new WebSocket(wsURL, { rejectUnauthorized: false });
|
|
23
23
|
|
|
24
24
|
wsClient.on('open', () => {
|
|
25
25
|
// Send ping to server
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.zigbee2mqtt",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Zigbee2MQTT adapter for ioBroker",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Dennis Rathjen and Arthur Rupp",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@iobroker/adapter-core": "^3.2.3",
|
|
28
|
-
"@iobroker/dm-utils": "^0.6.
|
|
28
|
+
"@iobroker/dm-utils": "^0.6.11",
|
|
29
29
|
"aedes": "^0.51.3",
|
|
30
30
|
"aedes-persistence-nedb": "^2.0.3",
|
|
31
31
|
"mqtt": "^5.10.3",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
41
41
|
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
|
|
42
42
|
"@iobroker/adapter-dev": "^1.3.0",
|
|
43
|
-
"@iobroker/testing": "^
|
|
43
|
+
"@iobroker/testing": "^5.0.0",
|
|
44
44
|
"@tsconfig/node14": "^14.1.2",
|
|
45
45
|
"@types/chai": "^4.3.5",
|
|
46
46
|
"@types/chai-as-promised": "^8.0.1",
|
|
47
|
-
"@types/mocha": "^10.0.
|
|
47
|
+
"@types/mocha": "^10.0.10",
|
|
48
48
|
"@types/node": "^22.10.3",
|
|
49
49
|
"@types/node-schedule": "^2.1.7",
|
|
50
50
|
"@types/proxyquire": "^1.3.31",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@types/sinon-chai": "^3.2.12",
|
|
53
53
|
"chai": "^4.4.1",
|
|
54
54
|
"chai-as-promised": "^8.0.1",
|
|
55
|
-
"eslint": "^9.
|
|
55
|
+
"eslint": "^9.17.0",
|
|
56
56
|
"eslint-config-prettier": "^9.1.0",
|
|
57
57
|
"eslint-plugin-prettier": "^5.2.1",
|
|
58
58
|
"mocha": "^11.0.1",
|