python-magichue icon indicating copy to clipboard operation
python-magichue copied to clipboard

LocalLight() does not work with v8 bulbs

Open 5aVi0R opened this issue 1 year ago • 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()

5aVi0R avatar Sep 24 '22 08:09 5aVi0R

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.

namacha avatar Sep 29 '22 13:09 namacha

Problem resolved @namacha :) Great Work as well!

5aVi0R avatar Sep 30 '22 03:09 5aVi0R

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

namacha avatar Sep 30 '22 03:09 namacha