Human-Centric Lighting (HCL) is an approach to lighting design that focuses on enhancing the well-being, health, and performance of individuals by taking into account the physiological and psychological aspects of human beings and their interaction with light. It can give an energy boost or it can have a calming effect. HCL aims to create lighting environments that are tailored to the natural patterns of human circadian rhythms and visual comfort.
Using the Node-RED you can control the color temperature of specific luminaire groups. You will be able to adjust the color temperature curve and also the brightness level during certain parts of the day.
Panel | |
---|---|
|
| |||||||
| [{"id":"d34d8c92.282a9","type":"tab","label":"HCL","disabled":false,"info":""},{"id":"e625e1c1.50eb3","type":"vertex action","z":"d34d8c92.282a9","name":"color temperature","typeButton":"directv","bPayload":{"action":"setcolortemperature","group":"ff94a09f3810e83641da0e48ea02a61f","param":0,"priority":"254"},"bState":"","defaultpriority":true,"x":680,"y":300,"wires":[["ce5f71dd.eaee5"]]},{"id":"5b05c0e8.9d6a9","type":"vertex action","z":"d34d8c92.282a9","name":"brightness","typeButton":"directv","bPayload":{"action":"setbrightness","group":"ff94a09f3810e83641da0e48ea02a61f","param":0,"priority":"254"},"bState":"","defaultpriority":true,"x":660,"y":360,"wires":[["ce5f71dd.eaee5"]]},{"id":"ce5f71dd.eaee5","type":"vertex cluster","z":"d34d8c92.282a9","rate":5,"x":970,"y":320,"wires":[]},{"id":"dfb44b0d.305768","type":"comment","z":"d34d8c92.282a9","name":"Read node documentation","info":"Read documentation of this node and adjust the HCL function.","x":330,"y":240,"wires":[]},{"id":"a06d5545.ff2dc","type":"comment","z":"d34d8c92.282a9","name":"Mode: Direct value","info":"","x":670,"y":200,"wires":[]},{"id":"f7784baf.6532c","type":"comment","z":"d34d8c92.282a9","name":"Mode: Direct value","info":"","x":670,"y":420,"wires":[]},{"id":"1c4d8425.042e8c","type":"comment","z":"d34d8c92.282a9","name":"And then adjust the HCL curve","info":"","x":340,"y":280,"wires":[]},{"id":"c5cc1ad5.e5a898","type":"comment","z":"d34d8c92.282a9","name":"Action: Set color temperature","info":"","x":700,"y":240,"wires":[]},{"id":"aed73e47.a6758","type":"comment","z":"d34d8c92.282a9","name":"Action: Set brightness (scale percent)","info":"","x":730,"y":460,"wires":[]},{"id":"
| ||||||
Import the ready made flow using the instructions here: Importing a Node-RED flow or follow the instructions below. |
Code Block |
---|
[{"id":"9c61868e.cde0a8","type":"es cct","z":"d34d8c92.282a9","name":"","startTime":"05:00","finishTime":"23:30","colorLevels":[3500,4997,5446,5006,3500],"colorLabels":["05:00","08:12","13:31","18:47","23:30"],"brightnessLevels":[100,48,48,49,100],"brightnessLabels":["05:00","08:55","12:59","19:34","23:30"],"sendFrequencyInMinutes":1,"cctMin":3500,"cctMax":5500,"selectedVertex":"B827EB6C2118","x":280,"y":320,"wires":[["e625e1c1.50eb3"],["5b05c0e8.9d6a9"]]}] |
Step-by-step instructions
Find the following nodes in the palette on the left side of the Node-RED palette:, drag them to your workspace and connect them as shown.
ES CCT control
Vertex action x2
Vertex cluster
2. Drag the nodes and drop them onto the workspace. 3. Go to the ES CCT control node. You will see the configuration screen of this node. 4. Enter Input the start time and end time, ensuring that the finish end time (greater is later than the start time).5. Enter Min . Specify the Minimum CCT and Max CCT (range Maximum CCT values, typically ranging from 2700 K to 6500 K. However, but note that the range could be a little different may vary slightly for different LED drivers, you can check it in Vertex GUI. My driver range is from 3500 K to 5500 K).6. . In this example the driver's range is between 3500K and 5500K. Select the Confirm button to save parameters.
Select the message source, it will be one of the Vertexes.
7.Info |
---|
We recommend making one central engine for HCL (choosing one Vertex for all HCL control) to avoid chatter in the system and to make adjustments easier in the future. |
Adjust the Color Temperature and Brightness functions. Add multiple points to your function:
to add a new point, press ALT and then click on the chosen place on the graph
to remove the point from the graph, click it while holding SHIFT
to move the point on the graph, drag it to the chosen place
8. Set Message interval - you can moderate for the frequency of sending CCT settings command to change colour or brightness.
9. Select "Done".
infosent to the luminaire groups
Note |
---|
If you want to change chart of color/brightness, click only “Done” after modification. The “Confirm” button resets charts to default. |
Open the first vertex actionnode.
It will control the color temperature
.
11. In the first (upper one) vertex action node, select the Set the settings as shown below. Select the correct luminaire group that has Dynawhite luminaires.
Open the second vertex action node,
set the settings as shown below. This node will control the brightness value.
13. Link all nodes together and select the Deploy button.
Note |
---|
Attention: If you have many Vertexex in cluster use Filter by Vertex node and choose message source to not duplicate messages. |
Related articles
Do not forget to click Done and Deploy!