core: Zigbee Home Automation stops - zigpy couldn't start application

The problem

ZHA would stop working after ~30mins after startup with the following: Logger: zigpy.application Source: /usr/local/lib/python3.10/site-packages/zigpy/application.py:85 First occurred: 9:30:48 AM (1 occurrences) Last logged: 9:30:48 AM

Couldn’t start application

Not entirely what is happening but it appears that it just stops and no attempts are made again after that.

What version of Home Assistant Core has the issue?

2022.7.x

What was the last working version of Home Assistant Core?

2022.6.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-07-16 09:30:41 INFO (MainThread) [bellows.zigbee.application] EZSP Radio manufacturer:
2022-07-16 09:30:41 INFO (MainThread) [bellows.zigbee.application] EZSP Radio board name:
2022-07-16 09:30:41 INFO (MainThread) [bellows.zigbee.application] EmberZNet version: 6.7.9.0 build 405
2022-07-16 09:30:42 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [139752900929920] Connection closed by client
2022-07-16 09:30:48 ERROR (MainThread) [zigpy.application] Couldn't start application
2022-07-16 09:30:48 ERROR (bellows.thread_0) [homeassistant] Error doing job: Exception in callback SerialTransport._call_connection_lost(None)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.10/site-packages/serial_asyncio/__init__.py", line 417, in _call_connection_lost
self._serial.close()
File "/usr/local/lib/python3.10/site-packages/serial/urlhandler/protocol_socket.py", line 104, in close
time.sleep(0.3)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 180, in protected_loop_func
check_loop(func, strict=strict)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 141, in check_loop
raise RuntimeError(
RuntimeError: Detected blocking call to sleep inside the event loop. Use `await hass.async_add_executor_job()`; This is causing stability issues. Please report issue

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 37 (9 by maintainers)

Most upvoted comments

Ok, I will double check later today. I may have skipped 2022.7.0