node-red-contrib-knx-ultimate 2.2.28 → 2.2.30

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,17 @@
6
6
 
7
7
  # CHANGELOG
8
8
 
9
+ **Version 2.2.30** - December 2023<br/>
10
+ - NEW: HUE Scene node: added a "Multi scene" section, more powerful.<br/>
11
+ - HUE Scene: when selecting a group address for the scene, the scene number dropdown list doesn't show up.<br/>
12
+ - WARNING: the new HUE Light node is to be considered **RELEASED (= production ready, but please report anyway any issue)**.<br/>
13
+ - WARNING: the new HUE Scene node is to be considered **BETA (= in testing with user feedback)**.<br/>
14
+
15
+ **Version 2.2.29** - November 2023<br/>
16
+ This is an interim version, to quick fix some issues. Please report any issue with HUE Nodes, on gitHub.<br/>
17
+ - HUE Light: fixed an issue causing the node status to signal an error. Filtered the groupvalue_read from imbound KNX messages.<br/>
18
+ - WARNING: the new HUE Light options are to be considered **BETA (= in testing with user feedback)**.<br/>
19
+
9
20
  **Version 2.2.28** - November 2023<br/>
10
21
  This is an interim version, to quick fix some issues. Please report any issue with HUE Nodes, on gitHub.<br/>
11
22
  - HUE Light: fixed an issue where dimming down with the light switched off, causes the brightness status to jump to 100%, thus the light remains off.<br/>
package/README.md CHANGED
@@ -13,7 +13,9 @@
13
13
 
14
14
  ![Sample Node](img/readmemain.png)
15
15
 
16
- Control your KNX intallation via Node-Red!
16
+ Control your KNX intallation via Node-Red!<br/>
17
+ A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer.<br/>
18
+ Easy to use and highly configurable.
17
19
 
18
20
  **You can use it immediately!**
19
21
 
@@ -331,7 +333,7 @@ List of commercial companies, which have given us permission to be mentioned on
331
333
  * [![](https://raw.githubusercontent.com/Supergiovane/node-red-contrib-knx-ultimate/master/img/c/knxuserforum.png)](https://knx-user-forum.de/forum/öffentlicher-bereich/knx-eib-forum/1389088-knx-node-for-node-red)
332
334
 
333
335
  **China**
334
- * [QQ group: 837579219 (加群需要备注 “来自github](tencent://groupwpa/?subcmd=all&param=7b2267726f757055696e223a3833373537393231392c2274696d655374616d70223a313633303934363639312c22617574684b6579223a22762b72482b466f4a496a75613033794e4a30744a6970756c55753639424f4d55724f464c4a6c474b77346a30326b7a4f7a3338535536517844684d7756414d62222c2261757468223a22227d&jump_from=)
336
+ * [QQ group: 837579219 (加群需要备注 "来自github"](tencent://groupwpa/?subcmd=all&param=7b2267726f757055696e223a3833373537393231392c2274696d655374616d70223a313633303934363639312c22617574684b6579223a22762b72482b466f4a496a75613033794e4a30744a6970756c55753639424f4d55724f464c4a6c474b77346a30326b7a4f7a3338535536517844684d7756414d62222c2261757468223a22227d&jump_from=)
335
337
 
336
338
 
337
339
 
@@ -258,6 +258,7 @@ module.exports = (RED) => {
258
258
  } else {
259
259
  allResources = node.hueAllResources.filter((a) => a.type === _rtype);
260
260
  }
261
+ if (allResources === null) return;
261
262
  for (let index = 0; index < allResources.length; index++) {
262
263
  const resource = allResources[index];
263
264
  // Get the owner
@@ -267,15 +268,17 @@ module.exports = (RED) => {
267
268
  if (_rtype === "light" || _rtype === "grouped_light") {
268
269
  // It's a service, having a owner
269
270
  const owners = node.hueAllResources.filter((a) => a.id === resource.owner.rid);
270
- for (let index = 0; index < owners.length; index++) {
271
- const owner = owners[index];
272
- if (owner.type === "bridge_home") {
273
- resourceName += "ALL GROUPS and ";
274
- } else {
275
- resourceName += `${owner.metadata.name} and `;
276
- // const room = node.hueAllRooms.find((child) => child.children.find((a) => a.rid === owner.id));
277
- // sRoom += room !== undefined ? `${room.metadata.name} + ` : " + ";
278
- sType += `${capStr(owner.type)} + `;
271
+ if (owners !== null) {
272
+ for (let index = 0; index < owners.length; index++) {
273
+ const owner = owners[index];
274
+ if (owner.type === "bridge_home") {
275
+ resourceName += "ALL GROUPS and ";
276
+ } else {
277
+ resourceName += `${owner.metadata.name} and `;
278
+ // const room = node.hueAllRooms.find((child) => child.children.find((a) => a.rid === owner.id));
279
+ // sRoom += room !== undefined ? `${room.metadata.name} + ` : " + ";
280
+ sType += `${capStr(owner.type)} + `;
281
+ }
279
282
  }
280
283
  }
281
284
  sType = sType.slice(0, -" + ".length);
@@ -167,7 +167,7 @@
167
167
  <br />
168
168
  <br />
169
169
  <p align="center">
170
- <i class="fa-solid fa-battery-half fa-beat-fade fa-8x"></i>
170
+ <i class="fa-solid fa-battery-half fa-beat-fade fa-4x"></i>
171
171
  </p>
172
172
  <br />
173
173
  <label for="node-input-server" >
@@ -312,7 +312,7 @@
312
312
  <br />
313
313
  <br />
314
314
  <p align="center">
315
- <i class="fa-regular fa-circle-dot fa-beat-fade fa-8x"></i>
315
+ <i class="fa-regular fa-circle-dot fa-beat-fade fa-4x"></i>
316
316
  </p>
317
317
  <br />
318
318
  <label for="node-input-server" >
@@ -651,7 +651,7 @@
651
651
  label: function () {
652
652
  return this.name;
653
653
  },
654
- paletteLabel: "Hue Light (beta)",
654
+ paletteLabel: "Hue Light",
655
655
  oneditprepare: function () {
656
656
  onEditPrepare(this);
657
657
  },
@@ -758,7 +758,7 @@
758
758
  <br />
759
759
  <br />
760
760
  <p align="center">
761
- <i class="fa-regular fa-lightbulb fa-bounce fa-8x"></i>
761
+ <i class="fa-regular fa-lightbulb fa-bounce fa-4x"></i>
762
762
  </p>
763
763
  <br />
764
764
  <label for="node-input-server">
@@ -1154,7 +1154,7 @@
1154
1154
  </div>
1155
1155
  <div class="form-row">
1156
1156
  <label for="node-input-enableNodePINS" style="width:260px;">
1157
- <i class="fa fa-square-o"></i> Node Input/Output PINs
1157
+ <i class="fa fa-circle"></i> Node Input/Output PINs
1158
1158
  </label>
1159
1159
  <select id="node-input-enableNodePINS">
1160
1160
  <option value="no">Hide</option>