Issue with coordinator

hi,
i had sonoff coordinator working fine, but something happened and now zigbee2mqtt is failing to start…

Zigbee2MQTT:error 2022-05-26 11:02:04: Exiting...
Zigbee2MQTT:error 2022-05-26 11:02: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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:110:5)

even when i check devices

image

no idea whats that unkn device is?

thanks

https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#error-srsp-sys-ping-after-6000ms

@nickrout thats not the solution it was working and its stopped… to work.

also as far i remember before i deleted it from configuration it has entities… now when i re-add it

there is nothing .

Have you done this as it suggests? Linux | Zigbee2MQTT

sorry u are off the track.
i am not talking about zigbee2mqtt

i am talking that there is some issue to add Zigbee controller Inside Integation section.

device is added but no ENTITIES.

it seems its completely broken crap!


debug 2022-05-26 11:31:40: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_22ce4be9743bec119ea0a4957a0af07f-if00-port0"}}'

even these files are not there it shows in log its loading them

-rw-r–r-- 1 root root 701 May 26 11:23 configuration.yaml
-rw-r–r-- 1 root root 681 May 22 18:23 configuration.yaml.bckp
-rw-r–r-- 1 root root 616 May 22 18:44 configuration.yaml.bckp-ok
-rw-r–r-- 1 root root 662 May 22 20:22 configuration.yaml.broken_stick
-rw-r–r-- 1 root root 2084 May 26 01:43 coordinator_backup.json.bck
-rw-r–r-- 1 root root 9259 May 26 10:45 database.db
drwxr-xr-x 12 root root 4096 May 26 11:32 log
-rw-r–r-- 1 root root 2 May 26 11:26 state.json
-rw-r–r-- 1 root root 1430 May 26 11:24 state.json.bck

You are a very angry man aren’t you.

everything was working, i just accidentally removed it from Devices,
i re-added everything, reinstalled zigbe2mqtt ; recreated original config. all is set properly and errors all the time
so isnt that headache?

Zigbee2MQTT:error 2022-05-26 12:07:39: Exiting…
Zigbee2MQTT:error 2022-05-26 12:07:39: 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:102:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:100:27)
at start (/app/index.js:110:5)
[12:07:41] INFO: Handing over control to Zigbee2mqtt Core …

[email protected] start

even the stick Failed or i have no clue what is going on here.
But i am really tired fixing 20hours issue; apparently its not production code or some poc…

So you have the same error as zha gave, and I pointed you to the troubleshooting info. But you ignore me and rant away. POC indeed.

what do U WANT TO TROUBLESHOT ??? ehm?
did u read whats written on that link ?
no adapter ID didnt change
firmware was reflashed to the same one as it was working

so what else?
first read issue then reply nonsense

not saying that issue is not the SAME

Zigbee2MQTT:error 2022-05-26 12:14:24: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:110:5)
[12:14:26] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start
> node index.js
Zigbee2MQTT:info  2022-05-26 12:14:34: Logging to console and directory: '/config/zigbee2mqtt/log/2022-05-26.12-14-31' filename: log.txt
Zigbee2MQTT:info  2022-05-26 12:14:34: Starting Zigbee2MQTT version 1.25.1 (commit #unknown)
Zigbee2MQTT:info  2022-05-26 12:14:34: Starting zigbee-herdsman (0.14.27)
Zigbee2MQTT:error 2022-05-26 12:14:54: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-05-26 12:14:54: Failed to start zigbee
Zigbee2MQTT:error 2022-05-26 12:14:54: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-05-26 12:14:54: Exiting...
**Zigbee2MQTT:error 2022-05-26 12:14:54: Error: SRSP - SYS - getExtAddr after 6000ms**
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
[12:14:56] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start
> node index.js

This is common to both, so why don’t you do as I suggest.

do what?
nothing was suggest as far as i can see.



Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:182
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 12:19:19 PM (2 occurrences)
Last logged: 12:19:45 PM
Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 847, in request
    response = await response_future
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 182, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.9/site-packages/zigpy/application.py", line 69, in new
    await app.startup(auto_form)
  File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 152, in startup
    return await self._startup(
  File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 165, in _startup
    await znp.connect()
  File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 572, in connect
    self.capabilities = (await self._skip_bootloader()).Capabilities
  File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 552, in _skip_bootloader
    return await self.request(c.SYS.Ping.Req())
  File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 847, in request
    response = await response_future
  File "/usr/local/lib/python3.9/site-packages/async_timeout/__init__.py", line 129, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.9/site-packages/async_timeout/__init__.py", line 212, in _do_exit
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError


Try reading, not ranting. I’ll spell it out

ls -l /dev/serial/by-id

oh my god,
i did that 200x and its SET CORRECTLY
i dont know what other proof has to be provided; i am not idiot.

image

when i click on reload its failing
image

the issue is somewhere between HASS and stick.

 File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 187, in model
2022-05-26 12:23:01 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 182, in async_initialize
2022-05-26 12:23:01 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Sonoff Zigbee 3.0 USB Dong - /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_22ce4be9743bec119ea0a4957a0af07f-if00-port0, s/n: 22ce4be9743bec119ea0a4957a0af07f - ITead - 10C4:EA60' for zha integration not ready yet; Retrying in background
2022-05-26 12:23:16 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 182, in async_initialize
2022-05-26 12:23:46 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 182, in async_initialize