node-red-contrib-knx-ultimate 3.3.36 → 3.3.37

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/CHANGELOG.md CHANGED
@@ -6,6 +6,9 @@
6
6
 
7
7
  # CHANGELOG
8
8
 
9
+ **Version 3.3.37** - May 2025<br/>
10
+ - FIX: fixed an issue preventing the nodes from loading the presistent data from file, after node-red restarting or gateway reconnection.<br/>
11
+
9
12
  **Version 3.3.36** - April 2025<br/>
10
13
  - Node.js must be >=20.18.1 to allow installation of KNX Ultimate.<br/>
11
14
 
@@ -278,9 +278,8 @@ module.exports = (RED) => {
278
278
  function DoInitialReadFromKNXBusOrFile() {
279
279
  if (node.linkStatus !== "connected") return; // 29/08/2019 If not connected, exit
280
280
  loadExposedGAs(); // 04/04/2021 load the current values of GA payload
281
- try {
282
- node.sysLogger?.info("Loaded saved GA values", node.exposedGAs.length);
283
- } catch (error) { }
281
+
282
+ node.sysLogger?.info("Loaded saved GA values", node.exposedGAs?.length);
284
283
  node.sysLogger?.info("Do DoInitialReadFromKNXBusOrFile");
285
284
  try {
286
285
  const readHistory = [];
@@ -311,7 +310,7 @@ module.exports = (RED) => {
311
310
  _devicename: _oClient.name ? _oClient.name : "",
312
311
  _outputtopic: _oClient.outputtopic,
313
312
  _oNode: _oClient,
314
- _echoed: _echoed
313
+ _echoed: false
315
314
  });
316
315
  _oClient.previouspayload = ""; // 05/04/2021 Added previous payload
317
316
  _oClient.currentPayload = msg.payload;
@@ -367,7 +366,9 @@ module.exports = (RED) => {
367
366
  }
368
367
  }
369
368
  }
370
- } catch (error) { }
369
+ } catch (error) {
370
+ node.sysLogger?.error("DoInitialReadFromKNXBusOrFile: " + error.stack);
371
+ }
371
372
  }
372
373
  });
373
374
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "engines": {
4
4
  "node": ">=20.18.1"
5
5
  },
6
- "version": "3.3.36",
6
+ "version": "3.3.37",
7
7
  "description": "Control your KNX intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer. Easy to use and highly configurable.",
8
8
  "dependencies": {
9
9
  "binary-parser": "2.2.1",