nbogojevic / midea-beautiful-air

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

Setup help and explanation #8

Closed douggutaby closed 2 years ago

douggutaby commented 2 years ago

Hi,

Thank you for your work. I just bought a Midea MDDF-20DEN7 dehumidifier and I want to use it local only (and integrate into openhab). Can you tell me why do I need to set cloud user and password to reach it locally? Only to get token and key? I made a mistake and migrate my new Midea Air account to MSmartHome and I got "this account does not exist" error like in issue 6. I use 0.9.10 but still account does not exist. I can run discovery with IP only and I get some data but no token of course. I tried the apiurl parameter but I don't what appkey and other should be. Can someone help me to connect to my device? Now I block internet access of my dehumidifier, maybe that is another mistake :S

douggutaby commented 2 years ago

I changed the Default from nethome to MSHome in midea.py and now I have the token and key. It is working, thanks.

nbogojevic commented 2 years ago

@douggutaby you can also use --app command line option or pass it in call to one of the functions.