Resetting lights colour


#1

I don’t have a piston yet as just looking for general advice and best practice on how to do this. Pretty much I want to reset the state of a few lifx lights. An example would be at night we have one light a warm sort of colour but in the morning when turns on I want it to be white. I could have the colour change in the piston but when I have that in the piston it really slows down the action of motion detected to lights on.

So I suppose is it possible to just change the colour of lights without turning them on so could just have a piston that resets them all to my default each night?


#2

Sorry, you can’t change the color of a light while it’s off. The best thing you could do is have a piston that states “when the light turns on and time is between x and y, change color to Z”. The light will come on at the old color but then switch to the new one. Only other option would be to turn on the bulb and change the color and then turn the bulb back off again during the night. That of course, would only work if the bulb isn’t in your bedroom. :slight_smile:


#3

Ahh well thought as much. Thanks for the reply


#4

One loophole I use is:
My “Good Night” routine sets the level to 1% (so I don’t notice it happening) and then sets the color to my ‘morning color’ before turning off the light. The whole process takes less than a second. This basically “sets the stage” for my morning light to come on the way I want it to. (you could also program this to happen automatically at 4am while you are asleep.)


temp

(You might be able to drop the WAIT commands, but it seems more reliable for me when I use them here)


#5

Mmm yeah that could be an idea. Will have a mess around with it tonight.


#6

You can set a color without turning them on. There is a workaround. See this link. You can expose a virtual switch to IFTTT that will set a scene without turning your lights on.


#7

Oh sweet yeah that looks like it will work perfect. Just had a quick read of the documentation and yeah looks to do just what I want! Thanks for that


#8

How do you set that option in the Lifx scene though?