node-red-contrib-knx-ultimate 1.3.43 → 1.3.44

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,10 @@
6
6
 
7
7
  # CHANGELOG
8
8
 
9
+ <p>
10
+ <b>Version 1.3.44</b> - June 2022<br/>
11
+ - NEW: pass msg.resetRBE = true to a device node, to reset both input and output RBE filter on that particular node.<br />
12
+ </p>
9
13
  <p>
10
14
  <b>Version 1.3.43</b> - Mai 2022<br/>
11
15
  - NEW: Scene Controller: you can now specity the "wait" time also in seconds, minutes or hours.<br />
package/README.md CHANGED
@@ -16,9 +16,12 @@
16
16
  Control your KNX intallation via Node-Red!
17
17
 
18
18
  **You can use it immediately!**
19
+
19
20
  ```javascript
21
+
20
22
  msg.payload = true // Turn light on
21
23
  msg.payload = {red:255, green:200, blue:30} // Put some colors in our life
24
+
22
25
  ```
23
26
 
24
27
 
@@ -150,7 +153,9 @@ Thanks to that, the knx-ultimate node where you selected **Universal mode (liste
150
153
 
151
154
  > Copy/Paste this into your configuration node.
152
155
 
156
+
153
157
  ```javascript
158
+
154
159
  "Group name" "Address" "Central" "Unfiltered" "Description" "DatapointType" "Security"
155
160
  "Attuatori luci" "0/-/-" "" "" "Attuatori luci" "" "Auto"
156
161
  "Luci primo piano" "0/0/-" "" "" "Luci primo piano" "" "Auto"
@@ -177,6 +182,7 @@ Thanks to that, the knx-ultimate node where you selected **Universal mode (liste
177
182
  "Scala LED cambiacolori RGB" "0/0/21" "" "" "" "DPST-1-1" "Auto"
178
183
  "Bagno grande specchio brightness value" "0/0/22" "" "" "" "DPST-5-1" "Auto"
179
184
  "Soggiorno luce (dim)" "0/0/23" "" "" "Soggiorno luce dim" "DPST-3-7" "Auto"
185
+
180
186
  ```
181
187
 
182
188
  </details>
@@ -186,7 +192,9 @@ Thanks to that, the knx-ultimate node where you selected **Universal mode (liste
186
192
 
187
193
  > Copy/Paste this into your configuration node.
188
194
 
195
+
189
196
  ```javascript
197
+
190
198
  My beautiful home
191
199
  Attuatori luci.Luci primo piano.0/0/1 Luce camera da letto EIS 1 'Switching' (1 Bit) Low
192
200
  Attuatori luci.Luci primo piano.0/0/2 Luce loggia camera da letto EIS 1 'Switching' (1 Bit) Low
@@ -211,6 +219,7 @@ Attuatori luci.Luci primo piano.0/0/24 Applique soggiorno (dim) EIS 2 'Dimming -
211
219
  Attuatori luci.Luci primo piano.0/0/17 Applique soggiorno brighness value Uncertain (1 Byte) Low
212
220
  Attuatori luci.Luci primo piano.0/0/19 Plafoniera soggiorno brighness value Uncertain (1 Byte) Low
213
221
  Attuatori luci.Luci primo piano.0/0/21 LED cambiacolori RGB scala EIS 1 'Switching' (1 Bit) Low
222
+
214
223
  ```
215
224
 
216
225
  </details>
@@ -224,28 +233,40 @@ Attuatori luci.Luci primo piano.0/0/21 LED cambiacolori RGB scala EIS 1 'Switchi
224
233
 
225
234
  # <a href="https://github.com/Supergiovane/node-red-contrib-knx-ultimate/wiki">Click here for comprehensive samples</a>
226
235
  **Turn on/off a Lamp**
236
+
227
237
  ```javascript
238
+
228
239
  return {payload:true}
240
+
229
241
  ```
242
+
230
243
  ```javascript
244
+
231
245
  return {payload:false}
246
+
232
247
  ```
233
248
 
234
249
  **Increase the light/open blind**
250
+
235
251
  ```javascript
252
+
236
253
  // The parameter "data" indicates the relative amount of the dimming commmand (how much to dim).
237
254
  // The parameter "data" can be any integer value from 0 to 7
238
255
  // The parameter decr_incr:1 increases the light
239
256
  // The parameter decr_incr:0 decreases the light
240
257
  msg.payload = {decr_incr: 1, data: 5};
241
258
  return msg;
259
+
242
260
  ```
243
261
 
244
262
  **Set RGBW color**
263
+
245
264
  ```javascript
265
+
246
266
  // Each color in a range between 0 and 255
247
267
  msg.payload = {red:90, green:200, blue:30, white:120, mR:1, mG:1, mB:1, mW:1};
248
268
  return msg;
269
+
249
270
  ```
250
271
 
251
272
  --> [MORE Samples and documentation....](https://github.com/Supergiovane/node-red-contrib-knx-ultimate/wiki)
@@ -113,6 +113,14 @@ module.exports = function (RED) {
113
113
  };
114
114
  // *********************************
115
115
 
116
+ // 19/06/2022 Reset the RBE filter https://github.com/Supergiovane/node-red-contrib-knx-ultimate/issues/191
117
+ // *********************************
118
+ if (msg.hasOwnProperty("resetRBE")) {
119
+ node.currentPayload = "";
120
+ node.setNodeStatus({ fill: "grey", shape: "ring", text: "Reset RBE filter on this node.", payload: "", GA: "", dpt: "", devicename: "" })
121
+ };
122
+ // *********************************
123
+
116
124
 
117
125
  if (node.passthrough !== "no") { // 27/03/2020 Save the input message to be passed out to msg output
118
126
  // The msg has a TTL of 3 seconds
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-knx-ultimate",
3
- "version": "1.3.43",
3
+ "version": "1.3.44",
4
4
  "description": "Control your KNX intallation via Node-Red! Single Node KNX IN/OUT with optional ETS group address importer. Easy to use and highly configurable.",
5
5
  "dependencies": {
6
6
  "mkdirp": "1.0.4",