Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

重启后无法再次启用插件 #36

Closed
sephrioth opened this issue Nov 4, 2022 · 29 comments
Closed

重启后无法再次启用插件 #36

sephrioth opened this issue Nov 4, 2022 · 29 comments

Comments

@sephrioth
Copy link

sephrioth commented Nov 4, 2022

刚升级HA到2022.11,重启过程中ds-air失败,然后重启失败; 尝试过降级版本重启也一样会失败
重启过程中的报错日志如下:

Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 82, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle result = await result File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 218, in post return await super().post(request) File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 73, in wrapper result = await method(view, request, data, *args, **kwargs) File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post result = await self._flow_mgr.async_init( File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 225, in async_init flow, result = await task File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 243, in _async_init flow = await self.async_create_flow(handler, context=context, data=data) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1625, in async_create_flow return HANDLERS[entry.domain].async_get_options_flow(entry) File "/config/custom_components/ds_air/config_flow.py", line 81, in async_get_options_flow return DsAirOptionsFlowHandler(config_entry) File "/config/custom_components/ds_air/config_flow.py", line 93, in __init__ self._climates = list(map(lambda state: state.alias, Service.get_aircons())) File "/config/custom_components/ds_air/ds_air_service/service.py", line 204, in get_aircons return Service._new_aircons+Service._aircons+Service._bathrooms TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'

然后尝试在重启过程中删除插件, 然后顺利重启进入系统, 重新添加插件, 安装成功后输入网关信息后就一直在初始化转圈圈, 然后就死在这里了...日志如下

Uncaught thread exception Traceback (most recent call last): File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/config/custom_components/ds_air/ds_air_service/service.py", line 134, in run Service.poll_status() File "/config/custom_components/ds_air/ds_air_service/service.py", line 292, in poll_status for i in Service._new_aircons: TypeError: 'NoneType' object is not iterable

@sephrioth sephrioth changed the title 突然无法启用插件 重启后无法再次启用插件 Nov 4, 2022
@sephrioth
Copy link
Author

@mypal @xrh0905 大佬们能否帮忙看下,现在完全用不了了... 感谢!

@yuhuanfan
Copy link

我也遇到同样问题

@sephrioth
Copy link
Author

我也遇到同样问题

你也是突然出现的么? 我现在换啥HA版本都用不了这个插件了.... 好奇怪

@yuhuanfan
Copy link

我也遇到同样问题

你也是突然出现的么? 我现在换啥HA版本都用不了这个插件了.... 好奇怪

我也是突然这样的不知道啥原因我的是DTA117D611wifi的你的是啥型号

@sephrioth
Copy link
Author

DTA117D611wifi

DTA117C611 有线版本

@yuhuanfan
Copy link

DTA117D611wifi

DTA117C611 有线版本

等老板更新吧!感觉老板好像也不管这个集成了!!!

This was referenced Nov 6, 2022
@xrh0905
Copy link
Contributor

xrh0905 commented Nov 6, 2022

网关固件版本多少? @yuhuanfan @sephrioth
我这里是好的...

@sephrioth
Copy link
Author

网关固件版本多少? @yuhuanfan @sephrioth
我这里是好的...

02.10.00

@big111boy
Copy link

网关固件版本02.10.00,HA和OS版本未升级,重启后插件无法加载

@yuhuanfan
Copy link

网关固件版本多少? @yuhuanfan @sephrioth 我这里是好的...

03.03.00

@asukahan
Copy link

asukahan commented Nov 6, 2022

网关固件版本多少? @yuhuanfan @sephrioth 我这里是好的...

03.03.00

我的DTA117D611网关本来能用,前些天大金的app提示我网关更新固件我没理他,就怕更完了不行,结果今天DS-air全不能用了,打开app发现固件自己更新了……我的现在也是03.03.00

@sephrioth
Copy link
Author

App 里面显示 02.10.00 已经就是最新版本固件了( DTA117C611)

@ItownTech
Copy link

我固件是03.03.00,也是报这样的错,wifi网关611

@sephrioth
Copy link
Author

@xrh0905 所以现在看起来似乎是网关固件自动更新的原因? 不然没法解释当前的情况..

@ruleechen
Copy link

+1
网关固件版本 02.10.00 (显示当前为最新版本)
Home Assistant 2022.11.2
Supervisor 2022.10.2
Frontend 20221108.0 - latest

@bytebility
Copy link

bytebility commented Nov 10, 2022

DS-AIR 插件一直显示 “正在初始化” ,重启网关和HA都不行。

网关固件版本 02.10.00 (显示当前为最新版本)。
应该是网关的接口发生了变化。。。

WX20221110-160313@2x
WX20221110-160821@2x

@sephrioth
Copy link
Author

今天大金的人和我说, 现在这个网关支持天猫精灵和华为语音助手控制了... 可能就是这次更新?

@ruleechen
Copy link

今天大金的人和我说, 现在这个网关支持天猫精灵和华为语音助手控制了... 可能就是这次更新?

还是想要接入HA

@TempleZhou
Copy link

+1

@ItownTech
Copy link

今天大金的人和我说, 现在这个网关支持天猫精灵和华为语音助手控制了... 可能就是这次更新?

和网关更新没关系,我9月份的时候就更新了,一直用的好好的,前两天重新装了HA,然后就报这个错了,降版本也不行

@ruleechen
Copy link

今天大金的人和我说, 现在这个网关支持天猫精灵和华为语音助手控制了... 可能就是这次更新?

和网关更新没关系,我9月份的时候就更新了,一直用的好好的,前两天重新装了HA,然后就报这个错了,降版本也不行

感觉是的,我也是更新了HA就直接不能用了,网关更新不会那么巧在同一个时间吧

@sephrioth
Copy link
Author

今天大金的人和我说, 现在这个网关支持天猫精灵和华为语音助手控制了... 可能就是这次更新?

和网关更新没关系,我9月份的时候就更新了,一直用的好好的,前两天重新装了HA,然后就报这个错了,降版本也不行

HA这边没有任何变化, 大部分人只是重启就开始报错了, 我也尝试过降版本, 但是还是出错, 那错误如果不在HA的话, 只能在网关这边了...

@sephrioth
Copy link
Author

今天大金的人和我说, 现在这个网关支持天猫精灵和华为语音助手控制了... 可能就是这次更新?

和网关更新没关系,我9月份的时候就更新了,一直用的好好的,前两天重新装了HA,然后就报这个错了,降版本也不行

感觉是的,我也是更新了HA就直接不能用了,网关更新不会那么巧在同一个时间吧

和更新HA没关系,你看前面的回复, 很多人重启后就挂了, 只是因为更新HA是需要重启的, 所以才建立了这种联系吧。

@big111boy
Copy link

今天大金的人和我说, 现在这个网关支持天猫精灵和华为语音助手控制了... 可能就是这次更新?

和网关更新没关系,我9月份的时候就更新了,一直用的好好的,前两天重新装了HA,然后就报这个错了,降版本也不行

感觉是的,我也是更新了HA就直接不能用了,网关更新不会那么巧在同一个时间吧

和更新HA没关系,你看前面的回复, 很多人重启后就挂了, 只是因为更新HA是需要重启的, 所以才建立了这种联系吧。

正解,我从6月开始就没有升级过HA版本了,到11月初都正常使用,直到最近一次重启以后报错。

@ShaneGa0
Copy link

目前有大佬能解决吗

@sephrioth
Copy link
Author

sephrioth commented Nov 11, 2022

目前有大佬能解决吗

暂时还没有, 也找不到作者的联系方式....

@yuhuanfan
Copy link

目前有大佬能解决吗

暂时还没有, 也找不到作者的联系方式....

前几天通过qq问过作者了,说这个周末看看修改一下程序!!坐等了

@mypal
Copy link
Owner

mypal commented Nov 11, 2022

#39 已修复,可以拉取下1.3.2版本

@mypal mypal closed this as completed Nov 11, 2022
@TempleZhou
Copy link

#39 已修复,可以拉取下1.3.2版本

哈哈,大佬牛逼,建议 README 里留个二维码,想请你喝杯咖啡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests