I would like to have a flow that cycles through Philips Hue scene’s (like the Philips Hue Dimmer Remote does) when I push a wireless button. So either it goes to the next scene in a list (if it can somehow know scene which is active) or just goes to the first one in the list right and starts going down the list with each additional click.
For example:
1 click, scene 1
2 clicks, scene 2
3 clicks, scene 3
Any ideas on how to solve this? I was thinking if there was a way to say IF it was pushed again within 1-5 seconds, THEN scene X… but really not seeing how to do that.
But I don’t know exactly if the Homey Bridge has the logic calculation card…
Explained in words:
If the on button is pushed and the light is switched off, then set logic variable XYZ to 1.
If the on button is pushed and the light is switched on, then calculate the logic variable XYZ + 1.
If the logic variable XYZ has changed and it is equal to 1, then set scene 1
If the logic variable XYZ has changed and it is equal to 2, then set scene 2
If the logic variable XYZ has changed and it is equal to 3, then set scene 3
If the logic variable XYZ has changed and it is equal to 4 (no scene!), then set scene 1
If the off button is pushed, then switch light off and set variable XYZ to 0.