Push button sequence

Hey.
I want to arm/disarm the burglar alarm by pushing a Homematic-button multiple times in a sequence.
Like “button1(top): long press, button2(down) short press, button2(down) long press” with a maximum of XY sec between the pushes to have one single event triggered.

(for everyone who used FHEM, just what the sequence function was there)

Is this possible with HA ?

thanks

2 Likes

How about an Automation triggered by any of the Homematic buttons then a series of ‘wait for triggers’ in the correct sequence. Setting continue_on_timeout to false for each of these would abort the Automation if the wrong sequence was keyed at any stage.

1 Like

thank you!
i think this is exactly what i meant. just a little bit surprised of how complex things are with HA…

FHEM example:

  • sequence <re1> <timeout1> <re2> [<timeout2> <re3> ...]
  • sequence Btn1:on 0.5 Btn2:off 0.5 Btn1:on
  • sequence Btn1:long 0.5 Btn2:short 0.5 Btn1:short

this also allows easy setup of double-press buttons, “secure panic buttons” (not triggerable by mistake) and surely many more…

no such easy way with HA ?

1 Like