zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Data request failed with error: 'undefined' (241)

Open Tomsterr opened this issue 6 years ago • 8 comments

What happened

All of a sudden my complete Zigbee network is failing.

  • Network scan gives this LQI-error for all my devices: Zigbee2MQTT:error 2020-10-21 11:29:52: Failed to execute LQI for 'Spot-midden'
  • When I try to switch a light off, I get this message: Zigbee2MQTT:error 2020-10-21 11:31:08: Publish 'set' 'state' to 'Spot-keuken' failed: 'Error: Command 0x000d6ffffed64eed/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Data request failed with error: 'undefined' (241))'
  • Network map shows my devices only connected to CC2531, but all with link-strength 0. There are no other routes anymore.

What I tried so far

  • I didn't update or change anything. It went down all of a sudden.
  • I restarted Zigbee2Mqtt.
  • I rebooted Hassio.
  • I powered down the Rpi and changed the CC2531 to other USB ports.
  • I rejoined devices to the network.

Debug info

Zigbee2MQTT version: 1.15.0 (on Hassio) Adapter hardware: CC2531 Adapter firmware version: zStack12 (20190223)

Tomsterr avatar Oct 21 '20 09:10 Tomsterr

Does this still occur with the latest firmware? (I recommend this one: https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_Home_1.2/bin/source_routing)

Koenkk avatar Oct 22 '20 17:10 Koenkk

I get the same errors since about 2 days CC2531 firmware is revision: CC2531_DEFAULT_20190608.zip

ljan avatar Oct 23 '20 09:10 ljan

Does this still occur with the latest firmware? (I recommend this one: https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_Home_1.2/bin/source_routing)

I have no idea. It was working fine with the firmware I'm using... until a few days ago.

Tomsterr avatar Oct 23 '20 22:10 Tomsterr

I am observing the same behavior since today. Discovered on the latest-dev docker image from yesterday, downgraded to 1.15.0 (which worked with my stick before), but no luck. CC2531 firmware is revision: CC2531_DEFAULT_20190608.zip

After some testing I see the device disappear as soon as I try to start z2m. Replugging lets the device appear again, but I am not able to start z2m anymore.

jti989 avatar Nov 08 '20 22:11 jti989

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

github-actions[bot] avatar Dec 09 '20 00:12 github-actions[bot]

I have reflashed the firmware, still using CC2531_DEFAULT_20190608, now it is works again. Not sure what happened.

jti989 avatar Dec 09 '20 07:12 jti989

I had the same issue. For me unplugging the USB and restarting HA, Zigbee2mqtt and mosquito solved the problem.

Mocem1 avatar Dec 28 '20 11:12 Mocem1

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

github-actions[bot] avatar Jan 28 '21 00:01 github-actions[bot]