zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

IKEA E2001/E2002 no actions being reported

Open roooodcastro opened this issue 1 year ago • 26 comments
trafficstars

What happened?

I have 7 IKEA E2001/E2002 Styrbar remotes, all of them paired to Z2M, and 3 of them in the new 2.4.5 firmware version, the other 4 in the older 1.0.024 version. All of them managed to pair with Z2M correctly, and I have them all bound to lights around the house, which works 99% of the time without issues.

However, not a single one of them seem to have correctly paired, as the following things are missing completely:

  • In the "Settings (specific)" tab, I don't have any options at all, not even the legacy toggle thing
  • When I press any button in any way (single click, double click, long press), I only get some basic logs missing a ton of info
  • There's no entity created in HA for the switch itself, just an update entity with update info, but no actions.
  • When Z2M publishes the topic to MQTT, I can clearly see it's not publishing the action, so I don't have that info in HA

Also, for some reason the debug log lines are repeated exactly 5 times each time a button is pressed, with the exact same data except the timestamp changes a few milliseconds,

Lastly, after pairing, I only added binds to IKEA light bulbs, I have not removed any binds from the coordinator for these remotes.

What did you expect to happen?

I expected the remotes to expose an extra entity to HA and send the action data so I can use that in automations.

How to reproduce it (minimal and precise)

I just paired fresh IKEA E2001/E2002 remotes with Z2M following the instructions in the docs page.

Zigbee2MQTT version

1.36.0-1

Adapter firmware version

20221226

Adapter

SONOFF Universal Zigbee 3.0 USB Dongle

Setup

Run as add-on on Supervised HA in a 4gb RPi 4

Debug log

Debug 2024-03-26 23:11:12Received Zigbee message from 'rod_office_lights_dimmer', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
Debug 2024-03-26 23:11:12No converter available for 'E2001/E2002' with cluster 'genOnOff' and type 'commandOn' and data '{}'
Info 2024-03-26 23:11:12MQTT publish: topic 'zigbee2mqtt/rod_office_lights_dimmer', payload '{"battery":70,"last_seen":"2024-03-26T23:11:11.047Z","linkquality":102,"update":{"installed_version":65572,"latest_version":581,"state":"available"},"update_available":null}'
Debug 2024-03-26 23:11:12Received Zigbee message from 'rod_office_lights_dimmer', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
Debug 2024-03-26 23:11:12No converter available for 'E2001/E2002' with cluster 'genOnOff' and type 'commandOn' and data '{}'
Info 2024-03-26 23:11:12MQTT publish: topic 'zigbee2mqtt/rod_office_lights_dimmer', payload '{"battery":70,"last_seen":"2024-03-26T23:11:11.071Z","linkquality":94,"update":{"installed_version":65572,"latest_version":581,"state":"available"},"update_available":null}'
Debug 2024-03-26 23:11:12Received Zigbee message from 'rod_office_lights_dimmer', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
Debug 2024-03-26 23:11:12No converter available for 'E2001/E2002' with cluster 'genOnOff' and type 'commandOn' and data '{}'
Info 2024-03-26 23:11:12MQTT publish: topic 'zigbee2mqtt/rod_office_lights_dimmer', payload '{"battery":70,"last_seen":"2024-03-26T23:11:11.071Z","linkquality":94,"update":{"installed_version":65572,"latest_version":581,"state":"available"},"update_available":null}'
Debug 2024-03-26 23:11:12Received Zigbee message from 'rod_office_lights_dimmer', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
Debug 2024-03-26 23:11:12No converter available for 'E2001/E2002' with cluster 'genOnOff' and type 'commandOn' and data '{}'
Info 2024-03-26 23:11:12MQTT publish: topic 'zigbee2mqtt/rod_office_lights_dimmer', payload '{"battery":70,"last_seen":"2024-03-26T23:11:11.071Z","linkquality":94,"update":{"installed_version":65572,"latest_version":581,"state":"available"},"update_available":null}'
Debug 2024-03-26 23:11:12Received Zigbee message from 'rod_office_lights_dimmer', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
Debug 2024-03-26 23:11:12No converter available for 'E2001/E2002' with cluster 'genOnOff' and type 'commandOn' and data '{}'
Info 2024-03-26 23:11:12MQTT publish: topic 'zigbee2mqtt/rod_office_lights_dimmer', payload '{"battery":70,"last_seen":"2024-03-26T23:11:11.110Z","linkquality":94,"update":{"installed_version":65572,"latest_version":581,"state":"available"},"update_available":null}'

roooodcastro avatar Mar 26 '24 23:03 roooodcastro

I have a ConnBee II Stick and 2 E2002 Styrbar Remotes that have Updated OTA after Force Deleting them from Zigbee2MQTTT they could be paired again. But with no further Change now i gut suddenly other codes as Button Action. Before it was BUTTON_LEFT BUTTON_RIGHT and so on. Now its brightness_stop, brightness_move_up, null, none and sometimes nothing at all until i press some other button. DEBUG shows nothing but status in the device. Also in Home Assistant i get some of the Click Action Events.

MrFr33man123 avatar May 27 '24 08:05 MrFr33man123

I had to delete and re-pair to make the right and left buttons work again.

alienatedsec avatar May 28 '24 20:05 alienatedsec

I have a very similar problem.

The device is connected OK and a strong linkquality. The "power" doesn't show correctly either. Pressing buttons does not trigger any messages to be post on the MQTT queue.

I have removed the batteries, reset, repaired multiple times and always the same issue. Initial paring works, but not buttons presses are recorded.

Payload retained in MQTT broker. { "action": null, "battery": null, "last_seen": "2024-06-07T14:04:20+02:00", "linkquality": 120, "update": { "installed_version": -1, "latest_version": -1, "state": null }, "update_available": null }

jasonkaisersmith avatar Jun 07 '24 12:06 jasonkaisersmith

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

github-actions[bot] avatar Dec 05 '24 00:12 github-actions[bot]

I have the same issue with all four of my STYRBAR remotes, after migrating from ZHA to Z2M. They worked fine in ZHA. With Z2M I get no actions available.

I am not able to update the devices either (I just get "Device didn't respond to OTA request"). These are the current versions I have: image

thomasaarholt avatar Dec 16 '24 19:12 thomasaarholt

I am not able to update the devices either (I just get "Device didn't respond to OTA request")

@thomasaarholt keep pressing the Styrbar buttons before pressing Update in Z2M

alienatedsec avatar Dec 16 '24 19:12 alienatedsec

Wow, this actually worked 🤩 I kept pressing the buttons before and then a bit into the update until it was running. 53 minutes remaining of the update 😄

~~This seems to be working for the remotes at version 1.0.024. Still getting the same update error for the 2.4.5 ones.~~ Edit: I got mixed up there, I am updating one each of two versions I have. I got the remotes mixed up and I'm getting the occasional data transmit errors while trying to re-pair a third remote, so I'm gonna leave the two to update and see tomorrow.

image

I’ll report back tomorrow as to how the updated remotes work!

thomasaarholt avatar Dec 16 '24 19:12 thomasaarholt

Okay, I was able to update all remotes! The 1.0.024 ones first updated to 2.4.5, then I updated again to 2.4.16. image

Unfortunately, I still have no actions being reported, so the remotes are unusable in Z2M.

I have attempted to bind the correct actions as per this comment without success. There i get the followed error:

warning 2024-12-17 17:23:41z2m: Failed to setup reporting for 'Coordinator/1' cluster 'genOnOff' (ZCL command 0x287681fffeefcf3e/1 genOnOff.configReport([{"attribute":"onOff","minimumReportInterval":0,"maximumReportInterval":3600,"reportableChange":0}], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed ({"target":0,"apsFrame":{"profileId":260,"clusterId":6,"sourceEndpoint":1,"destinationEndpoint":1,"options":4416,"groupId":0,"sequence":210},"zclSequence":199,"commandIdentifier":7} timed out after 10000ms))

thomasaarholt avatar Dec 17 '24 16:12 thomasaarholt

@thomasaarholt Remove and pair with the same name. Worked for me as in my previous comments.

alienatedsec avatar Dec 17 '24 18:12 alienatedsec

@alienatedsec Do you mean "force remove"? I ask since I did regular removing (e.g. trigger pairing again) quite a few times without success. Note that I do not have any actions available currently, not even regular on and off, which I think is different from what your case was.

thomasaarholt avatar Dec 17 '24 19:12 thomasaarholt

This seems related: https://github.com/Koenkk/zigbee2mqtt/issues/18515#issuecomment-2569749321

kribjo avatar Jan 03 '25 20:01 kribjo

I have this same issue after migration from 1.42.0 to 2.0.0 based on preparing section from https://github.com/Koenkk/zigbee2mqtt/discussions/24198. Any action on Z2M is present on Z2M layer but on HA layer I can't see any reaction in logbook. Screenshot_20250104_144745_Home Assistant Screenshot_20250104_144757_Home Assistant Screenshot_20250104_144730_Home Assistant Any reapiring procedure doesn't change anything: https://www.zigbee2mqtt.io/devices/E2001_E2002.html#ikea-e2001%252Fe2002 All of my over 70 other devices from Z2M works great.

RayBan91 avatar Jan 04 '25 14:01 RayBan91

Experiencing exactly the same problem as above. Can see the ACTION updating fine in the UI for Zigbee2MQTT however no "action" attribute or similar on the switch's entity in HomeAssistant.

(following unplanned overnight --watchtower-- upgrade to zigbee2mqtt v2 )

Likely related

  • https://github.com/Koenkk/zigbee2mqtt/issues/18515#issuecomment-2569749321

Potential Short term fix from the breaking changes docs (search for 'Home Assistant' in the page)

  • https://github.com/Koenkk/zigbee2mqtt/discussions/24198
homeassistant:
  legacy_action_sensor: true

And suggested long term fix

  • https://www.zigbee2mqtt.io/guide/usage/integrations/home_assistant.html#via-mqtt-device-trigger-recommended

However - because none of these are visible in Home Assistant - not even sure we can migrate?

emmet02 avatar Jan 05 '25 07:01 emmet02

homeassistant: legacy_action_sensor: true

The above is not needed. I recently had to fix it with v2.0.0 using this https://github.com/Koenkk/zigbee2mqtt/issues/25505#issuecomment-2571335350

alienatedsec avatar Jan 05 '25 10:01 alienatedsec

This seems related: #18515 (comment)

For those of us with issues on Z2M 1.x - could a way forward on this be upgrading to 2.x (and throwing away old action-based blueprints!), since the "new way" seems to be device triggers or events rather than actions?

I haven't dived into the reasoning behind changes in 2.x, but could the problems with actions that we see here be part of why Z2M is moving away from them?

Or should I rather focus on fixing problems with my devices, rather than expecting a solution from Z2M 2.x?

kribjo avatar Jan 06 '25 08:01 kribjo

I have the same issue. No actions are available anymore. not only for the IKEA remote but also for Moes Smart knob.

mrblondeblonde avatar Jan 07 '25 12:01 mrblondeblonde

I have the same issue. No actions are available anymore. not only for the IKEA remote but also for Moes Smart knob.

Open the Zigbee2MQTT add on - and go to the Settings -> Home Assistant integration -> enable Home Assistant legacy action sensors image

emmet02 avatar Jan 07 '25 15:01 emmet02

I have the same issue. No actions are available anymore. not only for the IKEA remote but also for Moes Smart knob.

Open the Zigbee2MQTT add on - and go to the Settings -> Home Assistant integration -> enable Home Assistant legacy action sensors image

thanks a lot! but this means they eventualy will be removed?

mrblondeblonde avatar Jan 07 '25 18:01 mrblondeblonde

Unable to get events at all from this remote. It is successfully paired (Z2M 2.0). Also managed to update the firmware to the latest, 2.4.16, but the same. No events show in the log when I press any buttons. Any idea if this can be solved? Reset and re-paired a couple of times, no difference.

ProsjektX avatar Jan 16 '25 14:01 ProsjektX

This seems related: #18515 (comment)

OK, I fixed this (for me), and this seems to be the best place to comment on it.

Short recap: This was on Z2M 1.42.0. I updated firmware on my two STYRBAR E2001 from 1.0.024 to 2.4.16 (using the external converter trick). Afterwards they "stopped working" and though they were added to Z2M nothing showed up in the log or on the "Exposes" tab.

Then I tried a trillion things from issue comments, but nothing helped.

Then I tried one more (scary) thing, I updated Z2M to 2.0.0-2. And everything was broken... Z2M wouldn't even start, complaining about "Adapter EZSP protocol version (9) does not match Host [13-16]" (or something VERY similar). I was stuck for a while, but I gathered that I should update my SkyConnect / ZBT-1 firmware to fix this. I did this using Home Assistant add-on "Silicon Labs Flasher". (I would like to say that the firmware update worked without any issues, but I got stuck there too for a while. Error message was "Missing required option 'device' in Silicon Labs Flasher (core_silabs_flasher)". It was easily fixed though when I understood that I had to go into the configuration tab of the addon and set Device to my ZBT-1 rather than some default setting pointing to nothing. After that the update had no problems.) After doing this (probably some restarting too, I don't remember for certain) Z2M started fine and I enabled "Home Assistant legacy action sensors" in "Home Assistant integration" settings before adding my STYRBAR E2001s again, and ... they work great! One of them is still not reporting it's battery level properly, but otherwise it seems all very fine now! All other Z2M devices (that I hadn't removed) just kept working like before.

So in this storm of bashing the 2.0.0 Z2M update for causing all kinds of troubles, I want to say that it was the final thing that actually fixed my STYRBARs after having tried everything else. I really held off with updating Z2M cause I was scared of breaking things with 2.0.0. And I did break things, but I fixed them again and they are better than before now.

kribjo avatar Jan 16 '25 22:01 kribjo

Unable to get events at all from this remote. It is successfully paired (Z2M 2.0). Also managed to update the firmware to the latest, 2.4.16, but the same. No events show in the log when I press any buttons. Any idea if this can be solved? Reset and re-paired a couple of times, no difference.

Ok, to recap for anyone else who runs into this. What was required for me was to update the firmware of the coordinator. I have a Sonoff P 3.0, which came with firmware version 20210708 (go to Z2M under settings->about to check). For simplicity I installed the ZigStar TI CC2652P/P7 FW Flasher custom addon in Home Assistant, and updated the Sonoff stick from there (remember to stop Z2M first). Updated to the 20240710 version of the coordinator firmware and started z2m again. All actions are now captured and working fine.

ProsjektX avatar Jan 18 '25 08:01 ProsjektX

I just bought a new STYRBAR and can't get it to work Updated Z2M to 2.0.0.2 this afternoon and my two old STYRBAR running FW 1.0.024 still works fine as before.

The new STYRBAR came with FW 2.4.5 Inclusion looked to work and it came in as SUPPORTED and I was very eager to try if it worked, so I switched to "Exposes" tab and pressed the buttons. On-Off-On-Off and that worked (was indicated in Z2M Exposes tab). Tried left-right-left-right but no response. Got some red errors shooting up in lower left corner and after that no response from On or Off.

Found this in the log:

Image

Tried to take out and re-insert batteries and then I could see this in the log:

Image But still no response in "Expose" tab

Otherwise everything looks ok...:

Image

Running the Sonoff dongle E, about 2 years old:

Image

JohnBull-1975 avatar Jan 19 '25 17:01 JohnBull-1975

aha...it was on fw 2.4.5 Updated it to 2.4.16 and now it works!!! Long click left and right requires a very very long click, like 3 seconds at least, but that's the same with the other older STYRBAR on fw 1.0.0.24 I have.

JohnBull-1975 avatar Jan 25 '25 16:01 JohnBull-1975

It seems that i have a similar problem. I have a bunch of E2001 around my house with 1.0.24 firmware. TBH i never used them with Z2M because they were bound to the lights directly. Unfortunately recently i have upgraded one (a simple misclick) to 2.4.16. Obviously, the group binding stopped to work, but that's not the main problem.

When i have setting up an automation to turn lights on an off, i have noticed that no actions are being reported at all, not even in Z2M UI. After some further troubleshooting, i have noticed that the device seems to work correctly but only after 2-3 seconds after either reconfiguration or replacing battery, then it dies. When trying to downgrade by sending {"id": "0xa49e69fffe874e04"} to zigbee2mqtt/bridge/request/device/ota_update/update/downgrade, im getting "Device didnt respont to OTA request" error, but after tinkering i have found that if i insert the battery and immediatelly send the command, i am getting a different error: {"data":{},"error":"Update of 'Baby bedroom light remote' failed ([0xa49e69fffe874e04 | Remote Control N2] No image currently available)","status":"error"}

Dinth avatar Jan 26 '25 20:01 Dinth

but after tinkering i have found that if i insert the battery and immediatelly send the command,

Thanks, this fixed the issue for me. After having the SKYRBAR join my z2b it went Idle and nothing came through again. When finding your post, I tried re-inserting the batteries and pressed the buttons rapidly for a few good minutes. Z2b suddenly displayed to battery level and pushed a firmware update. Keeping to RC awake till firmware is updated seems to fix the issue I experienced.

dev-tb avatar Mar 03 '25 20:03 dev-tb

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar May 03 '25 00:05 github-actions[bot]

same problem here with slzb-mr2 [11.11.2025, 21:32:00] z2m: Device '0x980c33fffefb112c' left the network [11.11.2025, 21:32:00] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x980c33fffefb112c","ieee_address":"0x980c33fffefb112c"},"type":"device_leave"}' [11.11.2025, 21:32:13] zh:controller: Interview for '0x980c33fffefb112c' started [11.11.2025, 21:32:13] z2m: Device '0x980c33fffefb112c' joined [11.11.2025, 21:32:13] z2m: Starting interview of '0x980c33fffefb112c' [11.11.2025, 21:32:13] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x980c33fffefb112c","ieee_address":"0x980c33fffefb112c"},"type":"device_joined"}' [11.11.2025, 21:32:13] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x980c33fffefb112c","ieee_address":"0x980c33fffefb112c","status":"started"},"type":"device_interview"}' [11.11.2025, 21:32:23] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x980c33fffefb112c","ieee_address":"0x980c33fffefb112c"},"type":"device_announce"}' [11.11.2025, 21:32:27] zh:controller: Succesfully interviewed '0x980c33fffefb112c' [11.11.2025, 21:32:27] z2m: Successfully interviewed '0x980c33fffefb112c', device has successfully been paired [11.11.2025, 21:32:27] z2m: Device '0x980c33fffefb112c' is supported, identified as: IKEA STYRBAR remote control (E2001/E2002) [11.11.2025, 21:32:27] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"STYRBAR remote control","exposes":[{"access":2,"category":"config","description":"Initiate device identification. This device is asleep by default.You may need to wake it up first before sending the identify command.","label":"Identify","name":"identify","property":"identify","type":"enum","values":["identify"]},{"access":5,"category":"diagnostic","description":"Remaining battery in %","label":"Battery","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"category":"diagnostic","description":"Triggered action (e.g. a button click)","label":"Action","name":"action","property":"action","type":"enum","values":["on","off","brightness_move_up","brightness_move_down","brightness_stop","arrow_left_click","arrow_left_hold","arrow_left_release","arrow_right_click","arrow_right_hold","arrow_right_release"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"E2001/E2002","options":[{"access":2,"description":"Sets the duration of the identification procedure in seconds (i.e., how long the device would flash).The value ranges from 1 to 30 seconds (default: 3).","label":"Identify timeout","name":"identify_timeout","property":"identify_timeout","type":"numeric","value_max":30,"value_min":1},{"access":2,"description":"Simulate a brightness value. If this device provides a brightness_move_up or brightness_move_down action it is possible to specify the update interval and delta. The action_brightness_delta indicates the delta for each interval.","features":[{"access":2,"description":"Delta per interval, 20 by default","label":"Delta","name":"delta","property":"delta","type":"numeric","value_min":0},{"access":2,"description":"Interval duration","label":"Interval","name":"interval","property":"interval","type":"numeric","unit":"ms","value_min":0}],"label":"Simulated brightness","name":"simulated_brightness","property":"simulated_brightness","type":"composite"}],"source":"native","supports_ota":true,"vendor":"IKEA"},"friendly_name":"0x980c33fffefb112c","ieee_address":"0x980c33fffefb112c","status":"successful","supported":true},"type":"device_interview"}' [11.11.2025, 21:32:36] z2m: Device '0x980c33fffefb112c' left the network [11.11.2025, 21:32:36] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x980c33fffefb112c","ieee_address":"0x980c33fffefb112c"},"type":"device_leave"}' Alle

patrik72 avatar Nov 11 '25 20:11 patrik72