Zigbee2mqtt error encontered

Hi all,

I had Z2M installed & running without any problems for months. Suddenly since 2 days it gave errors & does not connect anymore.

I get following error

error: zh:ezsp:ezsp: Connection attempt 4 error: Error: Error: No such file or directory, cannot open /dev/ttyUSB0

The coordinator was connected to ttyUSB0. But now when I goto All hardware, I could not see any tty… there anymore.

Following are my configuration.

data_path: /config/zigbee2mqtt
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
  server: mqtt://core-mosquitto:1883
  user: mqtt
  password: mqtt
  port: /dev/ttyUSB0
  adapter: ezsp

I have installed HA in Raspberry Pi 4 & I have tried changing the USB ports but no luck by doing it.

This is my dongle.

Please help me to solve this.

Open Advanced SSH and Web terminal (or the other SSH add-on) and enter

ls /dev/serial/by-id

What is returned ?


ls: /dev/serial/by-id: No such file or directory


Seems your Pi does not recognise the ZB-GW04 any more. Maybe try re-flashing it.

1 Like

Thank you very much. Re-flashing has done the trick.