dotsam / homebridge-milight

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

Setting Color Temperature via Home.app does not work for OSRAM LIGHTIFY Indoor Flex RGBW #72

Closed cbeckmann closed 3 years ago

cbeckmann commented 3 years ago

Hi,

I'm experiencing a strange behavior with an OSRAM LIGHTIFY Indoor Flex RGBW.

On Eve.App when setting color temperature, it uses the white LED and sets correctly: [10/13/2020, 1:46:11 AM] [Hue] Lichtschlauch: light ct changed from 346 to 487 [10/13/2020, 1:46:11 AM] [Hue] Lichtschlauch: set homekit color temperature from 346 mired to 487 mired

However, on Home.app it translates the color temperature to hue and saturation, using the RGB-LED

homebridge | [10/13/2020, 1:56:07 AM] [Hue] Lichtschlauch: homekit saturation changed from 32% to 51% homebridge | [10/13/2020, 1:56:07 AM] [Hue] Lichtschlauch: homekit hue changed from 29˚ to 30˚ homebridge | [10/13/2020, 1:56:07 AM] [Hue] Philips hue: bridge request 145: put /lights/1/state {"xy":[0.4698,0.3855]}

Debug-Output is: [10/13/2020, 1:44:35 AM] [Hue] Philips hue: 7CB03EAA0A008D49: OSRAM LIGHTIFY Indoor Flex RGBW "Lichtschlauch" [10/13/2020, 1:44:35 AM] [Hue] Philips hue: /lights/1: Extended color light "Lichtschlauch" [10/13/2020, 1:44:35 AM] [Hue] Philips hue: /lights/1: config: {"on":true,"bri":true,"ct":true,"xy":true,"speed":false,"colorloop":true,"lastBoot":false,"lastSeen":false,"resetTimeout":500,"waitTimeUpdate":20,"minCT":125,"maxCT":666,"gamut":{"r":[0.6877,0.3161],"g":[0.1807,0.7282],"b":[0.1246,0.058]},"unknown":false} [10/13/2020, 1:44:35 AM] [Hue] Philips hue: 00124B00213EEE28: GLEDOPTO GL-MC-001 "Monitorbeleuchtung" [10/13/2020, 1:44:35 AM] [Hue] Philips hue: /lights/3: Extended color light "Monitorbeleuchtung" [10/13/2020, 1:44:35 AM] [Hue] Philips hue: /lights/3: config: {"on":true,"bri":true,"ct":true,"xy":true,"speed":false,"colorloop":true,"lastBoot":false,"lastSeen":false,"resetTimeout":500,"waitTimeUpdate":20,"minCT":155,"maxCT":495,"gamut":{"r":[0.7006,0.2993],"g":[0.1387,0.8148],"b":[0.151,0.0227]},"unknown":false} [10/13/2020, 1:44:35 AM] [Hue] Philips hue: 0 sensors [10/13/2020, 1:44:35 AM] [Hue] Philips hue: 2 lights

Is there a way to fix this? I assume, we need to adapt the OSRAM-configuration in HueLight.js?

Thanks, Chris

dotsam commented 3 years ago

Looks like you opened this in the wrong repo, but I see you’ve made https://github.com/ebaauw/homebridge-hue/issues/781 now.