Sun Rise Effect Using CT Bulbs & Rule Machine

Does anyone know why this set of steps isn't working out as expected? I'm trying to prestage my bulbs at the warmest temp, then begin raising level and cooling as I go. What other methods could I use if this isn't proper?

What does the log show? 9000 seems like it may be out of range if the driver actually tests for that. I think 6500 is considered max for sunlight.

If your actions look like what I have below, the light will come on at 1500K with a level of 1. Then it will go up to 7000K at a level of 100 over 10 minutes. So it gradually increases both level and color temperature.

What in particular doesn't work? Knowing that will get you better help.

My guess is that 1000 K is too low for your bulbs, so that command might not do anything (unless the driver corrects values back into range for you)--so you're not starting where you want. Check the specs for your bulb to be sure, or try a higher value like 2000 or 2500 to see if it works better then.

As mentioned above, 9000 might be out or range too, so check for that as well, but you'd at least get somewhere before it stopped working.

Also, if you're trying to start at 1%, you're not specifying that anywhere, so your starting level could be higher than your ending. Did you mean to add level 1 to your first action?

1 Like

Good morning, Thanks for everyone's help!

I swapped out the Ikea Zigbee bulbs for Inovelli ZWave and the transition seems a bit better but I have incorporated much of the feedback here.

The driver does a great job of ensuring the lower and higher values map to bulbs' limits.

The previous issue was that the lights would reset to lower levels as they were being raised. Don't know if it was the way I setup the rule or whether it had to do with the hw. Now the bulbs start at an orange low level and start rising to daylight appropriately.

The only question I have remaining is whether I can get rid of the first line as I would assume if I said raise the lights it would start at 0? Also, what is color pre-staging and how can I tell if I set it up correctly in my setup?

I'm pretty sure you still need that first line, as I believe it starts at the current level (not 1) and moves to your specified level. (In fact, you might even need to wait at least a small amount of time for the new current state to be reported back.) This would be easy to test, and I could manage trying one later if you are curious and don't yourself.

Regarding prestaging, I would highly recommend not using these preferences. What they do is prevent the lights from being turned on with with a "Set Color" or "Set Color Temperature" command (for color prestating; there are similar preferences for level). This is non-standard behavior, and apps don't have a way to know it's been set, but regarldess, you'll need an explicit "on" command to turn the lights on first if they are not. You do not need this behavior for this automation (you want the lights to be on as you change, right?), and, again, it's highly likely to cause problems with other apps or even your own expectations.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.