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

无法登录,(用的电脑版本黄鸟一直用这个抓)重新抓包多次也不行,不知道我那个地方出错,我升级了最新集成(v1.1.1)后出现token失效,上个版本集成正常 #176

Open
Awe7 opened this issue Aug 2, 2024 · 3 comments

Comments

@Awe7
Copy link

Awe7 commented Aug 2, 2024

问题描述
无法登录,(用的电脑版本黄鸟一直用这个抓)重新抓包多次也不行,不知道我那个地方出错,我升级了最新集成(v1.1.1)后出现token失效,上个版本集成正常

环境信息:
Core
2024.7.4
Supervisor
2024.06.2
Operating System
12.4
Frontend
20240710.0

https://uws.haier.net/gmsWS/wsag/assign

{
"token": "",
"clientId": "
*"
}

错误日志
日志记录器: custom_components.haier.config_flow
来源: custom_components/haier/config_flow.py:45
集成: Haier (文档, 问题)
首次出现: 20:46:51 (7 次总计出现)
上次记录: 20:58:11

接口返回异常: 授权异常或失败

@Awe7
Copy link
Author

Awe7 commented Aug 6, 2024

已解决,需要抓 refreshtoken 详情看 佬 帖 https://bbs.hassbian.com/thread-25297-1-1.html

@fsayyeah
Copy link

fsayyeah commented Sep 2, 2024

大佬们你好,我按照上面教程成功抓取了refreshtoken,依然无法登录,能帮忙看看是什么情况吗?

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/haier/init.py", line 59, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(entry, SUPPORTED_PLATFORMS)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1939, in async_forward_entry_setups
await integration.async_get_platforms(platforms)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1090, in async_get_platforms
if platform := self._get_platform_cached_or_raise(platform_name):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in _get_platform_cached_or_raise
raise ModuleNotFoundError(
ModuleNotFoundError: Platform haier.binary_sensor not found

@Awe7
Copy link
Author

Awe7 commented Sep 2, 2024 via email

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

2 participants