ZHA IKEA Roller Blind Remote

My Home Assistant

This is a blueprint for the Ikea roller blind remote, for use with zha.

Simply pick out the remote and cover to use, and it will work.

Github Gist: https://gist.github.com/r3mcos3/9534b849339e0558ca70ac5295238893

blueprint:
  name: IKEA Open/Close Remote
  description: |
    'Control your roller blind with an IKEA 2 button remote (the square ones).
    this is the remote that's been delivered by the "Fytur" and " Kadrilj"
    roller blinds.'
  domain: automation
  input:
    remote:
      name: Remote
      description: IKEA remote to use
      selector:
        device:
          integration: zha
          model: TRADFRI open/close remote
    cover:
      name: Roller Blind
      description: Roller blind to control
      selector:
        entity:
          domain: cover
mode: single
max_exceeded: silent
trigger:
  - platform: event
    event_type: zha_event
    event_data:
      device_id: !input 'remote'
action:
  - variables:
      command: '{{ trigger.event.data.command }}'
  - choose:
      - conditions:
          - '{{ command == ''up_open'' }}'
        sequence:
          - service: cover.open_cover
            entity_id: !input cover
      - conditions:
          - '{{ command == ''down_close'' }}'
        sequence:
          - service: cover.close_cover
            entity_id: !input cover

3 Likes

Thanks
It daesn’t works for me. I can see my remote and my bilnd but when i save my automation nothing occurs.
Logger: homeassistant.components.automation
Source: components/automation/init.py:517
Integration: Automatisation(documentation, issues)
First occurred: 0:04:14 (18 occurrences)
Last logged: 0:05:21

  • Blueprint IKEA Open/Close Remote generated invalid automation with inputs OrderedDict([(‘remote’, ‘efc00763c1b0abea77432dd964c2a793’), (‘cover’, ‘cover.ikea_store_d_window_covering’)]): expected a dictionary for dictionary value @ data[‘action’][1][‘choose’][0][‘sequence’][0][‘target’]. Got None
  • Blueprint IKEA Open/Close Remote generated invalid automation with inputs OrderedDict([(‘remote’, ‘afca9de72e1cfd76152b4322ecdc613b’), (‘cover’, ‘cover.ikea_store_g_e38d8efe_window_covering’)]): expected a dictionary for dictionary value @ data[‘action’][1][‘choose’][0][‘sequence’][0][‘target’]. Got None

Hi, Same here.

I know what’s wrong, I will fix this tommorow night.

And update the blueprint.
Sorry for this

1 Like

Thank you very much for this blueprint.

I’m using zigbee2mqtt as integration for my Zigbee devices. Thus, your blueprint doesn’t find my remote as input device. Would it be possible to remove the

 integration: zha

from the input device selector? Then it should also work with the zigbee2mqtt integration.

Thank you very much
Daniel

This blueprint is for the zha integration, it’s in the title.
And only removing that part off the blueprint doesn’t make it work with zigbee2mqtt.

It looks like target: is missing from cover:

    cover:
      name: Roller Blind
      description: Roller blind to control
      selector:
        target:
          entity:
            domain: cover

No that’s not it, I Don’t want that as a target

In the action part
There is a target specified, I think that should be entity_id

@omolko @Lauri_Marjamaki @dennyreiter

I’ve updated the blueprint, and it is working! for me at least
remove my old blueprint and import it again.

let me know if it’s working now.

Hi
it works fine now. Just one thing we can’t use the long press button.
But thanks anyway

Glad it’s working now! :grinning:

The long press is not in this blueprint, my goal was to keep it simple. :nerd_face:
for long press you can edit the blueprint yourself. :hammer:

thanks I actually don’t know how to manage this.
the action in yaml is like this…

type: remote_button_long_release
subtype: close

No, thats’s not it
there is more to do.

but if it’s not your cup off tea, You better don’t want to mess with it.

1 Like

Now it is working, thank you!
Can you please add “Stop” on second press while cover is moving? Now it seems to be just “open” or “close”

1 Like

You can always modify the blueprint yourself,
with a hold either off the 2 buttons to do a stop call service

I’m trying to pair some ikea open/close remotes i have with ZHA, i hit search on ZHA and click the reset/pair button on the remote and nothing shows up… any ideas on how to pair this remote?

You have to keep the device awake, in the pairing process push the button every 5 seconds or so.

I was able to pair one, all other seem to have a dead battery… heading to lowes now.

1 Like

I have 2 remotes paired, but it seems like they are not changing the state when i press the buttons… any ideas?

Remotes only push out events