this one sets the level to a random value.
on line 207 of snapshot change it to set level to i
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?
Im trying to follow this thread, but are there 2 pistons I need to enable? I get an error when I implement the one.
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?
Am I the only one that sees the phrase âfull of crapâ in the name of your variable?
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?
sometimes zigbee devices take a bit of time to respond properly in a new environment.
happy to hear its working now.
To bring back an old thread
I just turned this Piston on.
It ran for ten minutes and stopped.
I canât seem to get it going again. Is there a counter I need to reset?
other than time restriction this global variable should be false:
anything in the logs?