-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[miio] Wrong datatype for channel ambientBrightness in yeelink.light.ceiling4.json #9936
Labels
bug
An unexpected problem or unintended behavior of an add-on
Comments
Hilbrand
pushed a commit
that referenced
this issue
Feb 8, 2021
The ceiling10 Yeelight lamp has 2 dimmer for brightness: "bright" for the main light and bg_bright for the ambient light. Both are of type dimmer and accept percentage values between 1 and 100. This fix changes the datatype of the bg_bright property from Number to Dimmer in the device mapping database file ceiling4, which is also the one that is used for the ceiling10 lamp. Accepted without sign-off under minor change exemption.
themillhousegroup
pushed a commit
to themillhousegroup/openhab2-addons
that referenced
this issue
May 10, 2021
…enhab#10065) The ceiling10 Yeelight lamp has 2 dimmer for brightness: "bright" for the main light and bg_bright for the ambient light. Both are of type dimmer and accept percentage values between 1 and 100. This fix changes the datatype of the bg_bright property from Number to Dimmer in the device mapping database file ceiling4, which is also the one that is used for the ceiling10 lamp. Accepted without sign-off under minor change exemption. Signed-off-by: John Marshall <[email protected]>
thinkingstone
pushed a commit
to thinkingstone/openhab-addons
that referenced
this issue
Nov 7, 2021
…enhab#10065) The ceiling10 Yeelight lamp has 2 dimmer for brightness: "bright" for the main light and bg_bright for the ambient light. Both are of type dimmer and accept percentage values between 1 and 100. This fix changes the datatype of the bg_bright property from Number to Dimmer in the device mapping database file ceiling4, which is also the one that is used for the ceiling10 lamp. Accepted without sign-off under minor change exemption.
marcfischerboschio
pushed a commit
to bosch-io/openhab-addons
that referenced
this issue
May 5, 2022
…enhab#10065) The ceiling10 Yeelight lamp has 2 dimmer for brightness: "bright" for the main light and bg_bright for the ambient light. Both are of type dimmer and accept percentage values between 1 and 100. This fix changes the datatype of the bg_bright property from Number to Dimmer in the device mapping database file ceiling4, which is also the one that is used for the ceiling10 lamp. Accepted without sign-off under minor change exemption.
same bug with yeelink.light.light15.json, please fix |
michiii1337
added a commit
to michiii1337/openhab-addons
that referenced
this issue
Oct 15, 2022
changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness" same issue openhab#9936 (but already fixed)
michiii1337
added a commit
to michiii1337/openhab-addons
that referenced
this issue
Oct 29, 2022
changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness" same issue openhab#9936 (but already fixed) Signed-off-by: Michi <[email protected]>
jlaur
pushed a commit
that referenced
this issue
Oct 30, 2022
* Update yeelink.light.light15.json changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness" same issue #9936 (but already fixed) Signed-off-by: Michi <[email protected]>
andan67
pushed a commit
to andan67/openhab-addons
that referenced
this issue
Nov 6, 2022
* Update yeelink.light.light15.json changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness" same issue openhab#9936 (but already fixed) Signed-off-by: Michi <[email protected]>
marcelrv
added a commit
to marcelrv/openhab-addons
that referenced
this issue
Nov 15, 2022
The majority of brightness channels were already converted to dimmer. This PR applies same to the 'other'brightness channels like nightlight and/or ambient close: openhab#9936 Signed-off-by: Marcel Verpaalen <[email protected]>
lolodomo
pushed a commit
that referenced
this issue
Nov 16, 2022
The majority of brightness channels were already converted to dimmer. This PR applies same to the 'other'brightness channels like nightlight and/or ambient close: #9936 Signed-off-by: Marcel Verpaalen <[email protected]>
andrasU
pushed a commit
to andrasU/openhab-addons
that referenced
this issue
Nov 22, 2022
The majority of brightness channels were already converted to dimmer. This PR applies same to the 'other'brightness channels like nightlight and/or ambient close: openhab#9936 Signed-off-by: Marcel Verpaalen <[email protected]> Signed-off-by: Andras Uhrin <[email protected]>
andrasU
pushed a commit
to andrasU/openhab-addons
that referenced
this issue
Dec 24, 2022
The majority of brightness channels were already converted to dimmer. This PR applies same to the 'other'brightness channels like nightlight and/or ambient close: openhab#9936 Signed-off-by: Marcel Verpaalen <[email protected]> Signed-off-by: Andras Uhrin <[email protected]>
borazslo
pushed a commit
to borazslo/openhab-mideaac-addon
that referenced
this issue
Jan 8, 2023
* Update yeelink.light.light15.json changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness" same issue openhab#9936 (but already fixed) Signed-off-by: Michi <[email protected]>
borazslo
pushed a commit
to borazslo/openhab-mideaac-addon
that referenced
this issue
Jan 8, 2023
The majority of brightness channels were already converted to dimmer. This PR applies same to the 'other'brightness channels like nightlight and/or ambient close: openhab#9936 Signed-off-by: Marcel Verpaalen <[email protected]>
psmedley
pushed a commit
to psmedley/openhab-addons
that referenced
this issue
Feb 23, 2023
* Update yeelink.light.light15.json changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness" same issue openhab#9936 (but already fixed) Signed-off-by: Michi <[email protected]>
psmedley
pushed a commit
to psmedley/openhab-addons
that referenced
this issue
Feb 23, 2023
The majority of brightness channels were already converted to dimmer. This PR applies same to the 'other'brightness channels like nightlight and/or ambient close: openhab#9936 Signed-off-by: Marcel Verpaalen <[email protected]>
nemerdaud
pushed a commit
to nemerdaud/openhab-addons
that referenced
this issue
Feb 28, 2023
* Update yeelink.light.light15.json changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness" same issue openhab#9936 (but already fixed) Signed-off-by: Michi <[email protected]>
nemerdaud
pushed a commit
to nemerdaud/openhab-addons
that referenced
this issue
Feb 28, 2023
The majority of brightness channels were already converted to dimmer. This PR applies same to the 'other'brightness channels like nightlight and/or ambient close: openhab#9936 Signed-off-by: Marcel Verpaalen <[email protected]>
andrasU
pushed a commit
to andrasU/openhab-addons
that referenced
this issue
Jan 6, 2024
The majority of brightness channels were already converted to dimmer. This PR applies same to the 'other'brightness channels like nightlight and/or ambient close: openhab#9936 Signed-off-by: Marcel Verpaalen <[email protected]> Signed-off-by: Andras Uhrin <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems as if the datatype for the channel "ambientBrightness" is wrong in the device database JSON file:
openhab-addons/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json
Line 59 in 9203603
For the channel "brightness" the type is defined as "Dimmer":
openhab-addons/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json
Line 30 in 9203603
When defining a slider in a sitemap, the percentage value gets submitted as a fraction 0.68 for 68% and this gets rejected by the device. Even changing the value range of the slider to "step=1 minValue=1 maxValue=100" does not change the value being submitted to the devic.
Expected Behavior
The expected behaviour is that the channel is of type Dimmer and a Slider can be used in the sitemap to control the ambient light brightness in the same way it works for the main light brightness value.
Current Behavior
Possible Solution
The channel type should be changed from "Number" to "Dimmer":
openhab-addons/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json
Line 59 in 9203603
Steps to Reproduce (for Bugs)
Context
I cannot control the brightness of the ambient light.
Your Environment
The text was updated successfully, but these errors were encountered: