Light transition not working. IKEA Tradfri

I have 2x IKEA Tradfri bulbs. When I switch them on using light.turn_on with transition: 5 one of the bulbs turns on gradually as expected, the other flips straight on to 100% brightness.

The YAML service appears to work correctly with one of my other IKEA Tradfri bulbs. I’ve tried setting the brightness attribute in the service call, as recommended on a number of threads, but still the transition duration isn’t acknolwedged.

Both IKEA Tradfri bulbs are connected to Home Assistant via ZHA integration using a Sonoff Zigbee hub.

service: light.turn_on
data:
  transition: 5
  brightness: 254
target:
  entity_id:
    - light.living_room_floor_lamp
    - light.living_room_table_lamp

Has anyone else experienced this?

I had a similar issue with a sonoff dimmer that wouldn’t transition.
I ended up creating an automation to do the dimming.
Although my transition was more than five seconds. Not sure how it will work with an automation and five second transition.

You just need trigger from off to on and set brightness to 1 then a small delay and then a loop untill 100 percent brightness

1 Like

Thanks for the suggestions, it’s a hacky but could be a good fallback.

I think the issue maybe to do with ZHA. I never remember having this issue when both bulbs were using the IKEA Hub and the Home Assistrant Tradfri integration.

I use z2m not zha, but I found it better to group bulbs in zigbee then control the zigbee group.

Have you experienced the issue of IKEA bulbs not honouring the transition key when uysing z2m?

For clarity, both bulbs are separate entities using ZHA and not part of any Zigbee groups. Ie. to turn them both on I’d use the following service call.

service: light.turn_on
data:
  transition: 5
target:
  entity_id:
    - light.living_room_floor_lamp
    - light.living_room_table_lamp

It has been a while, so I wonder, have you ever resolved this issue or pin down the cause?

I’ve always contributed it to the IKEA bulbs being connected to a Hue bridge, but I’ve recently switched over to a Sonoff Zigbee stick with Z2M. Still running into the same issue.

I’m thinking of replacing the IKEA bulbs, but decided to check the community forum first.

1 Like

I don’t think I found a solution. One of the IKEA bulbs broke so changed to a Philips Hue bulb and have had no issues since.

1 Like

I believe the problem is with ZHA because I have the same problem now on Ikea bulb that earlier worked fine via Deconz. Now the bulb works only if transition time is zero. If anything above zero, it looks like the bulb starts to follow the command but it somehow interrupts. I wonder if this has something to do with the settings of the bulb available in ZHA? There are parameter for transition time and some others, but don’t know where are these used?

The settings for bulb:

  • on level
  • on/off transition time
  • start-up behavior
  • start-up current level

I don’t fully understand what does all these setting mean and when they are used. Are these still used if I manually call light.turn_on service?

Problem in my case was that it seems that Ikea bulb cannot successfully (most of the times) take a command that have more than 2 attributes. I had transition time, brightness and warmness so I had to split the functionality into two separate commands with some delay between of them.

2 Likes

I’ve been noticing that my Trådfri lights don’t always apply all new properties when applying scenes with transitions.

Today I finally mustered the energy to dig into the problem. I have also come to the conclusion that they simply cannot transition more than one property at a time :frowning:

Apart from writing your own transitions the only way I have found that works is to transition one property, wait for the duration of your transition and then do property 2.

I think that this is crap, but it’s better than having only half of the props changed or no transition at all.

  • It does not matter if I transition through ZHA settings or use a transition in yaml.
  • It does not matter which service I use to trigger the change, eg. scene.apply, scene.turn_on or light.turn_on.
  • Changing multiple props on lights connected via Hue Bridge to HA works fine, so I think the problem is in ZHA.
  • Changing all props without transition in HA works fine.
3 Likes

Any fix for this ?

1 Like

I can confirm. I had the same issue when trying to apply transition, warmth and brightness.
When using only transition and brightness it works