Run for each look on button press for a number of lights


#1

1) Give a description of the problem
As a user I want to press a button to switch on an array spots on by one with 1 second delay from spot 1 through 10. Light a batman sky spot effect, baff, baff, baff,…
I then want each to set to a random hue/color, wait for a few seconds, then set to color temp 2700 one by one 1-10.

2) What is the expected behaviour?
press button, spot 1 turns on, switches color, spot 2 turns on, switches colors, …

3) What is happening/not happening?
nothing, spots say off.

**4) Post a Green Snapshot of the piston![image|45x37]


#2

You need to use $device instead of $currentEventDevice.

$currentEventDevice is the device that actually triggered the piston.


#3

Also, with that many devices a wait of 1 sec is not realistic.