Open sh0211031 opened 7 months ago
2024.3.3
0.3.22
208907216208555 (Dishwasher)
美的美居
添加设备APP有账号登录提醒,从日志来看已经拿到key和token了,但在添加设备时提示“无法连接到指定设备”
2024-04-02 23:44:05.520 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/mj/user/login, data: {'iotData': {'src': '1010', 'format': '2', 'stamp': '20240402234405', 'platformId': '1', 'deviceId': '2625df98xxxxxxxx', 'reqId': 'd2b77b1053dbd5aaxxxxxxxxxxxxxxxx', 'clientType': '1', 'appId': '1010', 'iampwd': 'af9d2b716cadf29bdece3685e901f769d3b0031eb5a65548b87cxxxxxxxxxxxx', 'loginAccount': 'c414e631394b8639@outlook.com', 'password': '52bf74425469aa8a436e78ad9ce46b014d363b7d9e6b317d388e0xxxxxxxxxx'}, 'data': {'appKey': 'ac22b9f9abfe4ca5a88562efxxxxxxxx', 'deviceId': '2625df98eed17b6f', 'platform': '2'}, 'stamp': '20240402234405', 'reqId': 'd6a7d6b14fc39ac5087063c17edc3b20'}, response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"randomData":"99201770b2dacda99e79f54cfe8507e53899438d99a11e61652b0be0e208b9c5","uid":"1551c2bac9fcac0b41cfc7caxxxxxxxx","accountId":"1006912800","nickname":"c414e631394b8639","mdata":{"tokenPwdInfo":{"tokenPwd":"f5addc26488f4a718555ea1d86d7c951","expiredDate":1714664645469,"createDate":1712072645469},"userInfo":{"sourceId":"mj_12345","empId":"5499821268679680","address":"","gender":"0","mobile":"c414e631394b8639@outlook.com","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"1551c2bac9fcac0b41cfc7caxxxxxxxx","name":"c414e631394b8639@outlook.com","email":null},"doDeviceBind":null,"accessToken":"T1kiizaaxxxxxxxx","signUnlockEnabled":null},"accessToken":"4148720cb6bdface4ed5a88ad806a5bf1444c923f4f130411bxxxxxxxxxxxxxx","userId":"94266867018113","email":"c414e631394b8639@outlook.com"}}' 2024-04-02 23:44:05.681 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'src': '1010', 'format': '2', 'stamp': '20240402234405', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '4f127be45d629ed577095d216b934fef', 'uid': '1551c2bac9fcac0b41cfc7caxxxxxxxx', 'clientType': '1', 'appId': '1010', 'udpid': 'f1d3a9b676f561c801f14f332e17e698'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"f1d3a9b676f561c801f14f332e17e698","key":"25f0a626bf3e4b36963b2d2d5c9411e9b96227f48bb24887a4xxxxxxxxxxxxxx","token":"0ADA1B6F78060352ADBC5C19B299B1048A9D9D081085DBxxxxxxxx523546AF4F774C47CBCD1BF7799D1AD815B67C774B9E8CBFE4916E314CA9D07xxxxxxxxxx"}]}}' 2024-04-02 23:44:05.838 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'src': '1010', 'format': '2', 'stamp': '20240402234405', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '9ef58426bdc5eddd25f249ab3b1998fe', 'uid': '1551c2bac9fcac0b41cfc7caxxxxxxxx', 'clientType': '1', 'appId': '1010', 'udpid': '66184d2554d6fbfea946a4xxxxxxxxxx'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"66184d2554d6fbfea946a4xxxxxxxxxx","key":"656b274826c54d17bc8f52f2d4cxxxxxxxx83dc9589848c69418e909xxxxxxxx","token":"4A5B52BD4DxxxxxxxxC4308BF0CE62B58FF4922A4C2CxxxxxxxxF6CDC312912A3F93894EEEEE5BA2002862D132D0745D2E59073FE0CC2984DA906Exxxxxxxx"}]}}' 2024-04-02 23:44:05.838 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connecting to 172.16.1.90:6444 2024-04-02 23:44:05.848 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connected 2024-04-02 23:44:05.848 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Handshaking 2024-04-02 23:44:05.914 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Authentication failed 2024-04-02 23:44:05.914 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Status update: {'available': False} 2024-04-02 23:44:05.914 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connecting to 172.16.1.90:6444 2024-04-02 23:44:05.921 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connected 2024-04-02 23:44:05.921 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Handshaking 2024-04-02 23:44:05.988 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Authentication failed 2024-04-02 23:44:05.988 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Status update: {'available': False} 2024-04-02 23:44:05.989 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connecting to 172.16.1.90:6444 2024-04-02 23:44:05.995 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connected 2024-04-02 23:44:05.995 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Handshaking 2024-04-02 23:44:06.060 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Authentication failed 2024-04-02 23:44:06.060 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Status update: {'available': False}
同样的连不上
我也连不上
HA版本
2024.3.3
集成版本
0.3.22
设备类型及型号
208907216208555 (Dishwasher)
使用的App
美的美居
问题详细描述
添加设备APP有账号登录提醒,从日志来看已经拿到key和token了,但在添加设备时提示“无法连接到指定设备”
The logs
2024-04-02 23:44:05.520 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/mj/user/login, data: {'iotData': {'src': '1010', 'format': '2', 'stamp': '20240402234405', 'platformId': '1', 'deviceId': '2625df98xxxxxxxx', 'reqId': 'd2b77b1053dbd5aaxxxxxxxxxxxxxxxx', 'clientType': '1', 'appId': '1010', 'iampwd': 'af9d2b716cadf29bdece3685e901f769d3b0031eb5a65548b87cxxxxxxxxxxxx', 'loginAccount': 'c414e631394b8639@outlook.com', 'password': '52bf74425469aa8a436e78ad9ce46b014d363b7d9e6b317d388e0xxxxxxxxxx'}, 'data': {'appKey': 'ac22b9f9abfe4ca5a88562efxxxxxxxx', 'deviceId': '2625df98eed17b6f', 'platform': '2'}, 'stamp': '20240402234405', 'reqId': 'd6a7d6b14fc39ac5087063c17edc3b20'}, response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"randomData":"99201770b2dacda99e79f54cfe8507e53899438d99a11e61652b0be0e208b9c5","uid":"1551c2bac9fcac0b41cfc7caxxxxxxxx","accountId":"1006912800","nickname":"c414e631394b8639","mdata":{"tokenPwdInfo":{"tokenPwd":"f5addc26488f4a718555ea1d86d7c951","expiredDate":1714664645469,"createDate":1712072645469},"userInfo":{"sourceId":"mj_12345","empId":"5499821268679680","address":"","gender":"0","mobile":"c414e631394b8639@outlook.com","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"1551c2bac9fcac0b41cfc7caxxxxxxxx","name":"c414e631394b8639@outlook.com","email":null},"doDeviceBind":null,"accessToken":"T1kiizaaxxxxxxxx","signUnlockEnabled":null},"accessToken":"4148720cb6bdface4ed5a88ad806a5bf1444c923f4f130411bxxxxxxxxxxxxxx","userId":"94266867018113","email":"c414e631394b8639@outlook.com"}}' 2024-04-02 23:44:05.681 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'src': '1010', 'format': '2', 'stamp': '20240402234405', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '4f127be45d629ed577095d216b934fef', 'uid': '1551c2bac9fcac0b41cfc7caxxxxxxxx', 'clientType': '1', 'appId': '1010', 'udpid': 'f1d3a9b676f561c801f14f332e17e698'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"f1d3a9b676f561c801f14f332e17e698","key":"25f0a626bf3e4b36963b2d2d5c9411e9b96227f48bb24887a4xxxxxxxxxxxxxx","token":"0ADA1B6F78060352ADBC5C19B299B1048A9D9D081085DBxxxxxxxx523546AF4F774C47CBCD1BF7799D1AD815B67C774B9E8CBFE4916E314CA9D07xxxxxxxxxx"}]}}' 2024-04-02 23:44:05.838 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'src': '1010', 'format': '2', 'stamp': '20240402234405', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '9ef58426bdc5eddd25f249ab3b1998fe', 'uid': '1551c2bac9fcac0b41cfc7caxxxxxxxx', 'clientType': '1', 'appId': '1010', 'udpid': '66184d2554d6fbfea946a4xxxxxxxxxx'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"66184d2554d6fbfea946a4xxxxxxxxxx","key":"656b274826c54d17bc8f52f2d4cxxxxxxxx83dc9589848c69418e909xxxxxxxx","token":"4A5B52BD4DxxxxxxxxC4308BF0CE62B58FF4922A4C2CxxxxxxxxF6CDC312912A3F93894EEEEE5BA2002862D132D0745D2E59073FE0CC2984DA906Exxxxxxxx"}]}}' 2024-04-02 23:44:05.838 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connecting to 172.16.1.90:6444 2024-04-02 23:44:05.848 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connected 2024-04-02 23:44:05.848 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Handshaking 2024-04-02 23:44:05.914 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Authentication failed 2024-04-02 23:44:05.914 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Status update: {'available': False} 2024-04-02 23:44:05.914 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connecting to 172.16.1.90:6444 2024-04-02 23:44:05.921 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connected 2024-04-02 23:44:05.921 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Handshaking 2024-04-02 23:44:05.988 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Authentication failed 2024-04-02 23:44:05.988 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Status update: {'available': False} 2024-04-02 23:44:05.989 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connecting to 172.16.1.90:6444 2024-04-02 23:44:05.995 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Connected 2024-04-02 23:44:05.995 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Handshaking 2024-04-02 23:44:06.060 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Authentication failed 2024-04-02 23:44:06.060 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [208907216208555] Status update: {'available': False}