node-red-contrib-knx-ultimate 2.3.2 → 2.3.3
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/hue-config.js +4 -1
- package/nodes/knxUltimateHueLight.html +362 -357
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/nodes/hue-config.js
CHANGED
|
@@ -506,6 +506,9 @@ module.exports = (RED) => {
|
|
|
506
506
|
|
|
507
507
|
RED.httpAdmin.get("/knxUltimateGetLightObject", RED.auth.needsPermission("hue-config.read"), (req, res) => {
|
|
508
508
|
try {
|
|
509
|
+
if (node.hueAllResources === undefined) {
|
|
510
|
+
throw (new Error("Resource not yet loaded"));
|
|
511
|
+
}
|
|
509
512
|
const _lightId = req.query.id;
|
|
510
513
|
const oLight = node.hueAllResources.filter((a) => a.id === _lightId)[0];
|
|
511
514
|
// Infer some useful info, so the HTML part can avoid to query the server
|
|
@@ -527,7 +530,7 @@ module.exports = (RED) => {
|
|
|
527
530
|
}
|
|
528
531
|
res.json(oLight);
|
|
529
532
|
} catch (error) {
|
|
530
|
-
if (node.sysLogger !== undefined && node.sysLogger !== null) node.sysLogger.error(`KNXUltimateHue: hueEngine: knxUltimateGetLightObject: error ${error.message}
|
|
533
|
+
if (node.sysLogger !== undefined && node.sysLogger !== null) node.sysLogger.error(`KNXUltimateHue: hueEngine: knxUltimateGetLightObject: error ${error.message}.`);
|
|
531
534
|
res.json({});
|
|
532
535
|
}
|
|
533
536
|
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
'use strict'
|
|
2
|
+
|
|
2
3
|
<script type="text/javascript" src="resources/node-red-contrib-knx-ultimate/11f26b4500.js"></script>
|
|
3
4
|
|
|
4
5
|
<script type="text/javascript">
|
|
@@ -177,6 +178,10 @@
|
|
|
177
178
|
} else {
|
|
178
179
|
$.getJSON("knxUltimateGetLightObject?id=" + $("#node-input-hueDevice").val().split("#")[0] + "&" + { _: new Date().getTime() }, (data) => {
|
|
179
180
|
let oLight = data;
|
|
181
|
+
if (JSON.stringify(data) === "{}") {
|
|
182
|
+
$("#mainWindow").hide();
|
|
183
|
+
RED.notify("Please close and reload this window in few seconds. Still querying the HUE Bridge.", { type: "warning", timeout: 8000 });
|
|
184
|
+
}
|
|
180
185
|
// Check if grouped, to hide/show the "Get current" buttons
|
|
181
186
|
if (oLight.type === "grouped_light") {
|
|
182
187
|
$("#tabs").tabs("enable", "#tabs-4");
|
|
@@ -523,7 +528,7 @@
|
|
|
523
528
|
$("#node-input-name").autocomplete({
|
|
524
529
|
minLength: 1,
|
|
525
530
|
source: function (request, response) {
|
|
526
|
-
$.getJSON("KNXUltimateGetResourcesHUE?rtype=light&nodeID=" + oNodeServerHue.id, (data) => {
|
|
531
|
+
$.getJSON("KNXUltimateGetResourcesHUE?rtype=light&nodeID=" + oNodeServerHue.id + "&" + { _: new Date().getTime() }, (data) => {
|
|
527
532
|
response(
|
|
528
533
|
$.map(data.devices, function (value, key) {
|
|
529
534
|
//alert(JSON.stringify(value) + " "+ key)
|
|
@@ -827,428 +832,428 @@
|
|
|
827
832
|
|
|
828
833
|
|
|
829
834
|
<script type="text/html" data-template-name="knxUltimateHueLight">
|
|
835
|
+
<div id="mainWindow">
|
|
836
|
+
<div class="form-row">
|
|
837
|
+
<b>HUE Light/Group node</b>  <span style="color:red"    <i class="fa fa-youtube"></i></span> <a
|
|
838
|
+
target="_blank" href="https://youtu.be/jjEUI1J8bkA"><u>Youtube sample</u></a>
|
|
839
|
+
<br />
|
|
840
|
+
<br />
|
|
841
|
+
<p align="center">
|
|
842
|
+
<i class="fa-regular fa-lightbulb fa-bounce fa-4x"></i>
|
|
843
|
+
</p>
|
|
844
|
+
<br />
|
|
845
|
+
<label for="node-input-server">
|
|
846
|
+
<img
|
|
847
|
+
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAKnRFWHRDcmVhdGlvbiBUaW1lAEZyIDYgQXVnIDIwMTAgMjE6NTI6MTkgKzAxMDD84aS8AAAAB3RJTUUH3gYYCicNV+4WIQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAARnQU1BAACxjwv8YQUAAACUSURBVHjaY2CgFZg5c+Z/ZEyWAZ8+f/6/ZsWs/xoamqMGkGrA6Wla/1+fVARjEBuGsSoGmY4eZSCNL59d/g8DIDbIAHR14OgFGQByKjIGKX5+6/T///8gGMQGiV1+/B0Fg70GIkD+RMYgxf/O5/7//2MSmAZhkBi6OrgB6Bg5DGB4ajr3f2xqsYYLSDE2THJUDg0AAAqyDVd4tp4YAAAAAElFTkSuQmCC"></img>
|
|
848
|
+
KNX GW
|
|
849
|
+
</label>
|
|
850
|
+
<input type="text" id="node-input-server" />
|
|
851
|
+
</div>
|
|
852
|
+
|
|
853
|
+
<div class="form-row">
|
|
854
|
+
<label for="node-input-serverHue">
|
|
855
|
+
<img
|
|
856
|
+
src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEKADAAQAAAABAAAAEAAAAAA0VXHyAAABFUlEQVQ4EZWSsWoCQRCG1yiENEFEi6QSkjqWWoqFoBYJ+Br6JHkMn8Iibd4ihQpaJIhWNkry/ZtdGZY78Qa+m39nZ+dm9s4550awglNBluS/gVtAX6KgDclf68w2OThgfR9iT/jnoEv4TtByDThWTCDKW4SSZTf/zj9/eZbN+izTDuKGimu0vPF8B/YN8aC8LmcOj/AAn9CFTEs70Js/oGqy79C69bqJ5XbQI2kGO5N8QL9D08S8zBtBF5ZaVsznpCMoqJnVdjTpb1Db0fwIWmQV6BLXzFOYgA6/gDVfQN9bBWp2J2hdWDPoBV5FrKnAJutHikk/CHHR8i7x4iG7qQ720IYvu3GFbpHjx3pFrOFYkA354z/5bkK826phyAAAAABJRU5ErkJggg==" />
|
|
857
|
+
HUE Bridge
|
|
858
|
+
</label>
|
|
859
|
+
<input type="text" id="node-input-serverHue" />
|
|
860
|
+
</div>
|
|
830
861
|
|
|
831
|
-
<div class="form-row">
|
|
832
|
-
<b>HUE Light/Group node</b>  <span style="color:red"    <i class="fa fa-youtube"></i></span> <a
|
|
833
|
-
target="_blank" href="https://youtu.be/jjEUI1J8bkA"><u>Youtube sample</u></a>
|
|
834
|
-
<br />
|
|
835
862
|
<br />
|
|
836
|
-
<p
|
|
837
|
-
<
|
|
863
|
+
<p>
|
|
864
|
+
<b>Philips HUE</b>
|
|
838
865
|
</p>
|
|
866
|
+
|
|
867
|
+
<div class="form-row">
|
|
868
|
+
<label for="node-input-hueDevice">
|
|
869
|
+
<i class="fa fa-play-circle"></i> Name</label>
|
|
870
|
+
<input type="text" id="node-input-name" placeholder="Enter your hue device name" />
|
|
871
|
+
<input type="hidden" id="node-input-hueDevice" />
|
|
872
|
+
</div>
|
|
873
|
+
|
|
839
874
|
<br />
|
|
840
|
-
<label for="node-input-server">
|
|
841
|
-
<img
|
|
842
|
-
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAKnRFWHRDcmVhdGlvbiBUaW1lAEZyIDYgQXVnIDIwMTAgMjE6NTI6MTkgKzAxMDD84aS8AAAAB3RJTUUH3gYYCicNV+4WIQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAARnQU1BAACxjwv8YQUAAACUSURBVHjaY2CgFZg5c+Z/ZEyWAZ8+f/6/ZsWs/xoamqMGkGrA6Wla/1+fVARjEBuGsSoGmY4eZSCNL59d/g8DIDbIAHR14OgFGQByKjIGKX5+6/T///8gGMQGiV1+/B0Fg70GIkD+RMYgxf/O5/7//2MSmAZhkBi6OrgB6Bg5DGB4ajr3f2xqsYYLSDE2THJUDg0AAAqyDVd4tp4YAAAAAElFTkSuQmCC"></img>
|
|
843
|
-
KNX GW
|
|
844
|
-
</label>
|
|
845
|
-
<input type="text" id="node-input-server" />
|
|
846
|
-
</div>
|
|
847
|
-
|
|
848
|
-
<div class="form-row">
|
|
849
|
-
<label for="node-input-serverHue">
|
|
850
|
-
<img
|
|
851
|
-
src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEKADAAQAAAABAAAAEAAAAAA0VXHyAAABFUlEQVQ4EZWSsWoCQRCG1yiENEFEi6QSkjqWWoqFoBYJ+Br6JHkMn8Iibd4ihQpaJIhWNkry/ZtdGZY78Qa+m39nZ+dm9s4550awglNBluS/gVtAX6KgDclf68w2OThgfR9iT/jnoEv4TtByDThWTCDKW4SSZTf/zj9/eZbN+izTDuKGimu0vPF8B/YN8aC8LmcOj/AAn9CFTEs70Js/oGqy79C69bqJ5XbQI2kGO5N8QL9D08S8zBtBF5ZaVsznpCMoqJnVdjTpb1Db0fwIWmQV6BLXzFOYgA6/gDVfQN9bBWp2J2hdWDPoBV5FrKnAJutHikk/CHHR8i7x4iG7qQ720IYvu3GFbpHjx3pFrOFYkA354z/5bkK826phyAAAAABJRU5ErkJggg==" />
|
|
852
|
-
HUE Bridge
|
|
853
|
-
</label>
|
|
854
|
-
<input type="text" id="node-input-serverHue" />
|
|
855
|
-
</div>
|
|
856
|
-
|
|
857
|
-
<br />
|
|
858
|
-
<p>
|
|
859
|
-
<b>Philips HUE</b>
|
|
860
|
-
</p>
|
|
861
|
-
|
|
862
|
-
<div class="form-row">
|
|
863
|
-
<label for="node-input-hueDevice">
|
|
864
|
-
<i class="fa fa-play-circle"></i> Name</label>
|
|
865
|
-
<input type="text" id="node-input-name" placeholder="Enter your hue device name" />
|
|
866
|
-
<input type="hidden" id="node-input-hueDevice" />
|
|
867
|
-
</div>
|
|
868
|
-
|
|
869
|
-
<br />
|
|
870
|
-
|
|
871
|
-
<div id="tabs" hidden">
|
|
872
|
-
<ul>
|
|
873
|
-
<li><a href="#tabs-1"><i class="fa-solid fa-toggle-on fa-beat"></i> Switching</a></li>
|
|
874
|
-
<li><a href="#tabs-2"><i class="fa-solid fa-arrow-up-wide-short fa-beat"></i> Dim/Brightness</a></li>
|
|
875
|
-
<li><a href="#tabs-3"><i class="fa-solid fa-temperature-quarter fa-beat"></i> Tunable white</a></li>
|
|
876
|
-
<li><a href="#tabs-4"><i class="fa-solid fa-palette fa-beat"></i> Colors</a></li>
|
|
877
|
-
<li><a href="#tabs-5"><i class="fa-solid fa-heart-circle-check fa-beat"></i> Effects</a></li>
|
|
878
|
-
<li><a href="#tabs-6"><i class="fa-solid fa-code-merge fa-beat"></i> Behaviour</a></li>
|
|
879
|
-
<li><a href="#tabs-7"><i class="fa-solid fa-house fa-beat"></i> Home Assistant Export (beta)</a></li>
|
|
880
|
-
</ul>
|
|
881
|
-
<div id="tabs-1">
|
|
882
|
-
<p>
|
|
883
|
-
<div class="form-row">
|
|
884
|
-
<label for="node-input-nameLightSwitch" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control</label>
|
|
885
|
-
|
|
886
|
-
<label for="node-input-GALightSwitch" style="width:20px;">GA</label>
|
|
887
|
-
<input type="text" id="node-input-GALightSwitch" placeholder="Ex: 1/1/1"
|
|
888
|
-
style="width:70px;margin-left: 5px; text-align: left;">
|
|
889
|
-
|
|
890
|
-
<label for="node-input-dptLightSwitch" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
891
|
-
<select id="node-input-dptLightSwitch" style="width:140px;"></select>
|
|
892
|
-
|
|
893
|
-
<label for="node-input-nameLightSwitch" style="width:50px; margin-left: 0px; text-align: right;">Name</label>
|
|
894
|
-
<input type="text" id="node-input-nameLightSwitch" style="width:190px;margin-left: 5px; text-align: left;">
|
|
895
|
-
</div>
|
|
896
|
-
<div class="form-row">
|
|
897
|
-
<label for="node-input-nameLightState" style="width:110px;"><i class="fa fa-play-circle-o"></i> Status</label>
|
|
898
875
|
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
876
|
+
<div id="tabs" hidden">
|
|
877
|
+
<ul>
|
|
878
|
+
<li><a href="#tabs-1"><i class="fa-solid fa-toggle-on fa-beat"></i> Switching</a></li>
|
|
879
|
+
<li><a href="#tabs-2"><i class="fa-solid fa-arrow-up-wide-short fa-beat"></i> Dim/Brightness</a></li>
|
|
880
|
+
<li><a href="#tabs-3"><i class="fa-solid fa-temperature-quarter fa-beat"></i> Tunable white</a></li>
|
|
881
|
+
<li><a href="#tabs-4"><i class="fa-solid fa-palette fa-beat"></i> Colors</a></li>
|
|
882
|
+
<li><a href="#tabs-5"><i class="fa-solid fa-heart-circle-check fa-beat"></i> Effects</a></li>
|
|
883
|
+
<li><a href="#tabs-6"><i class="fa-solid fa-code-merge fa-beat"></i> Behaviour</a></li>
|
|
884
|
+
<li><a href="#tabs-7"><i class="fa-solid fa-house fa-beat"></i> Home Assistant Export (beta)</a></li>
|
|
885
|
+
</ul>
|
|
886
|
+
<div id="tabs-1">
|
|
887
|
+
<p>
|
|
888
|
+
<div class="form-row">
|
|
889
|
+
<label for="node-input-nameLightSwitch" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control</label>
|
|
902
890
|
|
|
903
|
-
|
|
904
|
-
|
|
891
|
+
<label for="node-input-GALightSwitch" style="width:20px;">GA</label>
|
|
892
|
+
<input type="text" id="node-input-GALightSwitch" placeholder="Ex: 1/1/1"
|
|
893
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
905
894
|
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
<input type="text" id="node-input-nameLightState" style="width:190px;margin-left: 5px; text-align: left;">
|
|
909
|
-
</div>
|
|
910
|
-
</p>
|
|
911
|
-
</div>
|
|
912
|
-
<div id="tabs-2">
|
|
913
|
-
<p>
|
|
914
|
-
<div class="form-row">
|
|
915
|
-
<label for="node-input-nameLightDIM" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control</label>
|
|
895
|
+
<label for="node-input-dptLightSwitch" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
896
|
+
<select id="node-input-dptLightSwitch" style="width:140px;"></select>
|
|
916
897
|
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
898
|
+
<label for="node-input-nameLightSwitch" style="width:50px; margin-left: 0px; text-align: right;">Name</label>
|
|
899
|
+
<input type="text" id="node-input-nameLightSwitch" style="width:190px;margin-left: 5px; text-align: left;">
|
|
900
|
+
</div>
|
|
901
|
+
<div class="form-row">
|
|
902
|
+
<label for="node-input-nameLightState" style="width:110px;"><i class="fa fa-play-circle-o"></i> Status</label>
|
|
903
|
+
|
|
904
|
+
<label for="node-input-GALightState" style="width:20px;">GA</label>
|
|
905
|
+
<input type="text" id="node-input-GALightState" placeholder="Ex: 1/1/1"
|
|
906
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
920
907
|
|
|
921
|
-
|
|
922
|
-
|
|
908
|
+
<label for="node-input-dptLightState" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
909
|
+
<select id="node-input-dptLightState" style="width:140px;"></select>
|
|
923
910
|
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
911
|
+
<label for="node-input-nameLightState" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
912
|
+
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
913
|
+
<input type="text" id="node-input-nameLightState" style="width:190px;margin-left: 5px; text-align: left;">
|
|
914
|
+
</div>
|
|
915
|
+
</p>
|
|
927
916
|
</div>
|
|
928
|
-
<div
|
|
929
|
-
<
|
|
930
|
-
|
|
917
|
+
<div id="tabs-2">
|
|
918
|
+
<p>
|
|
919
|
+
<div class="form-row">
|
|
920
|
+
<label for="node-input-nameLightDIM" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control</label>
|
|
931
921
|
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
922
|
+
<label for="node-input-GALightDIM" style="width:20px;">GA</label>
|
|
923
|
+
<input type="text" id="node-input-GALightDIM" placeholder="Ex: 1/1/1"
|
|
924
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
935
925
|
|
|
936
|
-
|
|
937
|
-
|
|
926
|
+
<label for="node-input-dptLightDIM" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
927
|
+
<select id="node-input-dptLightDIM" style="width:140px;"></select>
|
|
938
928
|
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
929
|
+
<label for="node-input-nameLightDIM" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
930
|
+
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
931
|
+
<input type="text" id="node-input-nameLightDIM" style="width:190px;margin-left: 5px; text-align: left;">
|
|
932
|
+
</div>
|
|
933
|
+
<div class="form-row">
|
|
934
|
+
<label for="node-input-nameLightBrightness" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control
|
|
935
|
+
%</label>
|
|
943
936
|
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
<label for="node-input-GALightBrightnessState" style="width:20px;"><span
|
|
949
|
-
data-i18n="knxUltimateHueLight.node-input-GALightState"></span></label>
|
|
950
|
-
<input type="text" id="node-input-GALightBrightnessState" placeholder="Ex: 1/1/1"
|
|
951
|
-
style="width:70px;margin-left: 5px; text-align: left;">
|
|
952
|
-
|
|
953
|
-
<label for="node-input-dptLightBrightnessState"
|
|
954
|
-
style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
955
|
-
<select id="node-input-dptLightBrightnessState" style="width:140px;"></select>
|
|
956
|
-
|
|
957
|
-
<label for="node-input-nameLightBrightnessState" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
958
|
-
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
959
|
-
<input type="text" id="node-input-nameLightBrightnessState"
|
|
960
|
-
style="width:190px;margin-left: 5px; text-align: left;">
|
|
961
|
-
</div>
|
|
962
|
-
<div class="form-row">
|
|
963
|
-
<label for="node-input-dimSpeed" style="width:260px">
|
|
964
|
-
<i class="fa fa-bolt"></i> Dim Speed (ms)
|
|
965
|
-
</label>
|
|
966
|
-
<input type="text" id="node-input-dimSpeed" placeholder='Default is 5000' style="width:210px">
|
|
967
|
-
</div>
|
|
968
|
-
<div class="form-row">
|
|
969
|
-
<label for="node-input-minDimLevelLight" style="width:260px;">
|
|
970
|
-
<i class="fa fa-clone"></i> Min Dim Brightness
|
|
971
|
-
</label>
|
|
972
|
-
<select id="node-input-minDimLevelLight">
|
|
973
|
-
<option value="useHueLightLevel">Use minimum brightness specified in the HUE light</option>
|
|
974
|
-
</select>
|
|
975
|
-
</div>
|
|
976
|
-
<div class="form-row">
|
|
977
|
-
<label for="node-input-maxDimLevelLight" style="width:260px;">
|
|
978
|
-
<i class="fa fa-clone"></i> Max Dim Brightness
|
|
979
|
-
</label>
|
|
980
|
-
<select id="node-input-maxDimLevelLight"></select>
|
|
981
|
-
</div>
|
|
982
|
-
</p>
|
|
983
|
-
</div>
|
|
984
|
-
<div id="tabs-3">
|
|
985
|
-
<p>
|
|
986
|
-
<div class="form-row">
|
|
987
|
-
<label for="node-input-nameLightHSV" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control dim</label>
|
|
937
|
+
<label for="node-input-GALightBrightness" style="width:20px;">GA</label>
|
|
938
|
+
<input type="text" id="node-input-GALightBrightness" placeholder="Ex: 1/1/1"
|
|
939
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
988
940
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
style="width:70px;margin-left: 5px; text-align: left;">
|
|
941
|
+
<label for="node-input-dptLightBrightness" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
942
|
+
<select id="node-input-dptLightBrightness" style="width:140px;"></select>
|
|
992
943
|
|
|
993
|
-
|
|
994
|
-
|
|
944
|
+
<label for="node-input-nameLightBrightness" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
945
|
+
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
946
|
+
<input type="text" id="node-input-nameLightBrightness" style="width:190px;margin-left: 5px; text-align: left;">
|
|
947
|
+
</div>
|
|
995
948
|
|
|
996
|
-
<
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
<div class="form-row">
|
|
1000
|
-
<label for="node-input-nameLightHSVPercentage" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control
|
|
1001
|
-
%</label>
|
|
949
|
+
<div class="form-row">
|
|
950
|
+
<label for="node-input-nameLightBrightnessState" style="width:110px;"><i class="fa fa-play-circle-o"></i>
|
|
951
|
+
Status</label>
|
|
1002
952
|
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
953
|
+
<label for="node-input-GALightBrightnessState" style="width:20px;"><span
|
|
954
|
+
data-i18n="knxUltimateHueLight.node-input-GALightState"></span></label>
|
|
955
|
+
<input type="text" id="node-input-GALightBrightnessState" placeholder="Ex: 1/1/1"
|
|
956
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1006
957
|
|
|
1007
|
-
|
|
1008
|
-
|
|
958
|
+
<label for="node-input-dptLightBrightnessState"
|
|
959
|
+
style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
960
|
+
<select id="node-input-dptLightBrightnessState" style="width:140px;"></select>
|
|
1009
961
|
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
962
|
+
<label for="node-input-nameLightBrightnessState" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
963
|
+
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
964
|
+
<input type="text" id="node-input-nameLightBrightnessState"
|
|
965
|
+
style="width:190px;margin-left: 5px; text-align: left;">
|
|
966
|
+
</div>
|
|
967
|
+
<div class="form-row">
|
|
968
|
+
<label for="node-input-dimSpeed" style="width:260px">
|
|
969
|
+
<i class="fa fa-bolt"></i> Dim Speed (ms)
|
|
970
|
+
</label>
|
|
971
|
+
<input type="text" id="node-input-dimSpeed" placeholder='Default is 5000' style="width:210px">
|
|
972
|
+
</div>
|
|
973
|
+
<div class="form-row">
|
|
974
|
+
<label for="node-input-minDimLevelLight" style="width:260px;">
|
|
975
|
+
<i class="fa fa-clone"></i> Min Dim Brightness
|
|
976
|
+
</label>
|
|
977
|
+
<select id="node-input-minDimLevelLight">
|
|
978
|
+
<option value="useHueLightLevel">Use minimum brightness specified in the HUE light</option>
|
|
979
|
+
</select>
|
|
980
|
+
</div>
|
|
981
|
+
<div class="form-row">
|
|
982
|
+
<label for="node-input-maxDimLevelLight" style="width:260px;">
|
|
983
|
+
<i class="fa fa-clone"></i> Max Dim Brightness
|
|
984
|
+
</label>
|
|
985
|
+
<select id="node-input-maxDimLevelLight"></select>
|
|
986
|
+
</div>
|
|
987
|
+
</p>
|
|
1013
988
|
</div>
|
|
1014
|
-
<div
|
|
1015
|
-
<
|
|
1016
|
-
|
|
989
|
+
<div id="tabs-3">
|
|
990
|
+
<p>
|
|
991
|
+
<div class="form-row">
|
|
992
|
+
<label for="node-input-nameLightHSV" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control dim</label>
|
|
1017
993
|
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
994
|
+
<label for="node-input-GALightHSV" style="width:20px;">GA</label>
|
|
995
|
+
<input type="text" id="node-input-GALightHSV" placeholder="Ex: 1/1/1"
|
|
996
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1021
997
|
|
|
1022
|
-
|
|
1023
|
-
|
|
998
|
+
<label for="node-input-dptLightHSV" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
999
|
+
<select id="node-input-dptLightHSV" style="width:140px;"></select>
|
|
1024
1000
|
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1001
|
+
<label for="node-input-nameLightHSV" style="width:50px; margin-left: 0px; text-align: right;">Name</label>
|
|
1002
|
+
<input type="text" id="node-input-nameLightHSV" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1003
|
+
</div>
|
|
1004
|
+
<div class="form-row">
|
|
1005
|
+
<label for="node-input-nameLightHSVPercentage" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control
|
|
1006
|
+
%</label>
|
|
1031
1007
|
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1008
|
+
<label for="node-input-GALightHSVPercentage" style="width:20px;">GA</label>
|
|
1009
|
+
<input type="text" id="node-input-GALightHSVPercentage" placeholder="Ex: 1/1/1"
|
|
1010
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1035
1011
|
|
|
1036
|
-
|
|
1037
|
-
|
|
1012
|
+
<label for="node-input-dptLightHSVPercentage" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1013
|
+
<select id="node-input-dptLightHSVPercentage" style="width:140px;"></select>
|
|
1038
1014
|
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
<
|
|
1044
|
-
|
|
1015
|
+
<label for="node-input-nameLightHSVPercentage"
|
|
1016
|
+
style="width:50px; margin-left: 0px; text-align: right;">Name</label>
|
|
1017
|
+
<input type="text" id="node-input-nameLightHSVPercentage" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1018
|
+
</div>
|
|
1019
|
+
<div class="form-row">
|
|
1020
|
+
<label for="node-input-nameLightKelvin" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control
|
|
1021
|
+
Kelvin</label>
|
|
1045
1022
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1023
|
+
<label for="node-input-GALightKelvin" style="width:20px;">GA</label>
|
|
1024
|
+
<input type="text" id="node-input-GALightKelvin" placeholder="Ex: 1/1/1"
|
|
1025
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1049
1026
|
|
|
1050
|
-
|
|
1051
|
-
|
|
1027
|
+
<label for="node-input-dptLightKelvin" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1028
|
+
<select id="node-input-dptLightKelvin" style="width:140px;"></select>
|
|
1052
1029
|
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
</label>
|
|
1060
|
-
<input type="checkbox" id="node-input-invertDimTunableWhiteDirection"
|
|
1061
|
-
style="display:inline-block; width:auto; vertical-align:top;" />
|
|
1062
|
-
</div>
|
|
1063
|
-
</p>
|
|
1064
|
-
</div>
|
|
1065
|
-
<div id="tabs-4">
|
|
1066
|
-
<p>
|
|
1067
|
-
<div class="form-row">
|
|
1068
|
-
<label for="node-input-nameLightColor" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control</label>
|
|
1069
|
-
|
|
1070
|
-
<label for="node-input-GALightColor" style="width:20px;"><span
|
|
1071
|
-
data-i18n="knxUltimateHueLight.node-input-GALightState"></span></label>
|
|
1072
|
-
<input type="text" id="node-input-GALightColor" placeholder="Ex: 1/1/1"
|
|
1073
|
-
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1074
|
-
|
|
1075
|
-
<label for="node-input-dptLightColor" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1076
|
-
<select id="node-input-dptLightColor" style="width:140px;"></select>
|
|
1077
|
-
|
|
1078
|
-
<label for="node-input-nameLightColor" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
1079
|
-
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
1080
|
-
<input type="text" id="node-input-nameLightColor" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1081
|
-
</div>
|
|
1082
|
-
<div class="form-row">
|
|
1083
|
-
<label for="node-input-nameLightColorState" style="width:110px;"><i class="fa fa-play-circle-o"></i>
|
|
1084
|
-
Status</label>
|
|
1030
|
+
<label for="node-input-nameLightKelvin" style="width:50px; margin-left: 0px; text-align: right;">Name</label>
|
|
1031
|
+
<input type="text" id="node-input-nameLightKelvin" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1032
|
+
</div>
|
|
1033
|
+
<div class="form-row">
|
|
1034
|
+
<label for="node-input-nameLightHSVState" style="width:110px;"><i class="fa fa-play-circle-o"></i> Status
|
|
1035
|
+
%</label>
|
|
1085
1036
|
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1037
|
+
<label for="node-input-GALightHSVState" style="width:20px;">GA</label>
|
|
1038
|
+
<input type="text" id="node-input-GALightHSVState" placeholder="Ex: 1/1/1"
|
|
1039
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1090
1040
|
|
|
1091
|
-
|
|
1092
|
-
|
|
1041
|
+
<label for="node-input-dptLightHSVState" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1042
|
+
<select id="node-input-dptLightHSVState" style="width:140px;"></select>
|
|
1093
1043
|
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
style="width:
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
<
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1044
|
+
<label for="node-input-nameLightHSVState" style="width:50px; margin-left: 0px; text-align: right;">Name</label>
|
|
1045
|
+
<input type="text" id="node-input-nameLightHSVState" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1046
|
+
</div>
|
|
1047
|
+
<div class="form-row">
|
|
1048
|
+
<label for="node-input-nameLightKelvinState" style="width:110px;"><i class="fa fa-play-circle-o"></i> Status
|
|
1049
|
+
Kelvin</label>
|
|
1050
|
+
|
|
1051
|
+
<label for="node-input-GALightKelvinState" style="width:20px;">GA</label>
|
|
1052
|
+
<input type="text" id="node-input-GALightKelvinState" placeholder="Ex: 1/1/1"
|
|
1053
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1054
|
+
|
|
1055
|
+
<label for="node-input-dptLightKelvinState" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1056
|
+
<select id="node-input-dptLightKelvinState" style="width:140px;"></select>
|
|
1057
|
+
|
|
1058
|
+
<label for="node-input-nameLightKelvinState" style="width:50px; margin-left: 0px; text-align: right;">Name</label>
|
|
1059
|
+
<input type="text" id="node-input-nameLightKelvinState" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1060
|
+
</div>
|
|
1061
|
+
<div class="form-row">
|
|
1062
|
+
<label style="width:170px" for="node-input-invertDimTunableWhiteDirection">
|
|
1063
|
+
<i class="fa fa-shuffle"></i> Invert DIM direction
|
|
1064
|
+
</label>
|
|
1065
|
+
<input type="checkbox" id="node-input-invertDimTunableWhiteDirection"
|
|
1066
|
+
style="display:inline-block; width:auto; vertical-align:top;" />
|
|
1067
|
+
</div>
|
|
1068
|
+
</p>
|
|
1116
1069
|
</div>
|
|
1070
|
+
<div id="tabs-4">
|
|
1071
|
+
<p>
|
|
1072
|
+
<div class="form-row">
|
|
1073
|
+
<label for="node-input-nameLightColor" style="width:110px;"><i class="fa fa-play-circle-o"></i> Control</label>
|
|
1117
1074
|
|
|
1118
|
-
|
|
1075
|
+
<label for="node-input-GALightColor" style="width:20px;"><span
|
|
1076
|
+
data-i18n="knxUltimateHueLight.node-input-GALightState"></span></label>
|
|
1077
|
+
<input type="text" id="node-input-GALightColor" placeholder="Ex: 1/1/1"
|
|
1078
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1079
|
+
|
|
1080
|
+
<label for="node-input-dptLightColor" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1081
|
+
<select id="node-input-dptLightColor" style="width:140px;"></select>
|
|
1082
|
+
|
|
1083
|
+
<label for="node-input-nameLightColor" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
1084
|
+
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
1085
|
+
<input type="text" id="node-input-nameLightColor" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1086
|
+
</div>
|
|
1119
1087
|
<div class="form-row">
|
|
1120
|
-
<label for="node-input-
|
|
1121
|
-
|
|
1088
|
+
<label for="node-input-nameLightColorState" style="width:110px;"><i class="fa fa-play-circle-o"></i>
|
|
1089
|
+
Status</label>
|
|
1122
1090
|
|
|
1123
|
-
<label for="node-input-
|
|
1124
|
-
|
|
1091
|
+
<label for="node-input-GALightColorState" style="width:20px;"><span
|
|
1092
|
+
data-i18n="knxUltimateHueLight.node-input-GALightState"></span></label>
|
|
1093
|
+
<input type="text" id="node-input-GALightColorState" placeholder="Ex: 1/1/1"
|
|
1125
1094
|
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1126
1095
|
|
|
1127
|
-
<label for="node-input-
|
|
1128
|
-
<select id="node-input-
|
|
1096
|
+
<label for="node-input-dptLightColorState" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1097
|
+
<select id="node-input-dptLightColorState" style="width:140px;"></select>
|
|
1129
1098
|
|
|
1130
|
-
<label for="node-input-
|
|
1099
|
+
<label for="node-input-nameLightColorState" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
1131
1100
|
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
1132
|
-
<input type="text" id="node-input-
|
|
1101
|
+
<input type="text" id="node-input-nameLightColorState" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1133
1102
|
</div>
|
|
1103
|
+
</p>
|
|
1134
1104
|
</div>
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
<div id="tabs-6">
|
|
1138
|
-
<p>
|
|
1139
|
-
<div class="form-row">
|
|
1140
|
-
<label style="width:260px;" for="node-input-readStatusAtStartup"><i class="fa fa-play-circle"></i> Read status at
|
|
1141
|
-
startup</label>
|
|
1142
|
-
<select id="node-input-readStatusAtStartup">
|
|
1143
|
-
<option value="no">No</option>
|
|
1144
|
-
<option value="yes">Yes, and emit KNX telegrams.</option>
|
|
1145
|
-
</select>
|
|
1146
|
-
</div>
|
|
1147
|
-
<div class="form-row" id="divUpdateKNXBrightnessStatusOnHUEOnOff">
|
|
1148
|
-
<label style="width:260px;" for="node-input-updateKNXBrightnessStatusOnHUEOnOff">
|
|
1149
|
-
<i class="fa fa-tag"></i> KNX Brightness Status
|
|
1150
|
-
</label>
|
|
1151
|
-
<select id="node-input-updateKNXBrightnessStatusOnHUEOnOff">
|
|
1152
|
-
<option value="onhueoff">When HUE light is Off send 0%. When HUE On, restore previous value (Default KNX behaviour)</option>
|
|
1153
|
-
<option value="no">Leave as is (default HUE behaviour)</option>
|
|
1154
|
-
</select>
|
|
1155
|
-
</div>
|
|
1156
|
-
<div id ="divBehaviourBrightness">
|
|
1105
|
+
<div id="tabs-5">
|
|
1106
|
+
<p>
|
|
1157
1107
|
<div class="form-row">
|
|
1158
|
-
<label for="node-input-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
</
|
|
1108
|
+
<label for="node-input-nameLightBlink" style="width:110px;"><i class="fa fa-play-circle-o"></i> Blink</label>
|
|
1109
|
+
|
|
1110
|
+
<label for="node-input-GALightBlink" style="width:20px;"><span
|
|
1111
|
+
data-i18n="knxUltimateHueLight.node-input-GALightState"></span></label>
|
|
1112
|
+
<input type="text" id="node-input-GALightBlink" placeholder="Ex: 1/1/1"
|
|
1113
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1114
|
+
|
|
1115
|
+
<label for="node-input-dptLightBlink" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1116
|
+
<select id="node-input-dptLightBlink" style="width:140px;"></select>
|
|
1117
|
+
|
|
1118
|
+
<label for="node-input-nameLightBlink" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
1119
|
+
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
1120
|
+
<input type="text" id="node-input-nameLightBlink" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1166
1121
|
</div>
|
|
1167
1122
|
|
|
1168
|
-
<div
|
|
1169
|
-
<
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1123
|
+
<div id="divColorCycle">
|
|
1124
|
+
<div class="form-row">
|
|
1125
|
+
<label for="node-input-nameLightColorCycle" style="width:110px;"><i class="fa fa-play-circle-o"></i> Color
|
|
1126
|
+
Cycle</label>
|
|
1127
|
+
|
|
1128
|
+
<label for="node-input-GALightColorCycle" style="width:20px;">GA</label>
|
|
1129
|
+
<input type="text" id="node-input-GALightColorCycle" placeholder="Ex: 1/1/1"
|
|
1130
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1131
|
+
|
|
1132
|
+
<label for="node-input-dptLightColorCycle" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1133
|
+
<select id="node-input-dptLightColorCycle" style="width:140px;"></select>
|
|
1134
|
+
|
|
1135
|
+
<label for="node-input-nameLightColorCycle" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
1136
|
+
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
1137
|
+
<input type="text" id="node-input-nameLightColorCycle" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1138
|
+
</div>
|
|
1139
|
+
</div>
|
|
1140
|
+
</p>
|
|
1141
|
+
</div>
|
|
1142
|
+
<div id="tabs-6">
|
|
1143
|
+
<p>
|
|
1144
|
+
<div class="form-row">
|
|
1145
|
+
<label style="width:260px;" for="node-input-readStatusAtStartup"><i class="fa fa-play-circle"></i> Read status at
|
|
1146
|
+
startup</label>
|
|
1147
|
+
<select id="node-input-readStatusAtStartup">
|
|
1148
|
+
<option value="no">No</option>
|
|
1149
|
+
<option value="yes">Yes, and emit KNX telegrams.</option>
|
|
1150
|
+
</select>
|
|
1174
1151
|
</div>
|
|
1175
|
-
<div class="form-row" id="
|
|
1176
|
-
<label for="node-input-
|
|
1152
|
+
<div class="form-row" id="divUpdateKNXBrightnessStatusOnHUEOnOff">
|
|
1153
|
+
<label style="width:260px;" for="node-input-updateKNXBrightnessStatusOnHUEOnOff">
|
|
1154
|
+
<i class="fa fa-tag"></i> KNX Brightness Status
|
|
1177
1155
|
</label>
|
|
1178
|
-
<select
|
|
1179
|
-
|
|
1156
|
+
<select id="node-input-updateKNXBrightnessStatusOnHUEOnOff">
|
|
1157
|
+
<option value="onhueoff">When HUE light is Off send 0%. When HUE On, restore previous value (Default KNX behaviour)</option>
|
|
1158
|
+
<option value="no">Leave as is (default HUE behaviour)</option>
|
|
1159
|
+
</select>
|
|
1180
1160
|
</div>
|
|
1181
|
-
|
|
1182
|
-
<div id="divCCSBoxAtNightLighting">
|
|
1161
|
+
<div id ="divBehaviourBrightness">
|
|
1183
1162
|
<div class="form-row">
|
|
1184
|
-
<label for="node-input-
|
|
1185
|
-
<i class="fa fa-
|
|
1163
|
+
<label for="node-input-specifySwitchOnBrightness" style="width:260px;">
|
|
1164
|
+
<i class="fa fa-tag"></i> Switch on behaviour
|
|
1186
1165
|
</label>
|
|
1187
|
-
<select id="node-input-
|
|
1188
|
-
<option value="no">
|
|
1166
|
+
<select id="node-input-specifySwitchOnBrightness">
|
|
1167
|
+
<option value="no">None</option>
|
|
1189
1168
|
<!-- <option value="temperature">Select temperature and brightness</option>
|
|
1190
1169
|
<option value="yes">Select color</option> -->
|
|
1191
1170
|
</select>
|
|
1192
1171
|
</div>
|
|
1193
1172
|
|
|
1194
|
-
<div id="
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
<
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1173
|
+
<div class="form-row" id="divColorsAtSwitchOn">
|
|
1174
|
+
<label for="node-input-colorAtSwitchOnDayTime" style="width:260px">
|
|
1175
|
+
</label>
|
|
1176
|
+
<input type="hidden" id="node-input-colorAtSwitchOnDayTime">
|
|
1177
|
+
<input type="color" id="colorPickerDay" style="width:260px">
|
|
1178
|
+
<button id="getColorAtSwitchOnDayTimeButton" type="button" class="red-ui-button">Get current</button>
|
|
1179
|
+
</div>
|
|
1180
|
+
<div class="form-row" id="divTemperatureAtSwitchOn" hidden>
|
|
1181
|
+
<label for="node-input-colorAtSwitchOnDayTime" style="width:260px">
|
|
1182
|
+
</label>
|
|
1183
|
+
<select style="width:12%;" id="comboTemperatureAtSwitchOn"></select>
|
|
1184
|
+
<select style="width:25%;" id="comboBrightnessAtSwitchOn"></select>
|
|
1185
|
+
</div>
|
|
1207
1186
|
|
|
1187
|
+
<div id="divCCSBoxAtNightLighting">
|
|
1208
1188
|
<div class="form-row">
|
|
1209
|
-
<label for="node-input-
|
|
1210
|
-
|
|
1211
|
-
<label for="node-input-GADaylightSensor" style="width:20px;">GA</label>
|
|
1212
|
-
<input type="text" id="node-input-GADaylightSensor" placeholder="Ex: 1/1/1"
|
|
1213
|
-
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1214
|
-
|
|
1215
|
-
<label for="node-input-dptDaylightSensor" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1216
|
-
<select id="node-input-dptDaylightSensor" style="width:140px;"></select>
|
|
1217
|
-
|
|
1218
|
-
<label for="node-input-nameDaylightSensor" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
1219
|
-
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
1220
|
-
<input type="text" id="node-input-nameDaylightSensor" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1221
|
-
</div>
|
|
1222
|
-
<div class="form-row">
|
|
1223
|
-
<label style="width:170px" for="node-input-invertDayNight">
|
|
1224
|
-
<i class="fa fa-shuffle"></i> Invert day/night values
|
|
1189
|
+
<label for="node-input-enableDayNightLighting" style="width:260px;">
|
|
1190
|
+
<i class="fa fa-clone"></i> Night Lighting
|
|
1225
1191
|
</label>
|
|
1226
|
-
<
|
|
1227
|
-
|
|
1192
|
+
<select id="node-input-enableDayNightLighting">
|
|
1193
|
+
<option value="no">No night lighting</option>
|
|
1194
|
+
<!-- <option value="temperature">Select temperature and brightness</option>
|
|
1195
|
+
<option value="yes">Select color</option> -->
|
|
1196
|
+
</select>
|
|
1197
|
+
</div>
|
|
1198
|
+
|
|
1199
|
+
<div id="divEnableDayNightLighting">
|
|
1200
|
+
|
|
1201
|
+
<div class="form-row" id="divColorsAtSwitchOnNightTime">
|
|
1202
|
+
<label for="node-input-colorAtSwitchOnNightTime" style="width:260px"></label>
|
|
1203
|
+
<input type="hidden" id="node-input-colorAtSwitchOnNightTime">
|
|
1204
|
+
<input type="color" id="colorPickerNight" style="width:260px">
|
|
1205
|
+
<button id="getColorAtSwitchOnNightTimeButton" type="button" class="red-ui-button">Get current</button>
|
|
1206
|
+
</div>
|
|
1207
|
+
<div class="form-row" id="divTemperatureAtSwitchOnNightTime" hidden>
|
|
1208
|
+
<label for="node-input-colorAtSwitchOnNightTime" style="width:260px"></label>
|
|
1209
|
+
<select style="width:25%;" id="comboTemperatureAtSwitchOnNightTime"></select>
|
|
1210
|
+
<select style="width:25%;" id="comboBrightnessAtSwitchOnNightTime"></select>
|
|
1211
|
+
</div>
|
|
1212
|
+
|
|
1213
|
+
<div class="form-row">
|
|
1214
|
+
<label for="node-input-nameDaylightSensor" style="width:110px;"><i class="fa fa-clock-o"></i>
|
|
1215
|
+
Day/Night</label>
|
|
1216
|
+
<label for="node-input-GADaylightSensor" style="width:20px;">GA</label>
|
|
1217
|
+
<input type="text" id="node-input-GADaylightSensor" placeholder="Ex: 1/1/1"
|
|
1218
|
+
style="width:70px;margin-left: 5px; text-align: left;">
|
|
1219
|
+
|
|
1220
|
+
<label for="node-input-dptDaylightSensor" style="width:40px; margin-left: 0px; text-align: right;">DPT</label>
|
|
1221
|
+
<select id="node-input-dptDaylightSensor" style="width:140px;"></select>
|
|
1222
|
+
|
|
1223
|
+
<label for="node-input-nameDaylightSensor" style="width:50px; margin-left: 0px; text-align: right;"><span
|
|
1224
|
+
data-i18n="knxUltimateHueLight.node-input-name"></span></label>
|
|
1225
|
+
<input type="text" id="node-input-nameDaylightSensor" style="width:190px;margin-left: 5px; text-align: left;">
|
|
1226
|
+
</div>
|
|
1227
|
+
<div class="form-row">
|
|
1228
|
+
<label style="width:170px" for="node-input-invertDayNight">
|
|
1229
|
+
<i class="fa fa-shuffle"></i> Invert day/night values
|
|
1230
|
+
</label>
|
|
1231
|
+
<input type="checkbox" id="node-input-invertDayNight"
|
|
1232
|
+
style="display:inline-block; width:auto; vertical-align:top;" />
|
|
1233
|
+
</div>
|
|
1228
1234
|
</div>
|
|
1229
1235
|
</div>
|
|
1236
|
+
<br/>
|
|
1230
1237
|
</div>
|
|
1231
|
-
<
|
|
1238
|
+
<div class="form-row">
|
|
1239
|
+
<label for="node-input-enableNodePINS" style="width:260px;">
|
|
1240
|
+
<i class="fa fa-circle"></i> Node Input/Output PINs
|
|
1241
|
+
</label>
|
|
1242
|
+
<select id="node-input-enableNodePINS">
|
|
1243
|
+
<option value="no">Hide</option>
|
|
1244
|
+
<option value="yes">Show node input/output PINs</option>
|
|
1245
|
+
</select>
|
|
1246
|
+
</div>
|
|
1247
|
+
</p>
|
|
1232
1248
|
</div>
|
|
1233
|
-
<div
|
|
1234
|
-
<
|
|
1235
|
-
<
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
<option value="yes">Show node input/output PINs</option>
|
|
1240
|
-
</select>
|
|
1249
|
+
<div id="tabs-7">
|
|
1250
|
+
<p>
|
|
1251
|
+
<br/> <b>YAML</b> <br/>
|
|
1252
|
+
<div style="height: 220px; min-height:150px;" class="node-text-editor" id="aceEditor"></div>
|
|
1253
|
+
<!-- <button type="button" class="red-ui-button">Button</button> -->
|
|
1254
|
+
</p>
|
|
1241
1255
|
</div>
|
|
1242
|
-
</p>
|
|
1243
1256
|
</div>
|
|
1244
|
-
<div id="tabs-7">
|
|
1245
|
-
<p>
|
|
1246
|
-
<br/> <b>YAML</b> <br/>
|
|
1247
|
-
<div style="height: 220px; min-height:150px;" class="node-text-editor" id="aceEditor"></div>
|
|
1248
|
-
<!-- <button type="button" class="red-ui-button">Button</button> -->
|
|
1249
|
-
</p>
|
|
1250
|
-
</div>
|
|
1251
|
-
|
|
1252
1257
|
<br />
|
|
1253
1258
|
</script>
|
|
1254
1259
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"engines": {
|
|
4
4
|
"node": ">=16.0.0"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.3.
|
|
6
|
+
"version": "2.3.3",
|
|
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",
|