Cannot run the Zigbee2MQTT

Hi everyone!

At the beginning I will say that I am completely green in the Home Assistant and so I bought the HA Green :slight_smile:
I’ve also got a HA SkyConnect because I needed a Zigbee network for Aqara Wall Switch. I think I broken it somehow or did something wrong. Firstly I plugged SkyConnect and choose Zigbee in my local HA page when it asked me. I’ve got then ZHA integration but my Wall Switch didn’t quite work so I was reading about it and found out I need Zigbee2MQTT instead of ZHA for it to work properly. I deleted the ZHA, installed Mosquito broker, this is the only configuration I’ve made to it in logins:

- username: mqtt_xxx
  password: mqtt_xxx

and here is my Z2MQTT configurations I’ve made:

This is what I’ve got in log when I try to start the Z2MQTT Add-on

[11:50:25] INFO: Preparing to start...
[11:50:27] INFO: Socat not enabled
[11:50:32] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-18 11:50:42] info: 	z2m: Logging to console, file (filename: log.log)
[2024-09-18 11:50:42] info: 	z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-18 11:50:42] info: 	z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-18 11:50:42] info: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_6eda194ff5e1ed11b7cdeb5162c613ac-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-09-18 11:50:42] info: 	zh:zstack:znp: Serialport opened
[2024-09-18 11:50:43] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2024-09-18 11:50:44] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2024-09-18 11:51:03] error: 	z2m: Error while starting zigbee-herdsman
[2024-09-18 11:51:03] error: 	z2m: Failed to start zigbee
[2024-09-18 11:51:03] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-18 11:51:03] error: 	z2m: Exiting...
[2024-09-18 11:51:03] error: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:123:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:138:29)
    at Zigbee.start (/app/lib/zigbee.ts:64:27)
    at Controller.start (/app/lib/controller.ts:140:27)
    at start (/app/index.js:154:5)

I’ve been reading about this for last 3-4 hours, trying different guides, reinstalling etc… I’ve even upgraded a firmware on my dongle but it is still the same. In similar posts I’ve found people always used some VM, Raspberry Pi or other things and I didn’t quite understand this as I am a complete newbie. Please, can someone help me out with this, maybe some of you guys had the same issue and have a solution for this?

If the Skyconnect is flashed to the newest firmware, try

port: /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_6eda194ff5e1ed11b7cdeb5162c613ac-if00-port0
serial:
  adapter: ember

Unfortunately, same error in the logs.

how does the adapter settings look like in /config/zigbee2mqtt/configuration.yaml?

My entire configuration.yaml

To me (I’m no expert though) it seems like it’s trying to use a zstack adapter

[2024-09-18 11:50:42] info: zh:zstack:znp: Serialport opened

You haven’t enabled / configured ZHA (Zigbee Home Automation) in the integrations, right?

You could try adding the adapter config to the configuration.yaml you showed, see if that makes a difference.

I did enable and configure ZHA at the first time but right now it is deleted.
Should I put in the configuration.yaml

adapter: ember

or the whole code from section “serial” in Z2MQQT Configuration in HA frontend?

I checked my own config and I have it like this in configuration.yaml:

serial:
  port:
  adapter:

So you can try i like this

serial:
  port: /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_6eda194ff5e1ed11b7cdeb5162c613ac-if00-port0
  adapter: ember
1 Like

Try adding an adapter

serial:
  port: /dev/serial/.....................................
  adapter: ezsp
1 Like

After adding adapter config in configuration.yaml it freakin works! Thank you guys!

1 Like