Closed Barry40 closed 2 years ago
I have the same problem. Identical log, except I don't get the password error.
use your self acocunt
use your self acocunt
I assume you mean:
midea-discover -a "MYACCOUNT@EMAIL.COM" -p "MYSUPERSECRETPASSWORD" -i 192.168.55.22
I already have been.
$ midea-discover -a "MYACCOUNT@EMAIL.COM" -p "MYSUPERSECRETPASSWORD" -i "192.168.55.22" -d INFO:msmart.cli:Debug mode active INFO:msmart.cli:msmart version: 0.2.2 Currently only supports ac devices. DEBUG:asyncio:Using selector: EpollSelector DEBUG:msmart.scanner:Message sent DEBUG:msmart.scanner:Midea Local Data 192.168.55.22 837000c8200f00005a5a0111b8007a8000000000b56c060c0e0416140f0e000000240000000000000000018000000000cb80ec38c43311ec5f546d0de6fda4fe348e15b5815208a251f8448e0650dd5b2004261ba4a958adb313a2a35d24f42608d07b20fd523ce9b4e3317fa244d681c6743574517569f6d11f6d43de77dfe2f62b1d8bb9e5c25dba7bf8e0cc4c77944bdfb3e16e33d88768cc4c3d0658937d0bb19369bf0317b24d3a4de9e6a131068046d0f55712692adc7ba709e54011d32b5b9a71dc953cc5fa88567ae6796bbf DEBUG:msmart.scanner:Decrypt Reply: 192.168.55.22 f93ca8c02c19000030303030303050303030303030305131373038364345323737363636303030300b6e65745f61635f373636360000870002000000000000000000ac00acac000000007086ce277666150023082122000300000000000000000000000000000000000000000000000000000000000000000000 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"1355bf99-643a-4b4c-9605-047af217a4c8"},"errorCode":"0"} DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"originPrivateVersion":"","nickname":"MYACCOUNT@EMAIL.COM","sessionId":"d9ed0bf81c96441b835729b4765dbcf720220414120645212","accessToken":"00659b336ab328aacb70bdbe99aea962b920ebb829d567559397ded751813801","userId":"REDACTED","versionCode":"","leftCount":""},"errorCode":"0"} DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/iot/secure/getToken HTTP/1.1" 200 None DEBUG:msmart.cloud:Response: {"msg":"system error","errorCode":"9999"} DEBUG:msmart.cloud:Restarting session: '9999' - 'system error' DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None DEBUG:msmart.cloud:Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"} DEBUG:msmart.cloud:Restarting full: '3144' - 'login failed, loginId is empty, please login again.' DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"f8de353d-33e4-4ad3-9dee-9b22a2de48c8"},"errorCode":"0"} DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"originPrivateVersion":"","nickname":"MYACCOUNT@EMAIL.COM","sessionId":"1e7ab492cc9d4a31a488093f33d186a120220414120649712","accessToken":"f1f8fac38db00152cde51375fb36efdeb920ebb829d567559397ded751813801","userId":"REDACTED","versionCode":"","leftCount":""},"errorCode":"0"} DEBUG:msmart.cloud:Retrying API call: 'user/login'
and this just loops thru. I let it go for about a minute and there is no change.
If it helps, I have a Midea MAP10S1CWT Manufacture Date: Jan 2022 Firmware version for the AC listed in the app says: 1.04
Hi all,
when using my own credentials i'm getting errors as well:
INFO:msmart.cli:Debug mode active INFO:msmart.cli:msmart version: 0.2.2 Currently only supports ac devices. DEBUG:asyncio:Using selector: EpollSelector DEBUG:msmart.scanner:Message sent DEBUG:msmart.scanner:Midea Local Data 192.168.1.35 837000b8200f04015a5a0111a8007 a8000000000000000000000000053d20300001d0000000000000000000000000000d67b42317d277 062f9a34dba8ec50a6159b815a1e11a27a30121747a38c15bd34d1583d18c4bac7992552103f35f3 08689db854bd004cd55089f14acdd37f4cb7aeadfdce2fb077bb85b1b8295ab11e41fca945413038 84c52e880ddefc03190f31443d17c3aac03a7656614ae1dca444354993861793a8c293d39f043bbe 138963beb0e8171b0117446ed829a0ab9aa DEBUG:msmart.scanner:Decrypt Reply: 192.168.1.35 2301a8c02c190000303030303030503 03030303030305131333042323337344231413231303030300b6e65745f61635f314132310000000 001000000040000000000ac0000000000000030b2374b1a21069fcd0300080103000000000000000 000000000000000000000000000 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com: 443 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id /get HTTP/1.1" 200 None DEBUG:msmart.cloud:Response: {"msg":"this account does not exist","errorCode":"3 102"} Traceback (most recent call last): File "/usr/local/bin/midea-discover", line 10, in <module> sys.exit(discover())
I think this is because i migrated the (older) midea-app to the msmarthome app?
is it possible that the url "mapp.appsmb.com" of logging in into the cloud has changed after migration? i'm 100% sure i'm using the same credentials for logging in as the msmarthome app...
Okay, i found out something...: I have 3 heatpumps, 2 of Inventor and 1 of Qlima (Midea). When using "midea-discover -a email@email.com -p mypassword -i 192.168.1.25 -d" (IP of Qlima) it detects its unit and give me the correct output: "INFO:msmart.cli:*** Found a device: {'type': 'ac', 'support': True, etcetc" with its ID and supported unit. When using the same cmd: "midea-discover -a email@email.com -p mypassword -i 192.168.1.34 -d" (IP of Inventor Unit 1) it outputs me the same error as when using the "midea-discover -a email@email.com -p mypassword -i 192.168.1.35 -d" (IP of Inventor Unit 2): "ValueError: (3102, 'this account does not exist')" What can be the reason for this? Qlima unit is working now in Domoticz, but ofcourse both Inventor does not. All 3 are working correctly in the MSMartHome App anyway. Hope to see a fix! Thanks! :)
the get token request seems to have changed. I don't know what has changed for now. can you share your account and password for me? You can contact me via telegram. https://t.me/+UFSSaqBJE5RqvSOq
the get token request seems to have changed. I don't know what has changed for now. can you share your account and password for me? You can contact me via telegram. https://t.me/+UFSSaqBJE5RqvSOq
Check your telegram. :) Thanks a lot!
It seems that i have 2 (Inventor/Midea) Units with V3 on it wich made these errors. [mac-zhou] is busy with it, so i hope to see a fix at some time! When there is news, i'll let you guys know.
Update 0.2.3 fixed to get token. Everything works again!
Hi all,
i'm getting a lot of errors when using midea-discover, hope someone can help me out of what i'm doing wrong..
244 midea-discover -d 245 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/iot/secure/getToken HTTP/1.1" 200 None 246 DEBUG:msmart.cloud:Response: {"msg":"system error","errorCode":"9999"} 247 DEBUG:msmart.cloud:Restarting session: '9999' - 'system error' 248 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 249 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/iot/secure/getToken HTTP/1.1" 200 None 250 DEBUG:msmart.cloud:Response: {"msg":"system error","errorCode":"9999"} 251 DEBUG:msmart.cloud:Restarting session: '9999' - 'system error' 252 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 253 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None 254 DEBUG:msmart.cloud:Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"} 255 DEBUG:msmart.cloud:Restarting full: '3144' - 'login failed, loginId is empty, please login again.' 256 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 257 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None 258 DEBUG:msmart.cloud:Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"} 259 DEBUG:msmart.cloud:Restarting full: '3144' - 'login failed, loginId is empty, please login again.' 260 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 261 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None 262 DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"038b99f5-5195-4379-9031-d652ac97602d"},"errorCode":"0"} 263 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 264 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None 265 DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"1978c75b-417d-49ef-b1f8-4f161bb8094d"},"errorCode":"0"} 266 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 267 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None 268 DEBUG:msmart.cloud:Response: {"msg":"password error,please enter again.","errorCode":"3101"} 269 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 270 DEBUG:msmart.cloud:Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"} 271 DEBUG:msmart.cloud:Restarting full: '3144' - 'login failed, loginId is empty, please login again.' 272 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443 273 DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None
thank you