Jump to content

triple tap switch


rana

Recommended Posts

i wanted to know if there is anyways to run a program by triple tap the SwitchLinc Dimmer switch

I think this would be possible using variables.

 

Ie. Create a state variable that numerically increases by 1 with every tap. Then have a program run when the variable =3. You could then have the variable = 0 ten seconds after the switch is tapped. This would give you 10 seconds to make the 3 taps.

Link to comment

thank you and this is what worked for me

 

If
       Control 'Hallway1' is switched On
    Or Control 'Hallway1' is switched Off
    Or Control 'Front Door' is switched On
    Or Control 'Front Door' is switched Off

Then
       $Away += 1
       Wait  5 seconds
       $Away  = 0

Else
  - No Actions - (To add one, press 'Action')

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...