zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Coordinator disconnect

Open Sherk737 opened this issue 2 years ago • 15 comments

What happened?

Randomly I got my coordinator ( Sonoff Zigbee 3.0 USB Dongle Plus ) disconnect from my Z2M and disconnect my devices this is the error msg (failed (SRSP - AF - dataRequest after 6000ms))

What did you expect to happen?

I looked around and see that it's a memory error and it cause due using tuya devices spamming so I disconnect them from my Z2M but it still happened

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.36.0

Adapter firmware version

20230507

Adapter

Sonoff Zigbee 3.0 USB Dongle Plus

Setup

Docker Unraid

Debug log

log.txt

Sherk737 avatar Mar 09 '24 21:03 Sherk737

I'm having exactly the same issue as @Sherk737. My setup is pretty identical to that of @Sherk737. I have a few Tuya presence sensors spamming the network. However, I haven't had any issues until very recently when I upgraded to the latest version of Z2M.

cvhoang avatar Mar 10 '24 10:03 cvhoang

Is the usb autosuspend feature disabled ?

cat /sys/module/usbcore/parameters/autosuspend

If the return is 1 or 2, it means it is on.

Check:

https://www.zigbee2mqtt.io/guide/faq/#zigbee2mqtt-crashes-after-some-time

chris-1243 avatar Mar 10 '24 20:03 chris-1243

Thanks @chris-1243. The command indeed returns 2. I've made the changes and will monitor to see if they fixes the issue. However, Z2M was running great before the last few updates.

cvhoang avatar Mar 10 '24 22:03 cvhoang

It may be related to an other issue. At least, you remove one possible problem

chris-1243 avatar Mar 11 '24 05:03 chris-1243

I change coordinator from sonoff dongle to poe dongle (Tubeszb) still got the same issue

Sherk737 avatar Mar 11 '24 10:03 Sherk737

Thanks @chris-1243. The command returns 2 but I change the coordinator to poe now with same issue

Sherk737 avatar Mar 11 '24 18:03 Sherk737

@cvhoang any update in your system ?

Sherk737 avatar Mar 11 '24 18:03 Sherk737

The 20230507 fw might be unstable, try the 20221226 firmware

Koenkk avatar Mar 11 '24 19:03 Koenkk

@Sherk737 it's still unstable and has just crashed :(

@Koenkk I'll revert the firmware as there is some correlation between crashes and firmware upgrade.

cvhoang avatar Mar 11 '24 22:03 cvhoang

@Koenkk Thanks for reply and I revert the firmware back to 26122022, I will monitor and check stability. will update you here

Sherk737 avatar Mar 12 '24 04:03 Sherk737

after I revert to older firmware I got same issue again

Sherk737 avatar Mar 12 '24 09:03 Sherk737

@Koenkk @Sherk737 Reverting the firmware seems to have stabilise the issues in the last 24 hours.

cvhoang avatar Mar 12 '24 22:03 cvhoang

same with me now its stabilize after reverting to old firmware - in beginning the issue occurred once then I reboot the dongle nd now its stable, will monitor for 48h and will give you un update @Koenkk @cvhoang

Sherk737 avatar Mar 13 '24 04:03 Sherk737

I'm still on the "20220219" firmware which worked perfectly for over a year, but in the last few days I've been having the issues above exactly as described.

danielsmith89 avatar Mar 13 '24 10:03 danielsmith89

@Koenkk @cvhoang Now z2m is stable and working without any issues after downgrade the dongle firmware

@danielsmith89 I prefer to update you dongle to 20221226 firmware and recheck your system if it still have an issue open new issue with your system log

Sherk737 avatar Mar 13 '24 18:03 Sherk737