I have a Hue Ambiance bulb at my desk and I’d like to configure it so that it’s cool in the morning when I wake up, and gradually get warmer as the day goes on so I hopefully don’t stay up too late.
Has someone written an automation or script for this, or have an idea of how it would go together?
Thanks! I have put that in my config. Will see how it works.
My concern is that the example config shows color temperatures in degrees Kelvin, whereas in the dev-state page, the color_temp value is a 3-digit number like 159. What’s that all about?
Hue uses color temperature units called Mireds (instead of Kelvin) So you have to change the Mode variable from ‘xy’ (whatever that is) to ‘mired’ like so.