Can no longer connect to Conbee II USB stick with deconz integration

Greetings!

I have been using a Conbee II USB stick with the deconz integration for about 6 months and it’s been OK so far. Yesterday I lost connection to the USB stick and have not been able to reconnect since.

TBH I only have a couple of Zigbee devices: a thermostat and an Aqara Temp/Humidity/Pressure sensor. They’re both currently disconnected and the Phoscon app shows “Gateway Not Connected”.

The logs show that the USB device is properly discovered and loaded but HA times out trying to connect to it:

[cont-init.d] firmware.sh: executing... 
[20:51:44] INFO: GCFFlasher V3_17 (c) dresden elektronik ingenieurtechnik gmbh
Path             | Vendor | Product | Serial     | Type
-----------------+--------+---------+------------+-------
/dev/ttyACM0     | 0x1CF1 | 0x0030  | DE22XXXX  | ConBee II 
.....
20:52:00:811 DEV no DDF for 0xXXXXXXXXXXX, modelId: lumi.weather
20:52:00:812 DEV create on-the-fly DDF for 0xXXXXXXXXXXX
20:52:00:840 DEV Tick.Init: booted after 8000 seconds
20:52:00:853 dlg action: Read binding table
20:52:00:926 New websocket 127.0.0.1:48642 (state: 3) 
20:52:00:928 New websocket 172.30.32.1:53698 (state: 3) 
[20:52:01] INFO: Successfully send discovery information to Home Assistant.
20:52:01:509 Announced to internet https://phoscon.de/discover
20:52:01:638 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE22XXXX-if00 / serialno: DE22XXXXX, ConBee II
20:52:01:759 Skip idle timer callback, too early: elapsed 946 msec
....
20:52:03:317 device state timeout ignored in state 2
20:52:03:477 device state timeout ignored in state 2
20:52:03:637 device state timeout ignored in state 2
20:52:03:796 device state timeout ignored in state 2
20:52:03:956 device state timeout ignored in state 2
20:52:04:116 device state timeout ignored in state 2
....
21:29:58:737 start reconnect to network
21:30:03:737 failed to reconnect to network try=1
21:30:05:775 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE22XXXX-if00 / serialno: DE22XXXX, ConBee II
21:30:06:736 Skip idle timer callback, too early: elapsed 941 msec
21:30:07:316 device state timeout ignored in state 2
21:30:07:477 device state timeout ignored in state 2
21:30:07:637 device state timeout ignored in state 2

Another weird thing is that /dev/ttyACM0 is in the audio group instead of dialout. Tried changing the group to dialout but got “read-only filesystem”.

I tried disconnecting the stick, rebooting the host, etc. Nothing works.

Has anyone encountered a similar problem? Any suggestions on how to solve it?

I had this issue too and the following fixed it:

From the “ConBee / ConBee II / RaspBee / RaspBee II” section of Supported Adapters | Zigbee2MQTT
try adding the following to your configuration.yaml

serial:
  adapter: deconz

Note that this is the zigbee2mqtt/configuration.yaml, not the top level configuration.yaml