Currently, the code can generate colors (in RGB and hex formats), but can't send the colors to the Hue system. Several python libraries have been written to interface with the very simple Hue API.
"Qhue is an ultra-lightweight Python wrapper for the Philips Hue API...It aims to turn the API into convenient Python, with as little interference as possible. None of the methods are actually encoded locally in Qhue, which means it will automatically inherit most changes made by Philips at the server end."
Currently, the code can generate colors (in RGB and hex formats), but can't send the colors to the Hue system. Several python libraries have been written to interface with the very simple Hue API.
I'm thinking about using the Qhue library: https://developers.meethue.com/content/qhue-minimal-python-library
"Qhue is an ultra-lightweight Python wrapper for the Philips Hue API...It aims to turn the API into convenient Python, with as little interference as possible. None of the methods are actually encoded locally in Qhue, which means it will automatically inherit most changes made by Philips at the server end."