core: ZHA fail to start, using elelabs ELU013 zigbee usb adapter

The problem

The integration was working few days ago. When I started my rapsberry today, ZHA integration give me this error.

Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 152, 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/bellows/zigbee/application.py", line 151, in startup
    status, node_type, nwk_params = await ezsp.getNetworkParameters()
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

I tried multiple things

  • update to latest hassio (core-2021.10.7)
  • update the adapter firmware to 6.9.1
  • reset the integration
  • remove the zigbee.db file

Here is the current info about the adapter :

2021/11/02 20:14:57 Elelabs_EzspFwUtility:   Elelabs adapter detected:
2021/11/02 20:14:57 Elelabs_EzspFwUtility:   Adapter: ELR023
2021/11/02 20:14:57 Elelabs_EzspFwUtility:   Firmware: 6.9.1-214
2021/11/02 20:14:57 Elelabs_EzspFwUtility:   EZSP v8

What version of Home Assistant Core has the issue?

core-2021.10.7

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Zigbee Home Automation

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:152
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 22:06:28 (34 occurrences)
Last logged: 22:50:18

Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 152, 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/bellows/zigbee/application.py", line 151, in startup
    status, node_type, nwk_params = await ezsp.getNetworkParameters()
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 28 (13 by maintainers)

Most upvoted comments

@MattWestb so I tried to downgrade the Armbian kernel on my OrangePI3 from 5.10.60 to 5.10.34, and stick with CH340 works fine now. As far as I know Elelabs ELU013 also has CH340, so maybe it’s the same issue.

I am observing the same issue on OrangePI3 with Armbian using two ESZP sticks with different firmware. On intel-based Atomic PI with ubuntu 20.04 the same sticks and the same HA version are working just fine. So it could be not a ZHA issue but an OS issue.

What elelabs firmware version?