Ok, this is probably really simple and really stupid, but If I set a color on an Inovelli RGB bulb, how do I get it back to the default color?? I have two bulbs I want to set colors for the holidays (memmorial day, 4th, Halloween, Christmas, etc.) but want them to go back to the default colors after a period of time.. Any thoughts or suggestions?
Are you trying to "remember" the color the bulb had just before the special event color?
Normally most people would just write a rule that does something to the effect of "if it is on this day/holiday period, have it turn to X color otherwise have it be white (or something)".
Yes.. First time ive tried to do this, not sure how to do that. I messed with it once before Iand I never could get the color back to the right color. i ended up factory resetting the bulb. I know there has to be an easier way.
You'll have to set it back to whatever you really want, but if what you want is the default, that is likely about 2700K. The easiest way to get there is to use the "Set Color Temperature" command and provide a value of 2700 (if you see multiple parameters, this is the first--the color temperature itself--and all others are optional). You may also need to do a "Set Level" to 99, depending on what color you had before (or you can do this as part of the "Set Color Temperature," though not all drivers support that yet).
I assume you don't want to have to do this manually each time, so if you're doing this with an app, most provide an easy way to do this as well. If asked for a color temperature or level, the above are what you'd want there, too.
Yes. Want it to go back to the soft white 2700K after an event.
Now it still shows red, even after setting color temperature to 2700, or am.i not fully grasping how these work?
Color and color temperature are tracked differently. The fact that you still see red in that box just means that it was the last color in use (as indicated by hue, saturation, and level attributes, the first two of which are not used for color temperature, which is its own attribute). The bulb may or may not still be that color, depending on whether the bulb is in color or color temperature mode (which a "Set Color Temperature" command should put it in) and whether it's on or off (also not represented with either of these attributes, as that is also tracked separately). If the bulb itself is not actually changing, there is another problem.
I would suggest using capture and restore for this.
Set an action first to "capture" the state the device is in, next action does whatever you need it to do (ie., color change, on/off, temp, etc.) then wrap the actions up with a a "restore" command. It will set the device back the way it found it during capture. j