node-red-contrib-knx-ultimate 3.3.8 → 3.3.10
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 +9 -0
- package/README.md +6 -0
- package/img/c/innovationsystem.png +0 -0
- package/nodes/hue-config.js +4 -1
- package/nodes/knxUltimateHueLight.html +17 -17
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
# CHANGELOG
|
|
8
8
|
|
|
9
|
+
**Version 3.3.10** - January 2025<br/>
|
|
10
|
+
- NEW: Hue light now handles Hue Outlets as well.<br/>
|
|
11
|
+
|
|
12
|
+
**Version 3.3.9** - December 2024<br/>
|
|
13
|
+
- CHRISTMAS FIX: issue on iterable interfaces error in raspberry pi.<br/>
|
|
14
|
+
|
|
15
|
+
**Version 3.3.8** - December 2024<br/>
|
|
16
|
+
- HOT FIX: fixed compilation problem in the knx engine, causing the node to stop working.<br/>
|
|
17
|
+
|
|
9
18
|
**Version 3.3.7** - December 2024<br/>
|
|
10
19
|
- DPT18.x: fixed scene validation 1 to 64.<br/>
|
|
11
20
|
|
package/README.md
CHANGED
|
@@ -271,6 +271,11 @@ List of commercial companies, which have given us permission to be mentioned on
|
|
|
271
271
|
[](https://can-nx.com/kloudnx-routeur-knx-iot-connecte-a-un-cloud-securise/)
|
|
272
272
|
</td>
|
|
273
273
|
|
|
274
|
+
<td style="valign:center; border: 0px; padding: 15px;">
|
|
275
|
+
|
|
276
|
+
[](https://www.onsystem-iot.com/)
|
|
277
|
+
</td>
|
|
278
|
+
|
|
274
279
|
</tr>
|
|
275
280
|
</table>
|
|
276
281
|
|
|
@@ -283,6 +288,7 @@ List of commercial companies, which have given us permission to be mentioned on
|
|
|
283
288
|
* [ProKNX - KNX Device Manufacturer](https://proknx.com)
|
|
284
289
|
* [Altis - Energy and utilities provider](https://altis.swiss)
|
|
285
290
|
* [Can'nX France - KNX Device Manufacturer and integrator](https://can-nx.com)
|
|
291
|
+
* [Innovation System - System integrators](https://www.onsystem-iot.com)
|
|
286
292
|
|
|
287
293
|
<br/>
|
|
288
294
|
|
|
Binary file
|
package/nodes/hue-config.js
CHANGED
|
@@ -246,6 +246,7 @@ module.exports = (RED) => {
|
|
|
246
246
|
try {
|
|
247
247
|
let resourceName = "";
|
|
248
248
|
let sType = "";
|
|
249
|
+
let sArchetype = "";
|
|
249
250
|
if (_rtype === "light" || _rtype === "grouped_light") {
|
|
250
251
|
// It's a service, having a owner
|
|
251
252
|
const owners = node.hueAllResources.filter((a) => a.id === resource.owner.rid);
|
|
@@ -256,6 +257,7 @@ module.exports = (RED) => {
|
|
|
256
257
|
resourceName += "ALL GROUPS and ";
|
|
257
258
|
} else {
|
|
258
259
|
resourceName += `${owner.metadata.name} and `;
|
|
260
|
+
sArchetype += `${owner.metadata.archetype === undefined ? "" : owner.metadata.archetype} and `;
|
|
259
261
|
// const room = node.hueAllRooms.find((child) => child.children.find((a) => a.rid === owner.id));
|
|
260
262
|
// sRoom += room !== undefined ? `${room.metadata.name} + ` : " + ";
|
|
261
263
|
sType += `${capStr(owner.type)} + `;
|
|
@@ -263,8 +265,9 @@ module.exports = (RED) => {
|
|
|
263
265
|
}
|
|
264
266
|
}
|
|
265
267
|
sType = sType.slice(0, -" + ".length);
|
|
268
|
+
if (sArchetype !== '') sArchetype = sArchetype.slice(0, -" and ".length);
|
|
266
269
|
resourceName = resourceName.slice(0, -" and ".length);
|
|
267
|
-
resourceName += sType !== "" ? ` (${sType})` : "";
|
|
270
|
+
resourceName += sType !== "" ? ` (${sType}:${sArchetype})` : "";
|
|
268
271
|
retArray.push({
|
|
269
272
|
name: `${capStr(resource.type)}: ${resourceName}`,
|
|
270
273
|
id: resource.id,
|
|
@@ -125,9 +125,9 @@
|
|
|
125
125
|
outputs: 0,
|
|
126
126
|
icon: "node-hue-icon.svg",
|
|
127
127
|
label: function () {
|
|
128
|
-
return this.name;
|
|
128
|
+
return this.name || "Hue Light/Outlet";
|
|
129
129
|
},
|
|
130
|
-
paletteLabel: "Hue Light",
|
|
130
|
+
paletteLabel: "Hue Light/Outlet",
|
|
131
131
|
oneditprepare: function () {
|
|
132
132
|
// Go to the help panel
|
|
133
133
|
try {
|
|
@@ -1484,26 +1484,26 @@
|
|
|
1484
1484
|
|
|
1485
1485
|
|
|
1486
1486
|
<script type="text/markdown" data-help-name="knxUltimateHueLight">
|
|
1487
|
-
<p>This node lets you control your Philips HUE
|
|
1487
|
+
<p>This node lets you control your Philips HUE lights, grouped lights, Outlets and also gets their states to be sent to the KNX bus.</p>
|
|
1488
1488
|
|
|
1489
1489
|
**General**
|
|
1490
1490
|
|Property|Description|
|
|
1491
1491
|
|--|--|
|
|
1492
1492
|
| KNX GW | Select the KNX gateway to be used |
|
|
1493
1493
|
| HUE Bridge | Select the HUE Bridge to be used |
|
|
1494
|
-
| Name | HUE light or HUE grouped light to be used. The avaiable lights and groups start showing up while you're typing.|
|
|
1494
|
+
| Name | HUE light or HUE grouped light or Hue Outlets to be used. The avaiable lights and groups start showing up while you're typing.|
|
|
1495
1495
|
|
|
1496
1496
|
<br/>
|
|
1497
1497
|
|
|
1498
1498
|
**OPTIONS**
|
|
1499
1499
|
|
|
1500
|
-
Here you can choose the KNX addresses to be linked to the avaiable
|
|
1500
|
+
Here you can choose the KNX addresses to be linked to the avaiable device's commands/states.<br/>
|
|
1501
1501
|
Start typing in the GA field, the name or group address of your KNX device, the avaiable devices start showing up while you're typing.
|
|
1502
1502
|
|
|
1503
1503
|
**Switch**
|
|
1504
1504
|
|Property|Description|
|
|
1505
1505
|
|--|--|
|
|
1506
|
-
| Control | This GA is used to turn on/off the
|
|
1506
|
+
| Control | This GA is used to turn on/off the device via a boolean KNX value true/false|
|
|
1507
1507
|
| Status | Link this to the light's switch status group address|
|
|
1508
1508
|
|
|
1509
1509
|
<br/>
|
|
@@ -1511,8 +1511,8 @@ Start typing in the GA field, the name or group address of your KNX device, the
|
|
|
1511
1511
|
**Dim**
|
|
1512
1512
|
|Property|Description|
|
|
1513
1513
|
|--|--|
|
|
1514
|
-
| Control dim | Relative DIM the
|
|
1515
|
-
| Control % | Changes the absolute
|
|
1514
|
+
| Control dim | Relative DIM the device. You can set the dimming speed in the **_Behaviour_** tab. |
|
|
1515
|
+
| Control % | Changes the absolute device's brightness (0-100%)|
|
|
1516
1516
|
| Status % | Link this to the light's brightness status KNX group address |
|
|
1517
1517
|
| Dim Speed (ms) | The dimming speed, in Milliseconds. This applies to the **light** and also to the **tunable white** dimming datapoints. It' calculated from 0% to 100%. |
|
|
1518
1518
|
| Min Dim brightness | Tha Minimum brightness that the lamp can reach. For example, if you are dimming the light down, the light will stop dimming at the specified brightness %. |
|
|
@@ -1523,11 +1523,11 @@ Start typing in the GA field, the name or group address of your KNX device, the
|
|
|
1523
1523
|
**Tunable white**
|
|
1524
1524
|
|Property|Description|
|
|
1525
1525
|
|--|--|
|
|
1526
|
-
| Control dim | Changes the
|
|
1527
|
-
| Control % | Changes the
|
|
1526
|
+
| Control dim | Changes the device's white temperature, using DPT 3.007 dimming. You can set the dimming speed in the **_Behaviour_** tab.|
|
|
1527
|
+
| Control % | Changes the device's white temperature, using the DPT 5.001. A value of 0 is full warm, a value of 100 is full cold.|
|
|
1528
1528
|
| Status %| The light temperature status group address. Datapoint is 5.001 absolute value. 0 is full warm, 100 is full cold.|
|
|
1529
|
-
| Control kelvin | **DPT 7.600:** set the
|
|
1530
|
-
| Status kelvin | **DPT 7.600:** get the
|
|
1529
|
+
| Control kelvin | **DPT 7.600:** set the device's temperature in Kelvin degrees, using the KNX range from 2000 to 6535. This range will be then transformed in mirek.<br/>**DPT 9.002:** set the temperature using Philips HUE range: 2000K - 6535K (Ambiance range starts at 2200K). Please be aware, conversion may produce slightly changes in Kelvin degrees value, due to KNX RGB or Kelvin degrees to HUE mirek degrees conversion.|
|
|
1530
|
+
| Status kelvin | **DPT 7.600:** get the device's temperature in Kelvin degrees, using the KNX range from 2000 to 6535. This range will be then transformed in kelvin degrees.<br/>**DPT 9.002:** get the temperature using Philips HUE range: 2000K - 6535K (Ambiance range starts at 2200K). Please be aware, conversion may produce slightly changes in Kelvin degrees value, due to KNX RGB or Kelvin degrees to HUE mirek degrees conversion. |
|
|
1531
1531
|
| Invert dim direction | Inverts the DIM direction. |
|
|
1532
1532
|
<br/>
|
|
1533
1533
|
|
|
@@ -1535,7 +1535,7 @@ Start typing in the GA field, the name or group address of your KNX device, the
|
|
|
1535
1535
|
|Property|Description|
|
|
1536
1536
|
|--|--|
|
|
1537
1537
|
| **RGB section** ||
|
|
1538
|
-
| Control rgb| This command is used to change the
|
|
1538
|
+
| Control rgb| This command is used to change the device's color. Accepted datapoint is RGB triplet (r,g,b). The node handles the gamut color correction. As soon as you send a color KNX telegran, the light turns on and sets color and brightness, derived from the brightness human perception. As soon as you send a KNX telegram with r,g,b set to zero, the light turns off |
|
|
1539
1539
|
| Status rgb | The light's color status group address. Accepted datapoint is RGB triplet (r,g,b)|
|
|
1540
1540
|
| **HSV section** ||
|
|
1541
1541
|
| Color H dim | Cycle through the HSV chromatic circle (HUE), using DPT 3.007 dimming. You can set the dimming speed in the **_Behaviour_** tab.|
|
|
@@ -1552,8 +1552,8 @@ For controlling the "V" (brightness) of the HSV, please use the standard control
|
|
|
1552
1552
|
**Effects**
|
|
1553
1553
|
|Property|Description|
|
|
1554
1554
|
|--|--|
|
|
1555
|
-
| Blink | _true_ Blink the light, _false_ Stop blinking. Blinks the light on and off. Useful for signalling. Works with all
|
|
1556
|
-
| Color Cycle | _true_ start cycle, _false_ Stop cycle. Randomly changes the
|
|
1555
|
+
| Blink | _true_ Blink the light, _false_ Stop blinking. Blinks the light on and off. Useful for signalling. Works with all devices. |
|
|
1556
|
+
| Color Cycle | _true_ start cycle, _false_ Stop cycle. Randomly changes the device's color at regular interval. Works with all devices having color capabilities. The color effect will start 10 seconds after set. |
|
|
1557
1557
|
|
|
1558
1558
|
<br/>
|
|
1559
1559
|
|
|
@@ -1561,8 +1561,8 @@ For controlling the "V" (brightness) of the HSV, please use the standard control
|
|
|
1561
1561
|
|
|
1562
1562
|
| Property | Description |
|
|
1563
1563
|
| ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1564
|
-
| Read status at startup | Read the
|
|
1565
|
-
| KNX Brightness Status | Updates the KNX brightness group address status, whenever the HUE lamp is switched ON/OFF. The options are **When
|
|
1564
|
+
| Read status at startup | Read the device status at node-red's startup or node-red's full deploy, and send that status to the KNX BUS |
|
|
1565
|
+
| KNX Brightness Status | Updates the KNX brightness group address status, whenever the HUE lamp is switched ON/OFF. The options are **When device is Off send 0%. When HUE On, restore previous value (Default KNX behaviour)** and **Leave as is (default HUE behaviour)**. If you have KNX dimmer with brightness status, like MDT, the suggested option is ***When device is Off send 0%. When HUE On, restore previous value (Default KNX behaviour)*** |
|
|
1566
1566
|
| Switch on behaviour | It sets the behaviour of your lights when switched on. You can choose from differents behaviours.<br/>**Select color:** the light will be switched on with the color of your choice. To change color, just CLICK on the color selector (under the *Select color* control).<br/>**Select temperature and brightness:** the light will be switched on with the temperature (Kelvin) and brightness (0-100) of your choice.<br/>**None:** the light will retain its last status. In case you've enable the night lighting, after the night time ends, the lamp will resume the color/temperature/brightness state set at day time. |
|
|
1567
1567
|
| Night Lighting | It allows to set a particular light color/brightness at nighttime. The options are the same as the daytime. You could select either a temperature/brightness or color. A cozy temperature of 2700 Kelvin, with a brightness of 10% or 20%, is a good choice for bathroom's night light.|
|
|
1568
1568
|
| Day/Night | Select the group address used to set the day/night behaviour. The group address value is _true_ if daytime, _false_ if nighttime. |
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"engines": {
|
|
4
4
|
"node": ">=16.0.0"
|
|
5
5
|
},
|
|
6
|
-
"version": "3.3.
|
|
6
|
+
"version": "3.3.10",
|
|
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",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dns-sync": "0.2.1",
|
|
12
12
|
"eventsource": "2.0.2",
|
|
13
13
|
"js-yaml": "4.1.0",
|
|
14
|
-
"knxultimate": "4.1.0-beta.
|
|
14
|
+
"knxultimate": "4.1.0-beta.7",
|
|
15
15
|
"lodash": "4.17.21",
|
|
16
16
|
"node-color-log": "12.0.1",
|
|
17
17
|
"mkdirp": "3.0.1",
|