also not working, allways the same
maybe my stick is broken?
maybe a problem with the zigbee2mqtt version?
but i donāt know how to install an older one
also not working, allways the same
maybe my stick is broken?
maybe a problem with the zigbee2mqtt version?
but i donāt know how to install an older one
Cannot lock port : something else is using the port, probably ZHA. Disable or remove ZHA. Or the OT Border router if you donāt have a OT Border router stick.
there are still two esp32 connected, but it doesnāt work without them either
ESP32 wonāt interfere with your Zigbee stick. Check also if you donāt have the multi-protocol add-on installed. if so, remove it
Now I did a restart, and it it seems to work.
Thank you for help
Also having problems with Zigbee2MQTT, what could be wrong? Using HA on a Raspberry Pi 5.
The YAML-code in the Zigbee2MQTT add-on:
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://192.168.0.***:1883
user: ****
password: ***
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_60a9c654bd8ded11804a02f6b86ce6f8-if00-port-0d
adapter: zstack
zigbee_herdsman_debug: true
The YAML-code in the HA System:
What does the Zigbee2mqtt log say?
Its up and running now. Just how to find out how to add devices
I am getting a very similar issue as a lot of people, but it is getting past the initial loading of the zigbee-herdsman that most were having and then failing after opening the serial port, while starting the zigbee-herdsman
Iām running HA on a NUC and have the Sonoff plus dongle
error log and configuration shown below,
[19:13:25] INFO: Preparing to start...
[19:13:25] INFO: Socat not enabled
[19:13:26] INFO: Starting Zigbee2MQTT...
[2024-07-01 19:13:29] info: z2m: Logging to console, file (filename: log.log)
[2024-07-01 19:13:29] info: z2m: Starting Zigbee2MQTT version 1.38.0 (commit #unknown)
[2024-07-01 19:13:29] info: z2m: Starting zigbee-herdsman (0.49.2)
[2024-07-01 19:13:30] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyACM0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-07-01 19:13:30] info: zh:zstack:znp: Serialport opened
[2024-07-01 19:13:30] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2024-07-01 19:13:31] info: zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2024-07-01 19:13:50] error: z2m: Error while starting zigbee-herdsman
[2024-07-01 19:13:50] error: z2m: Failed to start zigbee
[2024-07-01 19:13:50] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-01 19:13:50] error: z2m: Exiting...
[2024-07-01 19:13:50] 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:101:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:62:27)
at Controller.start (/app/lib/controller.ts:109:27)
at start (/app/index.js:107:5)
Your problem is that you need to add
adapter: ezsp
in the serial
box
Though you probably instead want to update the firmware to 7.4.x so you can use ember
: EmberZNet adapters (Silicon Labs) | Zigbee2MQTT
thanks for your reply Tinkerer,
I have already tried having adapter: ezsp, which returns a different error
Iāll have a look at updating the firmware
I followed the recommended firmware for the Sonoff ZBDongle-E (V2 model, EFR32MG21), which is: ncp-uart-hw-v7.4.1.0-zbdonglee-115200. I installed it using the Silabs Firmware Flasher, and everything was fine up to this point. I connected it to the Raspberry Pi, and initially, it updated the data for the two Aqara humidity sensors twice, but then it stopped. This keeps happening repeatedly; it loses communication and is not stable at all.
Here are the logs:
[16:38:50] INFO: Preparing to start...
[16:38:50] INFO: Socat not enabled
[16:38:52] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-18 16:38:59] error: zh:ember:uart:ash: Failed to init port with error Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230324194158-if00
[2024-07-18 16:38:59] error: z2m: Error while starting zigbee-herdsman
[2024-07-18 16:38:59] error: z2m: Failed to start zigbee
[2024-07-18 16:38:59] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-18 16:38:59] error: z2m: Exiting...
[2024-07-18 16:38:59] 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:889:19)
at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2722:24)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129: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)
[16:39:00] INFO: Preparing to start...
[16:39:01] INFO: Socat not enabled
[16:39:03] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-18 16:39:09] error: zh:ember:uart:ash: Failed to init port with error Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230324194158-if00
[2024-07-18 16:39:09] error: z2m: Error while starting zigbee-herdsman
[2024-07-18 16:39:09] error: z2m: Failed to start zigbee
[2024-07-18 16:39:09] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-18 16:39:09] error: z2m: Exiting...
[2024-07-18 16:39:09] 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:889:19)
at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2722:24)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129: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)
[16:49:15] INFO: Preparing to start...
[16:49:15] INFO: Socat not enabled
[16:49:17] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-18 16:50:14] error: z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:15] error: z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:16] error: z2m: Not connected to MQTT server!
[2024-07-18 16:50:16] error: z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:18] error: z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:19] error: z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:20] error: z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[16:51:19] INFO: Preparing to start...
[16:51:20] INFO: Socat not enabled
[16:51:22] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[17:04:34] INFO: Preparing to start...
[17:04:35] INFO: Socat not enabled
[17:04:37] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
setup:
See in comparison with a Xiaomi Bluetooth sensor how unstable the two Aqara Zigbee sensors are. They only refreshed 3 times.
I should mention that I was getting these errors when the server was set to mqtt://core-mosquitto:1883
. Despite the errors, it had updated the sensorsā data twice before stopping. When I used my IP address, it just stayed at āStarting Zigbee2MQTT without watchdog,ā but it only updated the sensorsā data once and then did nothing more.
All I want is to get the temperature data every 3 minutes. Is it that difficult?
Specs:
Home Assistant
Raspberry pi 4 64 bit
Didnāt scroll through the whole topic now, but I had the exact same problem. After pluging in the stick I installed the zha device. That was my problem. I deleted it again and then the error was gone and it started.
logged in just to say i love you
I have a working ZHA instance using a USB dongle, silicon chpset, version E (not the most recent one, the P).
I got a skyconnect and added it on the same system, it is recognised as hardware.
I want to run M2Q on it. However I am stuck at the same place
[19:22:15] INFO: Preparing to startā¦
[19:22:15] INFO: Socat not enabled
[19:22:17] INFO: Starting Zigbee2MQTTā¦
Starting Zigbee2MQTT without watchdog.
[2024-10-07 19:22:23] info: z2m: Logging to console, file (filename: log.log)
[2024-10-07 19:22:23] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown)
[2024-10-07 19:22:23] info: z2m: Starting zigbee-herdsman (2.1.3)
[2024-10-07 19:22:23] error: zh:zstack:znp: Failed to determine if path is valid: āError: ENOENT: no such file or directory, lstat ā/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_92d24785fce1ed11ba01f25162c613ac-if00-port0 rtscts: trueāā
[2024-10-07 19:22:23] info: zh:zstack:znp: Opening SerialPort with {āpathā:ā/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_92d24785fce1ed11ba01f25162c613ac-if00-port0 rtscts: trueā,ābaudRateā:115200,ārtsctsā:false,āautoOpenā:false}
[2024-10-07 19:22:23] error: z2m: Error while starting zigbee-herdsman
[2024-10-07 19:22:23] error: z2m: Failed to start zigbee
[2024-10-07 19:22:23] error: z2m: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
[2024-10-07 19:22:23] error: z2m: Exitingā¦
[2024-10-07 19:22:23] error: z2m: Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_92d24785fce1ed11ba01f25162c613ac-if00-port0 rtscts: true
any ideas how to fix that in my specific case?
I tried generic advice I picked in fora as much as I could, to no result
So, whoever had this issue, go and check the config file (/homeassistant/zigbee2mqtt/configuration.yaml) with file explorer/vscode extention.
It looks like for some reason, configuration entered in the plugin UI is not actually saved in config file, thus it keeps failing because it constantly starts with wrong/initial configuration.
At least thats what happened in my case.
Š”ŠæŠ°ŃŠøŠ±Š¾, ŠæŠ¾Š¼Š¾Š³Š»Š¾!
It works, only
[2024-11-03 10:20:30] 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