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

 找回密码
 立即注册
查看: 1117|回复: 4

[求助] zha崩溃啦!怎么修复

[复制链接]

9

主题

60

帖子

563

积分

高级会员

Rank: 4

积分
563
金钱
503
HASS币
0
发表于 2023-1-5 10:14:06 | 显示全部楼层 |阅读模式
微信截图_20230105101248.png 微信截图_20230105101303.png
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





回复

使用道具 举报

9

主题

60

帖子

563

积分

高级会员

Rank: 4

积分
563
金钱
503
HASS币
0
 楼主| 发表于 2023-1-5 10:15:27 | 显示全部楼层
本帖最后由 q952713336 于 2023-1-5 11:55 编辑

我有两个zigbee的网关设备都是这个Zigbee LAN Gateway 微信截图_20230105101934.png
两个网关隔得很远但是通一个网络的,我用上了zigbee2mqtt 和zha。两个都用上啦,zha崩溃啦 zigbee2mqtt的没问题。 有没有办法把两个设备都并入zigbee2mqtt里面 微信截图_20230105102156.png


我删除了从新添加也没有成功 微信截图_20230105115358.png
回复

使用道具 举报

56

主题

929

帖子

4075

积分

论坛元老

Rank: 8Rank: 8

积分
4075
金钱
3146
HASS币
0
发表于 2023-1-5 18:00:45 | 显示全部楼层
q952713336 发表于 2023-1-5 10:15
我有两个zigbee的网关设备都是这个Zigbee LAN Gateway:
两个网关隔得很远但是通一个网络的,我用上了zigbe ...

开z2m副本,改端口,改频道,可以接两个。
回复

使用道具 举报

9

主题

60

帖子

563

积分

高级会员

Rank: 4

积分
563
金钱
503
HASS币
0
 楼主| 发表于 2023-1-6 08:56:12 | 显示全部楼层
本帖最后由 q952713336 于 2023-1-6 09:26 编辑
bainiu 发表于 2023-1-5 18:00
开z2m副本,改端口,改频道,可以接两个。

可以教教我怎么开副本吗?只可以开两个吗  可以开3-4个吗!!! 刚听了你的建议我去里面装了一个edge尾缀的。 微信图片_20230106092521.png
回复

使用道具 举报

51

主题

1340

帖子

5600

积分

论坛DIY达人

积分
5600
金钱
4260
HASS币
20
发表于 2023-1-6 12:44:15 | 显示全部楼层
q952713336 发表于 2023-1-6 08:56
可以教教我怎么开副本吗?只可以开两个吗  可以开3-4个吗!!! 刚听了你的建议我去里面装了一个edge尾缀 ...

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

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 03:30 , Processed in 0.061491 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表