node-red-contrib-knx-ultimate 2.1.21 → 2.1.23
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
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
# CHANGELOG
|
|
8
8
|
|
|
9
9
|
<p>
|
|
10
|
-
<b>Version 2.1.
|
|
10
|
+
<b>Version 2.1.23</b> - July 2023<br/>
|
|
11
|
+
- NEW: Hue Light: Update KNX Switch Status on HUE brighness change, now is the default.<br/>
|
|
12
|
+
</p>
|
|
13
|
+
<p>
|
|
14
|
+
<b>Version 2.1.22</b> - July 2023<br/>
|
|
11
15
|
- NEW: Hue Light: UI optimization and allow to set the switch on light, even it Night Lighting is unselected.<br/>
|
|
12
|
-
- NEW: Hue Light: you can now choose some options in the new Behaviours configuration tab.<br/>
|
|
13
16
|
</p>
|
|
14
17
|
<p>
|
|
15
18
|
<b>Version 2.1.20</b> - July 2023<br/>
|
|
@@ -61,8 +61,7 @@
|
|
|
61
61
|
GADaylightSensor: { value: "" },
|
|
62
62
|
dptDaylightSensor: { value: "" },
|
|
63
63
|
|
|
64
|
-
updateSwitchStatusOnBrightness: { value: "
|
|
65
|
-
updateBrightnessOnSwitchStatus: { value: "no" },
|
|
64
|
+
updateSwitchStatusOnBrightness: { value: "yes" },
|
|
66
65
|
|
|
67
66
|
hueDevice: { value: "" }
|
|
68
67
|
},
|
|
@@ -801,7 +800,7 @@
|
|
|
801
800
|
</div>
|
|
802
801
|
<div class="form-row">
|
|
803
802
|
<label for="node-input-colorAtSwitchOnDayTime" style="width:250px">
|
|
804
|
-
<i class="fa fa-sun-o"></i> Switch
|
|
803
|
+
<i class="fa fa-sun-o"></i> Switch On - color/brightness
|
|
805
804
|
</label>
|
|
806
805
|
<input type="text" id="node-input-colorAtSwitchOnDayTime" placeholder='Leave blank or, for example, {"red":255, "green":255, "blue":255}'
|
|
807
806
|
style="width:260px">
|
|
@@ -815,7 +814,7 @@
|
|
|
815
814
|
<div id="DivEnableDayNightLighting">
|
|
816
815
|
<div class="form-row">
|
|
817
816
|
<label for="node-input-colorAtSwitchOnNightTime" style="width:250px">
|
|
818
|
-
<i class="fa fa-moon-o"></i> Switch
|
|
817
|
+
<i class="fa fa-moon-o"></i> Switch On - color/brightness at Night
|
|
819
818
|
</label>
|
|
820
819
|
<input type="text" id="node-input-colorAtSwitchOnNightTime" placeholder='Example {"red":100, "green":0, "blue":50}'
|
|
821
820
|
style="width:260px">
|
|
@@ -1009,9 +1008,9 @@ Start typing in the GA field, the name or group address of your KNX device, the
|
|
|
1009
1008
|
|--|--|
|
|
1010
1009
|
| Switch | This GA is used to turn on/off the HUE light via a boolean KNX value true/false|
|
|
1011
1010
|
| Switch Status | Link this to the light's switch status group address|
|
|
1012
|
-
| Switch
|
|
1011
|
+
| Switch On - color/brightness | You can choose the color/brightness of your light, at switch on. Set it as JSON object, for example **{ "red": 255, "green": 255, "blue": 255 }**. Leave blank to disable. |
|
|
1013
1012
|
| Night Lighting | It allows to set a particular light color/brightness at nighttime. If **checked**, a further set of option shows up and the light changes the behaviour based on these options, everytime you switch the light *on*. |
|
|
1014
|
-
| Switch
|
|
1013
|
+
| Switch On - color/brightness at Nighttime | You can choose the color/brightness of your light, at switch on, on night time. Set it as JSON object. Default value if you leave blank is **{ "red": 100, "green": 0, "blue": 0 }** |
|
|
1015
1014
|
| Day/Night | Select the group address used to set the day/night behaviour. The group address value is *true* if daytime, *false* if nighttime. |
|
|
1016
1015
|
| Invert day/night values | Invert the values of *Day/Night* group address. Default value is **unchecked**.|
|
|
1017
1016
|
|
|
@@ -259,7 +259,7 @@ module.exports = function (RED) {
|
|
|
259
259
|
// Send to KNX bus
|
|
260
260
|
if (knxMsgPayload.topic !== '' && knxMsgPayload.topic !== undefined) node.server.writeQueueAdd({ grpaddr: knxMsgPayload.topic, payload: knxMsgPayload.payload, dpt: knxMsgPayload.dpt, outputtype: 'write', nodecallerid: node.id })
|
|
261
261
|
|
|
262
|
-
if (config.updateSwitchStatusOnBrightness === 'yes') {
|
|
262
|
+
if (config.updateSwitchStatusOnBrightness === 'yes' || config.updateSwitchStatusOnBrightness === undefined) {
|
|
263
263
|
// ISE Connect Hue emulation, send true/false to switch state
|
|
264
264
|
knxMsgPayload.topic = config.GALightState
|
|
265
265
|
knxMsgPayload.dpt = config.dptLightState
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"engines": {
|
|
4
4
|
"node": ">=16.0.0"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.1.
|
|
6
|
+
"version": "2.1.23",
|
|
7
7
|
"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. With integrated Philips HUE devices handling.",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"mkdirp": "3.0.1",
|