Squanto804: Your white LED's didn't ramp down because you didn't put a statement under the WhiteLed to do so. You need to add:
WhiteLed
Fallback OFF
If Time 09:00 to 20:00 Then AI-White
If Outlet DayTime = ON Then AI-Day
If Time 20:00 to 21:00 then AI-SunSt
The problem with this is that your AI-SunSt profile will be the same ramping as the blue and therefore the beginning illumination will be 45% with a ramp to 0%. This will cause a 10% increase in light output on the white channel at the beginning of sunset. I have implemented seperate profiles for Blue Sunsets and White Sunsets and then adjusted the times to provide concurrent execution.
While I don't like the approach that has been taken here on the programming side, it does work. It just uses up your profiles like wildfire. There should have been an overall AI implementation in the language so that one could define, in a single statement, the blue and white channel sunrise/sunset start time, sunrise/sunset duration, sunrise/sunset max value white, sunrise/sunset max value blue, noon max value white, noon max value blue, noon duration.
The command would look like this:
AI_Day = 08:00, 21:00, 60, 27, 55, 50, 90, 35
Translation:
AI_Day = sunrise time, sunset time, sunset/sunset duration, sunrise/sunset max white, sunrise/sunset max blue, noon max white, noon max blue, noon duration
This would provide a profile that begins for both the blue and white leds at 0% and the program would transition the blue and white leds from 0% to the 27% and 55% over an hour respectively. At that point the lights would remain at 27% and 55% (white/blue) until the midpoint between sunrise and sunset time, minus half of the noon duration, at which time the controller would ramp the lights from their current 27% and 55% to 50% and 90% for the noon period. At the end of the noon period the lights would end up back at the daytime normal until the sunset time minus the duration of the sunrise/sunset duration, at which time the controller would ramp down the whites and blues to zero an hour later in the example given.
I know that this can be implemented with the current programming language and profiles, but it uses up the limited number of profiles that you have very quickly if you have other things like pumps that take up profiles also.
Moon would be handled in a similar way, i.e., there would be a MOON outlet as well as an AI outlet that could contain the appropriate statements for the devices that they control. Moon outlet could be configured for AI lights or any of the other possible moon simulation devices. It would be a MOON outlet configured as AI or a variable outlet or.....