ioBroker.esphome icon indicating copy to clipboard operation
ioBroker.esphome copied to clipboard

transitionLength is not working

Open FreAcX opened this issue 3 years ago • 5 comments

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 avatar Oct 15 '21 17:10 FreAcX

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.

maxpd1 avatar Mar 17 '22 20:03 maxpd1

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 avatar Oct 31 '23 14:10 DutchmanNL

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

DutchmanNL avatar Nov 12 '23 01:11 DutchmanNL

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

FlorianHe1995 avatar Nov 19 '23 20:11 FlorianHe1995

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

FlorianHe1995 avatar Jan 19 '24 11:01 FlorianHe1995