zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Sonoff USB Dongle - Adapter disconnected randomly

Open johannes-z opened this issue 4 years ago • 8 comments

What happened?

Zigbee2MQTT in HA stops working at random times (every couple of minutes) with this error:

error 2022-05-27 11:04:55: Adapter disconnected, stopping

I only noticed because all the zigbee devices log unavailable to logbook.

Related #10184

What did you expect to happen?

Adapter shouldn't disconnect.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.25.1-1

Adapter firmware version

20220507

I also tried 20220219, still disconnects though.

Adapter

Sonoff Zigbee 3.0 USB Dongle Plus - CC2652P

Debug log

info 2022-05-27 10:47:26: Connected to MQTT server info 2022-05-27 10:47:26: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}' info 2022-05-27 10:47:26: MQTT publish: topic 'zigbee2mqtt/901/availability', payload '{"state":"online"}' info 2022-05-27 10:47:27: Started frontend on port 0.0.0.0:8099 ... error 2022-05-27 11:04:55: Adapter disconnected, stopping info 2022-05-27 11:04:55: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}' info 2022-05-27 11:04:55: Disconnecting from MQTT server info 2022-05-27 11:04:55: Stopping zigbee-herdsman...

johannes-z avatar May 27 '22 10:05 johannes-z

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 Jun 27 '22 00:06 github-actions[bot]

Having same issue here

link1873 avatar Aug 22 '22 16:08 link1873

I also had this. The problem disappeared completely after I replaced the USB cable.

swiergot avatar Aug 22 '22 16:08 swiergot

I have the same issue but don't have a USB cable. Do you have any idea how to debug this? I already flashed the stick with the latest firmware. After reconnecting, it's there but then is lost for some time again. The strange thing is it worked for over a month without any issues.

readefries avatar Apr 06 '23 08:04 readefries

@cloudcosmonaut i have exactly the same issue and I'm very frustrated about it. Did you manage to solve it?

gkukurin avatar Oct 28 '23 07:10 gkukurin

Hey Goran,

I have not been able to resolve this. I also have no idea how I could debug this to get more info on why the disconnect keeps happening. I would gladly try things out to resolve this...

I already tried a longer USB cable, but that doesn't change anything about the disconnect behaviour.

readefries avatar Oct 28 '23 07:10 readefries

same problem for me. random disconnections every month or so.

Fougues avatar Jan 18 '24 11:01 Fougues

I had it twice today. It seems to happen more frequently right now.

markwalet avatar Mar 14 '24 18:03 markwalet