Some folks have been asking/wondering about counters and timers. Thought I'd share a little something I whipped up here at the office. Perhaps others could share too.
How to turn a 1-button scene controller into multi-scene controller
In this example, I created a series of events that are launched by tapping a single paddle scene controller multiple times.
2 taps on = my office light and reception lights turn on
2 taps off = my office light and reception lights turn off
3 taps on = reception lights turn on
3 taps off = reception lights turn off
5 taps on = my office lights turn on
5 taps off = my office lights turn off
To accomplish this, I created a "Lighting Timer" and 2 counters, "Lighting On" and "Lighting Off". Then, I created the events below.
In operation, tapping the paddle on the controller on or off starts the timer. Each tap on increments the "Lighting On" counter; each tap off increments the "Lighting Off" counter. Once the timer reach 2 seconds, it launches the appropriate lighting event based on the number of taps received. Each lighting event includes an action to run the Group Actions... thus stopping the timer and resetting the counters. A failsafe event is also included to reset the counters and timer after 4 seconds, if the number of taps received is anything other than 2, 3 or 5.
So... what have you guys done with this feature? Love to hear...
How to turn a 1-button scene controller into multi-scene controller
In this example, I created a series of events that are launched by tapping a single paddle scene controller multiple times.
2 taps on = my office light and reception lights turn on
2 taps off = my office light and reception lights turn off
3 taps on = reception lights turn on
3 taps off = reception lights turn off
5 taps on = my office lights turn on
5 taps off = my office lights turn off
To accomplish this, I created a "Lighting Timer" and 2 counters, "Lighting On" and "Lighting Off". Then, I created the events below.
In operation, tapping the paddle on the controller on or off starts the timer. Each tap on increments the "Lighting On" counter; each tap off increments the "Lighting Off" counter. Once the timer reach 2 seconds, it launches the appropriate lighting event based on the number of taps received. Each lighting event includes an action to run the Group Actions... thus stopping the timer and resetting the counters. A failsafe event is also included to reset the counters and timer after 4 seconds, if the number of taps received is anything other than 2, 3 or 5.
So... what have you guys done with this feature? Love to hear...
Comment