-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I am able to set colors at the device level, but not at individual zone or led levels.
Setup is this:
client.devices: [Device(name=Airgoo AG-DRGB16, id=0)]
client.devices[0].zones: [Zone(name=Channel A1, id=0), Zone(name=Channel A2, id=1), Zone(name=Channel A3, id=2), Zone(name=Channel A4, id=3), Zone(name=Channel A5, id=4), Zone(name=Channel A6, id=5), Zone(name=Channel A7, id=6), Zone(name=Channel A8, id=7), Zone(name=Channel B1, id=8), Zone(name=Channel B2, id=9), Zone(name=Channel B3, id=10), Zone(name=Channel B4, id=11), Zone(name=Channel B5, id=12), Zone(name=Channel B6, id=13), Zone(name=Channel B7, id=14), Zone(name=Channel B8, id=15)]
client.devices[0].zones[0].leds: [LED(name=LED 1, id=0), LED(name=LED 2, id=1), LED(name=LED 3, id=2), LED(name=LED 4, id=3), LED(name=LED 5, id=4), LED(name=LED 6, id=5), LED(name=LED 7, id=6), LED(name=LED 8, id=7), LED(name=LED 9, id=8), LED(name=LED 10, id=9), LED(name=LED 11, id=10), LED(name=LED 12, id=11), LED(name=LED 13, id=12), LED(name=LED 14, id=13), LED(name=LED 15, id=14), LED(name=LED 16, id=15), LED(name=LED 17, id=16), LED(name=LED 18, id=17), LED(name=LED 19, id=18), LED(name=LED 20, id=19)]
When I do client.devices[0].set_color() or .set_colors() it works perfectly as expected.
However, when I do client.devces[0].zones[0].set_color() nothing happens.
Adding a client.devices[0].zones[0].show() does not help either.
Setting individual LEDs within the zone behaves the same
Now to complicate things.
When I set a zone or led color from python, the change IS reflected in the openrgb ui - just the device does not pick it up - which made me think it is an openrgb or device issue, not the python.
However, if I set a zone or led color in the UI, it works perfectly - so I am not sure whether it is that I am doing something wrong, or the python module is missing something to actually update the device, or if it is a strange openrgb bug that only affects the api and not the ui.