Skip to content
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

[hue] API v2 color and brightness commands not respecting dynamics duration #18260

Open
andrewfg opened this issue Feb 13, 2025 · 0 comments · May be fixed by #18261
Open

[hue] API v2 color and brightness commands not respecting dynamics duration #18260

andrewfg opened this issue Feb 13, 2025 · 0 comments · May be fixed by #18261
Assignees
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@andrewfg
Copy link
Contributor

andrewfg commented Feb 13, 2025

In API v2 the dynamics channel is not working properly in conjunction the color or brightness channels.

The issue is caused by the fact that (in accordance with OH house rules) ..

  • commands for color lamps to the color channel must send a DTO with colorXY PLUS brightness PLUS onOff elements
  • commands for color-temperature lamps to the brightness channel must send a DTO with brightness PLUS onOff elements

And it seems that if a command DTO contains an onOff element in conjunction with a dynamics element, the bridge ignores the dynamics duration and instead executes the combined command immediately.

Probably the solution is that the dynamics delay shall be allowed not only (as in the current binding) on the color and brightness channels, but also (in a revised PR version) on the color-xy-only and dimming-only channels as well.

Signed-off-by: Andrew Fiddian-Green [email protected]

@andrewfg andrewfg added the bug An unexpected problem or unintended behavior of an add-on label Feb 13, 2025
@andrewfg andrewfg self-assigned this Feb 13, 2025
@andrewfg andrewfg changed the title [hue] API v2 dynamics channel not working with brightness channel [hue] API v2 color and brightness commands not respecting dynamics duration Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant