Here you go! Happy to answer any other questions not answered in my other two comments:
- https://news.ycombinator.com/item?id=31026875
- https://news.ycombinator.com/item?id=31026979
Fortunately this was fairly easy to implement since Hue bridges provide a locally-accessible actually-documented REST API for me to use!