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