Closed tinuva closed 2 years ago
Running midea-discover it looks like it find the device IPs but then never logs in to mapp.appsmb.com with or without my login credentials.
~ % midea-discover -d INFO:msmart.cli:Debug mode active INFO:msmart.cli:msmart version: 0.1.35 Currently only supports ac devices. INFO:msmart.cli:Sending Device Scan Broadcast... DEBUG:asyncio:Using selector: KqueueSelector DEBUG:msmart.scanner:Broadcast message sent: 0 DEBUG:msmart.scanner:Midea Local Data 192.168.241.153 837000c8200f00005a5a0111b8007a80000000002c790e0b120c1514cd560400001c00000000000000000180000000001189237061b973a5db9cf33b2665f99b16918decdcc33dc1b76c771bb25f5bc269ce91f35d21acf13fe3e91b0d7b0af4ddc9baf7bbd19816b6c1d78d23c930c796dcd768309a5241ef793df3a18c1eb54346a5e8f0a189a98f970f4fe798401a4bdfb3e16e33d88768cc4c3d0658937d0bb19369bf0317b24d3a4de9e6a1310661e9829603c16c25d5892f3c8f7b581178815c55a0e4d61828e5648747846edd DEBUG:msmart.scanner:Decrypt Reply: 192.168.241.153 99f1a8c02c19000030303030303050303030303030305131433433393630433232453134303030300b6e65745f61635f324531340000870002000000000000000000ac00acac00000000c43960c22e14150029082115000300000000000000000000000000000000000000000000000000000000000000000000 DEBUG:msmart.scanner:Midea Local Data 192.168.241.147 837000c8200f00005a5a0111b8007a800000000068790e0b120c151409570400001c00000000000000000180000000006fc3648b157d5a93e0516706cf3472e116ed60e4c0dd901bd269241d8aa0269c729c9d7169ced0192e3e3cd2a7719b6cee2e26ffd1fdf826d06ce835a24cf0adef01fe9d8a31dc05c9580b657e0ecf8d4346a5e8f0a189a98f970f4fe798401a4bdfb3e16e33d88768cc4c3d0658937d0bb19369bf0317b24d3a4de9e6a131062e8598d8eb28d3dbaf42682195179d269bb72d28cba29dc17bd5ac95e3950690 DEBUG:msmart.scanner:Decrypt Reply: 192.168.241.147 93f1a8c02c19000030303030303050303030303030305131433433393630424435413534303030300b6e65745f61635f354135340000870002000000000000000000ac00acac00000000c43960bd5a54150029082115000300000000000000000000000000000000000000000000000000000000000000000000 DEBUG:msmart.scanner:Midea Local Data 192.168.241.149 837000c8200f00005a5a0111b8007a80000000006d790e0b120c15140b940000001e00000000000000000180000000003bb725badbe3bb7409b922d461e3668a16ed60e4c0dd901bd269241d8aa0269c82d80bb99599ea022044731285350a5694d25f9a181614146bb92df49e50018c959f05d1d1a584be4664413ba5cec9564346a5e8f0a189a98f970f4fe798401a4bdfb3e16e33d88768cc4c3d0658937d0bb19369bf0317b24d3a4de9e6a13106cdaacec713d309756c54840e60c7efb5527b420ee1b052d33f704beb8ac88905 DEBUG:msmart.scanner:Decrypt Reply: 192.168.241.149 95f1a8c02c19000030303030303050303030303030305131433433393630424435393634303030300b6e65745f61635f353936340000870002000000000000000000ac00acac00000000c43960bd5964150029082115000300000000000000000000000000000000000000000000000000000000000000000000 DEBUG:msmart.scanner:Socket timeout 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":"88936897-bac7-4695-bef7-3a2f0cf3a205"},"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/id/get HTTP/1.1" 200 None DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"bb1e751b-cf90-4565-8da7-8852d5e4672a"},"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/id/get HTTP/1.1" 200 None DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"7e97618c-53cc-4248-b0d2-1b108f3989f9"},"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":"password error,please enter again.","errorCode":"3101"} 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":"d97dd55f-bca2-46ed-9509-3744c3bf471a"},"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":"password error,please enter again.","errorCode":"3101"} 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":"a151a518-00bb-482a-959c-9ede0e7a2f3e"},"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":"midea_is_best@outlook.com","sessionId":"e93f99bbab57451f94d6628c4d6d4ed720211218111514780","accessToken":"2e226e468449e01a8464b8e4c9609651b920ebb829d567559397ded751813801","userId":"4826094","versionCode":"","leftCount":""},"errorCode":"0"} DEBUG:msmart.cloud:Retrying API call: 'user/login' 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":"cce3a5bc-d4da-49bb-8c30-a3f5ba44c622"},"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":"midea_is_best@outlook.com","sessionId":"9046944ec8e24ee5be07864d8b930df620211218111518434","accessToken":"1314a086230d9956f3b7a9dd550d4653b920ebb829d567559397ded751813801","userId":"4826094","versionCode":"","leftCount":""},"errorCode":"0"} DEBUG:msmart.cloud:Retrying API call: 'user/login' 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":"7bb0b877-671c-410b-9e4f-b66c79e9ffe5"},"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":"midea_is_best@outlook.com","sessionId":"714b6b0471cc4412b75cafcff047327720211218111522177","accessToken":"bdc0150e36e99eac6b7c1809ce1b1b8cb920ebb829d567559397ded751813801","userId":"4826094","versionCode":"","leftCount":""},"errorCode":"0"} DEBUG:msmart.cloud:Retrying API call: 'user/login' 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":"3344d178-81f9-417b-87b2-813326a7e133"},"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":"midea_is_best@outlook.com","sessionId":"54d4ceb91c6a447182e3584fc358e3f020211218111525781","accessToken":"fff8a8795c7e36d500ccacb344c176b4b920ebb829d567559397ded751813801","userId":"4826094","versionCode":"","leftCount":""},"errorCode":"0"} DEBUG:msmart.cloud:Retrying API call: 'user/login' 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":"4e518388-927a-4d8a-b7f8-83f30764d626"},"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":"midea_is_best@outlook.com","sessionId":"a24de91beb45494eaa96894a0d6317b520211218111529554","accessToken":"394be1d3a07874694be9e1446ee779f0b920ebb829d567559397ded751813801","userId":"4826094","versionCode":"","leftCount":""},"errorCode":"0"} DEBUG:msmart.cloud:Retrying API call: 'user/login' 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":"17e71d2a-27a9-49f7-b603-1ee00d4e799b"},"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":"midea_is_best@outlook.com","sessionId":"3331440c20344437951f80b4775e675220211218111533212","accessToken":"cc7f5458000688f58f3d367ac0252190b920ebb829d567559397ded751813801","userId":"4826094","versionCode":"","leftCount":""},"errorCode":"0"} DEBUG:msmart.cloud:Retrying API call: 'user/login' 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":"6256b323-4360-4fad-bb2f-f9c0e9422c1a"},"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":"midea_is_best@outlook.com","sessionId":"9c04ff93538c4465a951e53e6e5df5a520211218111536920","accessToken":"5318031dc51bd6095fca39efa2847c77b920ebb829d567559397ded751813801","userId":"4826094","versionCode":"","leftCount":""},"errorCode":"0"} DEBUG:msmart.cloud:Retrying API call: 'user/login'
Looks like I just had to keep on retrying and eventually got the information I needed.
Running midea-discover it looks like it find the device IPs but then never logs in to mapp.appsmb.com with or without my login credentials.