Versions Compared

Key

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

There are two ways you can set up dimming functions in your system:

  • Using two buttons (one for dimming up and one for dimming down)

  • Using one multifunction button (ESDIM) where short press toggles ON/OFF function and long press toggles dimming up and down.

ESDIM (ON, OFF, Dimm Up

&

, Dimm Down

Buttons

) - One Multifunction Button

Import the ready made flow using the instructions here: Importing a Node-RED flow

Code Block
languagejson
[{"id":"9d9261efbe58292a.1d337057758","type":"DALI2 Devs Commontab","zlabel":"c0f5917a.1cc76Flow 8","namedisabled":false,"info",:"outputs":4},{"uidid":"00D57389932DCF770E6ab8e733.df3ce8","devStatustype":2,"devSettings"vertex action","z":[{"instanceTypebe58292a.057758":1,"isDisabledname":false"ON/OFF","modetypeButton":"normaltoggle","evenFiltersbPayload":84},{"instanceTypeON":1,{"isDisabledaction":false"setbrightness","modegroup":"normal0efc9ef58896d0b1839b65d7af598531","evenFiltersparam":84},{"instanceType100":1,"isDisabledpriority":false,"mode":"dimmb"254"},"evenFiltersOFF":84},{"instanceTypeaction":1,"isDisabledsetbrightness":false,"modegroup":"dimmb0efc9ef58896d0b1839b65d7af598531","evenFiltersparam":84}]"0","savedSettingspriority":[{"instanceType254":1}},"isDisabledbState":false,"modedefaultpriority":true,"normalx":830,"evenFiltersy":84}220,{"instanceTypewires":1,"isDisabled":false,"mode[["ebbd9eb5.5f16d"]]},{"id":"normal36f9a54b.2a2dfa","evenFilterstype":84},{"instanceType"vertex action","z":1,"isDisabledbe58292a.057758":false,"modename":"dimmbDIMM UP/DIMM DOWN","evenFilterstypeButton":84},"dimm","bPayload":{"instanceTypeDON":1,{"isDisabledaction":false"noreact","modegroup":"dimmb0efc9ef58896d0b1839b65d7af598531","evenFiltersparam":84}]null,"xpriority":460"254"},"yHOLDUP":400,{"wiresaction":[["6c51f7a7.b2f768upaction"],["8f85d6e8.a046f8"],["f334a1d6.f24f4"],["56162c55.f8b3e4"]]},{"id":"6c51f7a7.b2f768","type":"vertex action","z":"c0f5917a.1cc76","name":"ON","typeButton":"single","bPayloadgroup":"0efc9ef58896d0b1839b65d7af598531","param":null,"priority":"254"},"HOLDDOWN":{"action":"downaction","group":"0efc9ef58896d0b1839b65d7af598531","param":null,"priority":"254"},"DOFF":{"action":"maxlevelnoreact","group":"ff94a09f3810e83641da0e48ea02a61f0efc9ef58896d0b1839b65d7af598531","param":null,"priority":"254"}},"bState":""false,"defaultpriority":true,"x":720,"y":360300,"wires":[["97c3baccebbd9eb5.68e5385f16d"]]},{"id":"97c3bacc38b3e4ca.68e538ac5d4c","type":"vertex clusterfunction","z":"c0f5917abe58292a.1cc76057758","ratename":5,"x":1070,"yfunc":400,"wires":[]},{"id":"8f85d6e8.a046f8","type":"vertex action","z":"c0f5917a.1cc76","name":"OFF","typeButton":"single","bPayload":{"action":"off","group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"bState":"","defaultpriority":true,"x":720,"y":400,"wires":[["97c3bacc.68e538"]]},{"id":"f334a1d6.f24f4","type":"vertex action","z":"c0f5917a.1cc76","name":"Dimming down","typeButton":"dimm","bPayload":{"DON":{"action":"setbrightness","group":"ff94a09f3810e83641da0e48ea02a61f","param":"80","priority":"254"},"HOLDUP":{"action":"downaction","group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"HOLDDOWN":{"action":null,"group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"DOFF":{"action":null,"group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"}},"bState":false,"defaultpriority":true,"x":750,"y":440,"wires":[["97c3bacc.68e538"if(msg.payload.UP !== undefined || msg.payload.DOWN !== undefined){\n    return msg;\n}","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":660,"y":220,"wires":[["6ab8e733.df3ce8"]]},{"id":"a3978b5c.180458","type":"DALI2 Devs Common","z":"be58292a.057758","name":"LOWER PB","outputs":1,"uid":"0000000829E23C254C","devStatus":2,"devSettings":[{"InstanceType":1,"isDisabled":false,"mode":"dimmb","evenFilters":212},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84}],"savedSettings":[{"InstanceType":1,"isDisabled":false,"mode":"dimmb","evenFilters":212},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84}],"x":390,"y":220,"wires":[["38b3e4ca.ac5d4c","36f9a54b.2a2dfa"]]},{"id":"56162c55ebbd9eb5.f8b3e45f16d","type":"vertex actioncluster","z":"c0f5917abe58292a.1cc76057758","namerate":"Dimming up"90,"typeButtonx":"dimm"1090,"bPayloady":{220,"DONwires":[]},{"actionid":"minlevelc67e285c.b3af38","grouptype":"ff94a09f3810e83641da0e48ea02a61fvertex feedback","paramz":null"be58292a.057758","priorityname":"254"},"HOLDUPprimarygroup":{"action0efc9ef58896d0b1839b65d7af598531":"upaction","group,"sendOnChange":"ff94a09f3810e83641da0e48ea02a61f"true,"paramx":null660,"priorityy":"254"}140,"HOLDDOWNwires":{"action":null,"group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"DOFF":{"action":null,"group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"}},"bState":false,"defaultpriority":true,"x":740,"y":480,"wires":[["97c3bacc.68e538"]]},{"id":"498551e7.3ee72","type":"comment","z":"c0f5917a.1cc76","name":"Select and configure a panel","info":"## Clear 4 checkboxes to have 4 buttons to manage. Set the Mode as Normal. You don’t need to change Event filters.\n\n","x":480,"y":340,"wires":[]},{"id":"d17f9577.007ec8","type":"comment","z":"[["6ab8e733.df3ce8"]]}]
Image Added

Instructions

  1. Find the following nodes in the palette on the left side of the Node-RED

  • DALI2 Devs Common

  • function node

  • vertexd feedback

  • vertex action x2

  • vertex cluster

  1. Drag the nodes and drop them onto the workspace.

  2. In the DALI2 Devs Common node choose the pushbutton panel you wish to use and select its mode as ESDIM.

Image Added

  1. In the function node, paste the code given below. It filters certain messages, so that the usage of two vertex action nodes via one button instance is possible.

Code Block
languagejson
if(msg.payload.UP !== undefined || msg.payload.DOWN !== undefined){
    return msg;
}
  1. Configure the vertex action nodes as shown below.

VA: ON/OFF

Image Added

VA: DIMM UP/DIMM DOWN

Image Added

  1. In the vertex feedback node select the same group that you want to control with dimming functionality. The feedback nodes ensures that, when the group level is triggered by another action in the flow, the ON/OFF vertex action node will be notified of the actual light level and trigger appropriate action. Thanks to this, the “double click“ issue is solved.

  1. Link all nodes together and deploy your flow.

Dimm Up & Dimm Down Buttons

Import the ready made flow using the instructions here: Importing a Node-RED flow

Code Block
languagejson
[{"id":"9d9261ef.1d337","type":"DALI2 Devs Common","z":"c0f5917a.1cc76","name":"Define actions for 4 buttons","info":"## 1. Select mode as Single button.\n## 2. Select the right group.\n\n","x":770,"y":320,"wires":[]}]
Image Removed

Instructions

  1. Find the following nodes in the palette on the left side of the Node-RED

  • DALI2 Devs Common

  • vertex action x4

  • vertex cluster

Image Removed

2. Drag the nodes and drop them onto the workspace.

3. In the DALI2 Devs Common node, in the Serial Number field, select the panel you want. In this field, you have a list of all DALI devices found by your Vertex controller.

Note

Make sure that the multisensor is properly connected to the Vertex. If not, you won’t be able to set up the parameters. The device with “no communication” status is marked as “NC” at the beginning of the name.

4. Below you have outputs of every Input Unit device - normally they are disabled. Clear 4 checkboxes to have 4 buttons to manage. Set the Mode as Normal for buttons that trigger constant light and ESDIM for dimming buttons. ESDIM mode provides you with more message structures that are used to ensure proper dimming functionality.

Image Removed

5. You have 4 vertex action nodes for the same number of buttons. In these nodes set:

  • 1st button for turning on the light:
    Set the name as e.g. ON. Then select the Mode as Single button. Then you need to define action as Recall max level and choose the luminaire group you want to control.

Image Removed
  • 2nd button for turning off the light (OFF):
    Here, you need only to change the action to Recall off.

Image Removed3rd button for dimming:
Set the name as e.g. Dimming down. Then select the Mode as Dimm button.Select the first action as Set brightness,e.g. 80%- this is the brightness level you want to start dimming. The second action set Step down cyclically. In this configuration with one click, you set 80% brightness level and when you click and hold you can dim it down to the preferred level. Image Removed4th button for Dimming up:
Set the name as e.g. Dimming up. Then select the Mode as Dimm button.Select the first action as Recall min level - this is a brightness level you want to start dimming. The second action set Step up cyclically. In this configuration with one click, you set a minimum brightness level and when you click and hold you can dim it up to the preferred level. Image Removed

6. Link all nodes together. Connect Dali2 Devs Common node outputs to complementary vertex action nodes, and then connect the outputs of vertex action nodes to the vertex cluster node.

After you select the Deploy button - the blue dots on the nodes should disappear. The green squares will then appear to show the current status of the devices. It means that the viewed flow is already sent to VERTEX.

One Multifunction Button (ON, OFF, Dimm Up, Dimm Down) - ESDIM

Import the ready made flow using the instructions here: Importing a Node-RED flow

Code Block
languagejson
[{"id":"be58292a.057758","type":"tab","label":"Flow 8","disabled":false,"info":""","outputs":4,"uid":"00D57389932DCF770E","devStatus":2,"devSettings":[{"instanceType":1,"isDisabled":false,"mode":"normal","evenFilters":84},{"instanceType":1,"isDisabled":false,"mode":"normal","evenFilters":84},{"instanceType":1,"isDisabled":false,"mode":"dimmb","evenFilters":84},{"instanceType":1,"isDisabled":false,"mode":"dimmb","evenFilters":84}],"savedSettings":[{"instanceType":1,"isDisabled":false,"mode":"normal","evenFilters":84},{"instanceType":1,"isDisabled":false,"mode":"normal","evenFilters":84},{"instanceType":1,"isDisabled":false,"mode":"dimmb","evenFilters":84},{"instanceType":1,"isDisabled":false,"mode":"dimmb","evenFilters":84}],"x":460,"y":400,"wires":[["6c51f7a7.b2f768"],["8f85d6e8.a046f8"],["f334a1d6.f24f4"],["56162c55.f8b3e4"]]},{"id":"6c51f7a7.b2f768","type":"vertex action","z":"c0f5917a.1cc76","name":"ON","typeButton":"single","bPayload":{"action":"maxlevel","group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"bState":"","defaultpriority":true,"x":720,"y":360,"wires":[["97c3bacc.68e538"]]},{"id":"6ab8e73397c3bacc.df3ce868e538","type":"vertex actioncluster","z":"be58292ac0f5917a.0577581cc76","namerate":5,"ON/OFFx":1070,"typeButtony":400,"togglewires":[]},{"bPayloadid":{"ON":{"action8f85d6e8.a046f8","type":"setbrightnessvertex action","groupz":"0efc9ef58896d0b1839b65d7af598531c0f5917a.1cc76","paramname":"100OFF","prioritytypeButton":"254single"},"OFFbPayload":{"action":"setbrightnessoff","group":"0efc9ef58896d0b1839b65d7af598531ff94a09f3810e83641da0e48ea02a61f","param":"0"null,"priority":"254"}},"bState":false"","defaultpriority":true,"x":830720,"y":220400,"wires":[["ebbd9eb597c3bacc.5f16d68e538"]]},{"id":"36f9a54bf334a1d6.2a2dfaf24f4","type":"vertex action","z":"be58292ac0f5917a.0577581cc76","name":"DIMM UP/DIMM DOWNDimming down","typeButton":"dimm","bPayload":{"DON":{"action":"noreactsetbrightness","group":"0efc9ef58896d0b1839b65d7af598531ff94a09f3810e83641da0e48ea02a61f","param":null"80","priority":"254"},"HOLDUP":{"action":"upactiondownaction","group":"0efc9ef58896d0b1839b65d7af598531ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"HOLDDOWN":{"action":"downaction"null,"group":"0efc9ef58896d0b1839b65d7af598531ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"DOFF":{"action":"noreact"null,"group":"0efc9ef58896d0b1839b65d7af598531ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"}},"bState":false,"defaultpriority":true,"x":720750,"y":300440,"wires":[["ebbd9eb597c3bacc.5f16d68e538"]]},{"id":"38b3e4ca56162c55.ac5d4cf8b3e4","type":"vertex action","z":"c0f5917a.1cc76","name":"functionDimming up","ztypeButton":"be58292a.057758dimm","namebPayload":{"DON",:{"func":"if(msg.payload.UP !== undefined || msg.payload.DOWN !== undefined){\n    return msg;\n}","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":660,"y":220,"wires":[["6ab8e733.df3ce8"]]},{"id":"a3978b5c.180458","type":"DALI2 Devs Common","z":"be58292a.057758","name":"LOWER PB","outputs":1,"uid":"0000000829E23C254C","devStatus":2,"devSettings":[{"InstanceType":1,"isDisabled":false,"mode":"dimmb","evenFilters":212},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84}],"savedSettings":[{"InstanceType":1,"isDisabled":false,"mode":"dimmb","evenFilters":212},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84}],"x":390,"y":220,"wires":[["38b3e4ca.ac5d4c","36f9a54b.2a2dfa"]]},{"id":"ebbd9eb5.5f16d","type":"vertex cluster","z":"be58292a.057758","rate":90,"x":1090,"y":220,"wires":[]},{"id":"c67e285c.b3af38","type":"vertex feedback","z":"be58292a.057758","name":"","primarygroup":"0efc9ef58896d0b1839b65d7af598531","sendOnChange":true,"x":660,"y":140,"wires":[["6ab8e733.df3ce8"]]}]
Image Removed

Instructions

  1. Find the following nodes in the palette on the left side of the Node-RED

  • DALI2 Devs Common

  • function node

  • vertexd feedback

  • vertex action x2

  • vertex cluster

  1. Drag the nodes and drop them onto the workspace.

  2. In the DALI2 Devs Common node choose the pushbutton panel you wish to use and select its mode as ESDIM.

Image Removed

  1. In the function node, paste the code given below. It filters certain messages, so that the usage of two vertex action nodes via one button instance is possible.

Code Block
languagejson
if(msg.payload.UP !== undefined || msg.payload.DOWN !== undefined){
    return msg;
}
  1. Configure the vertex action nodes as shown below.

VA: ON/OFF

Image Removed

VA: DIMM UP/DIMM DOWN

Image Removed

  1. In the vertex feedback node select the same group that you want to control with dimming functionality. The feedback nodes ensures that, when the group level is triggered by another action in the flow, the ON/OFF vertex action node will be notified of the actual light level and trigger appropriate action. Thanks to this, the “double click“ issue is solved.

Link all nodes together and deploy your flow
action":"minlevel","group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"HOLDUP":{"action":"upaction","group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"HOLDDOWN":{"action":null,"group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"},"DOFF":{"action":null,"group":"ff94a09f3810e83641da0e48ea02a61f","param":null,"priority":"254"}},"bState":false,"defaultpriority":true,"x":740,"y":480,"wires":[["97c3bacc.68e538"]]},{"id":"498551e7.3ee72","type":"comment","z":"c0f5917a.1cc76","name":"Select and configure a panel","info":"## Clear 4 checkboxes to have 4 buttons to manage. Set the Mode as Normal. You don’t need to change Event filters.\n\n","x":480,"y":340,"wires":[]},{"id":"d17f9577.007ec8","type":"comment","z":"c0f5917a.1cc76","name":"Define actions for 4 buttons","info":"## 1. Select mode as Single button.\n## 2. Select the right group.\n\n","x":770,"y":320,"wires":[]}]
Image Added

Instructions

  1. Find the following nodes in the palette on the left side of the Node-RED

  • DALI2 Devs Common

  • vertex action x4

  • vertex cluster

Image Added

2. Drag the nodes and drop them onto the workspace.

3. In the DALI2 Devs Common node, in the Serial Number field, select the panel you want. In this field, you have a list of all DALI devices found by your Vertex controller.

Note

Make sure that the multisensor is properly connected to the Vertex. If not, you won’t be able to set up the parameters. The device with “no communication” status is marked as “NC” at the beginning of the name.

4. Below you have outputs of every Input Unit device - normally they are disabled. Clear 4 checkboxes to have 4 buttons to manage. Set the Mode as Normal for buttons that trigger constant light and ESDIM for dimming buttons. ESDIM mode provides you with more message structures that are used to ensure proper dimming functionality.

Image Added

5. You have 4 vertex action nodes for the same number of buttons. In these nodes set:

  • 1st button for turning on the light:
    Set the name as e.g. ON. Then select the Mode as Single button. Then you need to define action as Recall max level and choose the luminaire group you want to control.

Image Added
  • 2nd button for turning off the light (OFF):
    Here, you need only to change the action to Recall off.

Image Added
  • 3rd button for dimming:
    Set the name as e.g. Dimming down. Then select the Mode as Dimm button.Select the first action as Set brightness,e.g. 80%- this is the brightness level you want to start dimming. The second action set Step down cyclically. In this configuration with one click, you set 80% brightness level and when you click and hold you can dim it down to the preferred level.

Image Added
  • 4th button for Dimming up:
    Set the name as e.g. Dimming up. Then select the Mode as Dimm button.Select the first action as Recall min level - this is a brightness level you want to start dimming. The second action set Step up cyclically. In this configuration with one click, you set a minimum brightness level and when you click and hold you can dim it up to the preferred level.

Image Added

6. Link all nodes together. Connect Dali2 Devs Common node outputs to complementary vertex action nodes, and then connect the outputs of vertex action nodes to the vertex cluster node.

After you select the Deploy button - the blue dots on the nodes should disappear. The green squares will then appear to show the current status of the devices. It means that the viewed flow is already sent to VERTEX.