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] LK Dimmer cannot be turned off with API v2 #15315

Closed
jlaur opened this issue Jul 27, 2023 · 0 comments · Fixed by #15316
Closed

[hue] LK Dimmer cannot be turned off with API v2 #15315

jlaur opened this issue Jul 27, 2023 · 0 comments · Fixed by #15316
Assignees
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@jlaur
Copy link
Contributor

jlaur commented Jul 27, 2023

The implementation of Hue API v2 unfortunately reintroduces the issue described in #11571.

As a consequence, LK Dimmers cannot be turned off.

This is caused by a firmware bug in the product, but previously there was a work-around in place to support that product.

Regression of #13570

Expected Behavior

The dimmer should be able to turn off when receiving an OFF command.

Current Behavior

When sending the OFF command, the product will dim to the lowest level (which is not very low).

2023-07-27 23:59:02.792 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'DinnerTableLamps_Brightness' received command OFF
2023-07-27 23:59:02.794 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'DinnerTableLamps_Brightness' predicted to become OFF
2023-07-27 23:59:02.798 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DinnerTableLamps_Brightness' changed from 100 to 0
2023-07-27 23:59:28.986 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'DinnerTableLamps_Brightness' received command ON
2023-07-27 23:59:28.988 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'DinnerTableLamps_Brightness' predicted to become ON
2023-07-27 23:59:28.994 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DinnerTableLamps_Brightness' changed from 0 to 100
2023-07-27 23:59:29.099 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DinnerTableLamps_Brightness' changed from 100 to 0.3900

Possible Solution

Reintroduce the work-around provided in #11572.

Steps to Reproduce

Send OFF command to item linked to brightness or on-off-only channel.

Context

Since this is not "just" a bulb but an expensive in-wall dimmer, it's worth the effort to support it when this is actually possible with little effort.

Your Environment

  • Version used: 4.0
@jlaur jlaur added the bug An unexpected problem or unintended behavior of an add-on label Jul 27, 2023
@jlaur jlaur self-assigned this Jul 27, 2023
jlaur added a commit to jlaur/openhab-addons that referenced this issue Jul 27, 2023
Fixes openhab#15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
@jlaur jlaur changed the title [hue] LK Dimmer cannot be turned off with Hue API v2 [hue] LK Dimmer cannot be turned off with API v2 Jul 27, 2023
jlaur added a commit to jlaur/openhab-addons that referenced this issue Jul 28, 2023
Fixes openhab#15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
jlaur added a commit to jlaur/openhab-addons that referenced this issue Jul 28, 2023
Fixes openhab#15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
lolodomo pushed a commit that referenced this issue Jul 31, 2023
Fixes #15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
jlaur added a commit that referenced this issue Jul 31, 2023
Fixes #15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
Fixes openhab#15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
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