-
Notifications
You must be signed in to change notification settings - Fork 24
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
Can't get available token for this device - USING SMARTHOME (not meijucloud, unrelated to #275 ?) #395
Comments
from your debug log, seems device don't recv normal auth handshaking response, it's a different error as Meijucloud. Received auth response len 13 error
|
@wuwentao is there any way to sniff the communication between the device and the App when adding it to check what kind of authentication key they are exchanging? |
@a-flash I have an all-in-one appliance (washer and dryer), and the firmware looks similar to your washer... Mine is also v3.5.0.20 |
home-assistant_midea_ac_lan_2024-12-15T15-00-20.599Z.log therefore i try to reconfigure again, login to the smarthome account the i face the error message |
@ChienWeiChek
and for get device info in smarthome, it return none:
anyway ,the code is 0 and msg is ok, only data is none, there should be no error. maybe some changes in midea server side now, I'm not sure, as this is not a official solution from midea. Meiju app in China local, the API already changed about one years ago, and caused more device can't got token, as midea upgrade they API to version 2, so old version 1 api can't works. |
what is the expected result on the data list? it should show device list? |
On my device, the response has content: |
and a good new, add the AC back successfully, and I don't know why |
per my understand, the connection error , will be exist in both client and server side. if you restart HA can't fix it. |
from the log, we can found the same error, as auth response error and can't works with clud token.
I'm not sure with the root cause. |
another very important info is :
0xDB device may have new software firmware or new WIFI hardware modlue, and exist mode can't works for it. |
hello, is there anything that we can do to help troubleshoot this? Is there anyway to debug/sniff the communication between this new firmware/wifi module and the Midea Cloud? |
sorry, I don't have any good idea now. |
Hello! Not much progress, but I'd like to share just that I was able to setup a Hotspot computer gateway running Wireshark and I was able to sniff all the traffic from my Washer while I was adding it to SmartHome app... probably the correct Key/Tokens are somehow encrypted in one of the packets, but my limited knowledge does not let me advance... I believe the chunk data is the one below, but not sure how to decrypt nor if it's really it... Anyway, I'm attaching the full packet capture file in here in case someone more knowleadgeable wants to look at it... |
HA core version
2024.11.3
Current integration version
0.6.5
Last known working integration version
None
Device type and model
Front Loader Washer Dryer Smart Wi-Fi HealthGuard Titanium MF200D110WB - 38124206
Working mobile app
SmartHome
The detail description of bug/problem
When trying to add the device model 38124206, I'm getting the error "Can't get available token for this device", but differently from #275 , I'm using SmartHome app and not meijucloud.
Creating a new issue as recommended in this comment -> #275 (comment)
The logs
log_smarthome.txt
The text was updated successfully, but these errors were encountered: