z2m: Error: failed to start adapter connection to firmware
What happened?
After changing from conbee2 to conbee3 in a new docker, my docker wont start. If i restart my docker with my conbee2 no problems with z2mqtt Using the latest Dev image , get the latest fimware on the conbee. When i start up my deconz container then the device is connected directly
What did you expect to happen?
Move from conbee2 to conbee3
How to reproduce it (minimal and precise)
Disable the conbee2 docker container. Fire up the new Conbee3 container and i got the error
Zigbee2MQTT version
latest dev
Adapter firmware version
26550900
Adapter
Conbee3
Setup
Z2mqtt on a docker container.
Device database.db entry
No response
Debug log
[2025-10-02 14:54:26] info: z2m: Starting zigbee-herdsman (6.1.0)
[2025-10-02 14:54:46] error: z2m: Error while starting zigbee-herdsman
[2025-10-02 14:54:46] error: z2m: Failed to start zigbee-herdsman
[2025-10-02 14:54:46] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-10-02 14:54:46] error: z2m: Exiting...
[2025-10-02 14:54:46] error: z2m: Error: failed to start adapter connection to firmware
at Timeout.<anonymous> (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:116:28)
at listOnTimeout (node:internal/timers:588:17)
at processTimers (node:internal/timers:523:7)
Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
[2025-10-02 14:54:47] info: z2m: Logging to console, file (filename: log.log)
[2025-10-02 14:54:47] info: z2m: Starting Zigbee2MQTT version 2.6.1-dev (commit #e8e4977327c147f6338d323662823dd3316d54a3
)
[2025-10-02 14:54:47] info: z2m: Starting zigbee-herdsman (6.1.0)
Could you share your configuration.yaml ? Especially, your serial section.
Hello Chris
I just reset my conbee en reset my container again but no luck I still got the same error and i be redirect to the boarding page so here is your request. I use the same config that i used for my conbee2 so i dont know why i got this error
Loging
Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
Onboarding page is available at http://0.0.0.0:8080/
[2025-10-02 20:45:44] info: z2m: Logging to console, file (filename: log.log)
[2025-10-02 20:45:44] info: z2m: Starting Zigbee2MQTT version 2.6.1-dev (commit #e8e4977327c147f6338d323662823dd3316d54a3
)
[2025-10-02 20:45:44] info: z2m: Starting zigbee-herdsman (6.1.0)
[2025-10-02 20:46:04] error: z2m: Error while starting zigbee-herdsman
[2025-10-02 20:46:04] error: z2m: Failed to start zigbee-herdsman
[2025-10-02 20:46:04] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-10-02 20:46:04] error: z2m: Exiting...
[2025-10-02 20:46:04] error: z2m: Error: failed to start adapter connection to firmware
at Timeout.<anonymous> (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:116:28)
at listOnTimeout (node:internal/timers:588:17)
at processTimers (node:internal/timers:523:7)
Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
Onboarding page is available at http://0.0.0.0:8080/
Then my yaml config
services:
zigbee2mqtt:
container_name: zigbee2mqtt_con3
image: koenkk/zigbee2mqtt:latest-dev
volumes:
- /mnt/docker/dockercontainers/zigbee2mqttcon3/data:/app/data
devices:
- /dev/serial/by-id/usb-dresden_elektronik_ConBee_III_DE03318430-if00-port0:/dev/ttyUSB0
environment:
- TZ=Europe/Brussels
networks:
MyNetwork:
ipv4_address: xxx.xxx.xxx.xxx
ports:
- xxxx:8080
restart: unless-stopped
privileged: true
networks:
MyNetwork:
external: true
And this is my configuration file.
version: 4
mqtt:
base_topic: basetopicname
server: mqtt://xxx.xxx.xxx.xxx:1883
user: xxxxxxxx
password: xxxxxxxx
serial:
port: /dev/ttyUSB0
adapter: deconz
baudrate: 115200
rtscts: false
advanced:
log_level: info
channel: 25
network_key:
- 160
- 108
- 61
- 104
- 166
- 246
- 205
- 170
- 210
- 214
- 247
- 3
- 104
- 195
- 18
- 9
pan_id: 29616
ext_pan_id:
- 212
- 42
- 13
- 165
- 80
- 208
- 185
- 177
frontend:
enabled: true
port: 8080
homeassistant:
enabled: true
onboarding: true
Could you try the latest stable release (2.6.2). Your are on an older version and also using the dev branch which might break some stuffs.
Your configuration seems fine
rebuild with the latest stable
Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
Onboarding page is available at http://0.0.0.0:8080/
[2025-10-02 21:48:39] info: z2m: Logging to console, file (filename: log.log)
[2025-10-02 21:48:39] info: z2m: Starting Zigbee2MQTT version 2.6.2 (commit #4d247f3ae129ee7318eeede877ffdbbd27444693
)
[2025-10-02 21:48:39] info: z2m: Starting zigbee-herdsman (6.1.5)
[2025-10-02 21:49:00] error: z2m: Error while starting zigbee-herdsman
[2025-10-02 21:49:00] error: z2m: Failed to start zigbee-herdsman
[2025-10-02 21:49:00] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-10-02 21:49:00] error: z2m: Exiting...
[2025-10-02 21:49:00] error: z2m: Error: failed to start adapter connection to firmware
at Timeout.<anonymous> (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:116:28)
at listOnTimeout (node:internal/timers:588:17)
at processTimers (node:internal/timers:523:7)
Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
Onboarding page is available at http://0.0.0.0:8080/
Here to comment to the fact that after upgrading to 2.6.2, the same issue is occurring for me. Similar config to above, w/Conbee 2.
Same here with ZHA
Running into this issue as of today with a newer Home Assistant box and a Conbee 3. Looks like my box auto updated from 2.6.1 to 2.6.2 and I can no longer start z2m
Seeing the same log message -- Error: failed to start adapter connection to firmware\n at Timeout.<anonymous> (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:116:28)\n at listOnTimeout (node:internal/timers:588:17)\n at processTimers (node:internal/timers:523:7)","timestamp":"2025-10-06 23:32:54"}
Looking at the diff from 2.6.1 and 2.6.2 I see...
"zigbee-herdsman": "6.0.4" -> "zigbee-herdsman": "6.1.5",
"zigbee-herdsman-converters": "25.14.0" -> "zigbee-herdsman-converters": "25.35.1",
Here's the herdsman diff from 6.0.4 to 6.1.5
Nothing stands out to me as an obvious issue in these changes, I'll pull down everything tomorrow evening (UTC-5 timezone) and try to investigate unless someone beats me to it.
@manup
As you have done lots of work in the last months on the deconz driver, would you mind take a look at this issue ?
I am blown away. I just unplugged the conbee, reset the serial config, replugged in a different USB port, rebooted and then did the onboarding again. Everything works now. thanks for this nice workaround/debug-work.
Hello I was facing the SAME issue ... probably linked to https://github.com/Koenkk/zigbee2mqtt/issues/28426#issuecomment-3423075042
The simple reboot with unplug/plug of dongle clear the issue
I have this same issue on KVM. I wanted to migrate from old physical mini PC host to new server with KVM. On my old ConBee II with firmware 2.31.2 and brand new with fw 2.32.2 I have this same issue.
same issue. `root@localhost:/opt/zigbee2mqtt# pnpm start
[email protected] start /opt/zigbee2mqtt node index.js
Starting Zigbee2MQTT without watchdog.
[2025-11-11 08:21:07] info: z2m: Logging to console, file (filename: log.log)
[2025-11-11 08:21:08] info: z2m: Starting Zigbee2MQTT version 2.6.3 (commit #5797b568)
[2025-11-11 08:21:08] info: z2m: Starting zigbee-herdsman (6.3.2)
[2025-11-11 08:21:08] info: zh:adapter:discovery: Matched adapter: {"path":"/dev/ttyACM0","manufacturer":"dresden elektronik ingenieurtechnik GmbH","serialNumber":"DE2212150","pnpId":"usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2212150-if00","vendorId":"1cf1","productId":"0030"} => deconz: path=/dev/ttyACM0, score=4
[2025-11-11 08:21:28] error: z2m: Error while starting zigbee-herdsman
[2025-11-11 08:21:28] error: z2m: Failed to start zigbee-herdsman
[2025-11-11 08:21:28] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-11-11 08:21:28] error: z2m: Exiting...
[2025-11-11 08:21:28] error: z2m: Error: failed to start adapter connection to firmware
at Timeout.
I had same issue after upgrading to 2.6.3 with conbee 2. After many failures simply replugging the conbee (to the same USB port) solved the problem..
With the help of Zigbee Error Codes in the Log #0xe1 MAC Channel Access Failure, I resolved my issue.
In my case, I was already using an extension USB cable, but it was too close to my USB 3.0 SSD, which is connected to my Raspberry Pi and produces a lot of noise, see whitepaper, also ref. in deconz link above. I'm still wondering how it worked in previous years, but nevertheless it's working again now!
I had the same issue: Error: Failed APS-DATA.request with confirm status: MacNoChannelAccess (0xe1).
Hopefully this will help others as well.
I actually did a similar thing and routed the extension in a different way - a little further away from the SSD and the Pi itself. I think this also resolved my issue. Not really sure as the last time it also worked for a few weeks and then got the hickups again.
I'm facing the same issue with the RaspBee2 (https://phoscon.de/de/raspbee2)
Zigbee really is the biggest fucking garbage technology every. I have a Zigbee USB device plus a Sonof WiFi bridge, which both worked in the past. Now they fucking don't, Home Assistant just gives empty errors and z2m just crashes with no sensible error. Will just buy only WiFi devices from now on.
Same Issue with ConBeeII, latest firmware
zigbee2mqtt exited with code 1 (restarting)
zigbee2mqtt | Using '/app/data' as data directory
zigbee2mqtt | Starting Zigbee2MQTT without watchdog.
zigbee2mqtt | [2026-01-07 16:27:23] info: z2m: Logging to console, file (filename: log.log)
zigbee2mqtt | [2026-01-07 16:27:23] info: z2m: Starting Zigbee2MQTT version 2.7.2 (commit #3a49c95786c2fba749e7696aab4cc38e467d2c4c
zigbee2mqtt | )
zigbee2mqtt | [2026-01-07 16:27:23] info: z2m: Starting zigbee-herdsman (8.0.1)
zigbee2mqtt | [2026-01-07 16:27:23] info: zh:adapter:discovery: Matched adapter: {"path":"/dev/ttyACM0","manufacturer":"dresden elektronik ingenieurtechnik GmbH","serialNumber":"DE2213745","pnpId":"usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2213745-if00","vendorId":"1cf1","productId":"0030"} => deconz: 4
zigbee2mqtt | [2026-01-07 16:27:43] error: z2m: Error while starting zigbee-herdsman
zigbee2mqtt | [2026-01-07 16:27:43] error: z2m: Failed to start zigbee-herdsman
zigbee2mqtt | [2026-01-07 16:27:43] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
zigbee2mqtt | [2026-01-07 16:27:43] error: z2m: Exiting...
zigbee2mqtt | [2026-01-07 16:27:43] error: z2m: Error: failed to start adapter connection to firmware
zigbee2mqtt | at Timeout.<anonymous> (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:117:28)
zigbee2mqtt | at listOnTimeout (node:internal/timers:605:17)
zigbee2mqtt | at processTimers (node:internal/timers:541:7)
My configuration.yaml:
serial:
port: /dev/ttyACM0
adapter: deconz
Restarting, plug/unplug does nothing.
Deconz ca see the dongle :
(of course when I run z2m deconz is stopped)
I had the same issue, but only when I try to run it as systemctl. When I ran it with "pnpm start", all worked fine. I use a ConBee2 as well and found in "journalctl -xeu zigbee2mqtt.service" the entries
- z2m: Error while starting zigbee-herdsman
- z2m: Failed to start zigbee-herdsman
- z2m: Error: failed to start adapter connection to firmware
- at Timeout.
(/opt/zigbee2mqtt/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src>
I finally fixed it by changing the user in the zigbee2mqtt.service-file
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days