Strategy for setting hue/white ambiance values throughout rooms

What is the best strategy for looking at time though out the day to set a color temperature and then based on an average of the dimmer settings in a given room, modifying the baseline temperature? I think I know how to do this in Webcore, but want to move away from it.

My strategy in Webcore was to trigger off of time, set a color temperature into a global variable. Then for any given room, if there is any change to level or dimmer status, look at the average of specific dimmers, calculate an offset, and subtract it off of the global variable, and then set the new color temperature for that room.

How would I do that in RM? Thanks!

It sounds like a you want the bulbs to act kind of like incandescents where they get “warmer” as the lights dim, but at the same time act in a circadian manner. Is that right?

I use [RELEASE] Day Lights - an iteration of Circadian Daylight to modify a virtual CT bulb that then sets a Hub variable. Day Lights can modify CT and brightness level and could be a starting point. You could also look at the examples in RM Example: Circadian Color Temperature - #11 by jrau272 as another idea.

Overall, my initial thoughts is that you would have one Hub Variable, a Virtual CT Bulb, and a Virtual Dimmer. The bulb would track the circadian rhythm changes based on either an app or RM. The Virtual Dimmer would track the average level of your dimmers. The Hub Variable would be tracking the offset via Math in RM.

I have been playing with that app. Thanks for that. I am going to go with your suggestions of the virtual. I think that will give me the behavior I am looking for.

I ended up using [RELEASE] Day Lights - an iteration of Circadian Daylight to modify a virtual CT bulb, but I ended up sticking with Webcore Pistons because it was easy to work with. Depending on how many lights I have on, it will boost the color temp. The virtual CT bulb gets a range of 2700-4200. The max it can boost in this specific piston is 900 if all three light groups are at 100% level. I can port this to any room by just changing the participating devices list. I use light groups instead of individual bulbs because of polling reasons.