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

理想家二代部分内机添加不成功 #145

Closed
leonvvip opened this issue Jun 22, 2024 · 28 comments
Closed

理想家二代部分内机添加不成功 #145

leonvvip opened this issue Jun 22, 2024 · 28 comments
Labels
bug Something isn't working device_auth_failed

Comments

@leonvvip
Copy link

HA版本

2024.4.3

集成版本

0.4.2

设备类型及型号

Air Conditioner 22396311 (44204)

使用的App

美的美居

问题详细描述

理想家二代,5台内机。3台内机正常添加,另外两台添加时提示“无法连接到指定设备”,日志显示“认证失败”。确定美居账号密码没问题,用其他版本的ac_lan还会提示用户名密码错误。其中一台最初能添加成功,跟另外一台不能添加的面板互换位置后都无法添加了。

The logs

2024-06-22 17:11:59.004 DEBUG (MainThread) [midealocal.device] [210006725387346] Connecting to 192.168.123.55:6444
2024-06-22 17:11:59.154 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-06-22 17:11:59.154 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-06-22 17:11:59.213 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-06-22 17:11:59.213 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}
2024-06-22 17:11:59.214 DEBUG (MainThread) [midealocal.device] [210006725387346] Connecting to 192.168.123.55:6444
2024-06-22 17:11:59.225 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-06-22 17:11:59.226 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-06-22 17:11:59.394 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-06-22 17:11:59.394 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}
2024-06-22 17:11:59.395 DEBUG (MainThread) [midealocal.device] [210006725387346] Connecting to 192.168.123.55:6444
2024-06-22 17:11:59.408 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-06-22 17:11:59.408 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-06-22 17:11:59.560 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-06-22 17:11:59.561 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}

@leonvvip leonvvip added the bug Something isn't working label Jun 22, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: The addition of some internal units of the second generation of Ideal Home failed

@leonvvip
Copy link
Author

这个问题在上一代的版本中也比较严重,一直没有好的解决办法,求解决

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


This problem was also serious in the previous generation version. There has been no good solution. Please solve it.

@chemelli74
Copy link
Collaborator

Hi, please add the file as attachment and not as part of the comment. Currently is hard to read.

Also, could you consider updating to latest HA version ?

@leonvvip
Copy link
Author

Hi, please add the file as attachment and not as part of the comment. Currently is hard to read.

Also, could you consider updating to latest HA version ?

thanks,I'll update HA first,and upload the new log file.

@leonvvip
Copy link
Author

Hi, please add the file as attachment and not as part of the comment. Currently is hard to read.

Also, could you consider updating to latest HA version ?

here's the log with HA 2024.6.4 & AC_LAN 0.4.2.the same Problem with "Authentication failed"
home-assistant - 副本.log

@leonvvip
Copy link
Author

also the same problem as georgezhao2010/midea_ac_lan#425

@chemelli74
Copy link
Collaborator

Please verify and confirm that you are able to login on the mobile app using the same credentials.

@chemelli74 chemelli74 added the waiting user feedback Looking for a feedback from user label Jul 2, 2024
@leonvvip
Copy link
Author

leonvvip commented Jul 3, 2024

Please verify and confirm that you are able to login on the mobile app using the same credentials.

confirmed,all the devices can be controlled by app with the same username and password.

@chemelli74
Copy link
Collaborator

Please verify and confirm that you are able to login on the mobile app using the same credentials.

confirmed,all the devices can be controlled by app with the same username and password.

Please specify which app you are using.

@leonvvip
Copy link
Author

leonvvip commented Jul 7, 2024

Please verify and confirm that you are able to login on the mobile app using the same credentials.

confirmed,all the devices can be controlled by app with the same username and password.

Please specify which app you are using.

美的美居 in china

@rokam
Copy link
Collaborator

rokam commented Jul 9, 2024

Can you plese try v.0.5.0 and provide new logs?

@wuwentao
Copy link
Owner

wuwentao commented Jul 9, 2024

@leonvvip 请先更新到最新的v0.5.0版本,重新添加设备试试。
建议先根据首页提示,开启midea_ac_lan和midealocal的debug log,然后执行相关操作,并反馈一下结果。

再根据这个结果,对比添加成功和添加失败的设备,实际获取到的硬件以及软件版本信息差异,随后看看是否能够找出解决办法。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@leonvvip Please update to the latest v0.5.0 version first and try adding the device again.
It is recommended to first enable the debug log of midea_ac_lan and midealocal according to the prompts on the homepage, then perform relevant operations and provide feedback on the results.

Based on this result, compare the differences in the actual obtained hardware and software version information between successfully added and failed devices, and then see if a solution can be found.

@leonvvip
Copy link
Author

@leonvvip 请先更新到最新的v0.5.0版本,重新添加设备试试。 建议先根据首页提示,开启midea_ac_lan和midealocal的debug log,然后执行相关操作,并反馈一下结果。

再根据这个结果,对比添加成功和添加失败的设备,实际获取到的硬件以及软件版本信息差异,随后看看是否能够找出解决办法。
升级0.5.0,问题依旧,日志报错跟之前的版本没有区别,认证失败!
2024-07-10 08:54:37.639 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-07-10 08:54:37.639 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-07-10 08:54:37.750 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-07-10 08:54:37.750 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}
home-assistant - 副本 (2).log

@leonvvip
Copy link
Author

0.5.2依然无法添加,报错Can't get available token for this device

@wuwentao
Copy link
Owner

0.5.2依然无法添加,报错Can't get available token for this device

目前新版仅仅是解决其他问题,针对这个部分认证失败的问题,尚未找到设备具体差异和对应的准确解决办法,还需要一段时间和问题的汇总,以及后续的解决办法。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


0.5.2 still cannot be added, and the error "Can't get available token for this device" is reported.

At present, the new version only solves other problems. For this partial certification failure problem, the specific differences of the equipment and the corresponding accurate solutions have not yet been found. It will take some time to summarize the problems and follow-up solutions.

@leonvvip
Copy link
Author

0.5.2依然无法添加,报错Can't get available token for this device

目前新版仅仅是解决其他问题,针对这个部分认证失败的问题,尚未找到设备具体差异和对应的准确解决办法,还需要一段时间和问题的汇总,以及后续的解决办法。

谢谢,感谢你们的努力,期待尽早解决。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


0.5.2 still cannot be added, and the error "Can't get available token for this device" is reported.

At present, the new version only solves other problems. For this partial certification failure problem, the specific differences of the equipment and the corresponding accurate solutions have not yet been found. It will take some time to summarize the problems and follow-up solutions.

Thank you, thank you for your efforts, and look forward to a resolution as soon as possible.

@rokam
Copy link
Collaborator

rokam commented Jul 16, 2024

0.5.4 should fix your issue

@rokam rokam closed this as completed Jul 16, 2024
@leonvvip
Copy link
Author

0.5.4 should fix your issue

0.5.4 still doesn't work as 0.5.3

@rokam
Copy link
Collaborator

rokam commented Jul 22, 2024

Can you please provide new logs?

@rokam rokam reopened this Jul 22, 2024
@leonvvip
Copy link
Author

Can you please provide new logs?
2024-07-23 00:31:16.717 DEBUG (MainThread) [midealocal.device] [208907213764387] Connecting to 192.168.123.46:6444
2024-07-23 00:31:16.778 DEBUG (MainThread) [midealocal.device] [208907213764387] Connected
2024-07-23 00:31:16.778 DEBUG (MainThread) [midealocal.device] [208907213764387] Handshaking
2024-07-23 00:31:16.849 DEBUG (MainThread) [midealocal.device] [208907213764387] Authentication failed
2024-07-23 00:31:16.849 DEBUG (MainThread) [midealocal.device] [208907213764387] Status update: {'available': False}
home-assistant - 副本 (3).log

@rokam rokam removed the waiting user feedback Looking for a feedback from user label Jul 23, 2024
@wuwentao
Copy link
Owner

由于github当前存在大量同样duplicate的issue,因此先关闭当前issue,统一使用 #275 来跟踪和处理,避免大量重复问题的跟踪和处理。
当然,当前issue仍然可以继续更新和发送其他消息

@hapi01
Copy link

hapi01 commented Oct 8, 2024

0.5.4 should fix your issue

0.5.4 still doesn't work as 0.5.3

我理想家三代和你一样,一开始书房面板用美的美居搜不到,后来换了好了,结果就这个面板无法获取token,你看下你的美的美居里所有空调是否都有IPV4这一项,我的是除了书房的都有,怀疑是当初没安装好的问题

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


0.5.4 should fix your issue

0.5.4 still doesn't work as 0.5.3

The third generation of my Ideal Home is the same as you. At first, the study panel could not be searched using Midea Mercure. Then I changed it. As a result, the panel could not obtain the token. Please check whether all the air conditioners in your Midea Mercure have IPV4. One item, I have all of them except for the study room. I suspect it’s because they were not installed properly at the beginning.

@chemelli74
Copy link
Collaborator

This is a very old (closed) issue.

If still experiencing a problem with the integration, please open a new one after updating to latest version, 0.6.2, and attach a fresh log.

Repository owner locked as resolved and limited conversation to collaborators Oct 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working device_auth_failed
Projects
None yet
Development

No branches or pull requests

6 participants