Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

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.

Import the ready made flow using the instructions here: Importing Node-RED flow

[{"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":"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,"x":280,"y":320,"wires":[["e625e1c1.50eb3"],["5b05c0e8.9d6a9"]]}]

Instructions

  1. Find the following nodes in the Node-RED palette:

  • 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 the start time and the finish time (greater than the start time).

5. Enter Min CCT and Max CCT (range from 2700 K to 6500 K, but the range could be a little different for different LED drivers, you can check it in Vertex GUI. My driver range is from 3500 K to 5500 K).

6. Select the Confirm button to save parameters.

7. 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 frequency of sending command to change colour or brightness.

9. Select "Done".

If you want to change chart of color/brightness, click only “Done” after modification. “Confirm” button resets charts to default.

10. 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.

11. In the first (upper one) vertex action node, select the settings as shown below. Select the correct luminaire group that has Dynawhite luminaires.

12. In the second vertex action node, select the settings as shown below.

13. Link all nodes together and select the Deploy button.

Attention: If you have many Vertexex in cluster use Filter by Vertex node and choose message source to not duplicate messages.

  • No labels