Set RGB values using the code below:
- Code: Select all
indigo.dimmer.setColorLevels(indigo.devices["Hue Bulb Group"], newRed, newGreen, newBlue)
Set Color Temp using the code below:
- Code: Select all
indigo.dimmer.setColorLevels(indigo.devices["Hue Bulb Group"], 100, 100, 100, 100, 0, newTemp)
In both of the methods above, the brightness for a bulb is always set to 100%. Is this expected? Is a different indigo method preferred in order to pass in the brightness at the same time and avoid it setting to 100%?
In general, the RGB colors seem a bit off based on the eyeball test but I understand it isn't exact. However, I do notice the Indigo settings for 'W' and 'Temp' are automatically updated via the plugin after updating RGB. Is there an optimal way to use the python methods to get the colors more exact? For example should I set the W/Temp values to something before setting RGB?