Set RGBW values via script (JSON)?
Posted: Monday 28 September 2015 9:42
Hi, I would like flash my Hue lights in a certain color when a sensor reached a defined level (for instance CO-2 level). After the flashing i'd like to return the Hue status from before flashing.
In order to do this I have to save the Hue state; via JSON I can retrieve the dim-level, XOffset and YOffset. Next step would be a series of "set" commands to do the flashing and ending with the original state. Setting the dim-level is possible via JSON but is there any way to set the colors (XOffset and YOffset)?
In order to do this I have to save the Hue state; via JSON I can retrieve the dim-level, XOffset and YOffset. Next step would be a series of "set" commands to do the flashing and ending with the original state. Setting the dim-level is possible via JSON but is there any way to set the colors (XOffset and YOffset)?