I also tried ember as instructed by the deprecation warning, but that also resulted in errors. The mqtt I didnāt fill in because the tutorial said: If you donāt use the mosquito broker addon, fill in the mqtt. I am using the Mosquito broker addon, so I skipped that. I also donāt have any url, port and password info to fill in there. I expect that to be handled by the addon
I found out where this information was: settings / devices and services / mqtt / config / reconfigure.
I now also added the mqtt to the configuration, including the password I found in the MQTT configuration (which I replaced here in the forum with [MASKED] like in the other example)
I also changed ezsp to ember. Now I get this error message. Seems like it still want to do something with ezsp.
[21:58:58] INFO: Preparing to start...
[21:58:58] INFO: Socat not enabled
[21:59:00] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-10-03 21:59:06] info: z2m: Logging to console, file (filename: log.log)
[2024-10-03 21:59:06] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown)
[2024-10-03 21:59:06] info: z2m: Starting zigbee-herdsman (2.1.3)
[2024-10-03 21:59:06] info: zh:ember: Using default stack config.
[2024-10-03 21:59:06] info: zh:ember: ======== Ember Adapter Starting ========
[2024-10-03 21:59:06] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-10-03 21:59:06] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-10-03 21:59:06] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-10-03 21:59:06] info: zh:ember:uart:ash: Serial port opened
[2024-10-03 21:59:06] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-10-03 21:59:09] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-10-03 21:59:09] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-10-03 21:59:11] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-10-03 21:59:11] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-10-03 21:59:14] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-10-03 21:59:14] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-10-03 21:59:16] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-10-03 21:59:16] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-10-03 21:59:19] error: z2m: Error while starting zigbee-herdsman
[2024-10-03 21:59:19] error: z2m: Failed to start zigbee
[2024-10-03 21:59:19] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-10-03 21:59:19] error: z2m: Exiting...
[2024-10-03 21:59:19] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:684:19)
at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1583:24)
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)
this is my current config:
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-mosquito:1883
user: homeassistant
password: [MASKED]
serial:
port: /dev/ttyACM0
adapter: ember
ā edited ā
I found another youtube tutorial of someone that said that if you have a conbee stick, you need to fill in adapter: deconz
I also tried that, but this gives me:
[22:11:10] INFO: Preparing to start...
[22:11:11] INFO: Socat not enabled
[22:11:12] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-10-03 22:11:18] info: z2m: Logging to console, file (filename: log.log)
[2024-10-03 22:11:18] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown)
[2024-10-03 22:11:18] info: z2m: Starting zigbee-herdsman (2.1.3)
[2024-10-03 22:11:28] error: z2m: Error while starting zigbee-herdsman
[2024-10-03 22:11:28] error: z2m: Failed to start zigbee
[2024-10-03 22:11:28] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-10-03 22:11:28] error: z2m: Exiting...
[2024-10-03 22:11:29] error: z2m: Error: TIMEOUT
at Driver.processBusyQueue (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:515:28)
at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:168:40)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
āeditedā
I now got as far as that I needed to install another addon called deCONZ. Now my log output is as follows:
[22:54:03] INFO: Preparing to start...
[22:54:03] INFO: Socat not enabled
[22:54:05] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-10-03 22:54:11] info: z2m: Logging to console, file (filename: log.log)
[2024-10-03 22:54:11] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown)
[2024-10-03 22:54:11] info: z2m: Starting zigbee-herdsman (2.1.3)
[2024-10-03 22:54:11] error: z2m: Error while starting zigbee-herdsman
[2024-10-03 22:54:11] error: z2m: Failed to start zigbee
[2024-10-03 22:54:11] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-10-03 22:54:11] error: z2m: Exiting...
[2024-10-03 22:54:11] error: z2m: Error: Error while opening serialport 'Error: Error: Resource busy, cannot open /dev/ttyACM0'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:225:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
It looks like it can not open /dev/ttyACM0
Resource busyā¦ that is like it is already doing somethingā¦
I trired rebooting the raspberry Pi 4, and I also tried to change the serial port name to:
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2692170-if00
which is the name I found in the config of deCONZ. But the result remained the same.
ā edit ā
Hmm, maybe the deCONZ wasnāt needed at all. Seems like that is a whole different way to add the zigbee devices. I NOw found out I can already add my devices to the conbee II, but still the Zigbee2MQTT is not working.