Ikea Tradfri: Transition and Moods

Hi,

My first post to the forum! :slight_smile:

I could not agree more with roofuskit. The current implementation of Tradfri is incomplete when it comes to smooth operation of lamp groups and especially lacks the functionality to change the color temp for a group of bulbs.

I have 8 GU10 bulbs in a single physical lamp frame. With the current implementation I cannot change the color temp via the IKEA bridge defined lamp group at all using Home Assistant.

Would be really nice to have this functionality implemented. There must be others waiting as well.

Please consider this.

BR,
Mikko

2 Likes

Hey there,
I recently started with Home Assistant and added some Tradfri Bulbs to my home. I would very much appreciate it if someone could add moods to the Tradfri component of HA. :grinning:

Howdy

The GU10’s I have don’t support color temp…indeed I don’t think any do!

Hass can change the color of a group (I do so regularly) so long as the bulbs support that feature…

Hi,

GU10s do indeed have color temp. At least here in Finland all Trådfri GU10s do (you can’t have them without). You can adjust the temp for individual bulbs via Home Assistant, but not for groups configured in the IKEA app visible in Home Assistant.

The implementation is incomplete, as said before.

BR,
Mikko

1 Like

All the GU10’s in Scotland don’t support Color temp :confused:

2 stores so far…

Then again IKEA hasn’t fully released the current batch (according to in store colleagues)

That’s fair enough - if you make a group in HASS - you can control Color temp of a group that way

Just found out that transition don’t work :frowning: I have spent an hour or two tinkering with an automation that will gradually turn on my bedside lamp 5 minutes before my alarm goes off. Too bad it’s not gonna work. Hopefully the support will come in the future!

There is no nice transition between the mooood lightning but it works :smiley:
script.yaml

 'focus':
   alias: Focus
   sequence:
   - data:
       brightness: '254'
       color_temp: '249'
       entity_id: light.livingroom
     service: light.turn_on
 'everyday':
   alias: Everyday
   sequence:
   - data:
       brightness: '203'
       color_temp: '370'
       entity_id: light.livingroom
     service: light.turn_on
 'relax':
   alias: Relax
   sequence:
   - data:
       brightness: '25'
       color_temp: '458'
       entity_id: light.livingroom
     service: light.turn_on

or

focus:
  alias: Focus
  sequence:
  - data:
      brightness: '254'
      rgb_color:
      - '245'
      - '250'
      - '246'
      entity_id: light.livingroom
    service: light.turn_on
everyday:
  alias: Everyday
  sequence:
  - data:
      brightness: '203'
      rgb_color:
      - '241'
      - '224'
      - '181'
      entity_id: light.livingroom
    service: light.turn_on
relax:
  alias: Relax
  sequence:
  - data:
      brightness: '25'
      entity_id: light.livingroom
      rgb_color:
      - 239
      - 210
      - 117
    service: light.turn_on

worst markdown editor ever

I just wanted to throw this out there, but with 0.55 it looks like transition works on the Tradfri Bulbs. I was just playing with my Office light and got it to go from 100% to 0% brightness over 10 seconds.

Edit - Transitions are working but you have to multiply the transition by 10 (e.g. if you want a 1 minute transition then it would be transition: 600)

1 Like

do you set this up in various scripts, if you do mind sharing some of them :smiley:

you can look at the package I am working on for my alarm clock. Should work OK. https://github.com/mconway/homeassistant-config/blob/master/packages/alarm_clock.yaml

So, from what I saw on this topic, is it true that now, the transitions are working with IKEA Trådfri?
I’m trying to decide on buying IKEA Trådfri or Philips Hue, and this feature it’s important to me.

Transitions are working fine now with correct transition time in seconds.But there is one thing that annoys me with the ikea bulbs.
You cant transition them down to 0 %. They dim down to 10 % and then switch off.
This is propably a hardware problem of the ikea bulbs. They simply have no dimming setting in that area because you cant reach further dimming with the ikea remote, too.
If they use PWM dimming in their hardware this should be solveable with an update in the future if ikea will take notice of the problem.
My solution:
I have a decoration light with a 400 lm bulb. This has the same dimming problem but the lowest level of dimming is dark enough for me. The ceiling lamp is a 1000 lm one that switches on when the 400 lm one reaches its brightest state and vice versa.

Has there been any progress in setting color temp on light groups? I’m trying to script a set of bulbs in one light fixture and the only way I’ve managed to change the color temp of the bulbs is to address them one by one.

Also, transitions only seem to work on brightness and not color temp.

+1

Is there any update about color temperature and tradfri groups?

1 Like

Transitions for colour temperature have been added in the last update. But they only work for one of the attributes, e.g.:

  • If you set only the the temperature and a transition time, it works as expected and the temperature warps smoothly from on to another.
  • If you set brightness and temperature, the temperature will be set instantly, the brightness will adapt slowly as expected.

If someone found out something else, I would be happy to know :grin:

Indeed my request is about handling of color temperature in a “native” tradfri group: it is still not possible to set the temperature and the only way is to use the HA light groups, resulting in non simultaneous lights update.

Have made a separate request for simultaneous lights update in HA LIght groups as I have similar issue replicating Tradfri groups

I think that we have two problems when using the HA light groups instead of the native trådfri ones:

  1. The commands are sent individually to the trådfri gateway and then to each light of the group, resulting in non simultaneous lamp update. This is particularly noticeable if you have many lights in group. Somewhere in the chain the commands are queued and take a while to propagate. Maybe the ZigBee network?
  2. The light status update from the trådfri gateway to HA is slower because of point above, resulting in flickering of the HA group brightness slider and on/off button in the HA UI.

I might miss the point, but I don’t get how the delay would prevent the main issue that is no. 1.

I don’t notice a delay just the lights turning on in series one after the other . I have 6 lights in the group so adding a user variable decreasing delay of say 6ms, 5ms , 4ms between each light turning on may give the effect of the lights turning on together ?

I experience a random order plus I think that all the commands are sent at the same time, it is just a matter of how the network reacts. In other words, I don’t think a fixed delay per light would solve it.