Skip to content
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

无法添加洗衣机无可用token #249

Closed
Printfo opened this issue Jul 20, 2024 · 5 comments
Closed

无法添加洗衣机无可用token #249

Printfo opened this issue Jul 20, 2024 · 5 comments
Labels
bug Something isn't working device_auth_failed

Comments

@Printfo
Copy link

Printfo commented Jul 20, 2024

HA core version

2024.6.2

Current integration version

v0.5.4

Last known working integration version

v0.5.4

Device type and model

项目号:db.12877 设备id:210006726776784 Lua版本:53 电控版本:76 模组固件版本:059009012205

Working mobile app

美的美居

The description of problem

image

The logs

024-07-20 16:03:51.224 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Does not supports the protocol MessageQueryAppliance, ignored
2024-07-20 16:03:51.225 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Sending: {'header': 'aa0bdc00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'}
2024-07-20 16:03:51.433 DEBUG (Clothes Dryer) [midealocal.devices.dc] [210006726776822] Received: {'header': 'aa29dc00000000000003', 'body': '03000000020000000002000000000000015a0000dc34327400000000000000', 'message type': '.03', 'body type': '.03'}
2024-07-20 16:03:51.434 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Status update: {'power': False, 'start': False, 'washing_data': bytearray(b'\x00\x02\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00'), 'progress': 'Prog1', 'time_remaining': None}
2024-07-20 16:03:51.439 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Status update: {'available': True}
2024-07-20 16:03:52.078 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 642: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-20 16:04:21.530 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Sending: {'header': 'aa0bdc00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'}
2024-07-20 16:04:21.752 DEBUG (Clothes Dryer) [midealocal.devices.dc] [210006726776822] Received: {'header': 'aa29dc00000000000003', 'body': '03000000020000000002000000000000015a0000dc34327400000000000000', 'message type': '.03', 'body type': '.03'}
2024-07-20 16:04:21.753 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Status update: {'power': False, 'start': False, 'washing_data': bytearray(b'\x00\x02\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00'), 'progress': 'Prog1', 'time_remaining': None}
2024-07-20 16:04:24.530 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_miot does not generate unique IDs. ID dc:ed:83:54:b8:f5-f4e73fce9189f82d10438238ad259c94-environment-3.relative_humidity-1 is already used by sensor.zhimi_ua2_b8f5_relative_humidity - ignoring sensor.zhimi_ua2_b8f5_relative_humidity
2024-07-20 16:04:24.531 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_miot does not generate unique IDs. ID dc:ed:83:54:b8:f5-f4e73fce9189f82d10438238ad259c94-environment-3.temperature-2 is already used by sensor.zhimi_ua2_b8f5_temperature - ignoring sensor.zhimi_ua2_b8f5_temperature
2024-07-20 16:04:24.531 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_miot does not generate unique IDs. ID dc:ed:83:54:b8:f5-f4e73fce9189f82d10438238ad259c94-environment-3.pm2_5_density-4 is already used by sensor.zhimi_ua2_b8f5_pm25_density - ignoring sensor.zhimi_ua2_b8f5_pm25_density
2024-07-20 16:04:24.531 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_miot does not generate unique IDs. ID dc:ed:83:54:b8:f5-f4e73fce9189f82d10438238ad259c94-filter-4.filter_life_level-1 is already used by sensor.zhimi_ua2_b8f5_filter_life_level - ignoring sensor.zhimi_ua2_b8f5_filter_life_level
2024-07-20 16:04:24.538 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.zhimi_ua2_b8f5_pm10_density (<class 'custom_components.xiaomi_miot.sensor.MiotSensorSubEntity'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('pm10') it is using; expected one of ['µg/m³']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-07-20 16:04:24.548 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.zhimi_ua2_b8f5_pm10_density_2 (<class 'custom_components.xiaomi_miot.sensor.MiotSensorSubEntity'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('pm10') it is using; expected one of ['µg/m³']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-07-20 16:04:51.865 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Sending: {'header': 'aa0bdc00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'}
2024-07-20 16:04:52.079 DEBUG (Clothes Dryer) [midealocal.devices.dc] [210006726776822] Received: {'header': 'aa29dc00000000000003', 'body': '03000000020000000002000000000000015a0000dc34327400000000000000', 'message type': '.03', 'body type': '.03'}
2024-07-20 16:04:52.080 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Status update: {'power': False, 'start': False, 'washing_data': bytearray(b'\x00\x02\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00'), 'progress': 'Prog1', 'time_remaining': None}
2024-07-20 16:05:01.431 DEBUG (MainThread) [midealocal.discover] All addresses for broadcast: ['192.168.100.255', '172.30.33.255', '172.30.233.255']
2024-07-20 16:05:01.451 DEBUG (MainThread) [midealocal.discover] Received response from ('192.168.100.195', 6445): 837000c8200f00005a5a0111b8007a8000000000ada90410140718141ef7530000bf000000000000000001800000000005e0e0201ff1a821f77faa61b499c04fb3cf6fa413e63c924821e9955cd3400b722c1b2076fd601adcf0b7edbb3f62b540fdc0b40e1279b8a869c98b1b7cfc52b113da10f2f5c513cfafc5817bb5557b39fd64d23cbb2fe87702de8ca3e704c44bdfb3e16e33d88768cc4c3d0658937d96fbcce99f70c976413c2f05f60f82e7091dbdbafc885b2695d16ebc0c86c0870376f475c1a0ef4d154059d7e462b910
2024-07-20 16:05:01.452 DEBUG (MainThread) [midealocal.discover] Declassified reply: c364a8c02c19000030303030434135313133313041303830383342333031313731303831503947580d6d696465615f63615f313038310000bf0502000000000000000000ca0038000000000054b874b2c6b5059034022413010300000000000000000000000000000000000000000000000000000000000000000000
2024-07-20 16:05:01.453 DEBUG (MainThread) [midealocal.discover] Found a supported device: {'device_id': 210006726407966, 'type': 202, 'ip_address': '192.168.100.195', 'port': 6444, 'model': '310A0808', 'sn': '0000CA511310A08083B301171081P9GX', 'protocol': 3}
2024-07-20 16:05:01.463 DEBUG (MainThread) [midealocal.discover] Received response from ('192.168.100.110', 6445): 837000c8200f00005a5a0111b8007a80000000001127041014071814d097590000bf0000000000000000018000000000fa107a974362742bd0f0d26bb819ae9cb8e47179ebfd41078eba25a0bad6c9224b94c9bf874c921e9fe51719a1d988b06a2d4bfd2dab28f4e286cc204fd276ccf63e2eb0bb49970c85f0c9986d57e141b005565ffc2720098d41fea09794c3ba4bdfb3e16e33d88768cc4c3d0658937d96fbcce99f70c976413c2f05f60f82e7843185f0a8ced2a628fb41067013617513157c01fd4f3a0654fa68d084d1676c
2024-07-20 16:05:01.463 DEBUG (MainThread) [midealocal.discover] Declassified reply: 6e64a8c02c190000303030304442353133333831323738373433423037363130313635353155464c0d6d696465615f64625f313635350000bf0302000000000000000000db004d32000000004435d37336f2059009012205010300000000000000000000000000000000000000000000000000000000000000000000
2024-07-20 16:05:01.464 DEBUG (MainThread) [midealocal.discover] Found a supported device: {'device_id': 210006726776784, 'type': 219, 'ip_address': '192.168.100.110', 'port': 6444, 'model': '38127874', 'sn': '0000DB513381278743B0761016551UFL', 'protocol': 3}
2024-07-20 16:05:01.469 DEBUG (MainThread) [midealocal.discover] Received response from ('192.168.100.153', 6445): 837000c8200f00005a5a0111b8007a800000000005d5041014071814f697590000bf0000000000000000018000000000ccc6eb54b6d16476c45ab717088338e4207e530f7d2b13cc37b50b6c76ef93970d148bbf15ab6ae5b78fafb0f53bad4cc6506bf1d084b75dd05700d2bbf105bcddabc6a3e13b4a315a662d39f3d4df975754d6583678fddd6ae273639f40adb14bdfb3e16e33d88768cc4c3d0658937d96fbcce99f70c976413c2f05f60f82e737a10794f4ee45451c3da767b682b73eb251df6b5f2a157d4f8bae1e7e3cff24
2024-07-20 16:05:01.470 DEBUG (MainThread) [midealocal.discover] Declassified reply: 9964a8c02c190000303030304443353133333832303635313033383037354130313535335a5646520d6d696465615f64635f313535330000bf0302000000000000000000dc003432000000008076c24e6e27059009012205010301000000000000000000000000000000000000000000000000000000000000000000
2024-07-20 16:05:01.470 DEBUG (MainThread) [midealocal.discover] Found a supported device: {'device_id': 210006726776822, 'type': 220, 'ip_address': '192.168.100.153', 'port': 6444, 'model': '38206510', 'sn': '0000DC5133820651038075A01553ZVFR', 'protocol': 3}
2024-07-20 16:05:18.690 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] user input login matched
2024-07-20 16:05:18.873 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/user/login/id/get, data: {'loginAccount': '', 'reqId': 'd6ec64a9990f6d954691a606ff590ff3', 'stamp': '20240720080518'}, response: b'{"code":0,"msg":null,"data":{"loginId":"c957b39bd2e84318a9fa970fe05fb81e"}}'
2024-07-20 16:05:19.190 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/mj/user/login, data: {'iotData': {'clientType': 1, 'deviceId': 'e4bf9801521cba15', 'iampwd': 'b7970a79d4367b12e2bd5cb2feff11e1', 'iotAppId': '900', 'loginAccount': '
', 'password': '
', 'reqId': 'beabbf8b2973b8917a2078b6085db66a', 'stamp': '20240720080518'}, 'data': {'appKey': '46579c15', 'deviceId': 'e4bf9801521cba15', 'platform': 2}, 'timestamp': '20240720080518', 'stamp': '20240720080518', 'reqId': '764299d13b92db42203431c52efe033b'}, response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"uid":"eab67c1ff6c4409fb2dd1e043136ad6c","userInfo":{"birthday":null,"mail":null,"signature":null,"homeName":null,"phone2":null,"phone3":null,"uid":"eab67c1ff6c4409fb2dd1e043136ad6c","homeCode":null,"isWeixin":"1","cardid":null,"isQq":"0","brand":"1","isApple":"0","registerTime":"1702552831000","nickName":"Y.","sex":null,"mobile":"*","userId":"1735258464248807425","headImgUrl":"https://thirdwx.qlogo.cn/mmopen/vi_32/pWlCcThica6hanw56kkurSBoFRnG95kLKN6bFe7dLbC3AWz7czVEz1t7JictwVEp4gDiawwzfic8RrBwy5CG5oxv7A/132","phone":null,"name":null,"mipUser":null,"isUpdateCacheTime":1,"age":null,"account":null},"iotUserId":97232579,"mdata":{"tokenPwdInfo":{"tokenPwd":"2a46e668bcb344d49456f70f3a224def","expiredDate":1726646719248,"createDate":1721462719248},"userInfo":{"sourceId":"mj_12345","empId":null,"address":"","gender":"0","mobile":"*******","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"eab67c1ff6c4409fb2dd1e043136ad6c","name":"*******","email":null},"expired":1721477108967,"doDeviceBind":null,"accessToken":"T1m127lta1og2b83d","signUnlockEnabled":null},"jwtToken":null,"clusterId":65793,"region":10,"isOldUse":null,"key":"16bfb36cd24294f333641c13ce8e4ff7187c944f79041a1b4b632650e1b4aed9"}}'
2024-07-20 16:05:19.192 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Using account ****** login to 美的美居 cloud pass
2024-07-20 16:05:21.187 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/appliance/info/get, data: {'applianceCode': 210006726776784, 'reqId': '31512fcf60dc11819f2ca9d5c2158674', 'stamp': '20240720080521'}, response: b'{"code":0,"msg":null,"data":{"id":null,"applianceCode":210006726776784,"sn":"706d2ecf04a90e2db3c9f5716555b5e00d1a5042be9bc313d3190c6a4da4b29dec4f1b4d1476b299e993f8258fe40642","onlineStatus":1,"type":"0xDB","modelNumber":"12877","name":"\xe6\xbb\x9a\xe7\xad\x92\xe6\xb4\x97\xe8\xa1\xa3\xe6\x9c\xba","des":null,"activeStatus":1,"activeTime":"2024-01-08 15:20:07","masterId":null,"wifiVersion":"059009012205","enterprise":"0000","isOtherEquipment":null,"attrs":null,"roomName":null,"btMac":"44:35:d3:73:36:f3","btToken":null,"hotspotName":null,"isBluetooth":0,"bindType":null,"ability":null,"nameChanged":null,"sn8":"38127874","supportWot":false,"templateOfTSL":null,"shadowLevel":null,"smartProductId":10004256,"brand":null}}'
2024-07-20 16:05:21.229 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'udpid': '8e75afc9585e9f3e506d773feb601434', 'reqId': '07c5f1a3f8d28bd5744b57d750299d46', 'stamp': '20240720080521'}, response: b'{"msg":"\xe8\xb0\x83\xe7\x94\xa8\xe4\xb8\x9a\xe5\x8a\xa1\xe7\xb3\xbb\xe7\xbb\x9f\xe5\xbc\x82\xe5\xb8\xb8(\xe8\xae\xbf\xe9\x97\xae\xe5\x9c\xb0\xe5\x9d\x80\xe4\xb8\x8d\xe5\xad\x98\xe5\x9c\xa8) [no Route matched with those values]","code":40404}'
2024-07-20 16:05:21.230 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 210006726776784 with method 1: None
2024-07-20 16:05:21.324 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'udpid': 'f1887071612fb6b849510e373049d301', 'reqId': 'adba1d6fcdf72836649f63d9580f7a3a', 'stamp': '20240720080521'}, response: b'{"msg":"\xe8\xb0\x83\xe7\x94\xa8\xe4\xb8\x9a\xe5\x8a\xa1\xe7\xb3\xbb\xe7\xbb\x9f\xe5\xbc\x82\xe5\xb8\xb8(\xe8\xae\xbf\xe9\x97\xae\xe5\x9c\xb0\xe5\x9d\x80\xe4\xb8\x8d\xe5\xad\x98\xe5\x9c\xa8) [no Route matched with those values]","code":40404}'
2024-07-20 16:05:21.325 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 210006726776784 with method 2: None
2024-07-20 16:05:21.326 DEBUG (MainThread) [midealocal.device] [210006726776784] Connecting to 192.168.100.110:6444
2024-07-20 16:05:21.332 DEBUG (MainThread) [midealocal.device] [210006726776784] Connected
2024-07-20 16:05:21.344 DEBUG (MainThread) [midealocal.device] [210006726776784] Handshaking
2024-07-20 16:05:21.369 DEBUG (MainThread) [midealocal.device] [210006726776784] Authentication failed
2024-07-20 16:05:21.370 DEBUG (MainThread) [midealocal.device] [210006726776784] Status update: {'available': False}
2024-07-20 16:05:21.370 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] connect device using method 99 token/key failed
2024-07-20 16:05:21.370 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Unable to connect device with all the token/key
2024-07-20 16:05:21.370 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Can't get valid token with input account in 美的美居 server
2024-07-20 16:05:22.188 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': '20240720080521', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '55bf250b20bccd44741aa84419b8a5ea', '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":"132097"}}'
2024-07-20 16:05:22.252 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Sending: {'header': 'aa0bdc00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'}
2024-07-20 16:05:22.398 DEBUG (Clothes Dryer) [midealocal.devices.dc] [210006726776822] Received: {'header': 'aa29dc00000000000003', 'body': '03000000020000000002000000000000015a0000dc34327400000000000000', 'message type': '.03', 'body type': '.03'}
2024-07-20 16:05:22.398 DEBUG (Clothes Dryer) [midealocal.device] [210006726776822] Status update: {'power': False, 'start': False, 'washing_data': bytearray(b'\x00\x02\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00'), 'progress': 'Prog1', 'time_remaining': None}
2024-07-20 16:05:22.426 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': '20240720080522', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '31732fdc0209f46498e4ce0e0167f8c9', 'uid': None, 'clientType': '1', 'appId': '1010', 'loginAccount': '[email protected]'}, response: b'{"code":"0","msg":"ok","data":{"loginId":"6248cb0d-3039-438c-9f73-fa7d200a"}}'
2024-07-20 16:05:22.702 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': '20240720080522', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '84e42fa669207b0bddaf2cabc1ea56bc', 'clientType': '1', 'appId': '1010', 'iampwd': '4655e0f23e799f0e98fd30a0336f5bace3f8754cfced3fa0374fa736a6f3f8bd', 'loginAccount': '[email protected]', 'password': 'b62c09d532436c5599ed45d687ac5e72e4f52517720fea15c902ab1c57605c44'}, 'data': {'appKey': 'ac21b9f9cbfe4ca5a88562ef25e2b768', 'deviceId': '2625df98eed17b6f', 'platform': '2'}, 'stamp': '20240720080522', 'reqId': 'd9556de02a20b99d454e24bbe743ef33'}, response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"randomData":"d19c351df8a4fd68e3bb30b7af971ce69fe23de25bef145ed563912792d4810d","uid":"1551cbb009fcac0a41cfc7ca850f0855","accountId":"1006912800","nickname":"c414e631394b8639","mdata":{"tokenPwdInfo":{"tokenPwd":"c6f7262da61a4385a0eec97ea6add498","expiredDate":1724054722651,"createDate":1721462722651},"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":"T1m127msqwow1w6ex","signUnlockEnabled":null},"accessToken":"1a14289b822e48a0a06707ce62b53511657f57b9cac6a0c2bb954f38cca54ea5","userId":"94566877018113","email":"[email protected]"}}'
2024-07-20 16:05:22.703 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Using account [email protected] login to MSmartHome cloud pass
2024-07-20 16:05:22.934 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': '20240720080522', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': 'aa51982527ac40fb4f4f8741a970d6df', 'uid': '1551cbb009fcac0a41cfc7ca850f0855', 'clientType': '1', 'appId': '1010', 'udpid': '8e75afc9585e9f3e506d773feb601434'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"8e75afc9585e9f3e506d773feb601434","key":"f9816d1219844534b11da5e8360c4c6bb9601a54f79c47c387bf3d76e5973e6e","token":"B72DAB668CE56F9B82BF8A5F2F5617EF9ACF49C7DBECDBE2ACE6CC98EF263002C040E0C2DA55700CCA5C17BD8E862802B60880149DE9650872DAD8BD9A6A6ACB"}]}}'
2024-07-20 16:05:22.934 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 210006726776784 with method 1: {'tokenlist': [{'udpId': '8e75afc9585e9f3e506d773feb601434', 'key': 'f9816d1219844534b11da5e8360c4c6bb9601a54f79c47c387bf3d76e5973e6e', 'token': 'B72DAB668CE56F9B82BF8A5F2F5617EF9ACF49C7DBECDBE2ACE6CC98EF263002C040E0C2DA55700CCA5C17BD8E862802B60880149DE9650872DAD8BD9A6A6ACB'}]}
2024-07-20 16:05:23.164 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': '20240720080522', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '8d64fda34f216a275f6f9cdef6869bdb', 'uid': '1551cbb009fcac0a41cfc7ca850f0855', 'clientType': '1', 'appId': '1010', 'udpid': 'f1887071612fb6b849510e373049d301'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"f1887071612fb6b849510e373049d301","key":"f57c5fc273c54cb7bb00db562cfcba944068aea6def54622b544792447dc34a4","token":"3CEE8B523853CC0610453DCD5A3517A508A3DB785F76A4DE211C1A18097E83E3D19F1F2EC17ACB3A68911DFDDDE3592C02AC97D2DEC2B6FD8C268CA4388F724E"}]}}'
2024-07-20 16:05:23.165 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 210006726776784 with method 2: {'tokenlist': [{'udpId': 'f1887071612fb6b849510e373049d301', 'key': 'f57c5fc273c54cb7bb00db562cfcba944068aea6def54622b544792447dc34a4', 'token': '3CEE8B523853CC0610453DCD5A3517A508A3DB785F76A4DE211C1A18097E83E3D19F1F2EC17ACB3A68911DFDDDE3592C02AC97D2DEC2B6FD8C268CA4388F724E'}]}
2024-07-20 16:05:23.167 DEBUG (MainThread) [midealocal.device] [210006726776784] Connecting to 192.168.100.110:6444
2024-07-20 16:05:23.173 DEBUG (MainThread) [midealocal.device] [210006726776784] Connected
2024-07-20 16:05:23.173 DEBUG (MainThread) [midealocal.device] [210006726776784] Handshaking
2024-07-20 16:05:23.242 DEBUG (MainThread) [midealocal.device] [210006726776784] Authentication failed
2024-07-20 16:05:23.243 DEBUG (MainThread) [midealocal.device] [210006726776784] Status update: {'available': False}
2024-07-20 16:05:23.243 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] connect device using method 1 token/key failed
2024-07-20 16:05:23.245 DEBUG (MainThread) [midealocal.device] [210006726776784] Connecting to 192.168.100.110:6444
2024-07-20 16:05:23.257 DEBUG (MainThread) [midealocal.device] [210006726776784] Connected
2024-07-20 16:05:23.258 DEBUG (MainThread) [midealocal.device] [210006726776784] Handshaking
2024-07-20 16:05:23.306 DEBUG (MainThread) [midealocal.device] [210006726776784] Authentication failed
2024-07-20 16:05:23.306 DEBUG (MainThread) [midealocal.device] [210006726776784] Status update: {'available': False}
2024-07-20 16:05:23.306 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] connect device using method 2 token/key failed
2024-07-20 16:05:23.306 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Unable to connect device with all the token/key
2024-07-20 16:05:23.308 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Can't get any available token with device 210006726776784

@Printfo Printfo added the bug Something isn't working label Jul 20, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: Unable to add washing machine, no available token

@wuwentao
Copy link
Owner

抱歉,先关闭当前issue,统一使用 #275 来跟踪和处理,避免大量重复问题

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Sorry, please close the current issue first and use #275 to track and handle it uniformly to avoid a large number of duplicate issues.

@wuwentao
Copy link
Owner

补充说明:close当前issue仅仅是不在默认open的issue list中显示,并不代表当前issue不再处理或者无视问题了。
主要是方便管理和跟踪其他issue,而当前issue的后续状态和进展,仍然可以继续update其他信息,都是能够收到提醒和状态更新的。
并且,在主issue中也都有当前issue的关联信息,后续都能逐个追踪,回溯回来。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


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.
It is mainly to facilitate the management and tracking of other issues. As for the subsequent status and progress of the current issue, you can still continue to update other information, and you can receive reminders and status updates.
Moreover, the main issue also has related information about the current issue, which can be tracked one by one and traced back later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working device_auth_failed
Projects
None yet
Development

No branches or pull requests

4 participants