Example: A 5-function-sequence-click (pulse) button
2 flows needed
– You can add as much steps as you like! (with respect to Homey’s limits)
-
Expected functionality:
Clicking within x secs follows the sequence;
Clicking after those x secs, should always turn the light off.
(So no need for remembering how many clicks are needed here). -
Sequence:
-
- 1st click =
dim light to 20%
- 1st click =
-
- 1st click after x secs =
turn light off
- 1st click after x secs =
-
- 2nd click =
dim light to 30%
- 2nd click =
-
- 3rd click =
dim light to 50%
- 3rd click =
-
- 4rd click =
dim light to 100%
- 4rd click =
-
- 5th click =
turn light off
- 5th click =
You could use H.O.O.P. Flow Variables cards, but I chose to use BetterLogics variables.
-
NumVar used:
Eettafel1btnCount
-
Chronograph timer used:
Eettafel1btnCountTmr
-
- Note, on the BL cards, the zero isn’t shown
-
Flow 1: The sequence function & steps & timer trigger
- Flow 2: The resetting of the Variable
Have fun. Questions, suggestions, improvements welcome!