looks like this added a few more holidays colors to the version without sound. did you create the global variable?
aha, that fixed it. thank you. I didn’t think the variable needed to be created unless I actually planned on pausing it.
Trying to modify to mostly just change colors instead of changing colors and level. Setting both levelHigh and levelLow to 80 does not seem to change the behavior. I also tried 80 and 70 thinking that maybe it was trying to divide by zero – that didn’t help. Do those variables not do what I think they do?
this one sets the level to a random value.
on line 207 of snapshot change it to
set level to i
I see now. Changing that line to this:
set level to levelLow + random (levelHigh-levelLow)
…sets the level to a random value between levelLow and levelHigh. Thats what I was looking for. Thank you.
Does this capture the state and color of your bulbs prior to running so they can reset back afterwards?
no it does not.
Im trying to follow this thread, but are there 2 pistons I need to enable? I get an error when I implement the one.
are you using this the one with piston code
When I use any of the codes and implement I get the following in the Logs:
An error occurred while executing the event: java.lang.NullPointerException: Cannot get property ‘v’ on null object
usually that happens when during piston restore all device prompts are not filled in or a global variable is not created.
please double check the devices and any global variables.
Since there were 2 lights I only used 1 but did remove the second one from the piston. Is there a global variable required to be created?
which piston code did you use for restore?
I restored with the piston code 27364 you suggested.
did you already do this part?
Am I the only one that sees the phrase “full of crap” in the name of your variable?
its early yet … grab a cup of joe and mount the throne to unsee it
I only have 1 hue strip. How can this be changed to make the colors rotate (fade in /out)? Right now, my strip isn’t giving me the correct colors.
the color rotation is working? you would like it to also fade in / fade out when the colors change?
Well, wouldn’t you know that it works now! You really are good!