智趣盒子问题反馈集中帖


你好。我想问下,我的门锁是接入AQARA HOME的,现在M1S已经录入盒子里面。但是绿米的P100锁体一直没有办法录入,请大神帮忙解决下!昨天才开始研究的盒子。

有可能是因为安全机制的问题,门锁类不给第三方控制的?

主要是解决门锁联动问题。


我用的是云起。按教程走了以后,提示这个不知道啥原因?https://bbs.hassbian.com/forum.php?mod=viewthread&tid=8307&extra=&page=1&mobile=2教程链接

这个是表示,你没有把自定义插件放到自定义插件文件夹里面。
你得把你的操作步骤,每一步都截全屏图贴上来,我才能看出你漏了什么。

我应该就做了他截图的两步。第一,/config/configuration.yaml添加代码lifesmart那段。第二,把github下载的插件放在config/custom_components/lifesmart下。然后重启了设备。


这个打开截图看看

"version": "0.1.2",

把这个代码加上去这个地方,要单列一行


类似这样子:

重启homeassistant core

021-07-20 17:21:32 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py”, line 25, in _handle_async_response

await func(hass, connection, msg)

File “/usr/src/homeassistant/homeassistant/components/system_health/init.py”, line 104, in handle_info

await asyncio.gather(

File “/usr/src/homeassistant/homeassistant/components/system_health/init.py”, line 69, in get_integration_info

data = await registration.info_callback(hass)

File “/config/custom_components/hacs/system_health.py”, line 24, in system_health_info

rate_limit = await client.github.get_rate_limit()

File “/usr/local/lib/python3.8/site-packages/aiogithubapi/github.py”, line 102, in get_rate_limit

await self.client.get(endpoint=_endpoint)

File “/usr/local/lib/python3.8/site-packages/aiogithubapi/client.py”, line 49, in get

response = await async_call_api(

File “/usr/local/lib/python3.8/site-packages/backoff/_async.py”, line 133, in retry

ret = await target(*args, **kwargs)

File “/usr/local/lib/python3.8/site-packages/aiogithubapi/helpers.py”, line 79, in async_call_api

raise AIOGitHubAPIAuthenticationException(HttpStatusCode.UNAUTHORIZED)

aiogithubapi.common.exceptions.AIOGitHubAPIAuthenticationException: HttpStatusCode.UNAUTHORIZED

2021-07-20 17:21:45 ERROR (MainThread) [custom_components.hacs] HttpStatusCode.UNAUTHORIZED

2021-07-20 17:21:45 CRITICAL (MainThread) [custom_components.hacs] Your GitHub token is not valid

2021-07-20 17:21:45 ERROR (MainThread) [custom_components.hacs] HACS is disabled - HacsDisabledReason.INVALID_TOKEN

2021-07-20 17:22:22 ERROR (MainThread) [homeassistant.components.hassio] The system cannot restart because the configuration is not valid: Component error: lifesmart - Integration ‘lifesmart’ not found.

2021-07-20 17:22:22 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall homeassistant.restart (c:1a419452039a2c9c432acef55cd4e1b0)>

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/core.py”, line 1507, in catch_exceptions

await coro_or_task

File “/usr/src/homeassistant/homeassistant/core.py”, line 1526, in _execute_service

await handler.job.target(service_call)

File “/usr/src/homeassistant/homeassistant/components/hassio/init.py”, line 518, in async_handle_core_service

raise HomeAssistantError(

homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Component error: lifesmart - Integration ‘lifesmart’ not found.

2021-07-20 17:22:54 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py”, line 25, in _handle_async_response

await func(hass, connection, msg)

File “/usr/src/homeassistant/homeassistant/components/system_health/init.py”, line 104, in handle_info

await asyncio.gather(

File “/usr/src/homeassistant/homeassistant/components/system_health/init.py”, line 69, in get_integration_info

data = await registration.info_callback(hass)

File “/config/custom_components/hacs/system_health.py”, line 24, in system_health_info

rate_limit = await client.github.get_rate_limit()

File “/usr/local/lib/python3.8/site-packages/aiogithubapi/github.py”, line 102, in get_rate_limit

await self.client.get(endpoint=_endpoint)

File “/usr/local/lib/python3.8/site-packages/aiogithubapi/client.py”, line 49, in get

response = await async_call_api(

File “/usr/local/lib/python3.8/site-packages/backoff/_async.py”, line 133, in retry

ret = await target(*args, **kwargs)

File “/usr/local/lib/python3.8/site-packages/aiogithubapi/helpers.py”, line 79, in async_call_api

raise AIOGitHubAPIAuthenticationException(HttpStatusCode.UNAUTHORIZED)

aiogithubapi.common.exceptions.AIOGitHubAPIAuthenticationException: HttpStatusCode.UNAUTHORIZED

截图我看看你是怎么改的

下次记得把自己做的步骤截全屏图。根据结果很难猜你那里错了的。
或者你把那段代码全部复制黏贴出来,我帮你改好。

你是不是改好之后,也重启不了homeassistant?你在supervisor那里重启看看。


点击这个后,就提示。

断电重启看看 :sweat_smile:

那我得回家试试了。现在远程。。早上试过重启host,就断网了。断电重启才恢复。

重启host以后有显示最开始的提示了


点击这里,具体的日志里面找到lifesmart的报错看看

搜了下只搜到一句
2021-07-20 18:57:46 ERROR (MainThread) [homeassistant.setup] Setup failed for lifesmart: Integration not found.

截图@@@@@@@@@