『瀚思彼岸』» 智能家居技术论坛

标题: zha崩溃啦!怎么修复 [打印本页]

作者: q952713336    时间: 2023-1-5 10:14
标题: zha崩溃啦!怎么修复
[attach]44493[/attach][attach]44494[/attach]
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:172
First occurred: 09:43:06 (1 occurrences)
Last logged: 09:43:06

Error setting up entry socket://192.168.1.108:5000 for zha
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 664, in _skip_bootloader
    result = await responses.get()
  File "/usr/local/lib/python3.10/asyncio/queues.py", line 159, in get
    await getter
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 111, in async_setup_entry
    await zha_gateway.async_initialize()
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 185, in async_initialize
    raise exc
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 172, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 151, in new
    await app.startup(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 131, in startup
    await self.connect()
  File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 106, in connect
    await znp.connect()
  File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 706, in connect
    self.capabilities = (await self._skip_bootloader()).Capabilities
  File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 663, in _skip_bootloader
    async with async_timeout.timeout(CONNECT_PROBE_TIMEOUT):
  File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 129, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 212, in _do_exit
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError

——————————————————————————————————————————————————————————————————
Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:172
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 09:41:11 (3 occurrences)
Last logged: 09:43:06

Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator (attempt 1 of 3)
Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator (attempt 2 of 3)
Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator (attempt 3 of 3)
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 664, in _skip_bootloader
    result = await responses.get()
  File "/usr/local/lib/python3.10/asyncio/queues.py", line 159, in get
    await getter
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 172, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 151, in new
    await app.startup(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 131, in startup
    await self.connect()
  File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 106, in connect
    await znp.connect()
  File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 706, in connect
    self.capabilities = (await self._skip_bootloader()).Capabilities
  File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 663, in _skip_bootloader
    async with async_timeout.timeout(CONNECT_PROBE_TIMEOUT):
  File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 129, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 212, in _do_exit
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError

——————————————————————————————————————————————————————————————
Logger: homeassistant.bootstrap
Source: bootstrap.py:486
First occurred: 09:38:57 (4 occurrences)
Last logged: 09:42:12

Waiting on integrations to complete setup: hassio
Waiting on integrations to complete setup: hassio, zha






作者: q952713336    时间: 2023-1-5 10:15
本帖最后由 q952713336 于 2023-1-5 11:55 编辑

我有两个zigbee的网关设备都是这个Zigbee LAN Gateway:[attach]44496[/attach]
两个网关隔得很远但是通一个网络的,我用上了zigbee2mqtt 和zha。两个都用上啦,zha崩溃啦 zigbee2mqtt的没问题。 有没有办法把两个设备都并入zigbee2mqtt里面[attach]44497[/attach]


我删除了从新添加也没有成功[attach]44502[/attach]

作者: bainiu    时间: 2023-1-5 18:00
q952713336 发表于 2023-1-5 10:15
我有两个zigbee的网关设备都是这个Zigbee LAN Gateway:
两个网关隔得很远但是通一个网络的,我用上了zigbe ...

开z2m副本,改端口,改频道,可以接两个。
作者: q952713336    时间: 2023-1-6 08:56
本帖最后由 q952713336 于 2023-1-6 09:26 编辑
bainiu 发表于 2023-1-5 18:00
开z2m副本,改端口,改频道,可以接两个。

可以教教我怎么开副本吗?只可以开两个吗  可以开3-4个吗!!! 刚听了你的建议我去里面装了一个edge尾缀的。[attach]44526[/attach]
作者: sorrypqa    时间: 2023-1-6 12:44
q952713336 发表于 2023-1-6 08:56
可以教教我怎么开副本吗?只可以开两个吗  可以开3-4个吗!!! 刚听了你的建议我去里面装了一个edge尾缀 ...

竟然可以这样装......长见识了,我以为一台hassos只能安装1个z2m,z2m这货不能直接管理多个协调器真是有点遗憾。




欢迎光临 『瀚思彼岸』» 智能家居技术论坛 (https://bbs.hassbian.com/) Powered by Discuz! X3.5