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) - One Multifunction Button

Panel
panelIconId1f7e2
panelIcon:green_circle:
panelIconText🟢
bgColor#E3FCEF

Import the ready made flow using the instructions here: Importing a Node-RED flow or follow the instructions below.

Code Block
languagejson
[{"id":"be58292a.057758","type":"tab","label":"Flow 8","disabled":false,"info":""},{"id":"6ab8e733.df3ce8","type":"vertex action","z":"be58292a.057758","name":"ON/OFF","typeButton":"toggle","bPayload":{"ON":{"action":"setbrightness","group":"0efc9ef58896d0b1839b65d7af598531","param":"100","priority":"254"},"OFF":{"action":"setbrightness","group":"0efc9ef58896d0b1839b65d7af598531","param":"0","priority":"254"}},"bState":false,"defaultpriority":true,"x":830,"y":220,"wires":[["ebbd9eb5.5f16d"]]},{"id":"36f9a54b.2a2dfa","type":"vertex action","z":"be58292a.057758","name":"DIMM UP/DIMM DOWN","typeButton":"dimm","bPayload":{"DON":{"action":"noreact","group":"0efc9ef58896d0b1839b65d7af598531","param":null,"priority":"254"},"HOLDUP":{"action":"upaction","group":"0efc9ef58896d0b1839b65d7af598531","param":null,"priority":"254"},"HOLDDOWN

Dimming refers to the operation of adjusting the intensity of lighting or changing the brightness of a light source. 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)

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

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

Panel
panelIconId1f7e2
panelIcon:green_circle:
panelIconText🟢
bgColor#E3FCEF

Import the ready made flow using the instructions here: Importing a Node-RED flow or follow the instructions below.

Code Block
languagejson
[{"id":"be58292a.057758","type":"tab","label":"Flow 8","disabled":false,"info":""},{"id":"6ab8e733.df3ce8","type":"vertex action","z":"be58292a.057758","name":"ON/OFF","typeButton":"toggle","bPayload":{"ON":{"action":"downactionsetbrightness","group":"0efc9ef58896d0b1839b65d7af598531","param":null"100","priority":"254"},"DOFFOFF":{"action":"noreactsetbrightness","group":"0efc9ef58896d0b1839b65d7af598531","param":null"0","priority":"254"}},"bState":false,"defaultpriority":true,"x":720830,"y":300220,"wires":[["ebbd9eb5.5f16d"]]},{"id":"38b3e4ca36f9a54b.ac5d4c2a2dfa","type":"functionvertex action","z":"be58292a.057758","name":"DIMM UP/DIMM DOWN","functypeButton":"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},"dimm","bPayload":{"DON":{"action":"noreact","group":"0efc9ef58896d0b1839b65d7af598531","param":null,"priority":"254"},"HOLDUP":{"action":"upaction","group":"0efc9ef58896d0b1839b65d7af598531","param":null,"priority":"254"},"HOLDDOWN":{"action":"downaction","group":"0efc9ef58896d0b1839b65d7af598531","param":null,"priority":"254"},"DOFF":{"action":"noreact","group":"0efc9ef58896d0b1839b65d7af598531","param":null,"priority":"254"}},"bState":false,"defaultpriority":true,"x":720,"y":300,"wires":[["ebbd9eb5.5f16d"]]},{"id":"38b3e4ca.ac5d4c","type":"function","z":"be58292a.057758","name":"","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":truefalse,"mode":"normaldimmb","evenFilters":84212},{"InstanceType":1,"isDisabled":true,"mode":"normal","evenFilters":84}],{"xInstanceType":3901,"yisDisabled":220true,"wiresmode":[["38b3e4ca.ac5d4cnormal","36f9a54b.2a2dfa"]]evenFilters":84},{"idInstanceType":1,"ebbd9eb5.5f16disDisabled":true,"typemode":"vertex clusternormal","zevenFilters":"be58292a.057758"84}],"ratesavedSettings":90,[{"xInstanceType":10901,"yisDisabled":220false,"mode":"dimmb","wiresevenFilters":[]212},{"idInstanceType":1,"c67e285c.b3af38isDisabled":true,"typemode":"vertex feedbacknormal","zevenFilters":"be58292a.057758"84},{"InstanceType":1,"nameisDisabled":""true,"primarygroupmode":"0efc9ef58896d0b1839b65d7af598531normal","sendOnChangeevenFilters":true84},{"x":660,"y":140,"wires":[["6ab8e733.df3ce8"]]}]
Image Removed

Step-by-step 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

Image Removed
  • Drag the nodes and drop them onto the workspace.

  • In the DALI2 Devs Commonnode 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.

    Image Removed
    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 Added

    Step-by-step instructions

    1. Find the following nodes in the palette on the left side of the Node-RED and drag them to your workspace

    • DALI2 Devs Common

    • function node

    • vertexd feedback

    • vertex action x2

    • vertex cluster

    Image Added
    1. In the DALI2 Devs Commonnode choose the push button panel you wish to use [1] and set mode to ESDIM [2].

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

    2. Image Added

    Code Block
    languagejson
    if(msg.payload.UP !== undefined || msg.payload.DOWN !== undefined){
        return msg;
    }
    1. Configure the vertex action nodes as shown below.
      In the first Vertex action node we set up a toggle function which depending on the state of the lights, will either switch the lights on or off. By default all instances are marked which means they are disabled. Enable buttons by unchecking the is disabled checkbox and set the Mode as Toggle button. Set the Event ON and Event OFF actions.

    Image Added
    1. In the second Vertex action node (DIM UP/DIM DOWN) select your device. By default all instances are marked which means they are disabled. Enable buttons by unchecking the is disabled checkbox and set the Mode as Dim button. Set the group you want this node to operate on and set event actions.

    1. In the vertex feedback node select the same group that you want to control with dimming functionalityset in the second vertex action node. The feedback nodes node 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.

    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.

    Dimm Up & Dimm Down
    1. Without this synchronisation you would sometimes have to press the button twice to get the function you want.

    Image Added

    Do not forget to click Done and Deploy!

    Dim Up & Dim Down separate Buttons

    Panel
    panelIconId1f7e2
    panelIcon:green_circle:
    panelIconText🟢
    bgColor#E3FCEF

    Import the ready made flow using the instructions here: Importing a Node-RED flow or follow the instructions below.

    Code Block
    languagejson
    [{"id":"9d9261ef.1d337","type":"DALI2 Devs Common","z":"c0f5917a.1cc76","name":"","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":"97c3bacc.68e538","type":"vertex cluster","z":"c0f5917a.1cc76","rate":5,"x":1070,"y":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"]]},{"id":"56162c55.f8b3e4","type":"vertex action","z":"c0f5917a.1cc76","name":"Dimming up","typeButton":"dimm","bPayload":{"DON":{"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":[]}]

    Step-by-step instructions

    1. Find the following nodes in the palette on the left side of the Node-RED and drag them to your workspace

    • DALI2 Devs Common

    • vertex action x4

    • vertex cluster

    Image Removed

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

    3. In
    • vertex cluster

    Image Added
    1. Click the DALI2 Devs Common node, in the Serial Number field, select the panel you want to program. 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 modeas Normal
    1. Vertex controller.

    By default all instances are marked which means they are disabled. Enable buttons by unchecking the is disabled checkbox [3] and set the Mode as normal [4] for buttons that trigger constant light and ESDIM [5]for dimming buttons. ESDIM mode provides you with more message structures that are used to ensure proper dimming functionality.

    Image RemovedImage Added

    53. You have 4 vertex actionnodes for and the same number of buttons. In these nodes set :parameters.

    • 1st button for - turning on the light ON:
      Set the name as to e.g. ON. Then select themodeas Single button [6]. Then you need to define action as Recall max level and choose the luminaire group you want to control, in this case we called the group ‘dimming’.

    • 2nd button for - turning off the light ( OFF):
      Here, you need only to Set the node name to e.g. OFF and change the action to Recall off.

    • 3rd button for dimming- Dimming down:
      Set the name as to e.g. Dimming down. Then select set the modeas Dimm to Dim button.Select the first event action as Set brightness,e.g. 80%- this is the brightness level you want to start dimming from. The second event 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.

    • 4th button for - Dimming up:
      Set the name as e.g. Dimming up. Then select set the modeas Dimm to Dim button.Select the first action as Recall min level- this is a brightness level you want to start dimming from. 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.

    Don't Do not 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.click Done and Deploy!

    Info

    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.