Versions Compared

Key

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

...

Event

Default priority

Single button
254
Toggle button ON/OFF
254
Triple button 1/2/3
254
Direct value
254
Dim button ON/HOLD UP/HOLD DOWN/OFF
254
Input Unit short press/long press
254
CIRCADIAN
0
Motion sensor Presence
255
Motion senor Transition
0
Motion sensor no presence
254
Daylight harvesting
0

Example 1

The action coming from the push-button has a priority equal to 2. Previously to push-button, there was another action that had a priority equal also to 2. The priorities are equal, so push-button action can be done.

...

Code Block
languagejson
[{"id":"48c64e7.cdb30b","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"3f884023.a9f3e","type":"vertex cluster","z":"48c64e7.cdb30b","rate":90,"x":690,"y":180,"wires":[]},{"id":"c1070445.623b28","type":"dali2devs","z":"48c64e7.cdb30b","name":"","uid":"00E19278B125080C63","dali2dev":"0","devStatus":2,"instanceType":1,"dali2t1":90,"dali2t2":"","instanceData":{"InstanceStatusFlags":2,"InstanceType":1,"Resolution":1,"InstanceError":false,"InstanceActive":true,"InstanceGroup0":255,"InstanceGroup1":255,"InstanceGroup2":255,"EventScheme":2,"EventPriority":3,"EventFilter":84,"EventFilterSize":1,"FeatureType":[],"InputValue":0,"InstanceDetails":{"ShortTimer":25,"ShortTimerMin":10,"DoubleTimer":0,"DoubleTimerMin":10,"RepeatTimer":8,"StuckTimer":20},"DataModelRecipe":["Dali2Instance301_config"],"INSTNR":0},"mode":"normal","x":270,"y":100,"wires":[["82f23d3.6d714c"]]},{"id":"82f23d3.6d714c","type":"vertex action","z":"48c64e7.cdb30b","name":"","typeButton":"toggle","bPayload":{"ON":{"action":"maxlevel","group":"de782b48a32127ca0261e36a119e8ebf","param":null,"priority":"254"},"OFF":{"action":"minlevel","group":"de782b48a32127ca0261e36a119e8ebf","param":null,"priority":"254"}},"bState":false,"defaultpriority":false,"x":490,"y":100,"wires":[["3f884023.a9f3e"]]},{"id":"caee1607.c1bbe8","type":"vertex action","z":"48c64e7.cdb30b","name":"","typeButton":"motionsensor","bPayload":{"PRESENCE":{"action":"setbrightness","group":"de782b48a32127ca0261e36a119e8ebf","param":"50","priority":"255"},"TRANSITION":{"action":"noreact","group":"de782b48a32127ca0261e36a119e8ebf","param":null,"priority":"0"},"NOPRESENCE":{"action":"setbrightness","group":"de782b48a32127ca0261e36a119e8ebf","param":"0","priority":"254"}},"bState":false,"defaultpriority":false,"x":490,"y":220,"wires":[["3f884023.a9f3e"]]},{"id":"81f67286.ec559","type":"dali2devs","z":"48c64e7.cdb30b","name":"SENSOR","uid":"003A7CD9CDF782494F","dali2dev":"0","devStatus":2,"instanceType":3,"dali2t1":"10","dali2t2":"","instanceData":{"InstanceStatusFlags":2,"InstanceType":3,"Resolution":2,"InstanceError":false,"InstanceActive":true,"InstanceGroup0":255,"InstanceGroup1":255,"InstanceGroup2":255,"EventScheme":2,"EventPriority":4,"EventFilter":27,"EventFilterSize":3,"FeatureType":[],"InputValue":255,"InstanceDetails":{"DeadtimeTimer":2,"HoldTimer":1,"ReportTimer":20,"Catching":0},"DataModelRecipe":["Dali2Instance303_config"],"INSTNR":0},"mode":"normal","x":260,"y":220,"wires":[["caee1607.c1bbe8"]]},{"id":"204da3d1.fb104c","type":"comment","z":"48c64e7.cdb30b","name":"Priority 254","info":"","x":490,"y":60,"wires":[]},{"id":"29fc36ce.5890ca","type":"comment","z":"48c64e7.cdb30b","name":"Priority 255 at PRESENCE","info":"","x":470,"y":180,"wires":[]}]

...

In this case saved push-button priority is 1 and sensor priority is 0. It means that push-buttons action nodes will always execute at first order.