Versions Compared

Key

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

...

Code Block
languagejson
[{"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

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

    1. DALI2 Devs Common

    ,
    1. Vertex action

    ,
    1. Vertex Feedback

    ,
    1. Daylight Harvesting

    , and
    1. Vertex cluster

    node in the palette on the left side of the Node-RED.
  2. Drag the nodes and drop them onto the workspace.

...

4. Uncheck the Light Sensor checkbox. Check the Illuminance level option checkbox.

...

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.

Image Modified

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.

...