node-red-contrib-knx-ultimate 3.3.18 → 3.3.19
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 +3 -0
- package/nodes/knxUltimateHueLight.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
# CHANGELOG
|
|
8
8
|
|
|
9
|
+
**Version 3.3.19** - March 2025<br/>
|
|
10
|
+
- HUE light nodes now have the colored status icon that follows the light status on/off. Blue fill dot is ON, blue ring is OFF<br/>
|
|
11
|
+
|
|
9
12
|
**Version 3.3.18** - March 2025<br/>
|
|
10
13
|
- For all HUE nodes, added both the HUE and KNX status in the node's status text.<br/>
|
|
11
14
|
- HUE engine: fixed a reconnection issue occurring sometimes, in some circumstances.<br/>
|
|
@@ -106,6 +106,7 @@ module.exports = function (RED) {
|
|
|
106
106
|
fill, shape, text, payload,
|
|
107
107
|
}) => {
|
|
108
108
|
try {
|
|
109
|
+
if (node.currentHUEDevice?.on?.on === true) { fill = "blue"; shape = "dot" } else { fill = "blue"; shape = "ring" };
|
|
109
110
|
if (payload === undefined) payload = '';
|
|
110
111
|
const dDate = new Date();
|
|
111
112
|
payload = typeof payload === "object" ? JSON.stringify(payload) : payload.toString();
|
|
@@ -116,6 +117,7 @@ module.exports = function (RED) {
|
|
|
116
117
|
// Used to call the status update from the HUE config node.
|
|
117
118
|
node.setNodeStatusHue = ({ fill, shape, text, payload }) => {
|
|
118
119
|
try {
|
|
120
|
+
if (node.currentHUEDevice?.on?.on === true) { fill = "blue"; shape = "dot" } else { fill = "blue"; shape = "ring" };
|
|
119
121
|
if (payload === undefined) payload = '';
|
|
120
122
|
const dDate = new Date();
|
|
121
123
|
payload = typeof payload === "object" ? JSON.stringify(payload) : payload.toString();
|
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.19",
|
|
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",
|