node-red-contrib-knx-ultimate 2.4.13 → 2.4.14

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,14 +6,14 @@
6
6
 
7
7
  # CHANGELOG
8
8
 
9
- **Version 2.4.13** - April 2024<br/>
9
+ **Version 2.4.14** - April 2024<br/>
10
10
  - Warning: this version uses the Node-Red plugin system; the Node-Red version must be **equals or major than 3.1.1**<br/>
11
11
  - NEW: Home Assistant translator node: translates the HA input msg, to a KNX value. Comes with a built-in translation table, that's user editable.<br/>
12
12
  - NEW: HUE Contact Sensor node.<br/>
13
13
  - NEW: You can now get a list of all node's GA, to paste it into your KNX/IP routing table list. (See in the Gateway config window, TAB Utility.<br/>
14
14
  - Updated KNX-Ultimate device node help.<br/>
15
15
  - Minor KNX-Ultimate device node UI changes.<br/>
16
-
16
+ - Fixed an issue with the RBE Filters.<br/>
17
17
 
18
18
  **Version 2.4.9** - March 2024<br/>
19
19
  - WARNING: this version uses the Node-Red plugin system; the Node-Red version must be **equals or major than 3.1.1**<br/>
@@ -63,6 +63,25 @@
63
63
  return i == aSearchWords.length;
64
64
  }
65
65
 
66
+ // Backward compatibility
67
+ if (node.outputRBE === true) {
68
+ node.outputRBE = 'true';
69
+ $("#node-input-outputRBE").val("true")
70
+ }
71
+ if (node.outputRBE === false) {
72
+ node.outputRBE = 'false';
73
+ $("#node-input-outputRBE").val("false")
74
+ }
75
+ if (node.inputRBE === true) {
76
+ node.inputRBE = 'true';
77
+ $("#node-input-inputRBE").val("true")
78
+ }
79
+ if (node.inputRBE === false) {
80
+ node.inputRBE = 'false';
81
+ $("#node-input-inputRBE").val("false")
82
+ }
83
+
84
+
66
85
  // 15/09/2020 Supergiovane, set the help sample based on Datapoint
67
86
  function knxUltimateDptsGetHelp(_dpt, _forceClose) {
68
87
  if ($("#node-input-server").val() !== "_ADD_" && $("#node-input-server").val() !== '' && _dpt !== null && _dpt !== '') {
@@ -28,6 +28,12 @@ module.exports = function (RED) {
28
28
  node.outputtype = config.outputtype || 'write';// When the node is used as output
29
29
  node.outputRBE = config.outputRBE || 'false'; // Apply or not RBE to the output (Messages coming from flow)
30
30
  node.inputRBE = config.inputRBE || 'false'; // Apply or not RBE to the input (Messages coming from BUS)
31
+ // Backward compatibility
32
+ if (node.outputRBE === true) node.outputRBE = 'true';
33
+ if (node.outputRBE === false) node.outputRBE = 'false';
34
+ if (node.inputRBE === true) node.inputRBE = 'true';
35
+ if (node.inputRBE === false) node.inputRBE = 'false';
36
+
31
37
  node.currentPayload = ''; // Current value for the RBE input and for the .previouspayload msg
32
38
  node.icountMessageInWindow = 0; // Used to prevent looping messages
33
39
  node.messageQueue = []; // 01/01/2020 All messages from the flow to the node, will be queued and will be sent separated by 60 milliseconds each. Use uf the underlying api "minimumDelay" is not possible because the telegram order isn't mantained.
@@ -39,6 +45,8 @@ module.exports = function (RED) {
39
45
  node.timerTTLInputMessage = null; // The stored node.inputmessage has a ttl.
40
46
  node.sysLogger = require('./utils/sysLogger.js').get({ loglevel: node.server.loglevel || 'error' }); // 08/04/2021 new logger to adhere to the loglevel selected in the config-window
41
47
 
48
+
49
+
42
50
  // Used to call the status update from the config node.
43
51
  node.setNodeStatus = ({
44
52
  fill, shape, text, payload, GA, dpt, devicename,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "engines": {
4
4
  "node": ">=16.0.0"
5
5
  },
6
- "version": "2.4.13",
6
+ "version": "2.4.14",
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",