Skip to content

Conversation

@duvholt
Copy link
Contributor

@duvholt duvholt commented May 27, 2025

Transitioning between different brightness levels and color is a native zigbee feature and z2m seems to handle this very well.
Most of this PR is adding the necessary fields to the API update models (v1 and v2) and forwarding this to z2m.

I also added a default transition time of 0.4s for brightness and color (same as the Hue bridges uses). With a short transition changing brightness/color in the Hue app looks much better than the default choppy effect.

As previously mentioned on Discord changing IKEA light colors doesn't look good, but at least now it behaves more or less the same as the Hue bridge. From a little experimenting with a IKEA LED2109G6 I think this is because the IKEA firmware doesn't support rapidly changing colors with a transition. It does support brightness nicely, and it also works with a single color transition. Doing multiple in a row (which happens easily when picking a color in the Hue app) looks bad.

@chrivers
Copy link
Owner

This is great! Really nice work, seems to integrate smoothly into everything 👍

@duvholt duvholt force-pushed the light-transition branch from 394e99c to 875317f Compare May 27, 2025 21:18
Copy link
Owner

@chrivers chrivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@chrivers chrivers merged commit 8e16fba into chrivers:master May 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants