nbogojevic / midea-beautiful-air

Python client for accessing Midea air conditioners and dehumidifiers (Midea, Comfee, Inventor EVO) via local network
MIT License
109 stars 18 forks source link

fix(cloud): send `deviceId` in login payload #29

Closed michaelhthomas closed 8 months ago

michaelhthomas commented 9 months ago

Fixes #26 with some helpful info from https://github.com/nbogojevic/midea-beautiful-air/issues/26#issuecomment-1695600943. Sends the deviceId field in the login payload, supporting the latest changes to the MSmartHome (now just SmartHome) app.

YpNo commented 8 months ago

It have fixed the issue. Please Merge it ;)

pcm1ke commented 8 months ago

Unable to connect to Midea cloud API (Too many retries while calling session-restart, last error value is illegal. (3004)).

If the above fixes this, can someone please merge it so I can redownload this custom component in HA and get this working? I literally just bought a Midea dehumidifier based on the existence of this component and now I can't even get it working in HA.

If there are no plans to merge it anytime soon, can someone tell me how to go about getting the latest code into HA manually so I can finish setting this up?

Thank you in advance!