node-red-contrib-knx-ultimate 4.1.23 → 4.1.25

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,15 @@
6
6
 
7
7
  # CHANGELOG
8
8
 
9
+ **Version 4.1.25** - February 2026<br/>
10
+
11
+ - FIX: **KNX Device**: periodic send (cyclic write) now also works when the value is restored from the persisted GA cache after a Node-RED restart.<br/>
12
+
13
+ **Version 4.1.24** - February 2026<br/>
14
+
15
+ - Cleanup: removed unused dependencies (`binary-parser`, `crypto-js`, `xml2js`) and the redundant `path` polyfill.<br/>
16
+ - Cleanup: removed `mkdirp` and switched to `fs.mkdirSync(..., { recursive: true })` for directory creation.<br/>
17
+
9
18
  **Version 4.1.23** - February 2026<br/>
10
19
 
11
20
  - CHANGE: **KNX Gateway config**: persisted GA cache is no longer deleted automatically when opening the editor.<br/>
@@ -882,6 +882,7 @@ module.exports = (RED) => {
882
882
  })
883
883
  // 06/05/2021 If, after the rawdata has been savad to file, the user changes the datapoint, the buildInputMessage returns payload null, because it's unable to convert the value
884
884
  if (msg.payload === null) {
885
+ _oClient._hasCurrentPayload = false
885
886
  // Delete the exposedGA
886
887
  node.exposedGAs = node.exposedGAs.filter((item) => item.ga !== _oClient.topic)
887
888
  _oClient.setNodeStatus({
@@ -895,6 +896,9 @@ module.exports = (RED) => {
895
896
  })
896
897
  node.sysLogger?.error('DoInitialReadFromKNXBusOrFile: Datapoint may have been changed, remove the value from persist file of ' + _oClient.topic + ' Devicename ' + _oClient.name + ' Currend DPT ' + _oClient.dpt + ' Node.id ' + _oClient.id)
897
898
  } else {
899
+ // Ensure optional features relying on "currentPayload" (e.g. periodic/cyclic send)
900
+ // work also when the value is restored from persist file after a Node-RED restart.
901
+ _oClient._hasCurrentPayload = true
898
902
  if (_oClient.notifyresponse) _oClient.handleSend(msg)
899
903
  }
900
904
  } else {
@@ -2,7 +2,6 @@ module.exports = function (RED) {
2
2
  function knxUltimateAlerter (config) {
3
3
  const fs = require('fs')
4
4
  const path = require('path')
5
- const mkdirp = require('mkdirp')
6
5
  // const Address = require('knxultimate')
7
6
  // const KnxConstants = require('knxultimate/protocol/KNXConstants')
8
7
 
@@ -4,7 +4,6 @@ module.exports = function (RED) {
4
4
  function knxUltimateSceneController (config) {
5
5
  const fs = require('fs')
6
6
  const path = require('path')
7
- const mkdirp = require('mkdirp')
8
7
 
9
8
  RED.nodes.createNode(this, config)
10
9
  const node = this
@@ -71,7 +70,7 @@ module.exports = function (RED) {
71
70
  // Try and create it
72
71
  try {
73
72
  try {
74
- mkdirp.sync(aPath)
73
+ fs.mkdirSync(aPath, { recursive: true })
75
74
  if (node.sysLogger !== undefined && node.sysLogger !== null) node.sysLogger.info('knxUltimate-Scene Controller: created directory path: ' + aPath)
76
75
  } catch (error) {
77
76
  if (node.sysLogger !== undefined && node.sysLogger !== null) node.sysLogger.error('knxUltimate-Scene Controller: failed to access path:: ' + aPath + ' : ' + error)
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "engines": {
4
4
  "node": ">=20.18.1"
5
5
  },
6
- "version": "4.1.23",
6
+ "version": "4.1.25",
7
7
  "description": "Control your KNX and KNX Secure intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control, ETS group address importer, and KNX routing between interfaces. Easy to use and highly configurable.",
8
8
  "files": [
9
9
  "nodes/",
@@ -16,18 +16,13 @@
16
16
  "LICENSE"
17
17
  ],
18
18
  "dependencies": {
19
- "binary-parser": "2.2.1",
20
- "crypto-js": "4.2.0",
21
19
  "dns-sync": "0.2.1",
22
20
  "js-yaml": "4.1.1",
23
21
  "knxultimate": "5.2.7",
24
22
  "lodash": "4.17.21",
25
- "mkdirp": "3.0.1",
26
23
  "node-color-log": "12.0.1",
27
- "path": "0.12.7",
28
24
  "ping": "0.4.4",
29
- "simple-get": "4.0.1",
30
- "xml2js": "0.6.0"
25
+ "simple-get": "4.0.1"
31
26
  },
32
27
  "node-red": {
33
28
  "version": ">=3.1.1",