Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.72k stars 1.64k forks source link

Error: network commissioning timed out #20804

Closed BinaryShrub closed 3 weeks ago

BinaryShrub commented 7 months ago

What happened?

configuration.yml which has fields generate as expected:

homeassistant: true
frontend: true
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://mqtt
serial:
  port: /dev/ttyACM0
advanced:
  pan_id: GENERATE
  ext_pan_id: GENERATE
  network_key: GENERATE

But I get this error when starting.

Zigbee2MQTT:error 2024-01-14 20:33:36: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
    at ZnpAdapterManager.beginCommissioning (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:347:23)
    at ZnpAdapterManager.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:92:17)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:101:27)
    at start (/app/index.js:107:5)

What did you expect to happen?

I expect the server to start

How to reproduce it (minimal and precise)

Reflash successfully:

docker run --rm --device /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f4219e725586ec11bb41e33719c2d21c-if00-port0:/dev/ttyUSB0 -e \
FIRMWARE_URL=https://github.com/Koenkk/Z-Stack-firmware/raw/Z-Stack_3.x.0_coordinator_20230507/coordinator/Z-Stack_3.x.0/bin/CC1352P2_CC2652P_launchpad_coordinator_20230507.zip \
ckware/ti-cc-tool -ewv -p /dev/ttyUSB0 --bootloader-sonoff-usb

Zigbee2MQTT version

1.35.0

Adapter firmware version

20230507

Adapter

usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus

Setup

Docker

Debug log

No response

BinaryShrub commented 7 months ago

Looks like it was a conflict with channel: 11? and after changing to channel: 23 things started ok. Consider updating the error message/docs on how channel might be the cause?

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days