iobroker.zwavews 0.1.1 → 0.1.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 CHANGED
@@ -35,6 +35,9 @@ Activate WS Server Settings in `zwave-js-ui` we use the Home Assistant Settings
35
35
 
36
36
 
37
37
  ## Changelog
38
+ ### 0.1.2 (2026-03-15)
39
+ * (arteck) typo
40
+
38
41
  ### 0.1.1 (2026-03-15)
39
42
  * (arteck) add debug information
40
43
 
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "zwavews",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "news": {
6
+ "0.1.2": {
7
+ "en": "typo",
8
+ "de": "typo",
9
+ "ru": "опечатка",
10
+ "pt": "erro de digitação",
11
+ "nl": "type",
12
+ "fr": "typo",
13
+ "it": "tipo",
14
+ "es": "typo",
15
+ "pl": "typo",
16
+ "uk": "типи",
17
+ "zh-cn": "类型"
18
+ },
6
19
  "0.1.1": {
7
20
  "en": "add debug information",
8
21
  "de": "debug information",
@@ -80,19 +93,6 @@
80
93
  "pl": "typo\nustaw stan gotowy, jeśli stan jest martwy",
81
94
  "uk": "типи\nвиправити готовий статус, якщо статус мертвий",
82
95
  "zh-cn": "类型\n如果状态已死亡, 则固定状态"
83
- },
84
- "0.0.14": {
85
- "en": "add event ready",
86
- "de": "event bereit hinzufügen",
87
- "ru": "добавить событие готово",
88
- "pt": "adicionar o evento pronto",
89
- "nl": "evenement klaar toevoegen",
90
- "fr": "ajouter l'événement prêt",
91
- "it": "aggiungere evento pronto",
92
- "es": "agregar evento listo",
93
- "pl": "dodaj zdarzenie gotowe",
94
- "uk": "додати захід готовий",
95
- "zh-cn": "添加已准备的事件"
96
96
  }
97
97
  },
98
98
  "titleLang": {
package/main.js CHANGED
@@ -15,8 +15,6 @@ const MqttServerController = require("./lib/mqttServerController").MqttServerCon
15
15
 
16
16
  let mqttClient;
17
17
  let deviceCache = {};
18
- const logCustomizations = { debugDevices: "", logfilter: [] };
19
-
20
18
  let websocketController;
21
19
  let mqttServerController;
22
20
  let statesController;
@@ -54,11 +52,6 @@ class zwavews extends core.Adapter {
54
52
 
55
53
  helper = new Helper(this, deviceCache);
56
54
 
57
- const debugDevicesState = await this.getStateAsync("info.debugId");
58
- if (debugDevicesState && debugDevicesState.val) {
59
- logCustomizations.debugDevices = String(debugDevicesState.val.toLowerCase());
60
- }
61
-
62
55
  this.deviceManagement = new dmZwave(this);
63
56
 
64
57
  if (this.config.wsOnStart) {
@@ -186,9 +179,6 @@ class zwavews extends core.Adapter {
186
179
  const messageObj = JSON.parse(message);
187
180
 
188
181
  const debugDevicesState = await this.getStateAsync("info.debugId");
189
- if (debugDevicesState && debugDevicesState.val) {
190
- logCustomizations.debugDevices = String(debugDevicesState.val.toLowerCase());
191
- }
192
182
 
193
183
  this.log.debug(`--->>> fromZ2W_RAW1 -> ${JSON.stringify(messageObj)}`);
194
184
 
@@ -219,7 +209,7 @@ class zwavews extends core.Adapter {
219
209
  for (const nodeData of allNodes) {
220
210
  const nodeId = utils.formatNodeId(nodeData.nodeId);
221
211
 
222
- if (logCustomizations.debugDevices.includes(nodeId.toLowerCase())) {
212
+ if (debugDevicesState && debugDevicesState.val.includes(nodeId)) {
223
213
  this.log.warn(`--->>> fromZ2W_RAW2-> ${JSON.stringify(nodeData)}` );
224
214
  }
225
215
 
@@ -253,7 +243,7 @@ class zwavews extends core.Adapter {
253
243
  const nodeArg = eventTyp.args;
254
244
  const nodeId = utils.formatNodeId(eventTyp.nodeId);
255
245
 
256
- if (logCustomizations.debugDevices.includes(nodeId.toLowerCase())) {
246
+ if (debugDevicesState && debugDevicesState.val.includes(nodeId)) {
257
247
  this.log.warn(`--->>> fromZ2W_RAW2-> ${JSON.stringify(eventTyp)}` );
258
248
  }
259
249
 
@@ -430,7 +420,6 @@ class zwavews extends core.Adapter {
430
420
 
431
421
  if (state && state.ack == false) {
432
422
  if (id.endsWith("info.debugId")) {
433
- logCustomizations.debugDevices = state.val.toLowerCase();
434
423
  this.setStateChanged(id, state.val, true);
435
424
  return;
436
425
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.zwavews",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "zwavews adapter for ioBroker",
5
5
  "author": {
6
6
  "name": "Dennis Rathjen and Arthur Rupp",