Using a button "sequence" to trigger a piston?


#1

I have a physical switch that currently controls lamp A. I want to expand the use of this switch to also control lamp B (independently). I set the physical switch to control a virtual dimmer switch, and attached the virtual switch to a device variable within WebCore. I’m trying to figure out a way to use the physical switch itself to trigger the WC variable change from lamp A to lamp B.

I know there are many, many methods I could use to trigger this piston, but I’d like to try and accomplish this using only the physical switch itself.

The only method I could conceive would be to use some type of “sequence”. For example, “f the switch is turned on and off 5 times within 30 seconds, switch to controlling lamp B”.

Unfortunately, I don’t have the luxury of a press & hold function. I’m strictly limited to operations that can be performed by the virtual dimmer (On/Off/Level).

Thanks!


#2

I just discovered “Followed by”… I’m pretty sure this is going to change my life forever lol.