node-red-contrib-knx-ultimate 7.0.0 → 7.0.1

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,11 @@
6
6
 
7
7
  # CHANGELOG
8
8
 
9
+ **Version 7.0.1** - September 2026<br/>
10
+
11
+ KNX Device: fixed a wrong status text, when the node receives a READ request and responds with the last payload received.</br>
12
+ KNX Device: the input msg now supports **msg.event = "GroupValue_Read"** as an additional method besides msg.readstatus = true, to issue a READ command to the bus.</br>
13
+
9
14
  **Version 7.0.0** - September 2026<br/>
10
15
 
11
16
  - **Major release — focused KNX package**: KNX Ultimate 7 starts the new package boundary. Conversational AI, supervised home learning, shared memory and multi-platform chat now belong to the standalone `node-red-contrib-cerebrum-ultimate`; this package remains the optional KNX/ETS integration. Existing deployed flows that contain the hidden legacy runtime types continue to load, but new instances can no longer be added from the palette.<br/>
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  KNX Ultimate is the most advanced KNX integration for Node-RED, providing secure KNX/IP communication, routing, ETS project import, Philips Hue, Matter Controller and Matter Bridge (control matter device via KNX and expose KNX GA via Matter), MQTT, diagnostics, virtual devices, and powerful automation nodes. Build professional, reliable, and scalable smart home and building automation projects with minimal effort.
10
10
 
11
- ## Cerebrum Ultimate
11
+
12
12
 
13
13
  The former bundled AI assistant has moved to the standalone [Cerebrum Ultimate](https://github.com/Supergiovane/node-red-contrib-cerebrum-ultimate) package. Cerebrum Ultimate now provides the conversational, learning and supervised home-intelligence features, while using KNX Ultimate as an optional compatible integration. Hidden legacy runtime types remain in this package only so existing Node-RED flows continue to load; new installations should add the Cerebrum node from the standalone package.
14
14
 
@@ -1529,9 +1529,9 @@ module.exports = (RED) => {
1529
1529
  }
1530
1530
  _input.handleSend(msg)
1531
1531
  } else if (_input.hasOwnProperty('isSceneController')) { // 19/03/2020 in the middle of coronavirus. Whole italy is red zone, closed down. Scene Controller implementation
1532
- // 12/08/2020 Check wether is a learn (save) command or a activate (play) command.
1532
+ // 12/08/2020 Check wether is a learn (save) command or a activate (play) command.
1533
1533
  if (_dest === _input.topic || _dest === _input.topicSave) {
1534
- // Prepare the two messages to be evaluated directly into the Scene Controller node.
1534
+ // Prepare the two messages to be evaluated directly into the Scene Controller node.
1535
1535
  new Promise((resolve) => {
1536
1536
  if (_dest === _input.topic) {
1537
1537
  try {
@@ -1568,16 +1568,16 @@ module.exports = (RED) => {
1568
1568
  } catch (error) { }
1569
1569
  }
1570
1570
  resolve(true) // fulfilled
1571
- // reject("error"); // rejected
1571
+ // reject("error"); // rejected
1572
1572
  })
1573
1573
  .then(function () { })
1574
1574
  .catch(function () { })
1575
1575
  } else {
1576
- // 19/03/2020 Check and Update value if the input is part of a scene controller
1576
+ // 19/03/2020 Check and Update value if the input is part of a scene controller
1577
1577
  new Promise((resolve) => {
1578
- // Check and update the values of each device in the scene and update the rule array accordingly.
1578
+ // Check and update the values of each device in the scene and update the rule array accordingly.
1579
1579
  for (let i = 0; i < _input.rules.length; i++) {
1580
- // rule is { topic: rowRuleTopic, devicename: rowRuleDeviceName, dpt:rowRuleDPT, send: rowRuleSend}
1580
+ // rule is { topic: rowRuleTopic, devicename: rowRuleDeviceName, dpt:rowRuleDPT, send: rowRuleSend}
1581
1581
  const oDevice = _input.rules[i]
1582
1582
  if (typeof oDevice !== 'undefined' && oDevice.topic == _dest) {
1583
1583
  const msg = buildInputMessage({
@@ -1606,23 +1606,23 @@ module.exports = (RED) => {
1606
1606
  }
1607
1607
  }
1608
1608
  resolve(true) // fulfilled
1609
- // reject("error"); // rejected
1609
+ // reject("error"); // rejected
1610
1610
  })
1611
1611
  .then(function () { })
1612
1612
  .catch(function () { })
1613
1613
  }
1614
1614
  } else if (_input.hasOwnProperty('isLogger')) {
1615
- // 26/03/2020 Coronavirus is slightly decreasing the affected numer of people. Logger Node
1616
- // 24/03/2021 Logger Node, i'll pass cemiETS
1615
+ // 26/03/2020 Coronavirus is slightly decreasing the affected numer of people. Logger Node
1616
+ // 24/03/2021 Logger Node, i'll pass cemiETS
1617
1617
  if (_cemiETS !== undefined) {
1618
- // new Promise((resolve, reject) => {
1618
+ // new Promise((resolve, reject) => {
1619
1619
  _input.handleSend(_cemiETS)
1620
- // resolve(true); // fulfilled
1621
- // reject("error"); // rejected
1622
- // }).then(function () { }).catch(function () { });
1620
+ // resolve(true); // fulfilled
1621
+ // reject("error"); // rejected
1622
+ // }).then(function () { }).catch(function () { });
1623
1623
  }
1624
1624
  } else if (_input.listenallga === true && universalNodeAcceptsGA(_input, _dest)) {
1625
- // 25/10/2019 TRY TO AUTO DECODE IF Group address not found in the CSV
1625
+ // 25/10/2019 TRY TO AUTO DECODE IF Group address not found in the CSV
1626
1626
  const msg = buildInputMessage({
1627
1627
  _srcGA: _src,
1628
1628
  _destGA: _dest,
@@ -1645,8 +1645,8 @@ module.exports = (RED) => {
1645
1645
  _input.handleSend(msg)
1646
1646
  } else if (_input.topic == _dest) {
1647
1647
  if (_input.hasOwnProperty('isWatchDog')) {
1648
- // 04/02/2020 Watchdog implementation
1649
- // Is a watchdog node
1648
+ // 04/02/2020 Watchdog implementation
1649
+ // Is a watchdog node
1650
1650
  } else {
1651
1651
  const msg = buildInputMessage({
1652
1652
  _srcGA: _src,
@@ -1721,14 +1721,14 @@ module.exports = (RED) => {
1721
1721
  _input.handleSend(msg)
1722
1722
  } else
1723
1723
  if (_input.hasOwnProperty('isLogger')) {
1724
- // 26/03/2020 Coronavirus is slightly decreasing the affected numer of people. Logger Node
1725
- // 24/03/2021 Logger Node, i'll pass cemiETS
1724
+ // 26/03/2020 Coronavirus is slightly decreasing the affected numer of people. Logger Node
1725
+ // 24/03/2021 Logger Node, i'll pass cemiETS
1726
1726
  if (_cemiETS !== undefined) {
1727
- // new Promise((resolve, reject) => {
1727
+ // new Promise((resolve, reject) => {
1728
1728
  _input.handleSend(_cemiETS)
1729
- // resolve(true); // fulfilled
1730
- // reject("error"); // rejected
1731
- // }).then(function () { }).catch(function () { });
1729
+ // resolve(true); // fulfilled
1730
+ // reject("error"); // rejected
1731
+ // }).then(function () { }).catch(function () { });
1732
1732
  }
1733
1733
  } else if (_input.listenallga === true && universalNodeAcceptsGA(_input, _dest)) {
1734
1734
  const msg = buildInputMessage({
@@ -1752,9 +1752,9 @@ module.exports = (RED) => {
1752
1752
  })
1753
1753
  _input.handleSend(msg)
1754
1754
  } else if (_input.topic === _dest) {
1755
- // 04/02/2020 Watchdog implementation
1755
+ // 04/02/2020 Watchdog implementation
1756
1756
  if (_input.hasOwnProperty('isWatchDog')) {
1757
- // Is a watchdog node
1757
+ // Is a watchdog node
1758
1758
  _input.watchDogTimerReset()
1759
1759
  } else {
1760
1760
  const msg = buildInputMessage({
@@ -1827,18 +1827,18 @@ module.exports = (RED) => {
1827
1827
  _input.handleSend(msg)
1828
1828
  } else
1829
1829
  if (_input.hasOwnProperty('isLogger')) {
1830
- // 26/03/2020 Coronavirus is slightly decreasing the affected numer of people. Logger Node
1831
- // node.sysLogger?.info("BANANA isLogger", _evt, _src, _dest, _rawValue, _cemiETS);
1832
- // 24/03/2021 Logger Node, i'll pass cemiETS
1830
+ // 26/03/2020 Coronavirus is slightly decreasing the affected numer of people. Logger Node
1831
+ // node.sysLogger?.info("BANANA isLogger", _evt, _src, _dest, _rawValue, _cemiETS);
1832
+ // 24/03/2021 Logger Node, i'll pass cemiETS
1833
1833
  if (_cemiETS !== undefined) {
1834
- // new Promise((resolve, reject) => {
1834
+ // new Promise((resolve, reject) => {
1835
1835
  _input.handleSend(_cemiETS)
1836
- // resolve(true); // fulfilled
1837
- // reject("error"); // rejected
1838
- // }).then(function () { }).catch(function () { });
1836
+ // resolve(true); // fulfilled
1837
+ // reject("error"); // rejected
1838
+ // }).then(function () { }).catch(function () { });
1839
1839
  }
1840
1840
  } else if (_input.listenallga === true && universalNodeAcceptsGA(_input, _dest)) {
1841
- // Read Request
1841
+ // Read Request
1842
1842
  const msg = buildInputMessage({
1843
1843
  _srcGA: _src,
1844
1844
  _destGA: _dest,
@@ -1860,11 +1860,11 @@ module.exports = (RED) => {
1860
1860
  })
1861
1861
  _input.handleSend(msg)
1862
1862
  } else if (_input.topic === _dest) {
1863
- // 04/02/2020 Watchdog implementation
1863
+ // 04/02/2020 Watchdog implementation
1864
1864
  if (_input.hasOwnProperty('isWatchDog')) {
1865
- // Is a watchdog node
1865
+ // Is a watchdog node
1866
1866
  } else {
1867
- // Read Request
1867
+ // Read Request
1868
1868
  const msg = buildInputMessage({
1869
1869
  _srcGA: _src,
1870
1870
  _destGA: _dest,
@@ -1881,7 +1881,7 @@ module.exports = (RED) => {
1881
1881
  // 24/09/2019 Autorespond to BUS
1882
1882
  if (_input.hasOwnProperty('notifyreadrequestalsorespondtobus') && _input.notifyreadrequestalsorespondtobus === true) {
1883
1883
  if (typeof _input.currentPayload === 'undefined' || _input.currentPayload === '' || _input.currentPayload === null) {
1884
- // 14/08/2021 Added || input.currentPayload === null
1884
+ // 14/08/2021 Added || input.currentPayload === null
1885
1885
  node.sendKNXTelegramToKNXEngine({
1886
1886
  grpaddr: _dest,
1887
1887
  payload: _input.notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized,
@@ -1909,8 +1909,8 @@ module.exports = (RED) => {
1909
1909
  _input.setNodeStatus({
1910
1910
  fill: 'blue',
1911
1911
  shape: 'ring',
1912
- text: 'Read & Autorespond with default',
1913
- payload: _input.notifyreadrequestalsorespondtobusdefaultvalueifnotinitialized,
1912
+ text: 'Read & Autorespond',
1913
+ payload: _input.currentPayload,
1914
1914
  GA: _input.topic,
1915
1915
  dpt: msg.knx.dpt,
1916
1916
  devicename: ''
@@ -756,7 +756,7 @@ module.exports = function (RED) {
756
756
  // #endregion
757
757
 
758
758
  // 25/07/2019 if payload is read or the Telegram type is set to "read", do a read, otherwise, write to the bus
759
- if ((msg.hasOwnProperty('readstatus') && msg.readstatus === true) || node.outputtype === 'read') {
759
+ if ((msg.hasOwnProperty('readstatus') && msg.readstatus === true) || node.outputtype === 'read' || (msg.hasOwnProperty('event') && msg.event === 'GroupValue_Read')) {
760
760
  // READ: Send a Read request to the bus
761
761
  let grpaddr = ''
762
762
  if (node.listenallga == false) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "engines": {
4
4
  "node": ">=20.18.1"
5
5
  },
6
- "version": "7.0.0",
6
+ "version": "7.0.1",
7
7
  "description": "KNX Ultimate is the most advanced KNX integration for Node-RED, providing secure KNX/IP communication, routing, ETS project import, Philips Hue, Matter Controller and Matter Bridge (control matter device via KNX and expose KNX GA via Matter), MQTT and Modbus adapters, diagnostics with AI, virtual devices, and powerful automation nodes. Build professional, reliable, and scalable smart home and building automation projects with minimal effort.",
8
8
  "files": [
9
9
  "nodes/",
@@ -152,4 +152,4 @@
152
152
  "vite": "^7.3.6",
153
153
  "vue": "^3.5.41"
154
154
  }
155
- }
155
+ }