zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Zigbee2MQTT Crash

Open BBJake opened this issue 6 months ago • 1 comments

What happened?

I use Zigbee2MQTT for a long time in HomeAssistant and it was rock solid. A few days ago it began that around every hour my Zigbee devices became unavailable for a few minutes. After some research I found that the Zigbee2MQTT-App automatically restarted. In the logs I found this:

[[2026-05-12 11:50:31] debug: 	zh:zstack: sendZclFrameToEndpointInternal 0x18fc260000096142:51575/1 (0,4,1)
[2026-05-12 11:50:31] debug: 	zh:zstack:znp: --> SREQ: AF - dataRequest - {"dstaddr":51575,"destendpoint":1,"srcendpoint":1,"clusterid":32,"transid":116,"options":0,"radius":30,"len":3,"data":{"type":"Buffer","data":[1,63,1]}}
[2026-05-12 11:50:31] debug: 	zh:zstack:unpi:writer: --> frame [254,13,36,1,119,201,1,1,32,0,116,0,30,3,1,63,1,224]
[2026-05-12 11:50:31] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
[2026-05-12 11:50:31] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
[2026-05-12 11:50:31] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
[2026-05-12 11:50:31] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequest - {"status":0}
[2026-05-12 11:50:31] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2026-05-12 11:50:31] debug: 	zh:zstack:unpi:parser: <-- [254,3,68,128,233,1,116,91]
[2026-05-12 11:50:31] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,68,128,233,1,116,91]
[2026-05-12 11:50:31] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [233,1,116] - 91
[2026-05-12 11:50:31] debug: 	zh:zstack:znp: <-- AREQ: AF - dataConfirm - {"status":233,"endpoint":1,"transid":116}
[2026-05-12 11:50:31] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2026-05-12 11:50:31] debug: 	zh:zstack: Data confirm error (0x18fc260000096142:51575,233,4)
[2026-05-12 11:50:31] debug: 	zh:controller:endpoint: Error: ZCL command 0x18fc260000096142/1 genPollCtrl.fastPollStop({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false,"sendPolicy":"immediate"}) failed (Data request failed with error: 'MAC_NO_ACK' (0xe9))
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:570:23)
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:668:20)
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:668:20)
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:668:20)
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:668:20)
    at /app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:472:20
    at Queue.execute (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/utils/queue.ts:38:20)
    at ZStackAdapter.sendZclFrameToEndpoint (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:470:16)
    at Request.send (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:86:25)
    at Endpoint.sendRequest (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:433:20)
Error: ZCL command 0x18fc260000096142/1 genPollCtrl.fastPollStop({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false,"sendPolicy":"immediate"}) failed (Data request failed with error: 'MAC_NO_ACK' (0xe9))
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:570:23)
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:668:20)
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:668:20)
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:668:20)
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:668:20)
    at /app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:472:20
    at Queue.execute (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/utils/queue.ts:38:20)
    at ZStackAdapter.sendZclFrameToEndpoint (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:470:16)
    at Request.send (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:86:25)
    at Endpoint.sendRequest (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:433:20)
[11:50:32] INFO: Preparing to start...
[11:50:32] INFO: Socat not enabled
[11:50:33] INFO: Starting Zigbee2MQTT...

S ](url) So it seems that Zigbee2MQTT crashed. I searched for the device 0x18fc260000096142. It's a Bosch thermostat II (zigBee-model RBSH-TRV0-ZB-EU) with the actual firmware. After I removed the batteries and restarted the device the error does not occur anymore.

What did you expect to happen?

I excepted that Zigbee2MQTT should not crash.

How to reproduce it (minimal and precise)

See above. After the restart of the device it is no longer reproducable.

Zigbee2MQTT version

2.10.1

Adapter firmware version

20230507

Adapter

Sonoff ZBDongle-E

Setup

Add-on on Home-Assistant HAOS on Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz (x2)

Device database.db entry

No response

Debug log

45df7312_zigbee2mqtt_2026-05-12T10-01-17.914Z.log

Notes

No response

BBJake avatar May 13 '26 12:05 BBJake

After the latest update mine is also crashing. But it goes down and stays down. Watchdog does not restart it.

I am thinking of switching to the built in zigbee support in HA, even though its not as developed :(

drsassafras avatar May 14 '26 13:05 drsassafras