Zigbee2mqtt suddenly keeps failing daily and host needs reboot

Hi,

My rPI with a CC2531 and zigbee2mqtt is running ok for over a year now, but suddenly zigbee2mqtt is failing daily. One or multiple reboots are needed to get zigbee2mqtt up and running again.
Anyone has an idea what it could be?

Looks like your USB zigbee adaptor cant be found at ttyACM0.

Thought of that too, but it is connected. Maybe the cc2531 is failing? @tom_l

Or your power supply for the Pi is.

No it is definitely not connected:

Maybe the hardware address has changed.

@tom_l is there a way to check if it is recognized under another hardware address? Im running HassOS (is it still called that?) so i dont have access to the command line.

@Tinkerer good tip, going to find another power supply to check if that is the problem.

edit: the led is still green on the cc2531 though.

Using a “regular” Linux OS you could use the lsusb command. Some OS also mount the stick at /dev/serial/by-id/

It looks like the mapping is still correct, but found this in the log… looks like it keeps removing and adding the device in HA.

Listen to Tinkerer. Your power supply may be good enough for the pi, but… the pi and the USB transceiver?

It is running well for more then a year… but it could be failing ofcourse.

I think using the SSH / Web terminal addon with protection mode disabled should allow you to use lsusb or dmesg to check whether there’s issues with the stick. Also, as @m0wlheld writes, some distros use the “by-id” folder which is a better option to avoid issues with device enumeration (it still links to /dev/tty*).

Thanks, will try!

Actually, it’s not required as your screenshot clearly states the presence of a /dev/serial/by-id path. Although you should prefer this path over /dev/ttyACM0, it will not help you with your problem.

Your USB device connection is not stable, either from a hardware or software side.

cc2531 dead? now it doesnt recognize it anymore…

**

**

Well, they’re pretty underwhelming sticks, so it’s not great loss if it is dead :stuck_out_tongue:

More seriously, try:

  • Removing it from the Pi for 30 seconds and then reconnecting it
  • Re-flashing it. It’s not unheard of for them to need that
  • Buying something modern - one of Tube’s devices or TI Launch XL boards if you’re in the Americas, the Zig-A-Zig-Ah! if you’re in the UK - or any of those and pay custom fees if you live elsewhere.

Indeed not a great loss haha, but i have bought a preflashed one so i dont have the flash tools.

I’m going to try to disconnect it a bit longer, but else i will buy a new one. Looked into the TI launch XL boards before, not many sellers here in The Netherlands but i see some.

Take a look here, there is a bunch of supported devices:
https://www.zigbee2mqtt.io/information/supported_adapters.html :smiley: :smiley: :smiley: