I put a lightstrip under my son’s bed. I’d like to give him a button that will change to a random color with each push. Is this do-able with webCore?
Random Color On Button Push
Baz2473
#4
This might work.
You may need to change turn on to set level 100% depending on the make of light. Or it may turn on to a lower (previous value). May even need to change it so the set color random is first.
agenovese820
#5
If I have a separate switch for on/off can I just take out the “Turn on” and it will set the color only when the light is already on?
bangali
#7
heres another version that will give the kid a bit of a light show every time the button is pushed.
the first repeat do … until … end repeat just makes sure the new color is sufficiently different from the current hue of the light strip.
agenovese820
#8
Thanks guys. I gotta say the colors on the Lightify lightstrips seem very dull to me compared to Philips Hues.