namacha/python-magichue

LocalLight() does not work with v8 bulbs

Opened this issue · 3 comments

Describe the bug
LocalLight() does not work with v8 bulbs but Light() does

To Reproduce
Code to reproduce the behavior:

led1= LocalLight("<yourip>")
led1.g = 255
led2 = Light("<yourip>")
led1.g = 200

Device

  • Device Information: v8 RGBCWWW

Additional context
status does not get applied when
using LocalLight() w/ v8 bulbs. I believe it has something
to do with how the commands are sent vs Light()

Thanks for posting issue.
After a quick research, I found that LocalLight sends invalid packet.
I've just fixed bug, and you can test behavior with this branch.

Problem resolved @namacha :) Great Work as well!

Glad to hear that.
I'm gonna merge to main branch soon.