Can't get Zigbee2MQTT to work

I’m trying to connect some smart TRVs (Moes BRT-100) over Zigbee to my HA. I bought the HA SkyConnect dongle but so far haven’t used it for anything else.

I’ve seen other have used these TRVs but I couldn’t find explicit instructions on how to set them up, but so far I’ve:

  1. Got the ‘ZigBee Home Automation’ and ‘MQTT’ integrations installed.
  2. Installed the ‘Zigbee2MQTTT’ third-party add-on.
  3. Confirmed my dongle is using /dev/ttyUSB0

Zigbee2MQTT doesn’t start and I get this error:

[13:14:33] INFO: Preparing to start...
[13:14:34] INFO: Socat not enabled
[13:14:36] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-02-15 13:14:43: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-15.13-14-43' filename: log.txt
Zigbee2MQTT:info  2024-02-15 13:14:43: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-02-15 13:14:43: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:error 2024-02-15 13:15:04: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-15 13:15:04: Failed to start zigbee
Zigbee2MQTT:error 2024-02-15 13:15:04: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-15 13:15:04: Exiting...
Zigbee2MQTT:error 2024-02-15 13:15:04: 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:103:27)
    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:109:27)
    at start (/app/index.js:107:5)

This is the configuration.yaml

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt: {}
serial:
  port: /dev/ttyUSB0

I’ve tried looking through the add-ons docs etc but not found anything useful (that I can understand).

Add-ons. Not integrations.

Search the forum for “USB by serial ID”. /dev/ttyUSB0 can change.

From what I read, you try to use both ‘Zigbee Home Automation’ (ZHA) and Zigbee2MQTT at the same time

with only one dongle ?

That won’t work. The dongle can be used by ZHA, or the dongle can be used by Zigbee2MQTT. The dongle can’t be used by ZHA and Zigbee2MQTT at the same time.

For a Skyconnect, it is

serial:
  port: /dev/ttyUSB0
  adapter: ezsp

but disable ZHA first.

1 Like

Thanks, I went to disable ZHA and realised I can add it through that :person_facepalming: What’s the differences/ advantages of using zigbee2MQTT?

There are entire topic about ZHA vs Zigbee2MQTT. The only real reason these days I can think of, because Zigbee2MQTT supports more devices, and new devices are faster supported then in ZHA.
(and personally, I prefer my devices to work via MQTT)

Where to start with ZigBee?.

Thanks for all the info!

I managed to connect the TRV for ZHA but it wouldn’t set the values properly. I then followed the tips posted above to get the SkyConnect dongle to work with Zigbee2MQTT, I then added the TRV there and it all seems to work as expected! :tada:

You should still do this:

I’d already ran:

ls -l /dev/serial/by-id

And got

usb-Nabu_Casa_SkyConnect_v1.0_28ba719ea6b3ed11bb214daca7669f5d-if00-port0 -> ../../ttyUSB0

Great, use that instead of ttyUSB0.