Using the Node-RED you can also control the color temperature of specific luminaire groups that have Circadian or Dynawhite technologies. You will be able to adjust the color temperature curve and also brightness level. At the bottom of the page, you will find a code to copy and import in the Node-RED for this program.
Flow
[{"id":"cedc0d4a.5ca1f","type":"es cct","z":"59857715.c357f8","name":"","order":0,"starttime":"07:00","finishtime":"16:00","mode":2,"data":[3512,3578,3674,4247,5583,5583,5450,4820,4237,3760],"labels":["07:00","08:00","09:00","09:59","11:01","12:01","13:00","14:00","15:01","16:00"],"dataB":[50,57,74,73,59,32],"labelsB":["07:00","09:00","10:18","12:16","14:34","16:00"],"unit":"0","x":900,"y":520,"wires":[["e625e1c1.50eb3"],["5b05c0e8.9d6a9"]]},{"id":"e625e1c1.50eb3","type":"vertex action","z":"59857715.c357f8","name":"","typeButton":"directv","bPayload":{"action":"setcolourtemperature","group":"188bbb8c27eb1fa79871a67e952def79","param":0,"priority":"254"},"bState":"","defaultpriority":true,"x":1070,"y":500,"wires":[["ce5f71dd.eaee5"]]},{"id":"5b05c0e8.9d6a9","type":"vertex action","z":"59857715.c357f8","name":"","typeButton":"directv","bPayload":{"action":"setbrightness","group":"188bbb8c27eb1fa79871a67e952def79","param":0,"priority":"254"},"bState":"","defaultpriority":true,"x":1070,"y":540,"wires":[["ce5f71dd.eaee5"]]},{"id":"ce5f71dd.eaee5","type":"vertex cluster","z":"59857715.c357f8","userouting":false,"rate":5,"x":1280,"y":520,"wires":[]}]
Instructions
Find the ES CCT control, Vertex action, and Vertex cluster node in the palette on the left side of the Node-RED.
Drag the nodes and drop them onto the workspace.
Go to the ES CCT control node. You will see the configuration screen of this node.
Enter the start time and the finish time (greater than the start time).
Choose a time unit.
Select the Set Time button.
7. Adjust the Color Temperature function. Add multiple points to your function.
8. Adjust the Brightness function.
9. Moderate Color and Brightness functions by adding multiple points:
- to add a new point, press ALT and then click on the desired place on the graph.
- to remove the point from the graph you need to click it while holding SHIFT.
- to move the point on the graph you can either drag it to the desired place or click it with the CTRL key and select time and value in the prompt window (see picture below).
11. Select "Done".
12. Copy and paste another vertex action node. You will need two nodes: the upper one for controlling the color temperature and the second one for the brightness value.
13. In the first (upper one) vertex action node, select the settings as below.
14. In the second vertex action node, select the settings as below.
15. Link all nodes together and select the Deploy button.
For the luminaires designed in Circadian technology, the second function (brightness) will control the amount of blue light. For tunable white technology, the overall brightness of the luminaire will be controlled.
Add Comment