This documentation is for older software versions (up to 3.1.29). If you have software version 3.1.30 or higher, go to MODERN Home

(Classic) Corridor hold

See how to create a program for the corridor hold function. While you leave a corridor by entering the room (A), the corridor (B) keeps on a transition brightness level (e.g. 20%) until you are inside. When you leave the room, the sensor in the corridor detects movement and the brightness of the lights goes back to the presence level.

When the room is occupied, the corridor sensor detects other movements in the normal way. If someone appears in the corridor, the brightness level goes to 100%. When the sensor stops detecting movements, it goes back to the transition level (in this example to 20%).

Flow

[{"id":"e3f82507bed8cdee","type":"tab","label":"Flow 4","disabled":false,"info":"","env":[]},{"id":"c1fe20cf.66e6b","type":"DALI2 Devs Common","z":"e3f82507bed8cdee","name":"Corridor sensor","outputs":1,"uid":"00ADF92A15CC8F8885","savedSettings":[{"instanceType":3,"isDisabled":false,"dali2t1":"80","dali2t2":"40"},{"instanceType":4,"isDisabled":true}],"x":420,"y":340,"wires":[["69dd1d4.367ebe4"]]},{"id":"8366625b.0f6d4","type":"DALI2 Devs Common","z":"e3f82507bed8cdee","name":"Office sensor","outputs":1,"uid":"00004228016A375A56","savedSettings":[{"instanceType":3,"isDisabled":false,"dali2t1":"70","dali2t2":"35"},{"instanceType":4,"isDisabled":true}],"x":410,"y":500,"wires":[["6c654a5e.8dedf4","e0457ccaa9720104"]]},{"id":"6c654a5e.8dedf4","type":"change","z":"e3f82507bed8cdee","name":"","rules":[{"t":"change","p":"payload.MSEVENT","pt":"msg","from":"0","fromt":"num","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":630,"y":420,"wires":[["69dd1d4.367ebe4"]]},{"id":"69dd1d4.367ebe4","type":"vertex action","z":"e3f82507bed8cdee","name":"","typeButton":"motionsensor","bPayload":{"PRESENCE":{"action":"setbrightness","group":"7e4a383c7ff86b589d54513c96ad4e2d","param":"50","priority":"255"},"TRANSITION":{"action":"setbrightness","group":"7e4a383c7ff86b589d54513c96ad4e2d","param":"10","priority":"0"},"NOPRESENCE":{"action":"off","group":"7e4a383c7ff86b589d54513c96ad4e2d","param":null,"priority":"254"}},"bState":"","defaultpriority":true,"x":850,"y":340,"wires":[["fee30ebf51e69cb4"]]},{"id":"fee30ebf51e69cb4","type":"vertex cluster","z":"e3f82507bed8cdee","rate":90,"x":1050,"y":420,"wires":[]},{"id":"e0457ccaa9720104","type":"vertex action","z":"e3f82507bed8cdee","name":"","typeButton":"motionsensor","bPayload":{"PRESENCE":{"action":"setbrightness","group":"7e4a383c7ff86b589d54513c96ad4e2d","param":"50","priority":"255"},"TRANSITION":{"action":"setbrightness","group":"7e4a383c7ff86b589d54513c96ad4e2d","param":"10","priority":"0"},"NOPRESENCE":{"action":"off","group":"7e4a383c7ff86b589d54513c96ad4e2d","param":null,"priority":"254"}},"bState":"","defaultpriority":true,"x":850,"y":500,"wires":[["fee30ebf51e69cb4"]]},{"id":"ebbcc8715496b9cc","type":"comment","z":"e3f82507bed8cdee","name":"Set the Corridor to Transition","info":"","x":620,"y":380,"wires":[]},{"id":"ecdd0a1fceb46045","type":"comment","z":"e3f82507bed8cdee","name":"Corridor lighting control","info":"","x":860,"y":300,"wires":[]},{"id":"104e7ed68f5c84a1","type":"comment","z":"e3f82507bed8cdee","name":"Office lighting control","info":"","x":850,"y":560,"wires":[]}]

Instructions

  1. In the Node-RED, in the node palette, select the following nodes:

  • DALI2 devs common x2

  • change node

  • vertex action x2

  • vertex cluster

2. Go to the change node. Set the Rules as in the picture below:

The change node is used to change the Presence event to the Transition event so that in the corridor the luminaires will be set to the transition level.

3. Go to the vertex action node. Select the Mode as Motion sensor and select the group. Define actions that should be triggered for given events.

4. Select the Deploy button and test your program.

Related pages