Z2MQTT issues

Hi, I was having some issues with Zigbee where data was not reliably showing up in HA. Pretty much just one button was left that worked. I discovered that my zigbee network was on the same channel as my wifi so I decided to change the zigbee channel to 15. It seemed like I would have to re-pair everything so I figured I might as well update my firmware so I used the SONOFF Dongle Flasher Home Assistant add-on and updated my firmware to 20240710. It wouldn’t start up so I removed my coordinator_backup.json. And then it still wouldn’t start up complaining that

Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby (Error: AREQ - ZDO - stateChangeInd after 60000ms

so I unplugged my powered Zigbee stuff based on some stuff I read online and it now starts up. whew

However, I can’t get anything to join. I hit the button to allow joining and put the device into setup mode and nothing will join.

Is there something I failed to do? Or better instructions somewhere online on how to tear everything down and start over?

my config:

homeassistant:
  enabled: true
advanced:
  log_level: debug
  channel: 15
  pan_id: xxx
  network_key:
    - keys
    - more keys
mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: xxx
serial:
  port: >-
    /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_32d0910a488eed11bb698d54b96ce6f8-if00-port0
  adapter: zstack
frontend:
  enabled: true
  port: 8099
device_options: {}
version: 4
availability:
  enabled: true

Can anyone recommend any logs to check out or anything?

If I go to Zigbee2MQTT > Logs, it always says

Nothing to display

If I go to Addons > Zigbee2MQTT > Log it looks like it’s doing something?

[2025-10-15 16:33:01] debug: 	z2m: Saving state to file /config/zigbee2mqtt/state.json
[2025-10-15 16:38:01] debug: 	z2m: Saving state to file /config/zigbee2mqtt/state.json
[2025-10-15 16:43:01] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/health', payload '{"response_time":1760560981466,"os":{"load_average":[0,0,0],"memory_used_mb":1073.98,"memory_percent":27.4269},"process":{"uptime_sec":430804,"memory_used_mb":104.53,"memory_percent":2.6694},"mqtt":{"connected":true,"queued":0,"published":1449,"received":16},"devices":{}}'
[2025-10-15 16:43:01] debug: 	z2m: Saving state to file /config/zigbee2mqtt/state.json
[2025-10-15 16:48:01] debug: 	z2m: Saving state to file /config/zigbee2mqtt/state.json
[2025-10-15 16:53:01] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/health', payload '{"response_time":1760561581472,"os":{"load_average":[0,0,0],"memory_used_mb":1077.47,"memory_percent":27.5159},"process":{"uptime_sec":431404,"memory_used_mb":104.53,"memory_percent":2.6694},"mqtt":{"connected":true,"queued":0,"published":1451,"received":16},"devices":{}}'
[2025-10-15 16:53:01] debug: 	z2m: Saving state to file /config/zigbee2mqtt/state.json

EDIT: Something happened:

[10/15/2025, 5:03:01 PM] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/health', payload '{"response_time":1760562181472,"os":{"load_average":[0,0,0],"memory_used_mb":1076.98,"memory_percent":27.5034},"process":{"uptime_sec":432004,"memory_used_mb":105.47,"memory_percent":2.6935},"mqtt":{"connected":true,"queued":0,"published":1453,"received":16},"devices":{}}'

[10/15/2025, 5:03:08 PM] zh:controller: Wrote coordinator backup to '/config/zigbee2mqtt/coordinator_backup.json'

and

[2025-10-15 17:03:08] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-10-15 17:03:08] debug: 	zh:zstack:znp: --> SREQ: SYS - nvLength - {"sysid":1,"itemid":7,"subid":5}
[2025-10-15 17:03:08] debug: 	zh:zstack:unpi:writer: --> frame [254,5,33,50,1,7,0,5,0,21]
[2025-10-15 17:03:08] debug: 	zh:zstack:unpi:parser: <-- [254,4,97,50,0,0,0,0,87]
[2025-10-15 17:03:08] debug: 	zh:zstack:unpi:parser: --- parseNext [254,4,97,50,0,0,0,0,87]
[2025-10-15 17:03:08] debug: 	zh:zstack:unpi:parser: --> parsed 4 - 3 - 1 - 50 - [0,0,0,0] - 87
[2025-10-15 17:03:08] debug: 	zh:zstack:znp: <-- SRSP: SYS - nvLength - {"len":0}
[2025-10-15 17:03:08] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-10-15 17:03:08] debug: 	zh:zstack:backup: fetched adapter network security material table (capacity=1, used=1)
[2025-10-15 17:03:08] debug: 	zh:zstack:backup: Following devices with link key are missing from new backup but present in old backup and database, adding them back: 
[2025-10-15 17:03:08] info: 	zh:controller: Wrote coordinator backup to '/config/zigbee2mqtt/coordinator_backup.json'

Trying to get this to work was incredibly frustrating and then the fact that no one responded here was also frustrating.

I think what I did to get this to work was to flash the zigbee stick, remove the coordinator backup, and edit the z2mqtt config to change all the numbers to “GENERATE.”

At that stage I kept getting errors that said there’s already a network with that PAN which I don’t understand at all because I was asking it to configure a new network ¯\_(ツ)_/¯

an llm told me to buy a usb extension cable so I did and then that fixed the problem.

Good luck to anyone else trying to get this mess to work.

It’s on the first page of the documentation, but I’m glad you got it working.

1 Like

Thanks for pointing that out. Of course, your post would have been helpful months ago, but now just feels like criticism.