- 积分
- 470
- 金钱
- 397
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 470
- 金钱
- 397
- HASS币
- 0
|
楼主 |
发表于 2024-1-24 01:27:41
|
显示全部楼层
下单到手,1.0.3-0028,用gateway3连接后,显示只有多模2的一个设备和三个实体,下载日志翻译看不太懂
回溯(最近一次调用最后一次):
文件“/config/custom_components/xiaomi_gateway3/core/gateway/__init__.py”,第192行,在prepare_gateway中
返回等待 self.mgw2_prepare_gateway(sh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
文件“/config/custom_components/xiaomi_gateway3/core/gateway/gate_mgw2.py”,第 36 行,位于 mgw2_prepare_gateway
等待 self.dispatcher_send(SIGNAL_PREPARE_GW, sh=sh)
文件“/config/custom_components/xiaomi_gateway3/core/gateway/base.py”,第 108 行,dispatcher_send
等待处理程序(**kwargs)
文件“/config/custom_components/xiaomi_gateway3/core/gateway/openmiio.py”,第 30 行,openmiio_prepare_gateway
等待 sh.download_openmiio()
文件“/config/custom_components/xiaomi_gateway3/core/shell/base.py”,第 145 行,在 download_openmiio 中
raw = 等待下载(self.openmiio_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
文件“/config/custom_components/xiaomi_gateway3/core/shell/base.py”,第 184 行,下载中
与 session.get(url_or_path) 异步作为响应:
文件“/usr/local/lib/python3.11/site-packages/aiohttp/client.py”,第 1141 行,在 __aenter__ 中
self._resp = 等待 self._coro
^^^^^^^^^^^^^^^^^
文件“/usr/local/lib/python3.11/site-packages/aiohttp/client.py”,第 467 行,在 _request 中
带定时器:
文件“/usr/local/lib/python3.11/site-packages/aiohttp/helpers.py”,第 721 行,在 __exit__ 中
从 None 引发 asyncio.TimeoutError
超时错误
2024-01-21 15:32:49.664 错误(主线程)[custom_components.xiaomi_gateway3.core.gateway] 192.168.1.29 | 无法准备网关
回溯(最近一次调用最后一次):
文件“/config/custom_components/xiaomi_gateway3/core/gateway/__init__.py”,第192行,在prepare_gateway中
返回等待 self.mgw2_prepare_gateway(sh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
文件“/config/custom_components/xiaomi_gateway3/core/gateway/gate_mgw2.py”,第 36 行,位于 mgw2_prepare_gateway
等待 self.dispatcher_send(SIGNAL_PREPARE_GW, sh=sh)
文件“/config/custom_components/xiaomi_gateway3/core/gateway/base.py”,第 108 行,dispatcher_send
等待处理程序(**kwargs)
文件“/config/custom_components/xiaomi_gateway3/core/gateway/openmiio.py”,第 30 行,openmiio_prepare_gateway
等待 sh.download_openmiio()
文件“/config/custom_components/xiaomi_gateway3/core/shell/base.py”,第 145 行,在 download_openmiio 中
raw = 等待下载(self.openmiio_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
文件“/config/custom_components/xiaomi_gateway3/core/shell/base.py”,第 184 行,下载中
与 session.get(url_or_path) 异步作为响应:
文件“/usr/local/lib/python3.11/site-packages/aiohttp/client.py”,第 1141 行,在 __aenter__ 中
self._resp = 等待 self._coro
^^^^^^^^^^^^^^^^^
文件“/usr/local/lib/python3.11/site-packages/aiohttp/client.py”,第 467 行,在 _request 中
带定时器:
文件“/usr/local/lib/python3.11/site-packages/aiohttp/helpers.py”,第 721 行,在 __exit__ 中
从 None 引发 asyncio.TimeoutError
超时错误
721, Zài__chūkǒu__
cóng None yǐnfā asyncio.TimeoutError
chāoshí cuòwù
2024-01-21 15:30:48.664 Cuòwù (zhǔ xiànchéng)[custom_components.Xiaomi_gateway3.Core.Gateway] 192.168.1.29 |Wúfǎ zhǔnbèi wǎngguān
huísù (zuìjìn yīcì tiáo yòng zuìhòu yīcì):
Wénjiàn “/config/custom_components/xiaomi_gateway3/core/gateway/__init__.Py”, dì 192 xíng, zài prepare_gateway zhōng
fǎnhuí děngdài self.Mgw2_prepare_gateway(sh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wénjiàn “/config/custom_components/xiaomi_gateway3/core/gateway/gate_mgw2.Py”, dì 36 xíng, wèiyú mgw2_prepare_gateway
děngdài self.Dispatcher_send(SIGNAL_PREPARE_GW, sh=sh)
wénjiàn “/config/custom_components/xiaomi_gateway3/core/gateway/base.Py”, dì 108 xíng,dispatcher_send
děngdài chǔlǐ chéngxù (**kwargs)
wénjiàn “/config/custom_components/xiaomi_gateway3/core/gateway/openmiio.Py”, dì 30 xíng,openmiio_prepare_gateway
děngdài sh.Download_openmiio()
wénjiàn “/config/custom_components/xiaomi_gateway3/core/shell/base.Py”, dì 145 xíng, zài download_openmiio zhōng
raw = děngdài xiàzài (self.Openmiio_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wénjiàn “/config/custom_components/xiaomi_gateway3/core/shell/base.Py”, dì 184 xíng, xiàzài zhōng
yǔ session.Get(url_or_path) yìbù zuòwéi xiǎngyìng:
Wénjiàn “/usr/local/lib/python3.11/Site-packages/aiohttp/client.Py”, dì 1141 xíng, zài __aenter__ zhōng
self._Resp = děngdài self._Coro
^^^^^^^^^^^^^^^^^
wénjiàn “/usr/local/lib/python3.11/Site-packages/aiohttp/client.Py”, dì 467 xíng, zài _request zhōng
dài dìngshí qì:
Wénjiàn “/usr/local/lib/python3.11/Site-packages/aiohttp/helpers.Py”, dì 721 xíng, zài __exit__ zhōng
cóng None yǐnfā asyncio.TimeoutError
chāoshí cuòwù
2024-01-21 15:32:49.664 Cuòwù (zhǔ xiànchéng)[custom_components.Xiaomi_gateway3.Core.Gateway] 192.168.1.29 |Wúfǎ zhǔnbèi wǎngguān
huísù (zuìjìn yīcì tiáo yòng zuìhòu yīcì):
Wénjiàn “/config/custom_components/xiaomi_gateway3/core/gateway/__init__.Py”, dì 192 xíng, zài prepare_gateway zhōng
fǎnhuí děngdài self.Mgw2_prepare_gateway(sh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wénjiàn “/config/custom_components/xiaomi_gateway3/core/gateway/gate_mgw2.Py”, dì 36 xíng, wèiyú mgw2_prepare_gateway
děngdài self.Dispatcher_send(SIGNAL_PREPARE_GW, sh=sh)
wénjiàn “/config/custom_components/xiaomi_gateway3/core/gateway/base.Py”, dì 108 xíng,dispatcher_send
děngdài chǔlǐ chéngxù (**kwargs)
wénjiàn “/config/custom_components/xiaomi_gateway3/core/gateway/openmiio.Py”, dì 30 xíng,openmiio_prepare_gateway
děngdài sh.Download_openmiio()
wénjiàn “/config/custom_components/xiaomi_gateway3/core/shell/base.Py”, dì 145 xíng, zài download_openmiio zhōng
raw = děngdài xiàzài (self.Openmiio_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wénjiàn “/config/custom_components/xiaomi_gateway3/core/shell/base.Py”, dì 184 xíng, xiàzài zhōng
yǔ session.Get(url_or_path) yìbù zuòwéi xiǎngyìng:
Wénjiàn “/usr/local/lib/python3.11/Site-packages/aiohttp/client.Py”, dì 1141 xíng, zài __aenter__ zhōng
self._Resp = děngdài self._Coro
^^^^^^^^^^^^^^^^^
wénjiàn “/usr/local/lib/python3.11/Site-packages/aiohttp/client.Py”, dì 467 xíng, zài _request zhōng
dài dìngshí qì:
Wénjiàn “/usr/local/lib/python3.11/Site-packages/aiohttp/helpers.Py”, dì 721 xíng, zài __exit__ zhōng
cóng None yǐnfā asyncio.TimeoutError
chāoshí cuòwù
展开 |
|