nidayand / node-red-contrib-tradfri

Work in progress - Node-RED node for IKEA TRÅDFRI devices
Other
24 stars 9 forks source link

Unable to set brightness and colour #9

Open st3inar opened 7 years ago

st3inar commented 7 years ago

Changing brightness and colour while using transitiontime does not work, it fades the colour but brightness remains the same. I am able to change brightness and color when not utilizing transitiontime.

Am I doing it correct? See flow below.

skjermbilde 2017-10-17 kl 22 47 15 skjermbilde 2017-10-17 kl 22 47 32 skjermbilde 2017-10-17 kl 22 47 44

Spissel commented 5 years ago

I just had the same problem. The solution: Use two functions. The first sets only the brightness and the other only the color. For the second function use a delay that the two function have time to do their things on there own. It seems that Tradfri is not able to do more than two things (color & brightness or color & transistion or brightness & transition) on the same time.