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 will automatically adjust to a given value of light intensity.
Flow
[{"id":"60bd1c0.62e65e4","type":"DALI2 Devs Common","z":"ce67c69c.4fd4e8","name":"","outputs":1,"uid":"0084052F30EB6EE776","savedSettings":[{"instanceType":3,"isDisabled":true,"dali2t1":"","dali2t2":""},{"instanceType":4,"isDisabled":false},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"},{"instanceType":1,"isDisabled":true,"mode":"normal"}],"x":660,"y":800,"wires":[["64e7216b.57395"]]},{"id":"64e7216b.57395","type":"vertex daylightHarvesting","z":"ce67c69c.4fd4e8","name":"Daylight Harvesting","primarygroup":"eae92c3f7a879fa591d3b6ec263c5133","target":"230","tolerance":15,"P":0.25,"I":0.03,"D":0,"min":-25,"max":25,"x":1000,"y":800,"wires":[["746d6035.25c8d"]]},{"id":"746d6035.25c8d","type":"vertex action","z":"ce67c69c.4fd4e8","name":"","typeButton":"directv","bPayload":{"action":"setbrightnesslog","group":"eae92c3f7a879fa591d3b6ec263c5133","param":0,"priority":"0"},"bState":"","defaultpriority":false,"x":1350,"y":800,"wires":[["6e43667d.bd2b68"]]},{"id":"365ea292.b2c2ce","type":"vertex feedback","z":"ce67c69c.4fd4e8","name":"","primarygroup":"eae92c3f7a879fa591d3b6ec263c5133","x":620,"y":960,"wires":[["64e7216b.57395"]]},{"id":"6e43667d.bd2b68","type":"vertex cluster","z":"ce67c69c.4fd4e8","userouting":false,"rate":5,"x":1750,"y":800,"wires":[]},{"id":"e168fca2.fb64c","type":"comment","z":"ce67c69c.4fd4e8","name":"Select and configure light 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":630,"y":760,"wires":[]},{"id":"44608c0c.8bf1a4","type":"comment","z":"ce67c69c.4fd4e8","name":"Select the same group as in vertex action","info":"","x":620,"y":920,"wires":[]},{"id":"4da6a474.cdd6fc","type":"comment","z":"ce67c69c.4fd4e8","name":"Set luxes and toleration (Do the quick calibration firstt!)","info":"","x":1020,"y":760,"wires":[]},{"id":"aedd46e5.6c3898","type":"comment","z":"ce67c69c.4fd4e8","name":"Mode: Direct Value ","info":"","x":1350,"y":720,"wires":[]},{"id":"672b89d9.19cbd8","type":"comment","z":"ce67c69c.4fd4e8","name":"Action: Set brightness (scale logarithmic).","info":"","x":1400,"y":760,"wires":[]}]
Instructions
Find the following nodes in the Node-RED palette:
DALI2 Devs Common
vertex action
vertex feedback
Daylight Harvesting
vertex cluster
Drag the nodes and drop them onto the workspace.
3. In the DALI2 Devs Common node, in the Serial Number field, select the multisensor.
4. Uncheck the Light Sensor checkbox and check the Illuminance level checkbox (see screenshot below).
5. Go to the Daylight Harvesting node. Select the Feedback group which is controlled and gives feedback on the current lux value. Set the number of luxes in the Daylight Harvesting value field and choose toleration (in luxes).
Note that the value of luxes 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
Set brightness in the vertex action node to get e.g. 500 luxes on the desk - measure this using a lux meter.
Note the Illuminance level below the DALI2 Devs Common node in the Node-RED workspace.
Enter this value in the Daylight Harvesting Value field in the daylight harvesting node.
If you need, check other configurations e.g. 1000 luxes and create a table with values.
6. Go to the vertex action node. Set the mode as Direct Value and select Set brightness (scale logarithmic) as the action. Select the same group as in the Daylight Harvesting node.
7. In the vertex action node, uncheck the Default priority checkbox and set the Priority as 0. This enables the daylight harvesting function to operate after the lighting will turn on (triggered by multisensor or by switch).
8. Go to the vertex feedback node. In the group field, select the same group as in the vertex action and daylight harvesting nodes.
9. Link all nodes together as in the screenshot below. Then select Deploy and test your flow.
0 Comments