Use light sensors to adapt luminaire power to the current daylight level. In daylight harvesting, the light intensity in the room is kept constant and luminaire power automatically adjusts to a given value of light intensity.
Info |
---|
The quide applies to Vertex 3 with a software version 3.1.24 and newer. |
How does the flow work?
Daylight Harvesting is a method used to optimize the use of natural daylight in indoor spaces. It involves the use of sensors and controls to automatically adjust artificial lighting levels based on the amount of available natural light. By dimming or turning off artificial lights when sufficient daylight is present, daylight harvesting systems can reduce energy consumption and create a more comfortable and sustainable environment.
Constant light control uses a feedback loop to maintain a consistent level of illumination in a space. It works by continuously adjusting the artificial lighting output based on real-time feedback from light sensors.
Get your prioirities right!
Priority is very important when it comes to Daylight Harvesting, here you will find an explanation of it works, so if for some reason you need to change priorities you will do it correctly. When the motion sensor detects presence in the room, Presence action with priority 255 is triggered . Lights and lights turn on. After this event, its priority changes to 0, which enables the . As the default priority of Daylight Harvesting function (it is also has priority 0). During Transistion period nothing happens. When the sensor does not detect any presence in the room, No presence action is triggered (0 Daylight Harvesting is active. If you want to set a scene we use priority to override daylight harvesting. We do this by giving the secene an initial priority is 254 and which changes to 1 afterwards) and overrides any lower priority actions e.g daylight harvesting (priority 0). As a result, the lights turn off.See alsoafter implementation. We do the same thing for other actions such as the standby transition time or turning the lights off.
If you want more information on this topic go to: Action priorities
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Import the ready made flow using the instructions here: Importing a Node-RED flow or follow the instructions below. |
Code Block | ||
---|---|---|
| ||
[{"id":"a33e462751ce33df","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"46ec5aaf5504be19","type":"vertex action","z":"a33e462751ce33df","name":"","typeButton":"directv","bPayload":{"action":"setbrightnesslog","group":null,"param":0,"priority":"0"},"bState":"","defaultpriority":false,"x":750,"y":400,"wires":[["488e33fcbfd5bc2a"]]},{"id":"488e33fcbfd5bc2a","type":"vertex cluster","z":"a33e462751ce33df","rate":90,"x":890,"y":280,"wires":[]},{"id":"714ed327d54fb93e","type":"vertex daylightHarvesting","z":"a33e462751ce33df","name":"Daylight Harvesting","primarygroup":"fb3565668659d2c83c26a6e2fbad2a7c","target":"500","tolerance":"20","P":0.25,"I":0.03,"D":0,"min":-25,"max":25,"x":510,"y":400,"wires":[["46ec5aaf5504be19"]]},{"id":"3c3f21a4ee8cd654","type":"DALI2 Devs Common","z":"a33e462751ce33df","name":"Motion and light sensor","outputs":2,"uid":"008C699BDDC69077D7","devStatus":2,"devSettings":[{"instanceType":3,"isDisabled":false,"dali2t1":"40","dali2t2":"5","evenFilters":15},{"instanceType":4,"isDisabled":false,"evenFilters":1}],"savedSettings":[{"instanceType":3,"isDisabled":false,"dali2t1":"40","dali2t2":"5","evenFilters":7},{"instanceType":4,"isDisabled":false,"evenFilters":1}],"x":210,"y":340,"wires":[["32faf284606bb577"],["714ed327d54fb93e"]]},{"id":"32faf284606bb577","type":"vertex action","z":"a33e462751ce33df","name":"","typeButton":"motionsensor","bPayload":{"PRESENCE":{"action":"minlevel","group":null,"param":null,"priority":"255"},"TRANSITION":{"action":"noreact","group":null,"param":null,"priority":"0"},"NOPRESENCE":{"action":"setbrightness","group":null,"param":"0","priority":"254"}},"bState":"","defaultpriority":true,"x":490,"y":280,"wires":[["488e33fcbfd5bc2a"]]},{"id":"9f56e18b6c0c6b87","type":"comment","z":"a33e462751ce33df","name":"Select and configure the multi sensor","info":"## 1. In DALI2 Devs Common node, in the Serial Number field, select the multisensor.\n\n## 2. Clear 2nd checkbox to be able to program Light Sensor\n\n## 3. ","x":200,"y":300,"wires":[]},{"id":"63a0735d23c3a08d","type":"comment","z":"a33e462751ce33df","name":"Set luxes and tolerance (Do the quick calibration firstt!)","info":"","x":440,"y":440,"wires":[]},{"id":"be97bb8e83969abf","type":"comment","z":"a33e462751ce33df","name":"Mode: Direct Value ","info":"","x":750,"y":360,"wires":[]},{"id":"3a6d8557cce911f9","type":"comment","z":"a33e462751ce33df","name":"Action: Set brightness (scale logarithmic).","info":"","x":820,"y":440,"wires":[]},{"id":"f084dd42f8a9f910","type":"comment","z":"a33e462751ce33df","name":"Mode: Motion sensor","info":"","x":480,"y":240,"wires":[]}] |
Step-by-step instructions
Find the following nodes in the palette on the left side of the Node-RED palette:and drag them to your workspace and connect them as shown.
DALI2 Devs Common
Daylight Harvesting
vertex action x2
vertex cluster
2. Drag the nodes and drop them onto the workspace.
3. In Click the DALI2 Devs Common node to enter the configuration window, in the Device Serial Number field, select the multisensoryour sensor from the drop down list.
4. Make sure both motion and light sensors are enabled and configured as shown below.
5. . By default all instances are marked which means they are disabled. Enable motion sensor and light sensor by unchecking the is disabled checkbox and set the Mode as Normal.
5. The upper output of the Motion and light sensor node is for motion detection. Go to the first vertex action node connected to the motion sensor output. Select the Motion sensor mode and appropriate group. Configure the Presence, Transition and No presence state actions accordingly.
Note |
---|
Leave the default priority settings. |
6. Go to the Daylight Harvesting node . Select the Feedback group which is controlled and which is connected the lower output of the Motion and light sensor node. Set the feedback group to the same group selected in step 5. The Feedback group gives feedback on the current intensity value (lux). Set the intensity in the Daylight Harvesting value [Lux] field and choose tolerance.
Info |
---|
Note that the intensity in the Daylight Harvesting may not correspond to the actual brightness intensity on e.g. the desk. You should do a quick calibration. Use lux meter to measure the brightness intensity on the desk. How to do the daylight harvesting calibration
|
7. Go to the second vertex action node. Set the mode as a Direct Valueand Set brightness (scale logarithmic) as the action.Select the same group as in the Daylight Harvesting node.
8. In the vertex action node, uncheck the Default prioritycheckbox and set the Priority to 0.
9. Link all nodes together. Then select Deploy and test your flow.