localhost./coremosquitto/broker on ip settings.
I changed port to : /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
still no succes
Login section on mosquitto add-on was empty.
I added the username and password same as the mqtt
and made a restart of haos
I get still the same errors on log.
Hi i changed ip to core-mosquitto:1883 again but when i did i realised that i had just one “/” after the “:”
so i added “/”
now it is mqtt://core-mosquitto:1883 instead of mqtt:/core-mosquitto:1883
I tried to connect device to mqtt but i got error message " SRSP - AF - dataRequest after 6000ms"
I replugged te usb and restarted the HAOS
Now it doesnt work anymore:
I assume there is someting wrong with usb hub or device
This is my log now:
[12:03:12] INFO: Preparing to start...
[12:03:13] INFO: Socat not enabled
[12:03:15] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-04-03 12:03:20: Logging to console and directory: '/config/zigbee2mqtt/log/2023-04-03.12-03-20' filename: log.txt
Zigbee2MQTT:info 2023-04-03 12:03:20: Starting Zigbee2MQTT version 1.30.3 (commit #unknown)
Zigbee2MQTT:info 2023-04-03 12:03:20: Starting zigbee-herdsman (0.14.103)
Zigbee2MQTT:error 2023-04-03 12:03:21: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-04-03 12:03:21: Failed to start zigbee
Zigbee2MQTT:error 2023-04-03 12:03:21: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-04-03 12:03:21: Exiting...
Zigbee2MQTT:error 2023-04-03 12:03:21: Error: Error while opening serialport 'Error: Error: Resource busy, cannot open /dev/ttyUSB0'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:76:22)
at /app/node_modules/@serialport/stream/dist/index.js:112:18
I have this at times too. the ports seem somewhat wide for the antennas and depending on how you put it in, it doesn´t connect well. I recommend extracting it, putting it back into the right port properly and even a restart of all HA would help.
You can see under hardware if the USB device is visible.
It works sometimes. Now it works.
I want to pair. I get this error : SRSP - ZDO - mgmtPermitJoinReq after 6000ms
If i restart sometimes it gets in pairing mode. If i click again it gets error.
I changed the usb hub and made a restart still no succes. SRSP - ZDO - mgmtPermitJoinReq after 6000ms on google many says i need to do a firmware update.
Home assistant is not simple to work with.
Updating firmware unfortunately doesn´t have anything to do with Home assistant. If you´re adding a custom antenna, then yes, firmware updates can be not as straight forward. As alternative you can choose commercial hubs and you integrate with those.
Not sure what stick you have but in Zigbee2Mqtt there is documentation on firmware updates and how to do that: Supported Adapters | Zigbee2MQTT
Hope this helps! once you have it working, it´ll be worth it and if you dig a bit you´ll learn useful stuff. We´ve all been there! Hang in there!
Hi René
Thanks for your support. I updated the firmwire to newest one.
Sadly it freeze for a moment with “Starting zigbee-herdsman (0.14.103)”
Then i get this error:
[11:34:37] INFO: Socat not enabled
[11:34:39] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-04-09 11:34:44: Logging to console and directory: '/config/zigbee2mqtt/log/2023-04-09.11-34-44' filename: log.txt
Zigbee2MQTT:info 2023-04-09 11:34:44: Starting Zigbee2MQTT version 1.30.3 (commit #unknown)
Zigbee2MQTT:info 2023-04-09 11:34:44: Starting zigbee-herdsman (0.14.103)
Zigbee2MQTT:error 2023-04-09 11:35:04: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-04-09 11:35:04: Failed to start zigbee
Zigbee2MQTT:error 2023-04-09 11:35:04: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-04-09 11:35:04: Exiting...
Zigbee2MQTT:error 2023-04-09 11:35:04: 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:103:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)
Reflashed. I used “CC1352P2_CC2652P_launchpad_coordinator_20221226.hex”
i reinstalled everything.
Pushed reset button. I switched usb port.
Search for hours on internet for solution.
Ok. Need a bit more info. This error could be related to not having the right firmware.
What stick do you have? Can you share some details?
You have to ensure you choose the right firmware and ensure you choose the coordinator one, not router.
Firmware i used:
“CC1352P2_CC2652P_launchpad_coordinator_20221226.hex” Coordinator
I used program: Flash Programmer 2
First i made sure it got in bootloader.
René it works now!! And without problem, I added the device I wanted to.
It seems after all firmware update did solved the problem with adding device but in between I added plugin deCONZ for alternative way of connecting device.
But I didn’t switched off. So after firmware update it didn’t start because of deConz.
I switched off deConz and immediately it worked!! I also added device without problem :DD:DDDDDD
I appreciate your help en support!
I can not remember if I have flashed my dongle or not. I started with this install HAOS on an micro PC for work a year ago - got stuck and stopped. Now I am trying to get going again.
Log files
[13:01:23] INFO: Preparing to start…
[13:01:24] INFO: Socat not enabled
[13:01:24] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:info 2024-03-18 13:01:25: Logging to console and directory: ‘/config/zigbee2mqtt/log/2024-03-18.13-01-25’ filename: log.txt
Zigbee2MQTT:info 2024-03-18 13:01:25: Starting Zigbee2MQTT version 1.36.0 (commit #unknown)
Zigbee2MQTT:info 2024-03-18 13:01:25: Starting zigbee-herdsman (0.35.1)
Zigbee2MQTT:info 2024-03-18 13:01:26: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2024-03-18 13:01:26: Coordinator firmware version: ‘{“meta”:{“maintrel”:1,“majorrel”:2,“minorrel”:7,“product”:1,“revision”:20210708,“transportrev”:2},“type”:“zStack3x0”}’
Zigbee2MQTT:info 2024-03-18 13:01:26: Currently 0 devices are joined:
Zigbee2MQTT:info 2024-03-18 13:01:26: Zigbee: disabling joining new devices.
Zigbee2MQTT:info 2024-03-18 13:01:26: Connecting to MQTT server at mqtt://192.168.1.102:1883
Zigbee2MQTT:error 2024-03-18 13:01:29: MQTT error: connect EHOSTUNREACH 192.168.1.102:1883
Zigbee2MQTT:error 2024-03-18 13:01:29: MQTT failed to connect, exiting…
Zigbee2MQTT:info 2024-03-18 13:01:29: Stopping zigbee-herdsman…
Zigbee2MQTT:error 2024-03-18 13:01:32: MQTT error: connect EHOSTUNREACH 192.168.1.102:1883
Zigbee2MQTT:error 2024-03-18 13:01:35: MQTT error: connect EHOSTUNREACH 192.168.1.102:1883
Zigbee2MQTT:info 2024-03-18 13:01:36: Stopped zigbee-herdsman