šŸŽ® ZHA, deCONZ, Zigbee2MQTT - Ikea E1743 On/Off Switch & Dimmer Universal blueprint - all actions + double click events - control lights, media players and more with Hooks

Hi @FrancYescO,

Thank you for your feedback. Iā€™m glad to hear that your issue is solved. :slight_smile:

probably you should consider not working some behaviours with Z2M

Multiple users reported the controller blueprint fully working with Zigbee2MQTT; the issue might be with your Zigbee coordinator not being completely supported by Zigbee2MQTT (such as the Conbee II, whose support is currently experimental) or with the USB stick being too little for your Zigbee network (such as the TI CC2531 with 20+ devices paired, which can cause multiple stability issues).

Thanks again, and happy automating!

Trying to set this up with an ikea 5 button remote and the light hook. I have confirmed the remote is sending messages and tried it with another blueprint, it worked as expected. I am trying to use the light hook.

I get no actions being executed.
I see this error but as I am using zha I have left the entity empty and used the device.


Stopped because an error was encountered at June 3, 2021, 2:42:32 PM (runtime: 0.03 seconds)

not a valid value for dictionary value @ data['entity_id']``


id: '1622756436747'
alias: 5 button ikea remote
description: ''
use_blueprint:
  path: EPMatt/ikea_e1524_e1810.yaml
  input:
    integration: ZHA
    controller_device: 92caab6580bcd8362a33f4726e041578

and the light hook config

alias: living room light
description: ''
use_blueprint:
  path: EPMatt/light.yaml
  input:
    light_color_mode: Auto
    controller_device: 92caab6580bcd8362a33f4726e041578
    controller_model: IKEA E1524/E1810 5-Button remote
    light: light.living_room_lights

`I am probably not understanding the use of hooks. Do I still need to choose the button actions in the controller blueprint?

Any other info I can give just ask.

thanks

I did not have the input text setupā€¦rtfm

1 Like

Okay so it works good but I wanted to assign the left and right buttons to control another light. When I put this in it controls the new light but also turns on the main light. Is it possible to use the light hook and also use the side buttons or double press for another function?

Thanks
I tried commenting out the short lef/right button commands in the lights.yaml hook and I get the same issue. I was able to set up double click.

Hi @iscraigh, thank you for reaching out.

Iā€™m reposting here my answer from the Light Hook thread, just for reference :slight_smile: :

Unfortunately thereā€™s currently no way to ā€œrouteā€ certain actions to a specific hook automation: currently all hooks linked to the same controller automation receive all the device events.

By the way this feature is definitely something we might plan adding in the future.
If you have some time you can submit a feature request by creating a new issue on the projectā€™s GitHub repository, so we can better discuss this suggestion and track its development.

Thank you!

Great blueprint thanks.

Do you think it would be possible to extend it to also cover the IKEA E1766 which is the same physical switch that comes bundled with the tradfri blinds. Slight difference is that it only has 3 actions ather than 4: open, close and stop on Z2M

Iā€™m kinda lost at the moment. I have little experience setting up advanced stuff in HA.
After 2 weeks of trying to setup an IKEA E1743 to HA I have finally given up.
I came to the conclusion that I have no idea what Iā€™m doing.
Most things that I have setup I have done by following YouTube tutorials, but blueprints are beyond my capabilities it seems.
I have read the documentation like 1000 times but iā€™m still not getting it.

My setup is running version core-2021.4.3 of HA, the installation type is Home Assistant Container (running on a pi4). My ZHA dongle is a Texas Instrument CC2531 USB. My Ikea E1743 is paired and visible as a device. Which step do i need to do to get this up and running? Sorry for my incompetence but Iā€™m really stuck.

Hi @dashdash, what do you want to control with this remote?
You need do ā€˜install/downloadā€™ the blueprints.
For sure you need: https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/ikea_e1743
On top of that you need a Hook Bleuprint for what you want to do.

You can load blueprints from the configuration - Bleuprints screen; there you have to provide the links for these bleuprints.
From there on, you have to create your automations.

@Nick4

Thanks for your reply, iā€™m trying to set the controller to turn on my Hue bulb.
So i downloaded the ikea_e1743.yml and the light.yaml from the hook page for lights.
i made an automation of both templates but to no avail. iā€™m like 100% sure that im looking over some minor detail, maybe the configuration of the automations are totally wrong.

Can you post your automations?

Controller Automation

Light hook Automation

these are the only options i have changed, the rest are as is.

=======
6-12-2021

i cant post new replies so i have to edit this one:

I added a helper called ā€œhelper_last_controller_eventā€ choose text as input.
Left everything default, now there is a input_text.helper_last_controller_event entity.
Selected the helper in my "Controller "Automation. Still no difference.

i manually trigged my automation (dont ask me why) and looked at the trace log and found this:

ā€œerrorā€: ā€œUndefinedError: ā€˜dict objectā€™ has no attribute ā€˜eventā€™ā€,

I have no idea if this is the reason.

@Nick4

Still no luck, are there prerequisites that I might be missing?

Almost there: you still have to provide " Helper - Last Controller Event", itā€™s required.
Check the additional notes of the button bleuprint.
In the configuration menu of HA there is a ā€˜Helpersā€™ section.
More info on: Controllers-Hooks Ecosystem | Awesome HA Blueprints

Trying to get this to work. Using Deconz and only single up and down button for now.
So Input Text Integration should not be required, correct?

Still I get the error:

Stopped because an error was encountered at 13 July 2021, 11:19:19 (runtime: 0.03 seconds)
not a valid value for dictionary value @ data[ā€˜entity_idā€™]

My automation looks like this:

alias: Light switch slaapkamer
description: ''
use_blueprint:
  path: EPMatt/ikea_e1743.yaml
  input:
    integration: deCONZ
    controller_device: 88fcb3807dd64eb735aa5b688d6da946
    action_button_up_short:
      - service: light.turn_on
        target:
          entity_id: light.slaapkamer_plafond
    action_button_down_short:
      - service: light.turn_off
        target:
          entity_id: light.slaapkamer_plafond

Hi @spudje, have you provided the ā€œHelper - Last Controller Eventā€?

1 Like

Thanks, now I have and it works. The documentation is NOT clear about this, hence so many people struggling:

Input Text Integration (ZHA, Zigbee2MQTT, Double press action Required)

Iā€™m not using ZHA nor Zigbee2MQTT, nor double press actions. Still I need to create this helperā€¦
Just make this ā€œRequiredā€

2 Likes

Youā€™re welcome!

I have also struggled with that not having understood that this helper is needed.
Afterwards, when knowing, it is more clear.

@epmatt has done a great job in creating these bleuprints and the effort documenting it so extensively.
The best you can do is to make a suggestion on how to improve it.

I just started myself with these remotes and in my case zigbee/deCONZ, so no idea if you missed some prerequisites.
You might change that helper to a string without spaces - just a wild guess.
Maybe create a new topic for your issue?

What is going on with your account? Something seems offā€¦

As a new user you apparently have restrictions they have been lifted now.
I think that iā€™m gonna give up, return the E1743ā€™s to Ikea and buy some SONOFF SNZB-01ā€™s.
Iā€™m sure that they are a lot less hassle.

With the E1743ā€™s my setup does not react to any input. Short presses, long presses nothing works.
Strangely at random times (i didnt press any botton), like at 3 am the controller automation is triggered by a ZHA event, but the automation still doesnā€™t do anything.

Really glad that is works for others but iā€™m giving up.

Itā€™s a pity that you cannot get it to work but I understand your frustration completely.

Have you searched here in the community for a thread with similar setup/problems/issues?
You could also create a new topic with a good/clear title to attract help or try discord, that might get more attention then hereā€¦

Just an ideaā€¦