Hopefully an easy HUE light question :-)


#1

1) Give a description of the problem
I want a hue light to turn on after motion BUT at a certain brightness…I have it all working with light going on at 100% then immediately dimming , but it seems if I move set level to 5% BEFORE the turn on command , the light never comes on
2) What is the expected behavior?
Motion detected… Hue light set to violet , Hue light set to 5% brightness , THEN turn on

3) What is happening/not happening?
light turns on after motion but at 100% then immediately dims… (expected as the dim command comes after the turning on command) …how do I set brightness BEFORE the light is turned on?

4) Post a Green Snapshot of the pistonimage


#2

99% of bulb manufacturers will turn on at the exact same settings they were left at the previous turn off time. I often program my off commands to set the level and color BEFORE the off command is sent, (ie: your last code block above). This prepares the bulbs for the next turn on.

Also, with Philips Hue, the "Set level" command automatically turns the bulbs on, so you can usually skip the turn on command


#3

Thanks…will experiment with that and see how I get on