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

transitionLength is not working #109

Open
FreAcX opened this issue Oct 15, 2021 · 5 comments
Open

transitionLength is not working #109

FreAcX opened this issue Oct 15, 2021 · 5 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@FreAcX
Copy link

FreAcX commented Oct 15, 2021

The transitionLength is not used when controlling a lamp from ioBroker. In the log you can see what I mean. The first trigger is from the webserver. The second is from ioBroker via state. The transitionLength in ioBroker is set to 1 s, but turns red after change.

[D][light:035]: 'esstisch ambient light' Setting:
[D][light:046]: State: ON
[D][light:084]: Transition length: 1.0s
[D][light:084]: Transition length: 1.0s
[D][power_supply:034]: Enabling power supply.
[D][light:035]: 'esstisch ambient light' Setting:
[D][light:046]: State: OFF
[D][light:046]: State: OFF
[D][light:050]: Brightness: 100%
[D][light:050]: Brightness: 100%
[D][light:058]: Red: 100%, Green: 34%, Blue: 62%
[D][light:058]: Red: 100%, Green: 34%, Blue: 62%
[D][light:084]: Transition length: 0.0s
[D][power_supply:052]: Disabling power supply.

image

@FreAcX FreAcX added the bug Something isn't working label Oct 15, 2021
@maxpd1
Copy link

maxpd1 commented Mar 17, 2022

Is it perhaps because transitionLength is written in the code like that and not like in documentation like: transition_length

default_transition_length (Optional, Time): The default transition length to use when no transition length is set in the light call. Defaults to 1s.

flash_transition_length (Optional, Time): The transition length to use when flash is called. Defaults to 0s.

@DutchmanNL
Copy link
Contributor

Is it perhaps because transitionLength is written in the code like that and not like in documentation like: transition_length

default_transition_length (Optional, Time): The default transition length to use when no transition length is set in the light call. Defaults to 1s.

flash_transition_length (Optional, Time): The transition length to use when flash is called. Defaults to 0s.

would it be possible to share your yaml configuration so we are able to reproduce this ?

@DutchmanNL DutchmanNL added the question Further information is requested label Oct 31, 2023
@DutchmanNL DutchmanNL removed the bug Something isn't working label Nov 12, 2023
@DutchmanNL
Copy link
Contributor

please reopen if you can add required information to solve this :)

@DutchmanNL DutchmanNL added the bug Something isn't working label Nov 12, 2023
@FlorianHe1995
Copy link

Hi. I have the same problem.
If I want to control my LED band with the IO broker, the transitionLength ​​are not changed. that affects the monochromatic and the rgbw lights.I noticed that the name and the ID don't match
Fehler

here is my yaml
io-modul-eg.txt

@DutchmanNL DutchmanNL reopened this Nov 19, 2023
@FlorianHe1995
Copy link

Hello. I Found the problem.
The Unit of TransitionLengh is not "S" but "ms"

If I enter 100, the log shows 0.1

transitionLenghSet
transitionLenghUnit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants