-
Notifications
You must be signed in to change notification settings - Fork 17
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
小天鹅洗衣机不能添加 #199
Comments
Title: Little Swan washing machine cannot be added |
Hi @954485679, we need debug log to investigate. Please add the following to 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. |
|
Link is not working |
|
I see a few timeout issues:
I would investigate first your network; for example:
|
@chemelli74 I think he just add this device with v2 protocol and got pass with add device. @954485679 could you help to confirm that is this device add pass by set protocol to V2 or V1 ? |
The device is normally linked to the network, ensuring that status updates and control are achievable in the Midea Home app. The ping is unimpeded. |
As you mentioned, I am using v2 authentication to add the device, primarily because v3 authentication cannot obtain the token and key, which would prevent device addition as shown in the screenshot in the forum post. I would like to ask how I can obtain the token and key to add my device. |
Just a couple of points:
|
I have a total of four Midea devices: three air conditioners and one washing machine. They are all added to my Midea Smart Life account and are discoverable in Home Assistant. While the three air conditioners integrate perfectly and can be controlled through Home Assistant, the washing machine cannot connect. I'm unsure where the issue lies. I can provide you with my Midea account details to help you investigate and test the problem. |
I re-ran the process of adding the device, printed out the log, and took a screenshot of the results to help you figure out the problem. |
|
|
the device using V3 protocol, so you can't manual add it with V2 protocol, add device can pass, but all the status and control will using error V2 protocol and configs. in additional, as you did a force add devie action with error configs, all the device info cached and saved with a config file in your HA. the location should be
if there is any other device, please remove all file under /config/.storage/midea_ac_lan/` then you can try to add it later. |
device can be discover via a probe protocol. |
Thank you very much for explaining my question. I checked my log today and found that I can find the token and key of my washing machine through the v3 protocol. I manually configured it at that time, but it still doesn't work and will prompt that the configuration information is incorrect. I'm helpless now. Thank you once again for your contribution to the integration update. I look forward to the release of your new version.I am uploading my latest log again, hoping it will be helpful to you. |
Can you plese try v.0.5.0 and provide new logs? |
I integrated the update to version 0.5.0 and attempted to add the washing machine again, but it still gave an error. I exported the logs and will now show them to everyone. |
你的log中应该删除了使用美的美居登录的信息,以及设备的具体信息,都不在log里面。 可能成功和失败的设备具体型号,例如设备的硬件版本,软件版本,仍然存在差异,导致无法添加成功。 |
Your log should have deleted the information about logging in using Midea, as well as the specific information about the device, which is not in the log. There may still be differences between the specific models of successful and failed devices, such as the hardware version and software version of the device, resulting in failure to add successfully. |
I re-executed the adding process and printed out the logs. There were fewer deletions this time, hopefully it will be helpful to you. |
This should fix: midea-lan/midea-local#217 |
@rokam hi rokam, this still not failed the error. |
The autentication was forcing capabilities and when capabilities were unsuported, it's raising the capabilities exception. |
0.5.4 should fix your issue |
Thank you very much for your efforts on my issue. I will try to update the integration at the earliest convenience to test if my problem has been resolved. |
I have updated the 0.5.4 version of the integration. When I tried to add my Little Swan washing machine again, it prompted me"Can't get available token for this device。". |
抱歉,由于github当前存在大量同样duplicate的issue,因此先关闭当前issue,统一使用 #275 来跟踪和处理,避免大量重复问题的跟踪和处理。 |
Sorry, because there are currently a large number of identical duplicate issues on GitHub, we will close the current issue first and use #275 to track and handle them uniformly to avoid tracking and handling a large number of duplicate issues. |
补充说明:close当前issue仅仅是不在默认open的issue list中显示,并不代表当前issue不再处理或者无视问题了。 |
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. |
HA版本
2024.5.3
集成版本
0.4.3
设备类型及型号
210006728302218
使用的App
美的美居
问题详细描述
The issue seems to be that with the v3 protocol version, automatic token and key retrieval isn't working. When using v1 and v2, you can add them but the entities aren't accessible. What could be the problem here?
The logs
home-assistant_midea_ac_lan_2024-07-04T00-20-12.292Z.log
The text was updated successfully, but these errors were encountered: