SLZB-06 is detected on /dev/ttyUSB0 but fails to connect

I’m running Home Assistant 14.2 on a Raspberry Pi 4B 2GB with an SLZB-06 plugged in via usb-c. When adding an integration, HA detects it:

/dev/ttyUSB0 - SMLIGHT SLZB-06, s/n: a678e27d228bef119a212bccef8776e9 - SMLIGHT

but even using the other version:

/dev/serial/by-id/usb-SMLIGHT_SMLIGHT_SLZB-06_a678e27d228bef119a212bccef8776e9-if00-port0

and ZNP, HA says:

Failed to connect

I’ve noticed the Zigbee2MQTT add-on is never running, even after starting it.

Is there a way to find out why it’s not connecting and fix it?

can you show your /zigbee2mqtt/configuration.yaml file?

I realised I needed to install the Mosquitto broker first and now Zigbee2MQTT add-on now crashes with:

z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR

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
permit_join: true
mqtt:
server: mqtt://localhost:1883
serial:
port: /dev/ttyUSB0
adapter: znp
frontend:
enabled: true

I haven’t set up the SLZB-06 itself though as I’m not sure how to do that. I just plugged it in to the pi, HA detects it but fails to connect to it.

I believe it should be
adapter: zstack

You can log on to the SLZBs gui and confirm the correct settings:

Thanks for that, very helpful.

I plugged the SLZB-06 into ethernet, got an ip and now HA auto-detects it and I’ve set up the Zigbee Home Automation device using the SLZB-06.

I copied the config from the SLZB-06 Zigbee2Mqtt section but it still fails with the same error on startup:

enabled: true
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
permit_join: true
mqtt:
server: mqtt://core-mosquitto:1883
serial:
port: tcp://192.168.88.142:6638
baudrate: 115200
adapter: zstack
disable_led: false
advanced:
transmit_power: 20

[2025-02-01 12:49:11] ^[[32minfo^[[39m: zh:adapter:discovery: Matched adapter: {“path”:“/dev/ttyUSB0”,“manufacturer”:“SMLIGHT”,“serialNumber”:“a678e27d228bef119a212bccef8776e9”,“pnpId”:“usb-SMLIGHT_SMLIGHT_SLZB-06_a678e27d228bef119a212bccef8776e9-if00-port0”,“vendorId”:“10c4”,“productId”:“ea60”} => ember: path=/dev/ttyUSB0, score=2
[2025-02-01 12:49:11] ^[[32minfo^[[39m: zh:ember: Using default stack config.
[2025-02-01 12:49:11] ^[[32minfo^[[39m: zh:ember: ======== Ember Adapter Starting ========
[2025-02-01 12:49:11] ^[[32minfo^[[39m: zh:ember:ezsp: ======== EZSP starting ========
[2025-02-01 12:49:11] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-01 12:49:11] ^[[32minfo^[[39m: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2025-02-01 12:49:11] ^[[32minfo^[[39m: zh:ember:uart:ash: Serial port opened
[2025-02-01 12:49:11] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-01 12:49:13] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-01 12:49:13] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-01 12:49:16] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-01 12:49:16] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-01 12:49:18] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-01 12:49:18] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-01 12:49:21] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-01 12:49:21] ^[[32minfo^[[39m: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-01 12:49:23] ^[[31merror^[[39m: z2m: Error while starting zigbee-herdsman
[2025-02-01 12:49:23] ^[[31merror^[[39m: z2m: Failed to start zigbee-herdsman
[2025-02-01 12:49:23] ^[[31merror^[[39m: z2m: Check Zigbee2MQTT fails to start/crashes runtime | Zigbee2MQTT for possible solutions
[2025-02-01 12:49:23] ^[[31merror^[[39m: z2m: Exiting…
[2025-02-01 12:49:24] ^[[31merror^[[39m: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.

You cannot use the same SLZB for both ZHA and Z2M at the same time. You need to choose one.

Also it seems it is trying to start up with the wrong adapter: from the logs. You need to check the /zigbee2mqtt/configuration.yaml, not the config on the add-on.

thanks again. Yes I think I’m just confused about stuff as this is the first time I’ve used HA. I have the Zigbee Home Automation working in Devices & Services. It can see the SLZB-06. So presumably I don’t need the Mosquitto broker and Zigbee2MQTT add-ons?

Can I just delete the Mosquitto broker and Zigbee2MQTT add-ons and go with the Zigbee Home Automation in Devices & settings?

There is an auto-detected " SLZB-06 SMLIGHT SLZB", detected at the same time as ZHA but I haven’t enabled that. Is that ignorable?

Yes, definitely you can do that if it is up and running in ZHA you are good to start using it and remove Z2M and the MQTT Broker.

Thanks for your help, it got me there in the end. Just a small Q left. There is an auto-detected “SLZB-06 SMLIGHT SLZB”, detected at the same time as ZHA but I haven’t enabled that. Is that ignorable?

That is the integration for the SLZB-06 itself, to get data like temperature and so on. I don’t use it my self since I’ve heard that it has some issues that can lead to the GUI on the SLZB to freeze. You are safe to ignore it if you like.