Hi @kyb!
Thanks so much for this. It served as a helpful starting point to get something similar working with my LIFX bulbs. I’ve documented my current solution at Automatic sunrise and sunset color / colour temperature control (with LIFX).
Thanks again,
Simon