-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jumpy colour wheels: Workaround by not reading colour data for certain bulbs #821
Comments
That's what I already mentioned:
|
Thank you, @ebaauw . There is still "jumpyness" when setting RGB colours, too. Would
address this as well? |
The jumping is a combination of:
In Zigbee, you send a command to a light to request it to change the colour. The light reports it's actual colour through attributes. A proper modelling of this would be to distinguish between target colour vs current colour. Instead, both target and current colour are represented by the same API attribute and HomeKit characteristic(s). The same holds for brightness and colour temperature, by the way. Usually this is not too big a deal, but there are a couple of cases where this hurts:
Now, if you would control your lights exclusively by HomeKit, we could decide to ignore the actual light state, and simply only show the target light state in HomeKit. There might be a mismatch between the displayed colour (temperature) in HomeKit vs the actual colour (temperature) by the light, but you probably wouldn't notice nor mind. However, when the light would be controlled from elsewhere (using Zigbee controllers, using gateway/bridge rules, using other API clients, like the Hue or Phoscon app), HomeKit wouldn't be updated. |
Thanks for the thoughtful and detailed explanation. For my RGB lamps in particular, I have no other control than through HomeKit, so I don’t mind at all ignoring the actual light state (save for on/off). I can try to hack something together to get this to work the way I imagine and report back my experience. |
Issue
Color handling (as @ebaauw describes in #814 ) remains "jumpy", in the sense that gliding through or setting different RGB or CCT colours will make the colour wheel in the Home app jump between different colours, possibly overriding the colour stored in the colour picker in the Home app.
The issue is probably to colour settings being "fed back" from deCONZ or from the bulb, interpreted by the various layers/APIs and then translated back into some other colour in Home, perhaps with a delay (before which the user has chosen another colour).
Suggestion
Some users use the Home app (possibly with Siri) exclusively to control their lights, as I do. I am not reliant on any colour data going "upstream" from the bulbs and back into Home. I suggest that it would be possible to work around this issue by disabling the ability for deCONZ to feed colour back into Home for chosen bulbs, so that this issue is – while not fixed – at least rendered harmless.
This could for example be implemented in config.json, where the user could specify an array of light IDs that will not have the colour setting read back from the REST API.
The text was updated successfully, but these errors were encountered: