Hello folks,
Stubborn Newbie here. My Mqtt and zigbee2mqtt are not properly connected.
When I was setting up Mosquito I created user, but later I decided to use default configuration on MQTT.
FACTS:
When MQTT works Zigbee2MQTT doesn’t and vice versa.
MQTT LOG:
2024-08-08 20:22:58: Client 0Dmri95yMrmlJc1NZSCppd closed its connection.
2024-08-08 20:23:29: New connection from 172.30.32.1:33275 on port 1883.
2024-08-08 20:23:29: New client connected from 172.30.32.1:33275 as 5xRI785YzxqUn8HSBr0LUA (p2, c1, k60, u’MYUSER’).
2024-08-08 20:24:07: Client mqttjs_13755899 disconnected.
2024-08-08 20:28:21: Saving in-memory database to /data//mosquitto.db.
2024-08-08 20:28:55: New connection from 172.30.33.1:35222 on port 1883.
2024-08-08 20:28:55: New client connected from 172.30.33.1:35222 as mqttjs_a654368c (p2, c1, k60, u’addons’).
2024-08-08 20:29:19: Client mqttjs_a654368c disconnected.
2024-08-08 20:29:43: New connection from 172.30.33.1:35482 on port 1883.
2024-08-08 20:29:43: New client connected from 172.30.33.1:35482 as mqttjs_881d1eaf (p2, c1, k60, u’addons’).
2024-08-08 20:30:21: Client mqttjs_881d1eaf disconnected.
2024-08-08 20:30:45: New connection from 172.30.33.1:44124 on port 1883.
2024-08-08 20:30:45: New client connected from 172.30.33.1:44124 as mqttjs_fb690e96 (p2, c1, k60, u’addons’).
2024-08-08 20:31:22: Client mqttjs_fb690e96 disconnected.
2024-08-08 20:31:46: New connection from 172.30.33.1:59818 on port 1883.
2024-08-08 20:31:46: New client connected from 172.30.33.1:59818 as mqttjs_ceb24911 (p2, c1, k60, u’addons’).
2024-08-08 20:33:14: Client mqttjs_ceb24911 disconnected.
2024-08-08 20:33:38: New connection from 172.30.33.1:34288 on port 1883.
2024-08-08 20:33:38: New client connected from 172.30.33.1:34288 as mqttjs_94ff0408 (p2, c1, k60, u’addons’).
2024-08-08 20:35:06: Client mqttjs_94ff0408 disconnected.
2024-08-08 20:35:30: New connection from 172.30.33.1:52514 on port 1883.
2024-08-08 20:35:30: New client connected from 172.30.33.1:52514 as mqttjs_ea4c7d5e (p2, c1, k60, u’addons’).
2024-08-08 20:36:58: Client mqttjs_ea4c7d5e disconnected.
2024-08-08 20:37:22: New connection from 172.30.33.1:48180 on port 1883.
2024-08-08 20:37:22: New client connected from 172.30.33.1:48180 as mqttjs_b91247f0 (p2, c1, k60, u’addons’).
2024-08-08 20:38:50: Client mqttjs_b91247f0 disconnected.
2024-08-08 20:58:22: Saving in-memory database to /data//mosquitto.db.
2024-08-08 21:10:29: Client 5xRI785YzxqUn8HSBr0LUA closed its connection.
2024-08-08 21:10:37: New connection from 172.30.33.1:33492 on port 1883.
2024-08-08 21:10:37: New client connected from 172.30.33.1:33492 as mqttjs_35710e74 (p2, c1, k60, u’addons’).
2024-08-08 21:11:00: New connection from 172.30.32.1:52505 on port 1883.
2024-08-08 21:11:00: New client connected from 172.30.32.1:52505 as 7B9GMiPqbJNlIacaBwWxhN (p2, c1, k60, u’,MYUSER’).
2024-08-08 21:11:34: Client mqttjs_35710e74 disconnected.
ZIGBEE2MQTT log:
at SerialDriver.emit (node:events:517:28)
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:344:22
at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:106:13)
at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:61:13)
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:17)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:176:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
[2024-08-08 21:32:05] error: zh:ezsp:uart: → Error: Error: {“sequence”:-1} after 10000ms
[2024-08-08 21:32:05] error: zh:ezsp:ezsp: Connection attempt 4 error: Error: Failure to connect
at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:341:19)
at SerialDriver.emit (node:events:517:28)
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:344:22
at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:106:13)
at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:61:13)
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:17)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:176:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
[2024-08-08 21:32:05] error: z2m: Error while starting zigbee-herdsman
[2024-08-08 21:32:05] error: z2m: Failed to start zigbee
[2024-08-08 21:32:05] error: z2m: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
[2024-08-08 21:32:05] error: z2m: Exiting…
[2024-08-08 21:32:05] error: z2m: Error: Failure to connect
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:364:19)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:176:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
at Controller.start (/app/lib/controller.ts:139:27)
at start (/app/index.js:154:5)
[21:37:20] INFO: Preparing to start…
[21:37:21] INFO: Socat not enabled
[21:37:26] INFO: Starting Zigbee2MQTT…
Starting Zigbee2MQTT without watchdog.
[2024-08-08 21:37:36] info: z2m: Logging to console, file (filename: log.log)
[2024-08-08 21:37:36] info: z2m: Starting Zigbee2MQTT version 1.39.1 (commit #unknown)
[2024-08-08 21:37:36] info: z2m: Starting zigbee-herdsman (0.55.3)
[2024-08-08 21:37:37] warning: zh:ezsp: Deprecated driver ‘ezsp’ currently in use, ‘ember’ will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see Improved Ember (EZSP) driver (experimental) · Koenkk/zigbee2mqtt · Discussion #21462 · GitHub
[2024-08-08 21:37:47] error: zh:ezsp:uart: → Error: Error: {“sequence”:-1} after 10000ms
[2024-08-08 21:37:47] error: zh:ezsp:ezsp: Connection attempt 1 error: Error: Failure to connect
at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:341:19)
at SerialDriver.emit (node:events:517:28)
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:344:22
at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:106:13)
at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:61:13)
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:17)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:176:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
[2024-08-08 21:38:02] error: zh:ezsp:uart: → Error: Error: {“sequence”:-1} after 10000ms
[2024-08-08 21:38:02] error: zh:ezsp:ezsp: Connection attempt 2 error: Error: Failure to connect
at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:341:19)
at SerialDriver.emit (node:events:517:28)
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:344:22
at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:106:13)
at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:61:13)
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:17)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:176:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
[2024-08-08 21:38:22] error: zh:ezsp:uart: → Error: Error: {“sequence”:-1} after 10000ms
[2024-08-08 21:38:22] error: zh:ezsp:ezsp: Connection attempt 3 error: Error: Failure to connect
at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:341:19)
at SerialDriver.emit (node:events:517:28)
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:344:22
at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:106:13)
at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:61:13)
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:17)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:176:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
[2024-08-08 21:38:47] error: zh:ezsp:uart: → Error: Error: {“sequence”:-1} after 10000ms
[2024-08-08 21:38:47] error: zh:ezsp:ezsp: Connection attempt 4 error: Error: Failure to connect
at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:341:19)
at SerialDriver.emit (node:events:517:28)
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:344:22
at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:106:13)
at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:61:13)
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:17)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:176:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
[2024-08-08 21:38:47] error: z2m: Error while starting zigbee-herdsman
[2024-08-08 21:38:47] error: z2m: Failed to start zigbee
[2024-08-08 21:38:47] error: z2m: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
[2024-08-08 21:38:47] error: z2m: Exiting…
[2024-08-08 21:38:47] error: z2m: Error: Failure to connect
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:364:19)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:176:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
at Controller.start (/app/lib/controller.ts:139:27)
Please guide me, what should I check and correct.