Closed a-b closed 8 years ago
I got a error when trying to list all of my 10 lightbulbs. It fails on my Philips Hue White, with following error: Unknown or missing state: {"on"=>true, "bri"=>254, "alert"=>"none", "reachable"=>true}
I have install it on my mac with the gem install command.
$ hue lights
1. Stue Flower 1: ON
Brightness: 254 (100%)
Color: XY=[0.4082, 0.3921], RGB≈[198, 177, 136]
2. Stue Flower 2: ON
Brightness: 254 (100%)
Color: XY=[0.4082, 0.3921], RGB≈[198, 177, 136]
3. Stue Bord: ON
Brightness: 254 (100%)
Color: XY=[0.4082, 0.3921], RGB≈[198, 177, 136]
4. Stue Standerlampe: ON
Brightness: 254 (100%)
Color: XY=[0.4082, 0.3921], RGB≈[198, 177, 136]
5. Kontor: ON
Brightness: 254 (100%)
Color: Temperature=2703°K (370 mired), RGB≈[255, 166, 87]
6. Børneværelse: OFF
Brightness: 254 (100%)
Color: XY=[0.4595, 0.4105], RGB≈[228, 172, 103]
7. Soveværelse Loft: OFF
Brightness: 254 (100%)
Color: XY=[0.4449, 0.4066], RGB≈[219, 174, 112]
8. Soveværelse Seng: ON
Brightness: 1 (0%)
Color: XY=[0.5963, 0.3551], RGB≈[255, 101, 62]
9. Gang: ON
Brightness: 254 (100%)
Unknown or missing state: {"on"=>true, "bri"=>254, "alert"=>"none", "reachable"=>true}
Can you pull master and check again? Merged #6 which looked like it might have a fix.
Now it works! Thanks :)
Had same problem with a GE Link white bulb. Wanted to confirm that this fixed the issue with the GE Link too.
Think I have one of those and when I type hue
it's showing up as LWB006 - Dimmable light
now.
Give it a try and ping back if something is off.
Generally works for me, you have the latest version? Can you share the error/stack trace you get?