Ikea switch E1743

For anyone else experiencing this, it looks like the handler was added a couple of days ago. I’ve grabbed it from here: https://github.com/dmulcahey/zha-device-handlers/commits/dm/tradfri-onoff-switch

But I guess it’ll be making its way into the main line soon.

1 Like

The link is now broken.

Did you manage to get that switch working at all with ZHA?

Yes. It seems to be working in 0.103.0 too, without any changes.

Unfortunately, I’m running 0.103.0 and I can only see “battery level changes” as a trigger for both IKEA square and round switches.

Not sure what I may have done wrong…

I’m running Hass.io on top of Raspbian/Docker, using a “NorTek GoControl CECOMINOD016164 HUSBZB-1 USB Hub”

I can’t really comment on docker, as I’m running from a venv.

The commit where it was added is here: https://github.com/dmulcahey/zha-device-handlers/commit/94019db88d9a45f38071d3b666c2bddd4a49a94c

It’s possibly it hasn’t been merged into the main line yet, so possibly isn’t available in your docker image. I think I’ve probably still got it working because the upgrade didn’t overwrite my file.

So what you need to do (and I have no idea how, or if you can do this in docker) is to take the file here:

https://raw.githubusercontent.com/dmulcahey/zha-device-handlers/dev/zhaquirks/ikea/twobtnremote.py

and put this in…

homeassistant/lib/python3.7/site-packages/zhaquirks/ikea

which will probably be within your docker image somewhere

Sorry, can’t help much more than that really.

2 Likes

Thank you for your responses Martin.
A few days ago I ordered a ConBee II to see the difference with HUSBZB-1.

Oh my… in less than 1 hour I had managed to get deCONZ and the HA Integration set up, along with my IKEA on/off button, to toggle a group of 2 TP-Link Kasa wall switches. In comparison to ZHA, the user experience is stellar.

I think once these zha-device-handlers make into Hass.io, the ZHA experience might be the exact same for both of these ZigBee gateways. I’ll try again. But for now ConBee+deCONZ all the way!

1 Like

Thank you for this post. I updated to 103.3 and it still didn’t work. But I took the file posted and put it in zhaquirks and I finally got the two button switch from ikea to work.

I’m running HA under a python venv if that helps others. Then using zha_event in the event listener I was able to get button presses recognized.

Hi, does anyone know if the IKEA UP/Close should work? I can pair it via ZHA and it show up as IKEA UP/Close switch but not able to generate any trigger when pushing the buttons. In the log file the following messages appear:
2020-04-09 14:10:42 DEBUG (MainThread) [zigpy.zcl] [0x317e:1:0x0102] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=87 command_id=0>
2020-04-09 14:10:42 DEBUG (MainThread) [zigpy.zcl] [0x317e:1:0x0102] ZCL request 0x0000: []
2020-04-09 14:10:42 DEBUG (MainThread) [zigpy.zcl] [0x317e:1:0x0102] No handler for cluster command 0
2020-04-09 14:10:44 DEBUG (MainThread) [zigpy.zcl] [0x317e:1:0x0102] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=89 command_id=1>
2020-04-09 14:10:44 DEBUG (MainThread) [zigpy.zcl] [0x317e:1:0x0102] ZCL request 0x0001: []
2020-04-09 14:10:44 DEBUG (MainThread) [zigpy.zcl] [0x317e:1:0x0102] No handler for cluster command 1

Any advice will be welcome
Thanks
Bart

I’m also trying to get the Up/Close button to work to use it as a light switch!

If anyone got anything it’d be great!

Thanks

I have the exact same issue with an OSRAM dimming switch. I get battery status but nothing else.

Having the same issue. I am running home assistant on rpi3. Is there any way to copy the file @martinlong1978 posted to the folder? It seems I do not have access to the folder

I am currently trying to get the E1743 working through zha. I am able to pair it with zha however am getting no zha_event whatsoever from it. Does anyone have any recent experience with whether it is possible to link the device or not? I want to be able to detect button clicks from ha, and dont just want to bind it to a device such as a bulb.

I have a couple of these working with ZHA (Conbee I):

zha_event

Event 1 fired 15:12:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "ec:1b:bd:ff:fe:cf:xx:xx",
        "unique_id": "ec:1b:bd:ff:fe:cf:94:7d:1:0x0006",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "off",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2020-09-03T14:12:09.061614+00:00",
    "context": {
        "id": "7431eb8eedef11ea88610f248e0f5775",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 15:12:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "ec:1b:bd:ff:fe:cf:xx:xx",
        "unique_id": "ec:1b:bd:ff:fe:cf:94:7d:1:0x0006",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2020-09-03T14:12:08.295701+00:00",
    "context": {
        "id": "73bd0c34edef11ea95867f70516a3705",
        "parent_id": null,
        "user_id": null
    }
}

Zigbee device signature:

{
  "node_descriptor": "<NodeDescriptor byte1=2 byte2=64 mac_capability_flags=128 manufacturer_code=4476 maximum_buffer_size=82 maximum_incoming_transfer_size=82 server_mask=11264 maximum_outgoing_transfer_size=82 descriptor_capability_field=0>",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0820",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0003",
        "0x0009",
        "0x0020",
        "0x1000",
        "0xfc7c"
      ],
      "out_clusters": [
        "0x0003",
        "0x0004",
        "0x0006",
        "0x0008",
        "0x0019",
        "0x0102",
        "0x1000"
      ]
    }
  },
  "manufacturer": "IKEA of Sweden",
  "model": "TRADFRI on/off switch",
  "class": "zhaquirks.ikea.twobtnremote.IkeaTradfriRemote2Btn"
}
Device info
TRADFRI on/off switch
by IKEA of Sweden
Conbee
Firmware: 0x22010631
Zigbee info
IEEE: ec:1b:bd:ff:fe:cf:xx:xx
Nwk: 0x7c23
Device Type: EndDevice
LQI: 255
RSSI: -58
Last Seen: 2020-09-03T15:12:09
Power Source: Battery or Unknown
Quirk: zhaquirks.ikea.twobtnremote.IkeaTradfriRemote2Btn

I am using the cc2513 from itead, instead of your conbee. My signature is the same as yours but the device info is different:
image

do you think i need to do a firmware update on the on/off switch?

I think the IEEE and Nwk will be different between devices, otherwise its the same.
Your LQI is quite low, how close is the switch to a router ?

the switch was around 1.5 meters from the cc2513 when i was pressing the buttons.

@oxyd I have the same Ikea E1743 switch and I use seCONZ with a ConBee 2 stick as controller.
But in deCONZ Phoscon, i see the switch and I can connect it to a Tradfri Light. But I do not see the switsh as entity in Home Assistant. I only see the battery of the E1743 as entity in HA.
I noticed that you would also try the ConBee stick with deConz, so like to ask you if you could possibly help me with this?

You won’t see any entity in HA besides the battery level. It works with events. See the docs here for some examples.

Hi, I’ve bought this switch, but I can’t get it to work with Zigbee2MQQT (running CC2531). I have paired it, but it don’t show any info (battery, signal, events). How to make it work?



What firmware do you have on your CC2531 ? The E1743 needs the latest firmware available, or it won’t work.