happyleavesaoc / python-limitlessled

MIT License
33 stars 22 forks source link

Single Color LED controller #27

Closed rubenverhoef closed 6 years ago

rubenverhoef commented 6 years ago

I have a single color MiLight led controller and i can't get it to work with python-limitlessled. I'm running the following python code:

from limitlessled.bridge import Bridge
from limitlessled.group.rgbw import RGBW
from limitlessled.group.rgbww import RGBWW
from limitlessled.group.white import WHITE

bridge = Bridge('192.168.0.42')
# A group number can support two groups as long as the types differ
bridge.add_group(1, 'hoek', WHITE)

hoek = bridge.add_group(1, 'hoek', WHITE)

hoek.on = True

Does someone has any idea? is the single color led controller supported? image

rubenverhoef commented 6 years ago

Okay, i sorted things out. I have record the network packages and this unit uses 0x03 as remote style. I have add support for this in the software and i'm going to test this. If it works i will make a pull request.

happyleavesaoc commented 6 years ago

@rubenverhoef That would be great!

amelchio commented 6 years ago

Please don't cross-post, let's keep this in home-assistant/home-assistant#12907

duecedriver commented 6 years ago

ok I have deleted my post here but you already closed 12907... so what is the resolution?