Help with zigbee2qmtt smlight-06

Ok so I tried a lot of things to make my smlight-06 on z2m.
I had a skyconnect on normal zha and I tried to migrate it to the new dongle but did not work, so I deleted the ZHA and tried setting up Z2m. I looked everywhere on all the guides I could find and I ran out of ideas.
This is the error that I get.
[2024-12-06 12:14:07] error: z2m: Error while starting zigbee-herdsman
[2024-12-06 12:14:07] error: z2m: Failed to start zigbee
[2024-12-06 12:14:07] error: z2m: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
[2024-12-06 12:14:07] error: z2m: Exiting…
[2024-12-06 12:14:07] 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:113:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:137:29)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:161:27)
at start (/app/index.js:154:5)

And this is my configuration on the zigbee2qmtt:
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:
server: mqtt://core-mosquitto:1883
base_topic: zigbee2mqtt
user: mqtt_user
password: password

Serial:
port: /dev/ttyUSB1
baudrate: 115200
adapter: zstack

From a quick google, this needs to be ezsp (or ember, but see SLZB-06M, ember driver, z2m doesn't start · Issue #23120 · Koenkk/zigbee2mqtt · GitHub)

ok but i put that because the chip is texas instruments

[2024-12-06 13:07:53] warning: zh:ezsp: ‘ezsp’ driver is deprecated and will only remain to provide support for older firmware (pre 7.4.x). Migration to ‘ember’ is recommended. If using Zigbee2MQTT see Improved Ember (EZSP) driver (experimental) · Koenkk/zigbee2mqtt · Discussion #21462 · GitHub
[2024-12-06 13:08:03] error: zh:ezsp:uart: → Error: Error: {sequence:-1} after 10000ms
[2024-12-06 13:08:03] error: zh:ezsp:ezsp: Connection attempt 1 error: Error: Failure to connect
[2024-12-06 13:08:18] error: zh:ezsp:uart: → Error: Error: {sequence:-1} after 10000ms
[2024-12-06 13:08:18] error: zh:ezsp:ezsp: Connection attempt 2 error: Error: Failure to connect

I got this error with ezsp

same error as before with ember

Did you go into the dongle settings and change it to USB?
I think it uses ethernet by default.

And use serial by id instead of dev/ttyUSB1

ls -l /dev/serial/by-id

I do not get the herdsman error now, but I get this instead.

[13:31:10] INFO: Preparing to start…

[13:31:10] INFO: Socat not enabled

[13:31:10] INFO: Starting Zigbee2MQTT…

Starting Zigbee2MQTT without watchdog.

[2024-12-06 13:31:16] info: z2m: Logging to console, file (filename: log.log)

[2024-12-06 13:31:16] info: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #unknown)

[2024-12-06 13:31:16] info: z2m: Starting zigbee-herdsman (2.1.9)

[2024-12-06 13:31:17] info: zh:zstack:znp: Opening SerialPort with {“path”:“/dev/serial/by-id/usb-SMLIGHT_SMLIGHT_SLZB-06_cc4963796f72ed11b8d726f3fdf7b791-if00-port0”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}

[2024-12-06 13:31:17] info: zh:zstack:znp: Serialport opened

[2024-12-06 13:31:17] info: z2m: zigbee-herdsman started (resumed)

[2024-12-06 13:31:17] info: z2m: Coordinator firmware version: ‘{“meta”:{“maintrel”:1,“majorrel”:2,“minorrel”:7,“product”:1,“revision”:20240315,“transportrev”:2},“type”:“zStack3x0”}’

[2024-12-06 13:31:17] info: z2m: Currently 0 devices are joined.

[2024-12-06 13:31:17] info: z2m: Zigbee: disabling joining new devices.

[2024-12-06 13:31:17] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883

[2024-12-06 13:31:17] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:17] error: z2m: MQTT failed to connect, exiting… (Connection refused: Not authorized)

[2024-12-06 13:31:17] info: z2m: Stopping zigbee-herdsman…

[2024-12-06 13:31:18] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:19] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:20] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:21] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:22] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:23] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:24] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:25] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:27] error: z2m: MQTT error: Connection refused: Not authorized

[2024-12-06 13:31:27] info: zh:controller: Wrote coordinator backup to ‘/config/zigbee2mqtt/coordinator_backup.json’

[2024-12-06 13:31:27] info: zh:zstack:znp: closing

[2024-12-06 13:31:27] info: zh:zstack:znp: Port closed

[2024-12-06 13:31:27] info: z2m: Stopped zigbee-herdsman

Well, it seems your user/password are incorrect, aren’t they?

1 Like

indeed but I do not understand why because I did triple checked

Did you go into the dongle settings and change it to USB?
I think it uses ethernet by default.

And use serial by id instead of dev/ttyUSB1

ls -l /dev/serial/by-id

this helped and for mqtt user and password had to be without the dash “-”