Closed RefineryX closed 4 years ago
I have just set this up and I am also noticing the same behaviour. My lights go to 153 though...
@daanvb - what lights do you use? I think mine goes to 366 as it is the default hue value.
Tried on 3 Philips Hue A19 White and Colour bulbs. All exhibit the same behaviour and go to colour temperature 153 when I try and change them in HomeKit.
Also whenever I open the bulb settings in HomeKit to change colour, it defaults to the ‘temperature’ colour ring first which it didn’t do when connected to the Hue bridge.
This behaviour happens when using both Deconz (via Conbee ii) and also via the Philips Hue plugin (connected via official bridge) - only when using HomeKit.
I’m not sure what you’re saying here. Are you using Home Assistent to expose the lights to HomeKit? Is this happening both to Hue lights connected to deCONZ as well as to Hue lights connected to the Hue bridge?
This behaviour happens when using both Deconz (via Conbee ii) and also via the Philips Hue plugin (connected via official bridge) - only when using HomeKit.
I’m not sure what you’re saying here. Are you using Home Assistent to expose the lights to HomeKit? Is this happening both to Hue lights connected to deCONZ as well as to Hue lights connected to the Hue bridge?
I can’t speak for @SimplyGardner but for me, I am exposing the lights via the HomeKit component in HomeAssistant. I have just moved all the lights over to use DeCONZ in HomeAssistant instead of the Philips Bridge (where the colour picker in HomeKit worked fine)
I am now experiencing the issue that @SimplyGardner is reporting.
Did you use the native HomeKit feature of the Hue bridge, or did you also expose the lights connected to the Hue bridge through HA?
Did you use the native HomeKit feature of the Hue bridge, or did you also expose the lights connected to the Hue bridge through HA?
Previously I used the native HomeKit feature of the Hue bridge to control lights via HomeKit and this was fine. The lights were exposed via the Hue integration in HA for automations etc but we’re excluded from the HomeKit component (to avoid duplicate lights appearing in HomeKit)
I'm experiencing the same problem too. I'm using diyhue with some esp's and mi light bulbs. I think the problem is due to how the plugin (homebridge-hue) exposes the lights to homekit. I'm experiencing jumping of colors in the apple home app if I try to set the lights with the temperature gradient. But this is not due to some sort of communication problem because it occurs when I try to set the temperature in a scene. And when creating scenes homekit does not send data to the hue bridge (to my knowledge). I have no problem with other RGBW lights that don't use homebridge-hue.
Hoping this can help.
I'm experiencing the same problem too
Are you using HA or homebridge-hue to expose your lights to HomeKit? In the first case: it has nothing to do with homebridge-hue, in the second case: it's not the same problem.
@daanvb I hate to be fingerpointing, but it looks like an issue with HA. Hue lights report back the closest ct
value when setting a light colour through xy
. It seems like HA uses that as a hint to update the colour temperature, setting ct
. Then, the Hue light reports back the closest xy
value on setting ct
, which HA takes as a hint to update xy
, etc. Basically HA should check colormode
and not take action on changed ct
values unless colormode
is ct
(and similar for xy
).
To confirm, you could try and set a yellow-white-ish colour and see high ct
values (up to 500) and a blue-white-ish colour to see low ct
values (down to 153).
As far as I know, only Hue lights report back their actual state (rather than the last state set), and only Hue lights update the attributes for another colour mode, so you won't see this behaviour for other lights.
@ebaauw I think you are correct that this is a HA issue. I've done a little more digging and found some threads raised regarding this.
https://github.com/home-assistant/home-assistant/issues/23394 https://github.com/home-assistant/home-assistant/issues/24513 https://github.com/home-assistant/home-assistant/issues/19251
I have exactly the same issue with homekit and Lifx on Hassio 0.98.1
I've had a play around with this and it looks like when you pick a colour in Apple's Home colour picker, it sends the hue and saturation values followed by the colour temperature value to homeassistant.
The reason the behaviour described in this issue is happening is due to the fact that the hue and saturation are sent first from the Home app, which home assistant acts upon and changes the colour to the selected colour. The problem occurs because the colour temperature value is sent after the hue and saturation which homeassistant acts upon and sets the colour temperature, which causes the light to return to the previously selected colour temperature.
This does only seem to be a problem with Apple's Home app, as I've tried using other apps such as "Controller for HomeKit" and "Eve for HomeKit" which both work fine
I've made a change to the "type_lights.py" in my developer environment to only change the colour temperature in homeassistant if the value is different to the previous value which seems to be working well.
@someguythatcodes can/will this be officially integrated into the plugin
@someguythatcodes that's great - thanks for looking into this - its greatly appreciated. What would be the next steps on this? Wondering if a PR could be added to HA?
I will look into doing a PR into HA for this soon
I will look into doing a PR into HA for this soon
That would be amazing thank you!
I think Apple may have fixed this in iOS 13.1 as it seems to be working for me after the update
I have tried it too and it does seem to be working for me as well
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description: Hue lights via HomeKit are not changing to user choice of brightness and colour. When trying and change the lights, it looks like something is getting pushed back and the light are defaulting back to 366. I have created a video to show this behaviour (here).
Findings so far:
366 looks like it is the default hue colour. Could this be an issue with the power on activity? https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1014
Home Assistant Log:
Deconz Log:
Setup: