Z2m problems

Hi

when i came home today the Z2M Edge was not working and i had no lights

i rebooted, checked conf, rebooted changed radio. nothing.
Z2M would not boot.

removed addon and reinstalled
now i get

[20:25:17] INFO: Preparing to start... [20:25:17] INFO: Socat not enabled [20:25:18] INFO: Starting Zigbee2MQTT... Zigbee2MQTT:info 2023-02-17 20:25:19: Logging to console and directory: '/config/zigbee2mqtt/log/2023-02-17.20-25-19' filename: log.txt Zigbee2MQTT:info 2023-02-17 20:25:19: Starting Zigbee2MQTT version 1.30.1-dev (commit #e934b0d) Zigbee2MQTT:info 2023-02-17 20:25:19: Starting zigbee-herdsman (0.14.93) Error: Reset error: Error: {"sequence":-1} after 2000ms at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:298:23 at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)

that is all :frowning:
i cant figure this out
1 week ago i changed to cloud connect instead of the sonof stick p, but it have boon working for a week, also i tried changing back but still no luck

any ideas

Same problem here when i move over to the skyconnect adapter.

Error: Reset error: Error: {“sequence”:-1} after 2000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:298:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)

i gave up :frowning:

Same here with SONOFF Zigbee 3.0 USB Dongle Plus V2

Error: Reset error: Error: {“sequence”:-1} after 2000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:298:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)

Same problem for me with Same here with SONOFF Zigbee 3.0 USB Dongle Plus V2

Error: Reset error: Error: {“sequence”:-1} after 2000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:298:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)

1 Like

Same here with SONOFF Zigbee 3.0 USB Dongle Plus V2

I finally got it working.
These are my settings:

i threw my stick away.
was using ZHA for a week with the sky connect and now changed back to Z2M
now it is working

1 Like

Hi
I have the same problem and the same config.
Can you share what did you do to fix it?

I finaly got it to work…
I uninstalled z2m, and manuelly removed z2m folder


And started over
My setting that got it to work

data_path: /config/zigbee2mqtt
socat:
  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
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://xurip:1883
  user: urusr
  password: urpass
serial:
  port: /dev/ttyUSB0
  adaptor: ezsp
frontend: true
advanced:
  pan_id: GENERATE
  channel: 11
  network_key: GENERATE

I have sonoff dongle-P

mqtt://localhost did’t work so try the ip address of ur mqttbroker

2 Likes

Are you sure you disabled ZHA?

Error: Reset error: Error: {“sequence”:-1} after 2000ms solved by deleting the folder on the advice of @tsa3000


removed Zigbee2MQTT
deleted zigbee2mqtt folder via samba \config*zigbee2mqtt*
install Zigbee2MQTT

this is what my config looks like

data_path: /config/zigbee2mqtt
socat:
  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
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://core-mosquitto
  user: mqttpas
  password: mqttpas
serial:
  port: >-
    /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_88ae74d558d9eb11b9dc158e6fe9f4d9-if00-port0
frontend: true
3 Likes

Hi all. I had the same Problem when i changed my Coordinator Stick to a Sonoff ZBDongle-P/ZBDongle-E (same issue with both variants).
Solution was:

  • uninstall zigbee2mqtt
  • uninstall Mosquitto
  • disable ZHA
  • delete folder /usr/share/hassio/homeassistant/zigbee2mqtt
  • delete file /usr/share/hassio/homeassistant/zigbee.db
  • delete folder /usr/share/hassio/addons/core/mosquitto
  • reinstall mosquitto and zigbee2mqtt

Every settings are lost but i spent so much time trying to fix this issue that it was worth it…
Your file/folder pathes can be different according to your HA installation.

Hmm just got my Sonoff stick today and ran into this issue. Deleted the Mosquitto and Zigbee2MQTT folders, .db file, uninstalled/reinstalled, but still getting the same error. :frowning:

alright I was able to get it to work. I updated the Sonoff firmware and then removed the " adaptor: ezsp" from my config and now it’s magically working. (I had only added that after 20 attempts or so :laughing: )

I was having the same issue, for me it was caused by the host OS: linux - Unable to use USB dongle based on USB-serial converter chip - Unix & Linux Stack Exchange

brltty was preventing from the Zigbee USB dongle to connect properly, I removed it completely and it solved the issue. I was even able to restore a backup from my old pi (using the same dongle) without having the re-pair everything.

In my case it was easy. I just had to physically disconnect and connect the sonoff usb stick.

My problem started about 2 days ago, reseating the USB worked the first time. But now nothing helps. I tried changing the configuration and then search for brltty, but running HA as a VM, so it does not seem to have this. I would very much like to avoid reinstalling.

Have you checked that the USB stick hasn’t changed ports? ttyUSB0 and so on. Try using /dev/serial/by-id

yes USB is still on the same port, and i also did the write test from the Z2M site, test -w /dev/ttyACM0 && echo success || echo failure. Which works fine.

What errors do you get ?