Moved from RaspPi to GMKTec Mini PC - Zigbee2MQtt not starting

Hi Team,

I restored a back up of Raspberry Pi to new hardware today.

I did try to change the name of the device in from the hardware finding the by-id lince in the hardware, but still fails.

Zigbee2MQtt gives me errors and won’t start. Any ideas

Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[19:20:51] INFO: Starting socat process …
2026/07/19 19:20:51 socat[46] N PTY is /dev/pts/0
2026/07/19 19:20:51 socat[46] N listening on AF=2 0.0.0.0:8485
[19:20:51] INFO: Starting Zigbee2MQTT…
Starting Zigbee2MQTT without watchdog.
[2026-07-19 19:20:52] info: z2m: Logging to console, file (filename: log.log)
[2026-07-19 19:20:52] info: z2m: Starting Zigbee2MQTT version 2.12.1 (commit #unknown)
[2026-07-19 19:20:52] info: z2m: Starting zigbee-herdsman (10.6.1)
[2026-07-19 19:20:52] info: zh:ember: Using default stack config.
[2026-07-19 19:20:52] info: zh:ember: ======== Ember Adapter Starting ========
[2026-07-19 19:20:52] info: zh:ember:ezsp: ======== EZSP starting ========
[2026-07-19 19:20:52] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2026-07-19 19:20:52] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2026-07-19 19:20:52] info: zh:ember:uart:ash: Serial port opened
[2026-07-19 19:20:52] info: zh:ember:uart:ash: ======== ASH starting ========
[2026-07-19 19:20:57] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2026-07-19 19:20:57] info: zh:ember:uart:ash: ======== ASH starting ========
[2026-07-19 19:21:02] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2026-07-19 19:21:02] info: zh:ember:uart:ash: ======== ASH starting ========
[2026-07-19 19:21:07] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2026-07-19 19:21:07] info: zh:ember:uart:ash: ======== ASH starting ========
[2026-07-19 19:21:12] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2026-07-19 19:21:12] info: zh:ember:uart:ash: ======== ASH starting ========
[2026-07-19 19:21:17] error: z2m: Error while starting zigbee-herdsman
[2026-07-19 19:21:17] error: z2m: Failed to start zigbee-herdsman
[2026-07-19 19:21:17] error: z2m: Check Zigbee2MQTT fails to start/crashes runtime | Zigbee2MQTT for possible solutions
[2026-07-19 19:21:17] error: z2m: Exiting…
[2026-07-19 19:21:18] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:666:19)
at EmberAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1544:24)
at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:146:29)
at Zigbee.start (/app/lib/zigbee.ts:70:27)
at Controller.start (/app/lib/controller.ts:117:29)
at start (/app/index.js:156:5)

Hi Stephan, what do mean by

Did you or did you not and have you checked that the port is the right one.

How are you running Z2M, what kind of HA setup do use?

I am not sure what you mean by check port?

How do I do that

What about :down_arrow:

yes running Z2M and running HA = Home Assistant OS

But I can not get Z2M to start

Under configuration → Serial: is that correct?
Compare with

I took the first line


Then

But this is still generates the same message.

Dongle is ZBDongle-P

what if you put /dev/ttyUSB0 in serial → port

Did you check if it’s the right port

on your new system?

this is all on my new system.

I tried a few more times and it seams to have resolved itself, but I am not sure what it was that fixed it.

What did you try so that it resolved by itself?

The only big thing I tried was in devices pres “Add Zigbee Controler” it then went to a spinning wheel. But after trying that the Z2M started and is running now. It still spins. But 99% of my automations have started to work again from motion etc

What is that screenshot?

Are you using ZHA as well as Z2M?!?

when you go to settings there is now a ZIGBEE item in the menu next to THREAD etc

But I am using Z2M not ZHA

Are you talking about

Open your Home Assistant instance and show your settings menu.

After pressing this from DEVICE page.

That is ZHA imho.

Check
Open your Home Assistant instance and show your integrations.

There you go: that’s the reason why your Z2M is not working.
You can’t have both with the same coordinator!