Closed pnuu closed 2 years ago
Comparing the lamp.getDeviceInfo()['result']
dictionary after using the Tapo app, it seems that a workaround is to set the color temperature to zero. So this works:
# Warm white
lamp.setColorTemp(2700)
# Set color to red, doesn't have any effect
lamp.setColor(0, 100)
# Set color temp to zero -> changes the bulb to red
lamp.setColorTemp(0)
I'll see if I can put this into an PR so that the additional lamp.setColorTemp(0)
isn't needed.
For L530E v 2.0 with the latest firmware (1.0.9 Build 220526 Rel.203202), setting the color stops working after the color temperature has been set.
Example code:
Setting color temperature and brightness still work.
The only way I've gotten the colors to work again is to use the Tapo app to change any of the attributes (brightness, color, color temp).