dotsam / homebridge-milight

MiLight/LimitlessLED/Easybulb Plugin for Homebridge
MIT License
63 stars 12 forks source link

Milight iBox led light #21

Closed zelda1link3 closed 7 years ago

zelda1link3 commented 7 years ago

The iBox has his own light. I am not able to control that light in any way. Am I doing something wrong or is this not implemented jet?

dotsam commented 7 years ago

@zelda1link3 I'm working on implementing this now, will likely be pushing a new version in the next day or two.

dotsam commented 7 years ago

I've just published 0.1.9 which now supports the "bridge" bulb type to control the built-in bridge LED. Let me know if it works for you, as I don't have a v6 bridge to test with.

zelda1link3 commented 7 years ago

@dotsam It turns on and off only the light is very dim (even at 100% it is not realy 100%) but i can turn it on and off and that is a great start i think. I could switch it 1 time to blue and it turned on 100% after that one time if i click on a color it wont change but it will turn on on very low light.

zelda1link3 commented 7 years ago

@dotsam what do you think that it is better to close this bug and create a new one with the brightness error?

dotsam commented 7 years ago

Let's leave this issue open. I think I've found the issue, so I'll try and get a fix out in the next day.

zelda1link3 commented 7 years ago

I tried with commit f671f04d0674cad19d4a6f4ad70acef0cd0477dd. The brightness is solved only the colors work kinda but i can't get it to white anyway.

dotsam commented 7 years ago

White mode should be enabled when the saturation is set to 0 at any hue. Asking Siri to set the light to white should work fine. How are the colours different?

zelda1link3 commented 7 years ago

The strange thing is the following:

[2/11/2017, 8:29:26 AM] [MiLight] [Slaapkamer] Saturation is 0, making sure bulb is in white mode [2/11/2017, 8:29:26 AM] [MiLight] [Slaapkamer] Setting saturation to 5 (NOTE: No impact on bridge MiLight bulbs)

this one turns it to white.

But

[2/11/2017, 8:30:06 AM] [MiLight] [Slaapkamer] Setting hue to 0 [2/11/2017, 8:30:06 AM] [MiLight] [Slaapkamer] Setting saturation to 0 (NOTE: No impact on bridge MiLight bulbs)

that one is a random other color (if i have the color weel it is on white but it gets the color that is on the end of the weel.

dotsam commented 7 years ago

@zelda1link3 Can you test this with the just-released 1.0.0 and let me know if this is still a problem? Thanks.

zelda1link3 commented 7 years ago

@dotsam it works great now thanks for your effort