SLZB-06 LAN, Error while starting zigbee-herdsman

Running haos
ha: 2024.6.4
supervisor: 2024.6.0
SLZB-06 is currently on firmware: 0.9.9 (but I tried each one)
I tried both stable and edge versions of Z2M
i try to fresh install my SLZB-06 and I always get this in the log:

[11:09:25] INFO: Preparing to start...
[11:09:25] INFO: Socat not enabled
[11:09:26] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-06-23 11:09:28] info: 	z2m: Logging to console, file (filename: log.log)
[2024-06-23 11:09:28] info: 	z2m: Starting Zigbee2MQTT version 1.38.0-dev (commit #ee42d68)
[2024-06-23 11:09:28] info: 	z2m: Starting zigbee-herdsman (0.50.0)
[2024-06-23 11:09:28] info: 	zh:zstack:znp: Opening TCP socket with 192.168.1.xx:6638
[2024-06-23 11:09:28] info: 	zh:zstack:znp: Socket connected
[2024-06-23 11:09:28] info: 	zh:zstack:znp: Socket ready
[2024-06-23 11:09:28] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2024-06-23 11:09:29] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2024-06-23 11:10:33] error: 	z2m: Error while starting zigbee-herdsman
[2024-06-23 11:10:33] error: 	z2m: Failed to start zigbee
[2024-06-23 11:10:33] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-06-23 11:10:33] error: 	z2m: Exiting...
[2024-06-23 11:10:33] error: 	z2m: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
    at ZnpAdapterManager.beginCommissioning (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:341:23)
    at ZnpAdapterManager.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:86:17)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129:29)
    at Zigbee.start (/app/lib/zigbee.ts:61:27)
    at Controller.start (/app/lib/controller.ts:110:27)
    at start (/app/index.js:154:5)

my config file

devices:
  - devices.yaml
groups:
  - groups.yaml
homeassistant: true
permit_join: false
advanced:
  transmit_power: 20
  network_key: GENERATE
  pan_id: GEENRATE
  ext_pan_id: GENERATE
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://core-mosquitto:1883
  user: addons
  password: [redacted]
serial:
  port: tcp://192.168.1.xx:6638
  baudrate: 115200
  adapter: zstack
  disable_led: false
frontend:
  port: 8099

it just does not start
I have no idea why

weirdly it seems like it is working on DHCP and not on Static IP
I will test a bit more

1 Like

Bonjour, j’ai pb similaire, vous avez trouvĂ© une solution ?

I had SONOFF ZBDONGLE-E before and changed to SLB-06 but I have the same situation as above. Has anyone solved the problem?

SOLVED: I flashed the 20221226 zigbee firmware and power cycled the thing. Then everything fell into place. And of course unplugged my old SONOFF


I have the exact same problem. I don’t have a ton of devices so I have even tried uninstalling Z2M and reinstalling it. All in vain. My SONOFF dongle and an innr plug/router is disconnected so I think I have tried everything.

1 Like

I had the same issue, and this solution fixed my issue! thanks!!

thanks, i had a similar issue, could not open socket. due to your comment, i changed from a hardcoded IP to the mdns name

port: tcp://slzb06.local:6638

and it now works stable for over 30 minutes (before, it would crash after a minute)

edit: nevermind, crashed again after 1hr

I had the same problem and the solution, which worked for me is described on the SLZB Control Panel, under the Z2M and ZHA menu. As it says by Zigbee2MQTT:
“# Pay attention, if you use the Z2M addon for HA, it is better to edit Z2M addon yaml configuration file directly (Select the 3 dot menu in the upper right corner → “Edit in YAML”)”

This worked for me.

1 Like

I got stuck with an Error while starting zigbee-herdsma in the Log of my Zigbee2MQTT add-on because I had used the Copy to clipboard button from the SLZB-06M control panel to paste the given code to the Configuration tab (serial textarea) of the Z2M add-on in UI view and I hadn’t noticed that I had ended up with 2 nested serial: nodes in the yaml until I switched to YAML mode! (with the 3 dots like they suggest)
Very vicious :grimacing:

Final working configuration:

thanks, it works. It was the same issue with the SLZB-06 , and was solved by adding the serial: notes to the configuration. Very annoying the latest update for Z2M
 ((

anyone happen to know how to get it to work via mdns? i can ping and resolve with avahi from other machines but the add-on simply won’t find it.

In the control panel, on the SLZB-06, I pressed Read current IEEE and copied the address that appeared from there and cop
ied it to Flash custom IEEE address but it doesn’t work anymore Z2M. I tried many things including a flash by connecting to a USB computer. But it still doesn’t work. Please Help!



slzb3

Solved
I took the IEEE address from an older backup, modified it in the coordinator, restored the system and finally managed to solve it. Unfortunately, my devices disappeared from Z2M but I will add them again. Thanks everyone!

Try this:

Ah man, you saved from pulling my hair out thanks! - Im very new to Z2M via the SLZB-06. I had config a lot of devices, and worked very well. Then after a reboot of HA, I could not start Z2M - as this post is old. Are you still on the same firmware update, have you update, any issues with Z2M?

So, my challenge is: where is the Z2M addon yaml configuration found, or is it something different entirely if Home Assistant is in one Docker container and zigbee2mqtt is running in another docker container (as I have in my setup, with homeassistant, musicassistant, eclipse-mosquitto, and koenkk/zigbee2mqtt containers running on my system?)

My challenge seems to be similar, zigbee2mqtt has no problems communicating with my SLZB-06 at an IP address or mdns name, but zigbee-herdsman fails to start:

[2025-06-24 21:03:49] info: 	z2m: Logging to console, file (filename: log.log)
[2025-06-24 21:03:49] info: 	z2m: Starting Zigbee2MQTT version 2.4.0 (commit #bdb94da46e0461337f4a61b4f2a6bfa5172f608f
)
[2025-06-24 21:03:49] info: 	z2m: Starting zigbee-herdsman (4.1.0)
[2025-06-24 21:03:49] info: 	zh:zstack:znp: Opening TCP socket with slzb-06-wifi:6638
[2025-06-24 21:03:49] info: 	zh:zstack:znp: Socket connected
[2025-06-24 21:03:49] info: 	zh:zstack:znp: Socket ready
[2025-06-24 21:03:49] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-06-24 21:03:50] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-06-24 21:04:08] error: 	z2m: Error while starting zigbee-herdsman
[2025-06-24 21:04:08] error: 	z2m: Failed to start zigbee-herdsman
[2025-06-24 21:04:08] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-06-24 21:04:08] error: 	z2m: Exiting...
[2025-06-24 21:04:08] error: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:114:27)
    at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:133:29)
    at Zigbee.start (/app/lib/zigbee.ts:71:27)
    at Controller.start (/app/lib/controller.ts:102:13)
    at start (/app/index.js:149:5)

Firmware is up to date, all components recently restarted
 just not getting herdsman happy with my configuration somehow?

Possibly relevant: I have an ethernet connected SLZB-06M acting as Zigbee Coordinator, and the SLZB-06 is WiFi connected, USB powered, and configured as a Zigbee Router??

You are using the SLZB-06M as the coordinator, but the logs show you connecting to the SLZB-06-wifi which you said was in router mode.

Opening TCP socket with slzb-06-wifi:6638

The second SLZB in router mode will be added via Z2M once the coordinator is up and running.

O.K. so, I have tried a lot of things
 the SLZB-06M operating in zigbee coordinator mode wants (according to the zigbee2mqtt configuration frontend) to connect with ember protocol instead of zstack - so it gives a different fail message:


[2025-06-24 21:43:58] info: 	z2m: Logging to console, file (filename: log.log)
[2025-06-24 21:43:59] info: 	z2m: Starting Zigbee2MQTT version 2.4.0 (commit #bdb94da46e0461337f4a61b4f2a6bfa5172f608f
)
[2025-06-24 21:43:59] info: 	z2m: Starting zigbee-herdsman (4.1.0)
[2025-06-24 21:43:59] info: 	zh:ember: Using default stack config.
[2025-06-24 21:43:59] info: 	zh:ember: ======== Ember Adapter Starting ========
[2025-06-24 21:43:59] info: 	zh:ember:ezsp: ======== EZSP starting ========
[2025-06-24 21:43:59] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-06-24 21:43:59] info: 	zh:ember:uart:ash: Socket ready
[2025-06-24 21:43:59] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-06-24 21:43:59] error: 	zh:ember:uart:ash: Port Error: read ECONNRESET
[2025-06-24 21:43:59] info: 	zh:ember:uart:ash: Port closed.
[2025-06-24 21:44:01] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-06-24 21:44:01] info: 	zh:ember:uart:ash: Socket ready
[2025-06-24 21:44:01] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-06-24 21:44:02] error: 	zh:ember:uart:ash: Port Error: read ECONNRESET
[2025-06-24 21:44:02] info: 	zh:ember:uart:ash: Port closed.
[2025-06-24 21:44:04] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-06-24 21:44:04] info: 	zh:ember:uart:ash: Socket ready
[2025-06-24 21:44:04] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-06-24 21:44:05] error: 	zh:ember:uart:ash: Port Error: read ECONNRESET
[2025-06-24 21:44:05] info: 	zh:ember:uart:ash: Port closed.
[2025-06-24 21:44:06] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-06-24 21:44:06] info: 	zh:ember:uart:ash: Socket ready
[2025-06-24 21:44:06] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-06-24 21:44:06] error: 	zh:ember:uart:ash: Port Error: read ECONNRESET
[2025-06-24 21:44:06] info: 	zh:ember:uart:ash: Port closed.
[2025-06-24 21:44:09] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-06-24 21:44:09] info: 	zh:ember:uart:ash: Socket ready
[2025-06-24 21:44:09] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-06-24 21:44:09] error: 	zh:ember:uart:ash: Port Error: read ECONNRESET
[2025-06-24 21:44:09] info: 	zh:ember:uart:ash: Port closed.
[2025-06-24 21:44:11] error: 	z2m: Error while starting zigbee-herdsman
[2025-06-24 21:44:11] error: 	z2m: Failed to start zigbee-herdsman
[2025-06-24 21:44:11] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-06-24 21:44:11] error: 	z2m: Exiting...
[2025-06-24 21:44:11] 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:1548:24)
    at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:133:29)
    at Zigbee.start (/app/lib/zigbee.ts:71:27)
    at Controller.start (/app/lib/controller.ts:102:13)
    at start (/app/index.js:149:5)

There is this: Added paragraph on network adapters to troubleshooting guide (#3439) · Koenkk/zigbee2mqtt.io@3033f2b · GitHub casting aspersions on the network connector stability (the zigbee2mqtt container is running on a Rasberry Pi 5 with the 45W 5.1V USB power adapter, it has never showed any network stability issues, and it’s wired into the same switch that the SLZB-06M is connected to.)

Not sure what else I can try


Just to make sure, you do have a mosquitto broker installed in HA? If yes:

My advice would be to swap the device roles. Make the SLZB-06 the coordinator connected via ethernet and the M as the router.

I have two SLZB-06s and 1 M. The Ms can be really finicking in my opinion.

Start with one device(the coordinator) on your network.

Sharing your Z2M config will also help troubleshoot.

So, I have a eclipse-mosquitto server in a docker container alongside the homeassistant container. I am publishing various data to it, mostly CPU temperature readings once a minute from the various computers around the house using mosquitto_pub in simple scripts, and the MQTT integration in home assistant is handling that data nicely, so I know those components are working
 I’m pointing my zigbee2mqtt instance at that eclipse-mosquitto server with the same address/port that mosquitto_pub is using.

Where would I find my Z2M config to share it?

I got the 06M first, and it has been rock solid for all my ZHA stuff, I added the 06 as a router to get better signal to an out-building, which it is doing well, but is located away from wired ethernet access. I might try swapping them, but I’m not convinced I need zigbee2mqtt, I just thought I’d try it to see if I could get some additional data from some of my sensors.

Ok then best to stick with your current setup. I apologize, a few more questions:

  1. Is ZHA uninstalled?

  2. What version of HA are you using?

I assume you have HA file access. There should be a folder in your /config folder called zigbee2mqtt