Skip to content

SmartHome cloud get_token is still broken #201

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

Open
mill1000 opened this issue Mar 21, 2025 · 2 comments
Open

SmartHome cloud get_token is still broken #201

mill1000 opened this issue Mar 21, 2025 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@mill1000
Copy link
Owner

This issue was originally reported in #193, the solution at the time was to migrate to the NetHome Plus cloud via #194.

Ideally, the get_token method should be fixed by a proper RE of the SmartHome cloud. Early attempts were unsuccessful as the SmartHome app is not trivial to analyze.

@mill1000 mill1000 added bug Something isn't working help wanted Extra attention is needed labels Mar 21, 2025
@wuwentao
Copy link

Hi @mill1000

as some members report our midea-ac-py fixed the cloud token issue.
so I jut follow the url and found our current solution: switch from smarthome to nethome plus and fix it for most of the users.
thank you very much for your good solution.

I want to share some info with us, timeline and history:

  1. midea closed this token api service in Meiju cloud about 1+ years ago
  2. we switch to smarthome cloud api to get token, and it should works during these months.
  3. we found smarthome cloud get_token service not available now
  4. and user report we have fix the issue and get_token is availble, and our solution is switch from smarthome to nethome plus cloud, thank you very much for your solution.

in fact, for these cloud services, I also found these cloud service may have region/geolocation limiation, as we have found some user can't login to smarthome cloud with the user/password, but once they switch to a new IP with VPN service, it will be available.

finally, switch to nethome plus maybe a temp solution these months, but per my understand, this service also will be offline like meiju cloud and smarthome cloud.
as midea have a new v2 cloud api service, and it's fullly cloud based (I'm sorry, I don't have enough time to do it these months).
anyway, we just can backup the v1 token before the service is fully offiline.

Thanks

@mill1000
Copy link
Owner Author

Hi @wuwentao

as some members report our midea-ac-py fixed the cloud token issue.
so I jut follow the url and found our current solution: switch from smarthome to nethome plus and fix it for most of the users.
thank you very much for your good solution.

Well thanks to you as well. I used midea-local and midea-beautiful-air as references when implementing the NetHome Plus cloud and to confirm that my SmartHome cloud implementation wasn't the only broken one.

in fact, for these cloud services, I also found these cloud service may have region/geolocation limiation, as we have found some user can't login to smarthome cloud with the user/password, but once they switch to a new IP with VPN service, it will be available.

Yes I've noticed this as well. It seems to be particularly troublesome for EU users (maybe due to GPDR?).

finally, switch to nethome plus maybe a temp solution these months, but per my understand, this service also will be offline like meiju cloud and smarthome cloud.
as midea have a new v2 cloud api service, and it's fullly cloud based (I'm sorry, I don't have enough time to do it these months).

Yes I've suspected there must be a new v2 API. I unfortunately don't have any Midea devices any more so my ability to RE is pretty limited.

anyway, we just can backup the v1 token before the service is fully offiline.

Yes this is the best we can do for now. I have update my documentation to remind users to save these values in case the cloud goes away,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants