I have ZHA running on my supervised HASSio install. I am running Linux Debian 11 on a mid-2011 Mac mini with a skyconnect USB for zigbee/thread. I am running skyconnect multi-protocol for the thread even though inhave no thread devices.
Yesterday, out of nowhere ZHA and OpenThread quit working. I hadn’t installed anything new. I was just working on some dashboard mods. I have tried restarting home assistant, restarting the machine, reloading ZHA, and unplugging the USB. Nothing has fixed it.
Here is the error log I get when I try to reload ZHA. If anyone could provide some guidance it would be most appreciated. Thank you.
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:205
First occurred: July 3, 2023 at 16:15:35 (4 occurrences)
Last logged: 08:18:11Error setting up entry SkyConnect Multi-PAN for zha
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/zha/init.py”, line 122, in async_setup_entry
await zha_gateway.async_initialize()
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 220, in async_initialize
raise exc
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 205, in async_initialize
self.application_controller = await app_controller_cls.new(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 219, in new
await app.startup(auto_form=auto_form)
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 193, in startup
await self.connect()
File “/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py”, line 131, in connect
self._ezsp = await bellows.ezsp.EZSP.initialize(self.config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bellows/ezsp/init.py”, line 147, in initialize
await ezsp.connect(use_thread=zigpy_config[conf.CONF_USE_THREAD])
File “/usr/local/lib/python3.11/site-packages/bellows/ezsp/init.py”, line 164, in connect
self._gw = await bellows.uart.connect(self._config, self, use_thread=use_thread)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bellows/uart.py”, line 414, in connect
protocol, _ = await _connect(config, application)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bellows/uart.py”, line 385, in _connect
transport, protocol = await zigpy.serial.create_serial_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy/serial.py”, line 31, in create_serial_connection
transport, protocol = await loop.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 1045, in create_connection
infos = await self._ensure_resolved(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 1419, in _ensure_resolved
return await loop.getaddrinfo(host, port, family=family, type=type,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 867, in getaddrinfo
return await self.run_in_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/socket.py”, line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -5] Name has no usable address