Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Find the DALI2 Devs Common, Vertex action, Vertex Feedback, Daylight Harvesting, and Vertex cluster node in the palette on the left side of the Node-RED.

  2. 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. Clear Uncheck the Light Sensor checkbox. Check the Illuminance level option.

...

DALI2 Devs Common node configuration for the light sensor

5. Go to Daylight Harvesting node. Select the Feedback group which will be controlled and give feedback on current lux value. Set number of luxes in Daylight Harvesting value field and choose toleration (in luxes).

...

Info

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:

  1. Set brightness in vertex action node to get e.g. 500 luxes on the desk (measure this using lux meter)

  2. Note the Illuminance level below the DALI2 Devs Common node in the Node-RED workspace.

  3. Enter this value in the Daylight Harvesting Value field in the daylight harvesting node.

  4. If you need, check other configurations e.g. 1000 luxes and create a table with values.

...

6. Go to vertex action node. Set mode as Direct Value and as action select Set brightness (scale logarithmic). Select the same group as for the Daylight Harvesting node.

...

8. Link all nodes together as in the screenshot below.

...

Flow structure for Daylight Harvesting functionality

...

Flow

Code Block
languagejson
[{"id":"60bd1c0.62e65e4","type":"DALI2 Devs Common","z":"59857715.c357f8","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":560,"y":960,"wires":[["64e7216b.57395"]]},{"id":"64e7216b.57395","type":"vertex daylightHarvesting","z":"59857715.c357f8","name":"Daylight Harvesting","primarygroup":"eae92c3f7a879fa591d3b6ec263c5133","target":"500","tolerance":15,"P":0.25,"I":0.03,"D":0,"min":-25,"max":25,"x":900,"y":960,"wires":[["746d6035.25c8d"]]},{"id":"746d6035.25c8d","type":"vertex action","z":"59857715.c357f8","name":"","typeButton":"directv","bPayload":{"action":"setbrightnesslog","group":"eae92c3f7a879fa591d3b6ec263c5133","param":0,"priority":"0"},"bState":"","defaultpriority":false,"x":1140,"y":960,"wires":[["6e43667d.bd2b68"]]},{"id":"365ea292.b2c2ce","type":"vertex feedback","z":"59857715.c357f8","name":"","primarygroup":"eae92c3f7a879fa591d3b6ec263c5133","x":540,"y":1020,"wires":[["64e7216b.57395"]]},{"id":"6e43667d.bd2b68","type":"vertex cluster","z":"59857715.c357f8","userouting":false,"rate":5,"x":1370,"y":960,"wires":[]}]

...