Controlling light groups with Ikea Tradfri 5 button remote via Zigbee2Mqtt

Hi,

Does anyone have a working config for the Ikea 5 button remote to control a light group? I’m having trouble mapping the button commands.

Thanks

I don’t have a complete and optimum config since it’s a work in progress. Just started two day’s ago to configure my Ikea E1810 5 button remote. I use HA on Hassbian with zigbee2mqtt with a CC2531 dongle. My setup is for a small room with just two lights controlled by the remote. There is no grouping at the moment.

I still have work to do on the “hold” and presets.

- alias: 'ZK Licht uit' 
  trigger:
    platform: state
    entity_id: sensor.zk_remote_action
    to: 'toggle'
  condition:
    condition: or
    conditions:
      - condition: state
        entity_id: light.zk_bed_light
        state: 'on'
      - condition: state
        entity_id: light.zk_trap_light
        state: 'on'
  action:
    - service: light.turn_off
      data:
        entity_id: light.zk_bed_light
    - service: light.turn_off
      data:
        entity_id: light.zk_trap_light

- alias: 'ZK licht dim' 
  trigger:
    platform: state
    entity_id: sensor.zk_remote_action
    to: 'brightness_down_click'
  action:
    - service: light.turn_on
      entity_id: light.zk_bed_light 
      data_template:
        transition: 1
        brightness: >
          {% set bri = state_attr('light.zk_bed_light', 'brightness')  | int %}
          {{ [bri-10, 1] | max }} 
    - service: light.turn_on
      entity_id: light.zk_trap_light
      data_template:
        transition: 1
        brightness: >
          {% set bri = state_attr('light.zk_trap_light', 'brightness')  | int %}
          {{ [bri-10, 1] | max }} 

1 Like

Thanks Lin, as cliche as it sounds my dog actually just chewed up the remote. So I’ve setup the IKEA remote instead, which is currently working nice with the below config. Unfortunately I couldn’t get dimming to work and just gave up as it’s not necessary in my case.

  - alias: Outdoor lights on
    trigger:
        platform: state
        entity_id: sensor.0x0017880106b7a35d_action
        to: 'on-press'
    action:
        - service: light.turn_on
          data:
            entity_id: group.outside
            brightness: 255
        
  - alias: Outdoor lights off
    trigger:
        platform: state
        entity_id: sensor.0x0017880106b7a35d_action
        to: 'off-press'
    action:
        entity_id: group.outside
        service: light.turn_off  
1 Like

Hey guys,

I created an app for AppDaemon to bring full functionality to IKEA E1524/E1810 and IKEA E1743. If you have more than one controller you can add a new instance app and that’s it. I don’t support group of lights, just 1 sensor connected with 1 light. However, you can connect them by creating different apps with multiple lights and the same controller in all of them. You can see the post about it here.

1 Like

Hi Guys,

Could someone help me with the pairing procedure of the tradfri remote with zigbee2mqtt?
it looks to be paired with my CC2531 and the device shows up in my MQTT integration but all my statuses show as unknown and i don’t seem to be able to read any input from the remote.

Am i missing something?

Thank You