ZHA - IKEA open/close switch for covers (e.g KADRILJ, FYRTUR)

I believe it was “manufacturer: “\x02KE”” in the blueprint, that needed to be changed.
I have moved to Zigbee2MQTT in the meantime, so I can’t even verify. Sorry.

I get this error:

unknown tag !<!input> at line 36, column 29:
device_id: !input ‘remote’
^

Help pease!

Is anyone here able to port this to Z2M?

I want to use the normal functions for the remote like stopping within when button is pressed again.

A double Tap to open 50% would be the cherry on the gelato

:wink:

Thanks

Just a quick thank you to @seblu for this. I moved the blinds over to ZHA from Deconz after repeated stability issues. The blinds worked better right away, and I had no issues pairing the remote, but I couldn’t figure out how to capture the remote events. This worked perfectly out of the box and made my day.

Thank you!

does this blueprint still works?

Yes, since I setup my remote using this I haven’t touched the configuration or anything to do with it. It’s been working perfectly.

I can’t recall if it was this blueprint or another one that I was trying, but you may have to edit it slightly so that you can select your cover (perhaps my covers are in a cover group?). Sorry can’t quite recall and can’t login to my instance from where I am right now.

Anyone would be kind enough to let me know how they integrated their Fyrtur in HA?
I’ve tried to include it directly in ZHA with no success, as a matter of fact, now my button doesn’t talk to my cover any more. I may need to link back to the Fyrtur repeater or something. Or are you guys using the Ikea hub?

I just set one up. Im using zha, go to the zha integration and hit add device. Then on your blinds press both the buttons at the same time until a white light starts pulsing. I had to try a couple times, and make sure you have a router devices reasonably close by, but it worked fine.

Out of the box the remote, blinds, and the usb repeater are all paired to work together independant of any actual system. But when you’re using home assistant you will instead be pairing each of these devices to HA instead of to each other.

Then you use a blue print or automation to make the button work again.

1 Like

Thanks, that helped a lot. I am not sure I was doing wrong before.
Partial success. I was able to connect the remote switch with no issues and it seems to be working, but the Fyrtur cover itself, although it was recognized right away cannot be controlled and does not report battery level. More digging to do.

Hi @nicesocks , I am a bit new to using Blueprints so would appreciate some help.
I connected 2 blinds for 2 windows and a single remote all independently to HA. As expected, now the remote can’t control the blinds until I create an automation. See photo attached, using the blueprint as is, I can’t find the remote in the drop down, therefore: How do I go about changing the “manufacturer” in the “blueprint” to be “IKEA of Sweden”? so that I can use the Blueprint as defined?
Also, using the automation, how do you ensure that the blinds close to the exact position at the bottom of the window vs. open all the way down?

Having exactly the same issue, help would be much appriciated :slight_smile:

@merlinacious & @stefan.pettersson79 I created a github Gist for the folks who need the manufacturer to be “IKEA of Sweden” with the same blueprint:

Hope that helps, cheers

1 Like

Thank you @Jupiler987. Your blueprint worked like a charm! Appreciate the help.
One other thing with the Ikea Fyrtur blinds and Tradfri remotes that I am trying to figure out is how exactly am I supposed to use “bindings” such that the remote and the blinds can communicate even if my HA instance is down. I haven’t had 100% reliability with the remote speaking to the blinds via HA so currently removed them BUT would love to have the best of both worlds if possible i.e. HA for scheduling open / close of blinds & reliability of the Ikea remote <> blind connectivity.

See this blueprint for a generic use of the same button.

did you ever find a way to do this?

Thanks I used this and it worked fine for a single Fyrtur and for a group made of 2 Fyrturs (selected using the entity drop down)

I’ve managed to adapt this over to Zigbee2MQTT. I currently have it set to use cover.set_cover_position : 0 or 99 instead of using cover.open or cover.close since these don’t work reliably for me with multiple Fyrtur blinds, but you can probably swap it over if you’d like (or if you have the values inverted in your settings). Opening, closing, and stop all work well for me. Here’s the blueprint code:

blueprint:
  name: Cover control with Tradfri open/close remote Z2M
  description: |
    Control a cover with an Ikea Tradfri open/close button remote over Zigbee2MQTT

    Short press on ☼ button will open the cover.
    Short press on ☰ button will close the cover.
    Long press on ☼ or ☰  will stop the cover.
  domain: automation
  input:
    remote:
      name: Remote
      description: "IKEA open/close remote to use"
      selector:
        entity:
          domain: sensor
          multiple: false
    cover:
      name: Cover
      description: The cover to control
      default:
        entity_id: none
      selector:
        entity:
          domain: cover
trigger:
- platform: state
  entity_id:
  - !input remote
  to: 'open'
  id: 'open'
- platform: state
  entity_id:
  - !input remote
  to: 'close'
  id: 'close'
- platform: state
  entity_id:
  - !input remote
  to: 'stop'
  id: 'stop'
action:
- choose:
  - conditions:
    - condition: trigger
      id: 'open'
    sequence:
    - service: cover.set_cover_position
      data:
        position: '99'
      target:
        entity_id: !input cover
  - conditions:
    - condition: trigger
      id: 'close'
    sequence:
    - service: cover.set_cover_position
      data:
        position: '0'
      target:
        entity_id: !input cover
  - conditions:
    - condition: trigger
      id: 'stop'
    sequence:
    - service: cover.stop_cover
      target: 
        entity_id: !input cover
mode: restart
2 Likes

Open your Home Assistant file editor, navigate through the folders to config/blueprints/automation and you should see the blueprint’s folder listed as seblu, click on it and then click on the yaml file inside the folder. The file should open in your file editor and you should be able to edit the manufacturer line. Save changes and reload your yaml configuration. I followed these steps and was then able to select the Ike button!

I cannot select the remote control in the blueprint.
I installed the original blueprint from this post and the “IKEA of Sweden” blueprint. I can’t select a remote control on either.

In my HA installation via deCONZ, the remote control only exists as a “battery sensor”, but I still get the button presses displayed and can also select them separately in a handmade automation as “open” and “close” triggers.

What could be the problem here that I can’t use the blueprint?

I seem to have an issue with the functionality.
Single tapping works as described. Holding the buttons does the same thing as single clicking… i cant seem to stop the motion too.

My remote has 2 sensors… “action” and “click” what would be the right “switch”… i can select both of them.

Thank you for the good work!

regards,
markus