-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get available token for this device #245
Comments
抱歉,由于github当前存在大量同样duplicate的issue,隐藏先关闭当前issue,统一使用 #275 来跟踪和处理,避免大量重复问题的跟踪和处理。 |
Sorry, because there are currently a large number of identical duplicate issues on GitHub, hide and close the current issue first, and use #275 to track and handle them uniformly to avoid tracking and handling a large number of duplicate issues. |
补充说明:close当前issue仅仅是不在默认open的issue list中显示,并不代表当前issue不再处理或者无视问题了。 |
Additional explanation: Close the current issue is just not displayed in the default open issue list, it does not mean that the current issue is no longer processed or ignored. |
HA core version
2024.7.2
Current integration version
0.5.4
Last known working integration version
0.0.0
Device type and model
Dishwasher
Working mobile app
MSmartHome
The description of problem
Can't get available token for this device
The logs
2024-07-17 16:18:06.021 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] user input login matched
2024-07-17 16:18:10.662 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/multicloud/platform/user/route, data: {'src': '1010', 'format': '2', 'stamp': '20240717141806', 'platformId': '1', 'deviceId': 'fe2cf58b2a5527c2', 'reqId': '0a5b16e86cd1b2dbabed5dbe82fa2738', 'uid': None, 'clientType': '1', 'appId': '1010', 'userType': '0', 'userName': '[email protected]'}, response: b'{"msg":"ok","code":0,"data":{"masUrl":"https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=","sseUrl":"https://sse.msmartlife.net","idAdapt":"131329","countryCode":"HK","emsIdAdapt":"131841"}}'
2024-07-17 16:18:10.996 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/user/login/id/get, data: {'src': '1010', 'format': '2', 'stamp': '20240717141810', 'platformId': '1', 'deviceId': 'fe2cf58b2a5527c2', 'reqId': '558edf372a70950362f28fead5887904', 'uid': None, 'clientType': '1', 'appId': '1010', 'loginAccount': '[email protected]'}, response: b'{"code":"0","msg":"ok","data":{"loginId":"720fa8b0-f737-49e5-b9fa-588d627d"}}'
2024-07-17 16:18:16.496 DEBUG (MainThread) [midealocal.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': '20240717141810', 'platformId': '1', 'deviceId': 'fe2cf58b2a5527c2', 'reqId': 'ac90e6e1d54f74538faf567d5efd4e71', 'clientType': '1', 'appId': '1010', 'iampwd': '3544fd429b2b811fe253dc372de2ffda5c301cf3cf9095e49fb7f2db3fd878d7', 'loginAccount': '[email protected]', 'password': 'ac6b92304cb35eb3137878ae1edc780fcc13bfa706743bb4a3f3b120119228be'}, 'data': {'appKey': 'ac21b9f9cbfe4ca5a88562ef25e2b768', 'deviceId': 'fe2cf58b2a5527c2', 'platform': '2'}, 'stamp': '20240717141810', 'reqId': '710d4d90ed0e473ff513f6d3ef811db6'}, response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"randomData":"380dca386bfcd0dee9cfe3ac15fc55c3c5e73dbafde01a103861249cb608ad64","uid":"ce07f4f7f5e41dbace6e024d860cdb4c","accountId":"1074090841","nickname":"sebhart1976","mdata":{"tokenPwdInfo":{"tokenPwd":"8831f6f5a98b4604aa96d89b9d79ad39","expiredDate":1723817896066,"createDate":1721225896066},"userInfo":{"sourceId":"mj_12345","empId":"5882212595234816","address":"","gender":"0","mobile":"[email protected]","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"ce07f4f7f5e41dbace6e024d860cdb4c","name":"[email protected]","email":null},"doDeviceBind":null,"accessToken":"T1lzop2nnthc4sweo","signUnlockEnabled":null},"accessToken":"373089f82213f4c0c2cc3fd5ecd4e418ee08ecc086ee890e434a05cb4fb5b9e6","userId":"143512961810433","email":"[email protected]"}}'
2024-07-17 16:18:16.497 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Using account [email protected] login to MSmartHome cloud pass
2024-07-17 16:18:22.110 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/appliance/user/list/get, data: {'src': '1010', 'format': '2', 'stamp': '20240717141821', 'platformId': '1', 'deviceId': 'fe2cf58b2a5527c2', 'reqId': '1b0ebdbf362e89d4f8fa62cbffec90b9', 'uid': 'ce07f4f7f5e41dbace6e024d860cdb4c', 'clientType': '1', 'appId': '1010'}, response: b'{"code":"0","msg":"ok","data":{"list":[{"id":"152832116716027","userId":null,"wifiVersion":"059006092306","sn":"7bf9f1ed37ccbb1cdfd49c0757000c4ce4702a2baff8ac9299a72ca944cc5d3997bdf232282201e87f546b9e71fedb57","onlineStatus":"1","type":"0xE1","modelNumber":"3","name":"Sp\xc3\xbclmaschine","des":"","activeStatus":"1","userType":"1","homegroupId":null,"homegroupNumber":null,"homegroupCreateUserId":null,"tsn":null,"mac":null,"registerTime":"Fri Jul 12 09:15:27 UTC 2024","uid":"ce07f4f7f5e41dbace6e024d860cdb4c","existTemplate":0,"templateOfTSL":null,"bleMac":null,"connectType":"1","sort":3,"smartProductId":10006903,"btMac":"4435d36f95cb","btToken":"6000001054715024","compose":false,"singleAppliances":null,"singleCompose":false,"sn8":"760001BZ","supportWidget":false}]}}'
2024-07-17 16:18:22.620 DEBUG (MainThread) [midealocal.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': '20240717141822', 'platformId': '1', 'deviceId': 'fe2cf58b2a5527c2', 'reqId': '0d4db017811aa0cc73e56f6aa3c89e2f', 'uid': 'ce07f4f7f5e41dbace6e024d860cdb4c', 'clientType': '1', 'appId': '1010', 'udpid': '428eb7d47a764d20806c24ecc0037cca'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"428eb7d47a764d20806c24ecc0037cca","key":"85e834fa07254a55819f3fc86f3b3c22d3c6bf28b19d463bb55daa3bb392b9ab","token":"FDFBEE1DBEEABAF98B73DD7DC7AF899D4B079BD85AA93E21FB904655C33A071AAD628EED3821C09F05F117A6C7A7F1FF5E686658FBBFBE1C9DB2ACEC9BA1E052"}]}}'
2024-07-17 16:18:22.624 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 152832116716027 with method 1: {'tokenlist': [{'udpId': '428eb7d47a764d20806c24ecc0037cca', 'key': '85e834fa07254a55819f3fc86f3b3c22d3c6bf28b19d463bb55daa3bb392b9ab', 'token': 'FDFBEE1DBEEABAF98B73DD7DC7AF899D4B079BD85AA93E21FB904655C33A071AAD628EED3821C09F05F117A6C7A7F1FF5E686658FBBFBE1C9DB2ACEC9BA1E052'}]}
2024-07-17 16:18:22.951 DEBUG (MainThread) [midealocal.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': '20240717141822', 'platformId': '1', 'deviceId': 'fe2cf58b2a5527c2', 'reqId': 'b727b44840fb783ea23f60d2b05fae78', 'uid': 'ce07f4f7f5e41dbace6e024d860cdb4c', 'clientType': '1', 'appId': '1010', 'udpid': '7c3c4b567d9ba445c9a906b114415d47'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"7c3c4b567d9ba445c9a906b114415d47","key":"4c2cffdec1994d23b2e6a2b15c2b147196483ffae12a4697bdeb2e0e7efaeab4","token":"9F01F555A2AB2E8DBB2C2A8943628532F4E555E8D00B74862FF0CD0E20F3D9EC4B28469E8E34CD2708FA38F71FCAA71143EF6411740722CE3914159A96085C35"}]}}'
2024-07-17 16:18:22.952 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 152832116716027 with method 2: {'tokenlist': [{'udpId': '7c3c4b567d9ba445c9a906b114415d47', 'key': '4c2cffdec1994d23b2e6a2b15c2b147196483ffae12a4697bdeb2e0e7efaeab4', 'token': '9F01F555A2AB2E8DBB2C2A8943628532F4E555E8D00B74862FF0CD0E20F3D9EC4B28469E8E34CD2708FA38F71FCAA71143EF6411740722CE3914159A96085C35'}]}
2024-07-17 16:18:22.952 DEBUG (MainThread) [midealocal.device] [152832116716027] Connecting to 192.168.178.116:6444
2024-07-17 16:18:22.994 DEBUG (MainThread) [midealocal.device] [152832116716027] Connected
2024-07-17 16:18:22.995 DEBUG (MainThread) [midealocal.device] [152832116716027] Handshaking
2024-07-17 16:18:23.061 DEBUG (MainThread) [midealocal.device] [152832116716027] Authentication failed
2024-07-17 16:18:23.061 DEBUG (MainThread) [midealocal.device] [152832116716027] Status update: {'available': False}
2024-07-17 16:18:23.061 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] connect device using method 1 token/key failed
2024-07-17 16:18:23.063 DEBUG (MainThread) [midealocal.device] [152832116716027] Connecting to 192.168.178.116:6444
2024-07-17 16:18:23.108 DEBUG (MainThread) [midealocal.device] [152832116716027] Connected
2024-07-17 16:18:23.108 DEBUG (MainThread) [midealocal.device] [152832116716027] Handshaking
2024-07-17 16:18:23.188 DEBUG (MainThread) [midealocal.device] [152832116716027] Authentication failed
2024-07-17 16:18:23.188 DEBUG (MainThread) [midealocal.device] [152832116716027] Status update: {'available': False}
2024-07-17 16:18:23.188 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] connect device using method 2 token/key failed
2024-07-17 16:18:23.190 DEBUG (MainThread) [midealocal.device] [152832116716027] Connecting to 192.168.178.116:6444
2024-07-17 16:18:23.247 DEBUG (MainThread) [midealocal.device] [152832116716027] Connected
2024-07-17 16:18:23.248 DEBUG (MainThread) [midealocal.device] [152832116716027] Handshaking
2024-07-17 16:18:23.308 DEBUG (MainThread) [midealocal.device] [152832116716027] Authentication failed
2024-07-17 16:18:23.308 DEBUG (MainThread) [midealocal.device] [152832116716027] Status update: {'available': False}
2024-07-17 16:18:23.308 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] connect device using method 99 token/key failed
2024-07-17 16:18:23.309 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Unable to connect device with all the token/key
2024-07-17 16:18:23.327 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Can't get valid token with input account in MSmartHome server
2024-07-17 16:18:23.643 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/multicloud/platform/user/route, data: {'src': '1010', 'format': '2', 'stamp': '20240717141823', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '00d28e803e056ac8e6be435b58263cd2', 'uid': None, 'clientType': '1', 'appId': '1010', 'userType': '0', 'userName': '[email protected]'}, response: b'{"msg":"ok","code":0,"data":{"masUrl":"https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=","sseUrl":"https://sse.msmartlife.net","idAdapt":"131329","countryCode":"HK","emsIdAdapt":"131841"}}'
2024-07-17 16:18:23.974 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/user/login/id/get, data: {'src': '1010', 'format': '2', 'stamp': '20240717141823', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '05d5e54f386f2b43f0d259b72d5ce6e5', 'uid': None, 'clientType': '1', 'appId': '1010', 'loginAccount': '[email protected]'}, response: b'{"code":"0","msg":"ok","data":{"loginId":"b6d732a5-401f-4770-ae68-9f261b0c"}}'
2024-07-17 16:18:29.302 DEBUG (MainThread) [midealocal.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': '20240717141823', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '0c32c368b0c544a5a04001fa79cdd163', 'clientType': '1', 'appId': '1010', 'iampwd': 'b19091e0c5579e59fe19aff4b90b4d1f2833e3f78e2f0a920d8ca4a0f23ab216', 'loginAccount': '[email protected]', 'password': 'dc7d2e987a4c574ad9308fba6400f8718c9f608d8e6390bcd879f3e117a53510'}, 'data': {'appKey': 'ac21b9f9cbfe4ca5a88562ef25e2b768', 'deviceId': '2625df98eed17b6f', 'platform': '2'}, 'stamp': '20240717141823', 'reqId': 'a98fb449a5b80cb18cb9bf3d956127af'}, response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"randomData":"1306755932d6c5fade0c83a2e7c23d2ef1dbe9c5f99c189b6d454daec37dd674","uid":"1551cbb009fcac0a41cfc7ca850f0855","accountId":"1006912800","nickname":"c414e631394b8639","mdata":{"tokenPwdInfo":{"tokenPwd":"69d5d7e1f81d4a03bcdf024e049be549","expiredDate":1723817908886,"createDate":1721225908886},"userInfo":{"sourceId":"mj_12345","empId":"5499821268679680","address":"","gender":"0","mobile":"[email protected]","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"1551cbb009fcac0a41cfc7ca850f0855","name":"[email protected]","email":null},"doDeviceBind":null,"accessToken":"T1lzop664oow11bxl","signUnlockEnabled":null},"accessToken":"6e4fd58807416db16ca7a02005243146ec106609d290e81d1d2d7cecebcc733b","userId":"94566877018113","email":"[email protected]"}}'
2024-07-17 16:18:29.303 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Using account [email protected] login to MSmartHome cloud pass
2024-07-17 16:18:29.778 DEBUG (MainThread) [midealocal.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': '20240717141829', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '443db25628e21be719398a3ac8f8ddb6', 'uid': '1551cbb009fcac0a41cfc7ca850f0855', 'clientType': '1', 'appId': '1010', 'udpid': '428eb7d47a764d20806c24ecc0037cca'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"428eb7d47a764d20806c24ecc0037cca","key":"d31c1026462049bba7ec3699824db3d9990971b4492841ae9dd9581238f3ce49","token":"143DEFC9FE7A0D0D3FE5F0EBAD40780A2ADDF780F530E3346FA4FE96CD14FF96A8B8D5A68D0474697A861A47781ECA536B1431DB6E3A2BDD05AA4D56DC3A358B"}]}}'
2024-07-17 16:18:29.779 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 152832116716027 with method 1: {'tokenlist': [{'udpId': '428eb7d47a764d20806c24ecc0037cca', 'key': 'd31c1026462049bba7ec3699824db3d9990971b4492841ae9dd9581238f3ce49', 'token': '143DEFC9FE7A0D0D3FE5F0EBAD40780A2ADDF780F530E3346FA4FE96CD14FF96A8B8D5A68D0474697A861A47781ECA536B1431DB6E3A2BDD05AA4D56DC3A358B'}]}
2024-07-17 16:18:30.292 DEBUG (MainThread) [midealocal.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': '20240717141829', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '68707b38b33d7184f33e73f61b636e2d', 'uid': '1551cbb009fcac0a41cfc7ca850f0855', 'clientType': '1', 'appId': '1010', 'udpid': '7c3c4b567d9ba445c9a906b114415d47'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"7c3c4b567d9ba445c9a906b114415d47","key":"3febfd0f7151458e998706f0d39bb0a9de603076176b482ebff37e5fccb98b8c","token":"0E1B9FA4202BE36336B6533D6ED16E0FCB999EBA583DE9A5F3E4A341C6A952C2550BDCB92351E97B43AA8EE6401353849EC559D6478E13EF2894243920A01074"}]}}'
2024-07-17 16:18:30.293 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 152832116716027 with method 2: {'tokenlist': [{'udpId': '7c3c4b567d9ba445c9a906b114415d47', 'key': '3febfd0f7151458e998706f0d39bb0a9de603076176b482ebff37e5fccb98b8c', 'token': '0E1B9FA4202BE36336B6533D6ED16E0FCB999EBA583DE9A5F3E4A341C6A952C2550BDCB92351E97B43AA8EE6401353849EC559D6478E13EF2894243920A01074'}]}
2024-07-17 16:18:30.293 DEBUG (MainThread) [midealocal.device] [152832116716027] Connecting to 192.168.178.116:6444
2024-07-17 16:18:30.321 DEBUG (MainThread) [midealocal.device] [152832116716027] Connected
2024-07-17 16:18:30.324 DEBUG (MainThread) [midealocal.device] [152832116716027] Handshaking
2024-07-17 16:18:30.388 DEBUG (MainThread) [midealocal.device] [152832116716027] Authentication failed
2024-07-17 16:18:30.389 DEBUG (MainThread) [midealocal.device] [152832116716027] Status update: {'available': False}
2024-07-17 16:18:30.389 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] connect device using method 1 token/key failed
2024-07-17 16:18:30.390 DEBUG (MainThread) [midealocal.device] [152832116716027] Connecting to 192.168.178.116:6444
2024-07-17 16:18:30.419 DEBUG (MainThread) [midealocal.device] [152832116716027] Connected
2024-07-17 16:18:30.419 DEBUG (MainThread) [midealocal.device] [152832116716027] Handshaking
2024-07-17 16:18:30.504 DEBUG (MainThread) [midealocal.device] [152832116716027] Authentication failed
2024-07-17 16:18:30.506 DEBUG (MainThread) [midealocal.device] [152832116716027] Status update: {'available': False}
2024-07-17 16:18:30.506 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] connect device using method 2 token/key failed
2024-07-17 16:18:30.507 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Unable to connect device with all the token/key
2024-07-17 16:18:30.511 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Can't get any available token with device 152832116716027
The text was updated successfully, but these errors were encountered: