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

浴霸能够识别但是无法添加 #188

Closed
Helloookimi opened this issue Jun 30, 2024 · 29 comments
Closed

浴霸能够识别但是无法添加 #188

Helloookimi opened this issue Jun 30, 2024 · 29 comments
Labels
bug Something isn't working needs-more-information Asked user to provide more information

Comments

@Helloookimi
Copy link

HA版本

2023.8.2

集成版本

0.4.2

设备类型及型号

Appliance code:210006726130388; 210006725916239; 208907214486645

使用的App

美的美居

问题详细描述

Appliance code Type IP address SN Supported
210006726130388 26 10...* 000026511M010003239281100******* YES
210006725916239 26 10...* 000026511M010003239281100******* YES
208907214486645 26 10...* 000026511M010003239281100******* YES

以上3个浴霸为同一型号的美的Y5W,在添加设备时能够正常识别显示210006725916239 (Bathroom Master),选择美的美居登陆,提交后就显示无法连接到指定设备,但同账号下的2台油汀添加没有问题。这个问题困扰很久了,从当初georgezhao2010一直至今,始终无法添加这几个设备,请大佬看看是为什么如有任何需要请随时联系,万分感谢。

The logs

No response

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

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


Title: The bathroom heater can be recognized but cannot be added.

HA version

2023.8.2

Integrated version

0.4.2

Equipment type and model

Appliance code:210006726130388; 210006725916239; 208907214486645

App used

Beautiful Mercure

Detailed description of the problem

Appliance code Type IP address SN Supported
210006726130388 26 10...* 000026511M010003239281100******* YES
210006725916239 26 10...* 000026511M010003239281100******* YES
208907214486645 26 10...* 000026511M010003239281100******* YES

The above three bathroom masters are the same model of Midea Y5W. When adding a device, they can be recognized normally and display 210006725916239 (Bathroom Master). Select Midea Mercure to log in. After submitting, it shows that it cannot connect to the specified device, but the 2 oil baths under the same account No problem adding. This problem has been bothering me for a long time. From georgezhao2010 until now, I have been unable to add these devices. Please let me know why. Please feel free to contact me if you need anything. Thank you very much.

The logs

No response

@Helloookimi
Copy link
Author

日志里当我提交以后会有一条:2024-06-30 14:52:57.704 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Try to get the Token and the Key use the preset MSmartHome account

@chemelli74
Copy link
Collaborator

Hi @Helloookimi, please add the full log not just 1 line.

Please add the following to configuration.yaml , restart HA, and post the log:

logger:
  default: warning
  logs:
    custom_components.midea_ac_lan: debug
    midealocal: debug

Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.

And add diagnostics (menu configuration -> integration -> midea_ac_lan -> download diagnostics )

@chemelli74 chemelli74 added the needs-more-information Asked user to provide more information label Jul 2, 2024
@wuwentao
Copy link
Owner

wuwentao commented Jul 9, 2024

@Helloookimi 请先更新到最新的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. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@Helloookimi Please update to the latest v0.5.0 version first and try adding the device again.
It is recommended to first improve according to the homepage, open the debug log of midea_ac_lan and midealocal, 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

估计跟我提交的是同一个问题

@Issues-translate-bot
Copy link

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


I guess it's the same question I submitted.

@chemelli74
Copy link
Collaborator

chemelli74 commented Jul 10, 2024

Please we need data, not wild guesses.

@Issues-translate-bot
Copy link

Issues-translate-bot commented Jul 10, 2024

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


Please we need data, not wild guesses.

@Helloookimi
Copy link
Author

升级到最新版本了,添加提示Can't get available token for this device,日志里看有一条Can't get valid token with input account in 美的美居 server然后下面的key用了[email protected]这个账号获取的而不是我的手机账号。附件是日志文件,请大佬得空研究研究,万分感谢。如有需要任何配合随时联系
home-assistant_2024-07-11T13-11-26.325Z.log

@Helloookimi
Copy link
Author

Upgraded to the latest version, when adding, it prompts Can't get available token for this device, and there is a Can't get valid token with input account in Midea Mercure server in the log, and then the following key is used [email protected] to get this account instead of my mobile phone account. The attached is a log file, thank you very much. Please feel free to contact me if you need anything.
home-assistant_2024-07-11T13-11-26.325Z.log
if you need anything

@rokam
Copy link
Collaborator

rokam commented Jul 18, 2024

Inside your log I can find:
2024-07-11 21:09:25.580 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'udpid': '54af9f51ce38a49a49da060c15d679dd', 'reqId': 'f58837f724ea9646b06b91d83c7723c6', 'stamp': '20240711130925'}, response: b'{"msg":"\xe8\xb0\x83\xe7\x94\xa8\xe4\xb8\x9a\xe5\x8a\xa1\xe7\xb3\xbb\xe7\xbb\x9f\xe5\xbc\x82\xe5\xb8\xb8(\xe8\xae\xbf\xe9\x97\xae\xe5\x9c\xb0\xe5\x9d\x80\xe4\xb8\x8d\xe5\xad\x98\xe5\x9c\xa8) [no Route matched with those values]","code":40404}'

This means that we're trying to retrieve keys in an invalid endpoint. We need a sniffing on the network to correctly identify what is wrong.

@Helloookimi
Copy link
Author

what can I do for next? Do you need access my local network for test or I sniffing the network by myself? What kind of information need to identify what is wrong? thank u for u helps.

@Helloookimi
Copy link
Author

I can priviod a remote desktop by rustdesk for you do any test run. windows or mac both fine. Please help to solve this problem. Thanks a million for the help!

@Helloookimi
Copy link
Author

Or I could try to make a packet capture of the network and upload this part of the packet file. Please tell me what you need do for next,remote or packet file upload, thank u .

@rokam
Copy link
Collaborator

rokam commented Aug 12, 2024

I need a capture for that endpoint. That happens between your mobile and the cloud.

@Helloookimi
Copy link
Author

That happens between your mobile and the cloud. It's means you need a capture which is the app when I login with my account and do some remote control?

@rokam
Copy link
Collaborator

rokam commented Aug 12, 2024

Yes, thats it

@Helloookimi
Copy link
Author

Helloookimi commented Aug 12, 2024

I send an email for you with capture file. pls tell me what need for next, if you need any other information. thank u.

@wuwentao
Copy link
Owner

@rokam @Helloookimi it should be encrypted data with TLS/SSL, so we can't directly sniffer the packets.
and I also tried with inject with the client app to do MIMT some months ago, it also not works, client will report error and can't do any control, maybe Meiju using v2 api,it's cloud service. both client app and server have the cert check.

@Helloookimi
Copy link
Author

Is that means cannot add those drives into ha any more? When I do the packet capture yesterday, find that cannot use andriod with Packet Capture. The app are no network when VPN set up.

@wuwentao
Copy link
Owner

Is that means cannot add those drives into ha any more? When I do the packet capture yesterday, find that cannot use andriod with Packet Capture. The app are no network when VPN set up.

yes, there is no any good solution now, and we should have some new solution.

@wuwentao
Copy link
Owner

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

@Issues-translate-bot
Copy link

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


Since there are currently a large number of identical duplicate issues on GitHub, the current issue should be closed first and #275 should be used to track and handle them uniformly to avoid tracking and handling a large number of duplicate issues.
Of course, the current issue can still continue to be updated and send other messages

@wuwentao
Copy link
Owner

补充说明:close当前issue仅仅是不在默认open的issue list中显示,并不代表当前issue不再处理或者无视问题了。
主要是方便管理和跟踪其他issue,而当前issue的后续状态和进展,仍然可以继续update其他信息,都是能够收到提醒和状态更新的。
并且,在主issue中也都有当前issue的关联信息,后续都能逐个追踪,回溯回来。

@Issues-translate-bot
Copy link

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


Additional explanation: Close the current issue is just not displayed in the default open issue list, it does not mean that the current issue is no longer processed or ignored.
It is mainly to facilitate the management and tracking of other issues. As for the subsequent status and progress of the current issue, you can still continue to update other information, and you can receive reminders and status updates.
Moreover, the main issue also has related information about the current issue, which can be tracked one by one and traced back later.

@lynnliuy
Copy link

我遇见了同样的问题,也是y5w的设备

@Issues-translate-bot
Copy link

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


I encountered the same problem and it was also a y5w device.

@chemelli74
Copy link
Collaborator

chemelli74 commented Oct 11, 2024

Please reference to issue #275 as requested..

Repository owner locked as resolved and limited conversation to collaborators Oct 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working needs-more-information Asked user to provide more information
Projects
None yet
Development

No branches or pull requests

7 participants