Someone got the Ikea E1743 working with zigbee2mqtt?

Tags: #<Tag:0x00007f77f9d01c68>

Someone got the Ikea E1743 working with zigbee2mqtt? I don’t succeed.

  • if I reset the Ikea E1743 (press 4x the button), and then let pair (2 cm of the stick) nothing happens.

  • if I reset the Ikea E1743 and allow it to pair (2 cm from the stick and an outlet), then it will pair with the outlet, but I can no longer operate the outlet from HA (only with the button), after pairing the outlet again with the stick, the button does not work anymore.

  • I have already created a group, but that does not work either.

A late reaction, I recently started with HA, ziggbee2mqtt and some Ikea tradfri stuff.

Yes, I got it working for basic on/off switching.
Now looking to use it for long press dimmer functions.

Have you got some long press actions working? :slight_smile:

xaviml made a nice integration for this button :

2 Likes

Yep, I got it functional. My intention was to keep all my automations in the default yaml. I couldn’t find a (nice) way to create a loop in yaml. Looking appdaemon and node-red I switched to node-red because of it’s easyness. At this moment I moved all my 24 yaml automations to node-red because I want my automations in one system.

The Z2M solution looks good. Maybe I’ll switch to appdaemon in time. In the code I have my node-red solution for my E1743. I use about the same for my E1524/E1810.

[{"id":"e75ea3d5.68a16","type":"switch","z":"7fd9fd29.9b7574","name":"Wat","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"},{"t":"eq","v":"brightness_up","vt":"str"},{"t":"eq","v":"brightness_down","vt":"str"},{"t":"eq","v":"brightness_stop","vt":"str"}],"checkall":"true","repair":false,"outputs":5,"x":230,"y":180,"wires":[["a0f1597d.0f78a8"],["402b7c33.1b66c4"],["92482205.28f0b"],["e090c6c9.b7dbc8"],["62352063.636f"]]},{"id":"f9f7c0c2.e7acc","type":"server-state-changed","z":"7fd9fd29.9b7574","name":"AanUit","server":"331f0091.ef811","version":1,"entityidfilter":"sensor.zk_aanuit_click","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":90,"y":180,"wires":[["e75ea3d5.68a16"]]},{"id":"a0f1597d.0f78a8","type":"api-call-service","z":"7fd9fd29.9b7574","name":"Bureaulamp aan","server":"331f0091.ef811","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.bureaulamp_light","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":800,"y":100,"wires":[[]]},{"id":"402b7c33.1b66c4","type":"api-call-service","z":"7fd9fd29.9b7574","name":"Bureaulamp uit","server":"331f0091.ef811","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"light.bureaulamp_light","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":800,"y":140,"wires":[[]]},{"id":"d03e8a61.f98018","type":"api-render-template","z":"7fd9fd29.9b7574","name":"Bri +10","server":"331f0091.ef811","template":"{{ [255, state_attr('light.bureaulamp_light', 'brightness') + 10] | min }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":580,"y":180,"wires":[["161490a9.ae1f0f"]]},{"id":"92482205.28f0b","type":"api-current-state","z":"7fd9fd29.9b7574","name":"Is aan?","server":"331f0091.ef811","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.bureaulamp_light","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":380,"y":180,"wires":[["d03e8a61.f98018","e71c4767.a75288"],[]]},{"id":"161490a9.ae1f0f","type":"api-call-service","z":"7fd9fd29.9b7574","name":"Bureaulamp bri","server":"331f0091.ef811","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.bureaulamp_light","data":"{\"brightness\":\"{{ payload }}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":800,"y":200,"wires":[[]]},{"id":"e090c6c9.b7dbc8","type":"api-current-state","z":"7fd9fd29.9b7574","name":"Is aan?","server":"331f0091.ef811","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.bureaulamp_light","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":380,"y":220,"wires":[["b44b9c85.eb179","d1c306aa.028338"],[]]},{"id":"b44b9c85.eb179","type":"api-render-template","z":"7fd9fd29.9b7574","name":"Bri -10","server":"331f0091.ef811","template":"{{ [1, state_attr('light.bureaulamp_light', 'brightness') - 10] | max }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":570,"y":220,"wires":[["161490a9.ae1f0f"]]},{"id":"e71c4767.a75288","type":"looptimer2","z":"7fd9fd29.9b7574","duration":"0.5","units":"Second","maxloops":"100","maxtimeout":"1","maxtimeoutunits":"Minute","name":"Loop up","x":580,"y":280,"wires":[["d03e8a61.f98018"],[]]},{"id":"62352063.636f","type":"change","z":"7fd9fd29.9b7574","name":"Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"STOP","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":370,"y":260,"wires":[["e71c4767.a75288","d1c306aa.028338"]]},{"id":"d1c306aa.028338","type":"looptimer2","z":"7fd9fd29.9b7574","duration":"0.5","units":"Second","maxloops":"100","maxtimeout":"1","maxtimeoutunits":"Minute","name":"Loop Down","x":590,"y":320,"wires":[["b44b9c85.eb179"],[]]},{"id":"331f0091.ef811","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":false,"rejectUnauthorizedCerts":false,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]
1 Like

Hey Lin,

I’ve used your E1743 Node-Red config. It works great! With the E1524/E1810 did you manage to control rgbcolor or colortemp in Node-Red?

Yep, see the code.

[{"id":"d1cc6e9.392ec9","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"fdd8fca6.4af2d","type":"server-state-changed","z":"d1cc6e9.392ec9","name":"Remote gang 2e","server":"331f0091.ef811","version":1,"entityidfilter":"sensor.2e_gang_remote_action","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":180,"y":140,"wires":[["30ef2ede.7efc22"]]},{"id":"30ef2ede.7efc22","type":"switch","z":"d1cc6e9.392ec9","name":"Keuze","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"toggle","vt":"str"},{"t":"eq","v":"brightness_up_click","vt":"str"},{"t":"eq","v":"brightness_down_click","vt":"str"},{"t":"eq","v":"arrow_left_click","vt":"str"},{"t":"eq","v":"arrow_right_click","vt":"str"}],"checkall":"true","repair":false,"outputs":5,"x":350,"y":140,"wires":[["f61efa76.5c7e38","60e108ef.e88a88"],["bbf28af.b9fa478"],["927775d3.b35148"],["df222a8d.f553f8"],["c8679c3a.2d812"]]},{"id":"f61efa76.5c7e38","type":"api-current-state","z":"d1cc6e9.392ec9","name":"Huidige status gang lamp","server":"331f0091.ef811","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.gang_badkamer_light","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":550,"y":20,"wires":[["f907d5ac.b81918"],["d941a83f.86fdf8"]]},{"id":"d941a83f.86fdf8","type":"api-call-service","z":"d1cc6e9.392ec9","name":"Gang lamp aan","server":"331f0091.ef811","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.gang_badkamer_light","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":980,"y":60,"wires":[[]]},{"id":"f907d5ac.b81918","type":"api-call-service","z":"d1cc6e9.392ec9","name":"Gang lamp uit","server":"331f0091.ef811","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"light.gang_badkamer_light","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":980,"y":20,"wires":[[]]},{"id":"bfc3fb3f.4b6968","type":"api-call-service","z":"d1cc6e9.392ec9","name":"Gang lamp","server":"331f0091.ef811","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.gang_badkamer_light","data":"{\"brightness\":\"{{ payload }}\",\"transition\":3}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":970,"y":120,"wires":[[]]},{"id":"b57f03e7.c09d7","type":"api-render-template","z":"d1cc6e9.392ec9","name":"Bri +25","server":"331f0091.ef811","template":"{{ [255, state_attr('light.gang_badkamer_light', 'brightness') + 25] | min }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":760,"y":100,"wires":[["bfc3fb3f.4b6968"]]},{"id":"ceaaaf88.5df99","type":"api-render-template","z":"d1cc6e9.392ec9","name":"Bri -25","server":"331f0091.ef811","template":"{{ [1, state_attr('light.gang_badkamer_light', 'brightness') - 25] | max }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":750,"y":140,"wires":[["bfc3fb3f.4b6968"]]},{"id":"927775d3.b35148","type":"api-current-state","z":"d1cc6e9.392ec9","name":"Is aan?","server":"331f0091.ef811","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.gang_badkamer_light","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":500,"y":140,"wires":[["ceaaaf88.5df99"],[]]},{"id":"bbf28af.b9fa478","type":"api-current-state","z":"d1cc6e9.392ec9","name":"Is aan?","server":"331f0091.ef811","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.gang_badkamer_light","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":500,"y":100,"wires":[["b57f03e7.c09d7"],[]]},{"id":"df222a8d.f553f8","type":"api-current-state","z":"d1cc6e9.392ec9","name":"Is aan?","server":"331f0091.ef811","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.gang_badkamer_light","state_type":"str","state_location":"","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":500,"y":180,"wires":[["9e0e57ee.2a4208"],[]]},{"id":"c8679c3a.2d812","type":"api-current-state","z":"d1cc6e9.392ec9","name":"Is aan?","server":"331f0091.ef811","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.gang_badkamer_light","state_type":"str","state_location":"","override_payload":"msg","entity_location":"","override_data":"msg","blockInputOverrides":false,"x":500,"y":220,"wires":[["80b4342.12fc4c8"],[]]},{"id":"60e108ef.e88a88","type":"api-current-state","z":"d1cc6e9.392ec9","name":"Huidige status gang lang","server":"331f0091.ef811","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.gang_badkamer_light","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":550,"y":60,"wires":[["f907d5ac.b81918"],["d941a83f.86fdf8"]]},{"id":"80b4342.12fc4c8","type":"api-render-template","z":"d1cc6e9.392ec9","name":"ColorTemp +50","server":"331f0091.ef811","template":"{{ [500, state_attr('light.zk_floalt_paneel_light', 'color_temp') + 50] | min }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":780,"y":220,"wires":[["efeadcf3.ef1c1"]]},{"id":"9e0e57ee.2a4208","type":"api-render-template","z":"d1cc6e9.392ec9","name":"Color_temp -50","server":"331f0091.ef811","template":"{{ [143, state_attr('light.gang_badkamer_light', 'color_temp') - 50] | max }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":780,"y":180,"wires":[["efeadcf3.ef1c1"]]},{"id":"efeadcf3.ef1c1","type":"api-call-service","z":"d1cc6e9.392ec9","name":"Gang lamp color_temp","server":"331f0091.ef811","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.gang_badkamer_light","data":"{\"color_temp\":\"{{ payload }}\",\"transition\":3}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1000,"y":200,"wires":[[]]},{"id":"331f0091.ef811","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":false,"rejectUnauthorizedCerts":false,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]
1 Like

Thx! Great! (Bedankt!) :smiley:

Just one more thing. What is the relation of ‘143,’ in your template in one of your color_temp nodes? I do not fully understand.

{{ [143, state_attr(‘light.gang_badkamer_light’, ‘color_temp’) - 50] | max }}

The 143 is the lowest value my bulb accepts (Ikea Tradfri LED1736G9) in mireds. I do think I made a typo since this bulb minimum mireds is 153 :slight_smile:

It isn’t use full to set it to a lower value.

Graag gedaan!

I have recently purchased the IKEA E1743 and added ti to my Zigbee2Mqtt network. I now use the E1743 to to control a separate WIFI socket and this works without a problem. The problem that I am having is with two Xiaomi MI smart power plugs (ZNCZ02LM) that are also on my Zigbee2Mqtt network.

Basically when I click to turn on the WIFI socket, two of the Xiaomi MI smart power plugs (ZNCZ02LM) also are switched to on. This also happens when I click to switch off the WIFI socket. Neither of the Xiaomi MI smart power plugs (ZNCZ02LM) are binded or in any automation with the E1743, so I cannot understand why this is happening.

Any ideas?

EDIT: Applied the solution as described here. https://github.com/Koenkk/zigbee2mqtt/issues/2772
Will monitor to see if the issues occurs again.

EDIT: Updated to latest dev of Zigbee2MQTT, Force removed the device and repaired the device several times. The best result I get is the following:

E1743- Click Off - If ZNCZ02LM is in off state then ZNCZ02LM changes state to on. This only happens with one of the smart power plugs. Otherwise there is no effect. I am at a loss :confounded:

1 Like

My reaction is far too late, I just discovered how to use the E1743 as a simple on/off switch:

  - alias: E1743 on
    trigger:
      platform: state
      entity_id: sensor.0xec1bbdfffe2c1a13_click
      to: "on"
    condition:
    action:
      - data:
          entity_id: 
            - switch.0x00124b001d44d12b_switch_bottom_right
            - switch.0x00124b001d44d12b_switch_bottom_left
        service: switch.turn_on
        
  - alias: E1743 off
    trigger:
      platform: state
      entity_id: sensor.0xec1bbdfffe2c1a13_click
      to: "off"
    condition:
    action:
      - data:
          entity_id: 
            - switch.0x00124b001d44d12b_switch_bottom_right
            - switch.0x00124b001d44d12b_switch_bottom_left
        service: switch.turn_off

No revolution…

1 Like

“No revolution…”

You made my setup process easier. Thank you for that. :slight_smile:

1 Like