...
Info |
---|
The sensor offers 2 instances for motion/presence detection. It means that using one sensor allows for controlling 2 zones independently. |
How to commission it?
To program logic within the Node-RED tool you need to use a DALI2 Devs Common node, which is available in the node palette on the left-hand side of Node-RED UI.
...
Click this node to enter the configuration window. Choose the serial number of the device in the Serial Number field. Uncheck the Motion/presence sensor checkbox. Below you have two fields where you can set the presence and transition time duration.
Then click Done in the upper right corner of the window.
...
Then you need to find the vertex action node in the palette. Set Mode as Motion sensor. Then select the group you want to control by this multisensor. Next, you should define actions in Presence, Transition, and No presence fields. Define these actions as you need.
...
Don't forget to connect all your nodes and be sure that the vertex cluster node is present in your flow!
Then click Deploy button at the upper-right corner of the Node-RED.
...
Import the ready flow using the code below:
Code Block | ||
---|---|---|
| ||
[{"id":"713ff9f7.64f288","type":"tab","label":"Flow 10","disabled":false,"info":""},{"id":"e0e1af9.6a3855","type":"DALI2 Devs Common","z":"713ff9f7.64f288","name":"","outputs":1,"uid":"D7BFBFCF00891400","savedSettings":[{"instanceType":3,"isDisabled":false,"dali2t1":"","dali2t2":""},{"instanceType":4,"isDisabled":true},{"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":520,"y":380,"wires":[["3ad2631c.8574cc"]]},{"id":"3ad2631c.8574cc","type":"vertex action","z":"713ff9f7.64f288","name":"","typeButton":"motionsensor","bPayload":{"PRESENCE":{"action":"noreact","group":"0327ffd20adbd58c2cf40fa8b12b9304","param":null,"priority":"255"},"TRANSITION":{"action":"noreact","group":"0327ffd20adbd58c2cf40fa8b12b9304","param":null,"priority":"0"},"NOPRESENCE":{"action":"noreact","group":"0327ffd20adbd58c2cf40fa8b12b9304","param":null,"priority":"254"}},"bState":"","defaultpriority":true,"x":740,"y":380,"wires":[["ad4e04de.d85e18"]]},{"id":"ad4e04de.d85e18","type":"vertex cluster","z":"713ff9f7.64f288","rate":5,"x":930,"y":380,"wires":[]}] |
Go to Sensor Commissioning