Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.75k stars 1.64k forks source link

Can't update IKEA E2001/E2002 #22436

Open Tymon3310 opened 4 months ago

Tymon3310 commented 4 months ago

What happened?

Frame changeSourceRouteHandler parsing error: RangeError: Attempt to access memory outside buffer bounds at new NodeError (node:internal/errors:405:5) at boundsError (node:internal/buffer:86:11) at Buffer.readUInt16LE (node:internal/buffer:245:5) at Buffer.readUIntLE (node:internal/buffer:182:17) at Function.deserialize (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/types/basic.ts:19:67) at new EZSPFrameData (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:180:54) at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:154:23 at Array.every () at Function.createFrame (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:148:15) at Ezsp.onFrameReceived (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:439:35)

And Unparsed frame 0xc4. Skipped

image

What did you expect to happen?

Update succesed

How to reproduce it (minimal and precise)

  1. Update home assistant to 2024.5.1
  2. Try to update IKEA E2001/E2002

Zigbee2MQTT version

1.37.0

Adapter firmware version

6.10.3.0 build 297

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus

Setup

Addon, rpi 4

Debug log

No response

busywait commented 4 months ago

I have been able to update an E2002. I have Z2M as an Addon in HA 2024.5.1 on a Pi 4 Zigbee2MQTT version 1.37.0 Coordinator type zStack3x0 Coordinator revision 20230922

My coordinator is a USB Sonoff Dongle 3.0 Plus

I don't see any logged errors from during the update.

busywait commented 4 months ago

FWIW, the May 2024 firmware for the E2002 does not seem helpful: none of the left and right arrow click, hold or release actions are recognised after the update. https://github.com/Koenkk/zigbee2mqtt/issues/22458

jonm802 commented 4 months ago

I had this exact same error after updating one of my ikea remotes the left and right arrows stopped working and i was seeing those debug messages

I fixed by force removing the remote and i re-paired it, i also switched to the ember driver so im not sure if it was a combination of both using sonoff usb stick

hanzwo commented 4 months ago

It doesn't work for me.

I have two remotes, one with the 1.x firmware, the other with the 2.x firmware. The first one works fine after deleting the device and re-pair it. The second one re-pairs with no issues, but doesn't work at all. If you reconfigure the last one, you will get the errors described above.