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

净水机设备不支持 希望新增 MRC1878-1000G #255

Open
GavinIves opened this issue Jul 24, 2024 · 14 comments
Open

净水机设备不支持 希望新增 MRC1878-1000G #255

GavinIves opened this issue Jul 24, 2024 · 14 comments
Labels
bug Something isn't working device_auth_failed midea-local library Issue/enanchement in midea-local library

Comments

@GavinIves
Copy link

设备类型及型号 (或SN)

0000ED5116320098W43102XXXXXXXXXX

新功能的描述

设备类型及型号 (或SN)
0000ED5116320098W43102XXXXXXXXXX
image

MRC1878-1000G

@GavinIves GavinIves added the enhancement New feature or request label Jul 24, 2024
@Issues-translate-bot
Copy link

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


Title: Water purifier equipment is not supported. Hope to add MRC1878-1000G

@rokam rokam added bug Something isn't working midea-local library Issue/enanchement in midea-local library device_auth_failed and removed enhancement New feature or request midea-local library Issue/enanchement in midea-local library labels Jul 25, 2024
@GavinIves
Copy link
Author

image 2024-08-07 17:25:32.566 DEBUG (洗衣机) [midealocal.device] [211106241012006] Sending: {'header': 'aa0bdb00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:32.736 DEBUG (洗衣机) [midealocal.devices.db] [211106241012006] Received: {'header': 'aa47db00000000000003', 'body': '030000001f012003030102040100000004010000db58314c0000000e0a0000c0ffffffffffffffffffffffffffffff0101ffffffffff0000ffff08ffff', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:32.736 DEBUG (洗衣机) [midealocal.device] [211106241012006] Status update: {'power': False, 'start': False, 'washing_data': bytearray(b'\x00\x1f\x01 \x03\x03\x01\x02\x04\x01\x00\x00\x00'), 'progress': 'Wash', 'time_remaining': None} 2024-08-07 17:25:32.990 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] user input login matched 2024-08-07 17:25:33.092 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': '18550587393', 'reqId': '9bab67309d32ba8ac9be93a9eca4cfc1', 'stamp': '20240807092532'}, response: b'{"code":0,"msg":null,"data":{"loginId":"9c702b422e504839b269796168a981cf"}}' 2024-08-07 17:25:33.572 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': 'd88215c64f9a6bbb', 'iampwd': 'db7b1513900deb485d852b181661f218', 'iotAppId': '900', 'loginAccount': '18550587393', 'password': '383fa71d64d5dd512aee69626329afc32c951e57b2643e840c0061737027a6c6', 'reqId': 'c58343c00c7898d48e167314d3636785', 'stamp': '20240807092533'}, 'data': {'appKey': '46579c15', 'deviceId': 'd88215c64f9a6bbb', 'platform': 2}, 'timestamp': '20240807092533', 'stamp': '20240807092533', 'reqId': '5e2b610d3bfdd33561f67cceeb410658'}, response: b'{"code":1106,"msg":"Authenticate failed, username or password is incorrect","data":null}' 2024-08-07 17:25:33.572 WARNING (MainThread) [midealocal.cloud] Meiju Cloud login failed for device d88215c64f9a6bbb 2024-08-07 17:25:33.572 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] ERROR: unable to use account 18550587393 login to 美的美居 cloud 2024-08-07 17:25:33.572 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] ERROR: Failed to login with input account in 美的美居 server 2024-08-07 17:25:34.112 ERROR (MainThread) [metno] Access to https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/2.0/complete returned error 'ClientConnectorError' 2024-08-07 17:25:34.429 DEBUG (蒸烤箱) [midealocal.device] [210006728939381] Sending: {'header': 'aa0bbf00000000001203', 'body': '01', 'message type': '.03', 'body type': '.01'} 2024-08-07 17:25:34.576 DEBUG (蒸烤箱) [midealocal.devices.bf] [210006728939381] Received: {'header': 'aa45bf92000000001203', 'body': '0100000000000000000000000000000000000000000000000000230000000001000000000000000000000000000698010104000000000000000000', 'message type': '.03', 'body type': '.01'} 2024-08-07 17:25:34.576 DEBUG (蒸烤箱) [midealocal.device] [210006728939381] Status update: {'door': False, 'status': 'PowerSave', 'time_remaining': 0, 'current_temperature': 35, 'tank_ejected': False, 'water_change_reminder': False} 2024-08-07 17:25:36.209 DEBUG (干衣机) [midealocal.device] [210006728895741] Sending: {'header': 'aa0bdc00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:36.421 DEBUG (干衣机) [midealocal.devices.dc] [210006728895741] Received: {'header': 'aa41dc00000000000003', 'body': '0300000002000000000200000000000001640000dc34384c00000000000100000000004000000001000000000000030000000000000000', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:36.421 DEBUG (干衣机) [midealocal.device] [210006728895741] 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-08-07 17:25:37.742 DEBUG (洗衣机) [midealocal.device] [211106241012006] Sending: {'header': 'aa0bdb00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:37.919 DEBUG (洗衣机) [midealocal.devices.db] [211106241012006] Received: {'header': 'aa47db00000000000003', 'body': '030000001f012003030102040100000004010000db58314c0000000e0a0000c0ffffffffffffffffffffffffffffff0101ffffffffff0000ffff08ffff', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:37.920 DEBUG (洗衣机) [midealocal.device] [211106241012006] Status update: {'power': False, 'start': False, 'washing_data': bytearray(b'\x00\x1f\x01 \x03\x03\x01\x02\x04\x01\x00\x00\x00'), 'progress': 'Wash', 'time_remaining': None} 2024-08-07 17:25:39.583 DEBUG (蒸烤箱) [midealocal.device] [210006728939381] Sending: {'header': 'aa0bbf00000000001203', 'body': '01', 'message type': '.03', 'body type': '.01'} 2024-08-07 17:25:39.753 DEBUG (蒸烤箱) [midealocal.devices.bf] [210006728939381] Received: {'header': 'aa45bf93000000001203', 'body': '0100000000000000000000000000000000000000000000000000230000000001000000000000000000000000000698010104000000000000000000', 'message type': '.03', 'body type': '.01'} 2024-08-07 17:25:39.753 DEBUG (蒸烤箱) [midealocal.device] [210006728939381] Status update: {'door': False, 'status': 'PowerSave', 'time_remaining': 0, 'current_temperature': 35, 'tank_ejected': False, 'water_change_reminder': False} 2024-08-07 17:25:41.428 DEBUG (干衣机) [midealocal.device] [210006728895741] Sending: {'header': 'aa0bdc00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:41.442 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] user input login matched 2024-08-07 17:25:41.465 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': '18550587393', 'reqId': 'c36b27706499c7044fd11463e9d13e7e', 'stamp': '20240807092541'}, response: b'{"code":0,"msg":null,"data":{"loginId":"83e00b88c9b04473b7c51125d32b72b6"}}' 2024-08-07 17:25:41.638 DEBUG (干衣机) [midealocal.devices.dc] [210006728895741] Received: {'header': 'aa41dc00000000000003', 'body': '0300000002000000000200000000000001640000dc34384c00000000000100000000004000000001000000000000030000000000000000', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:41.638 DEBUG (干衣机) [midealocal.device] [210006728895741] 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-08-07 17:25:41.836 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': 'd88215c64f9a6bbb', 'iampwd': '8e7827384340f3987b3d2b6e41a64dd0', 'iotAppId': '900', 'loginAccount': '18550587393', 'password': 'c0770635f1f18603bd696ceca3083a85fcf3aa3a0c4ec1a2e3a949c124955cba', 'reqId': 'ce0403ffd74ccaabf7bab92f8a6d0634', 'stamp': '20240807092541'}, 'data': {'appKey': '46579c15', 'deviceId': 'd88215c64f9a6bbb', 'platform': 2}, 'timestamp': '20240807092541', 'stamp': '20240807092541', 'reqId': '9e9ffb1d9ad2277ae687190dcdcd7f24'}, response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"uid":"02caab5ee59243b093b806b7dfd048b7","userInfo":{"birthday":null,"mail":null,"signature":null,"homeName":null,"phone2":null,"phone3":null,"uid":"02caab5ee59243b093b806b7dfd048b7","homeCode":null,"isWeixin":"1","cardid":null,"isQq":"0","brand":"1","isApple":"1","registerTime":"1710404983000","nickName":"\\uD83E\\uDDC9","sex":null,"mobile":"18550587393","userId":"1768308085534117889","headImgUrl":"https://thirdwx.qlogo.cn/mmopen/vi_32/d9HptZuEAibguOeLnTJw0omjwlUVtf1Ds1iaZPTiah2Gia2zcqzL6BS7uS9hZeC3vzc2faFA3g47iaohFACNjQLsX6g/132","phone":null,"name":null,"mipUser":null,"isUpdateCacheTime":1,"age":null,"account":null},"iotUserId":102247440,"mdata":{"tokenPwdInfo":{"tokenPwd":"65854e102a97427f96fa20c64fe8375d","expiredDate":1728206755259,"createDate":1723022755259},"userInfo":{"sourceId":"mj_12345","empId":null,"address":"","gender":"0","mobile":"18550587393","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"02caab5ee59243b093b806b7dfd048b7","name":"18550587393","email":null},"expired":1723037144915,"doDeviceBind":null,"accessToken":"T1ma4djcfv9c25n49","signUnlockEnabled":null},"jwtToken":null,"clusterId":65793,"region":10,"isOldUse":null,"key":"44c3cf22cef7bbde20ddb97dd3832db4187c944f79041a1b4b632650e1b4aed9"}}' 2024-08-07 17:25:41.836 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Using account 18550587393 login to 美的美居 cloud pass 2024-08-07 17:25:42.915 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/appliance/info/get, data: {'applianceCode': 210006728895798, 'reqId': '46794322b001a8a3271c44364ad30535', 'stamp': '20240807092542'}, response: b'{"code":0,"msg":null,"data":{"id":null,"applianceCode":210006728895798,"sn":"ddea03f4a057b7d0ff6e5d2bd7ed67e4b2682db448e2942e51241fb600bb829b5307d28219a537ef8294738029dbc6fa","onlineStatus":1,"type":"0xED","modelNumber":"845","name":"\xe5\x87\x80\xe6\xb0\xb4\xe6\x9c\xba","des":null,"activeStatus":1,"activeTime":"2024-06-17 12:52:07","masterId":null,"wifiVersion":"059009012205","enterprise":"0000","isOtherEquipment":null,"attrs":null,"roomName":null,"btMac":"b8:0b:da:4c:b5:e1","btToken":null,"hotspotName":null,"isBluetooth":0,"bindType":null,"ability":null,"nameChanged":null,"sn8":"6320098W","supportWot":false,"templateOfTSL":null,"shadowLevel":null,"smartProductId":10008233,"brand":null}}' 2024-08-07 17:25:42.924 DEBUG (洗衣机) [midealocal.device] [211106241012006] Sending: {'header': 'aa0bdb00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:42.940 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'udpid': '146f8c52030702a2eee8470935d8bed0', 'reqId': 'bb44895a3919663370a2f432834a6062', 'stamp': '20240807092542'}, 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-08-07 17:25:42.941 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 210006728895798 with method 1: None 2024-08-07 17:25:42.964 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'udpid': 'e2612c7c2b714f8c9bb3216ab833a883', 'reqId': 'f3468f06e8dfbe05cf99fe70bbba9504', 'stamp': '20240807092542'}, 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-08-07 17:25:42.964 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 210006728895798 with method 2: None 2024-08-07 17:25:42.965 DEBUG (MainThread) [midealocal.device] [210006728895798] Connecting to 10.123.2.52:6444 2024-08-07 17:25:42.970 DEBUG (MainThread) [midealocal.device] [210006728895798] Connected 2024-08-07 17:25:42.970 DEBUG (MainThread) [midealocal.device] [210006728895798] Handshaking 2024-08-07 17:25:43.026 DEBUG (MainThread) [midealocal.device] [210006728895798] Authentication failed 2024-08-07 17:25:43.026 DEBUG (MainThread) [midealocal.device] [210006728895798] Status update: {'available': False} 2024-08-07 17:25:43.026 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] connect device using method 99 token/key failed 2024-08-07 17:25:43.026 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Unable to connect device with all the token/key 2024-08-07 17:25:43.026 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Can't get valid token with input account in 美的美居 server 2024-08-07 17:25:43.072 DEBUG (洗衣机) [midealocal.devices.db] [211106241012006] Received: {'header': 'aa47db00000000000003', 'body': '030000001f012003030102040100000004010000db58314c0000000e0a0000c0ffffffffffffffffffffffffffffff0101ffffffffff0000ffff08ffff', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:43.072 DEBUG (洗衣机) [midealocal.device] [211106241012006] Status update: {'power': False, 'start': False, 'washing_data': bytearray(b'\x00\x1f\x01 \x03\x03\x01\x02\x04\x01\x00\x00\x00'), 'progress': 'Wash', 'time_remaining': None} 2024-08-07 17:25:44.758 DEBUG (蒸烤箱) [midealocal.device] [210006728939381] Sending: {'header': 'aa0bbf00000000001203', 'body': '01', 'message type': '.03', 'body type': '.01'} 2024-08-07 17:25:44.910 DEBUG (蒸烤箱) [midealocal.devices.bf] [210006728939381] Received: {'header': 'aa45bf94000000001203', 'body': '0100000000000000000000000000000000000000000000000000230000000001000000000000000000000000000698010104000000000000000000', 'message type': '.03', 'body type': '.01'} 2024-08-07 17:25:44.910 DEBUG (蒸烤箱) [midealocal.device] [210006728939381] Status update: {'door': False, 'status': 'PowerSave', 'time_remaining': 0, 'current_temperature': 35, 'tank_ejected': False, 'water_change_reminder': False} 2024-08-07 17:25:45.057 WARNING (MainThread) [midealocal.cloud] Midea cloud API error, url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/multicloud/platform/user/route, error: ClientConnectorError(ConnectionKey(host='mp-prod.appsmb.com', port=443, is_ssl=True, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=6561547058306516205), OSError('Could not contact DNS servers')) 2024-08-07 17:25:45.059 WARNING (MainThread) [midealocal.cloud] Midea cloud API error, url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/multicloud/platform/user/route, error: ClientConnectorError(ConnectionKey(host='mp-prod.appsmb.com', port=443, is_ssl=True, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=6561547058306516205), OSError('Could not contact DNS servers')) 2024-08-07 17:25:45.061 WARNING (MainThread) [midealocal.cloud] Midea cloud API error, url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/multicloud/platform/user/route, error: ClientConnectorError(ConnectionKey(host='mp-prod.appsmb.com', port=443, is_ssl=True, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=6561547058306516205), OSError('Could not contact DNS servers')) 2024-08-07 17:25:45.063 WARNING (MainThread) [midealocal.cloud] Midea cloud API error, url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/user/login/id/get, error: ClientConnectorError(ConnectionKey(host='mp-prod.appsmb.com', port=443, is_ssl=True, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=6561547058306516205), OSError('Could not contact DNS servers')) 2024-08-07 17:25:45.065 WARNING (MainThread) [midealocal.cloud] Midea cloud API error, url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/user/login/id/get, error: ClientConnectorError(ConnectionKey(host='mp-prod.appsmb.com', port=443, is_ssl=True, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=6561547058306516205), OSError('Could not contact DNS servers')) 2024-08-07 17:25:45.067 WARNING (MainThread) [midealocal.cloud] Midea cloud API error, url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/user/login/id/get, error: ClientConnectorError(ConnectionKey(host='mp-prod.appsmb.com', port=443, is_ssl=True, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=6561547058306516205), OSError('Could not contact DNS servers')) 2024-08-07 17:25:45.067 WARNING (MainThread) [midealocal.cloud] MSmartHome Cloud login failed for device 2625df98eed17b6f 2024-08-07 17:25:45.067 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] ERROR: unable to use account c414e631394b8639@outlook.com login to MSmartHome cloud 2024-08-07 17:25:46.674 DEBUG (干衣机) [midealocal.device] [210006728895741] Sending: {'header': 'aa0bdc00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:46.859 DEBUG (干衣机) [midealocal.devices.dc] [210006728895741] Received: {'header': 'aa41dc00000000000003', 'body': '0300000002000000000200000000000001640000dc34384c00000000000100000000004000000001000000000000030000000000000000', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:46.859 DEBUG (干衣机) [midealocal.device] [210006728895741] 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-08-07 17:25:48.078 DEBUG (洗衣机) [midealocal.device] [211106241012006] Sending: {'header': 'aa0bdb00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:48.223 DEBUG (洗衣机) [midealocal.devices.db] [211106241012006] Received: {'header': 'aa47db00000000000003', 'body': '030000001f012003030102040100000004010000db58314c0000000e0a0000c0ffffffffffffffffffffffffffffff0101ffffffffff0000ffff08ffff', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:48.223 DEBUG (洗衣机) [midealocal.device] [211106241012006] Status update: {'power': False, 'start': False, 'washing_data': bytearray(b'\x00\x1f\x01 \x03\x03\x01\x02\x04\x01\x00\x00\x00'), 'progress': 'Wash', 'time_remaining': None} 2024-08-07 17:25:49.945 DEBUG (蒸烤箱) [midealocal.device] [210006728939381] Sending: {'header': 'aa0bbf00000000001203', 'body': '01', 'message type': '.03', 'body type': '.01'} 2024-08-07 17:25:50.096 DEBUG (蒸烤箱) [midealocal.devices.bf] [210006728939381] Received: {'header': 'aa45bf95000000001203', 'body': '0100000000000000000000000000000000000000000000000000230000000001000000000000000000000000000698010104000000000000000000', 'message type': '.03', 'body type': '.01'} 2024-08-07 17:25:50.097 DEBUG (蒸烤箱) [midealocal.device] [210006728939381] Status update: {'door': False, 'status': 'PowerSave', 'time_remaining': 0, 'current_temperature': 35, 'tank_ejected': False, 'water_change_reminder': False} 2024-08-07 17:25:51.865 DEBUG (干衣机) [midealocal.device] [210006728895741] Sending: {'header': 'aa0bdc00000000000003', 'body': '03', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:52.079 DEBUG (干衣机) [midealocal.devices.dc] [210006728895741] Received: {'header': 'aa41dc00000000000003', 'body': '0300000002000000000200000000000001640000dc34384c00000000000100000000004000000001000000000000030000000000000000', 'message type': '.03', 'body type': '.03'} 2024-08-07 17:25:52.080 DEBUG (干衣机) [midealocal.device] [210006728895741] 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}

@rokam
Copy link
Collaborator

rokam commented Aug 7, 2024

First of all, next time please attach the log so it is easier to read.

You cannot use MSmartHome because you have no DNS response to mp-prod.appsmb.com .
You will probably only be able to use 美的美居. Other clouds also use: appsmb.com.

At 2024-08-07 17:25:33.572 you've received a wrong username or password error.
At 2024-08-07 17:25:41.836 you're able to authenticate, but when you try to retrieve the token/key, the route is missing. This might happen due to changes in the Cloud API. I don't use 美的美居, so I'm unable to reverse engineer this.

That's the reason you're unable to retrieve the correct key/token.

@GavinIves
Copy link
Author

我并没有使用MSmartHome 我使用的是美的美居 我没有选错的呀 别的设备都已经成功连接了 只有这个净水器不可以
home-assistant_2024-08-07T09-28-00.152Z.log

@Issues-translate-bot
Copy link

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


I don’t use MSmartHome. I use Midea Mercure. I didn’t choose the wrong one. All other devices have been successfully connected. Only this water purifier doesn’t work.
home-assistant_2024-08-07T09-28-00.152Z.log

@rokam
Copy link
Collaborator

rokam commented Aug 8, 2024

Install the midealocal lib and try midealocal discover -d

@wuwentao
Copy link
Owner

@GavinIves 你的网络是否正常? 另外是否重新试过?
所有美的美居用户登录,用来获取设备的信息,然后会自动使用msmart去获取设备token,因为美居账号不能获取token,所以会自动fallback到msmart去再次尝试。
而你这边显示不能解析msmart的dns记录,导致不能获取msmart的token,请进一步确认一下。
直接升级最新版,重新试试看吧,或者手工测试一下域名是否能够解析: ping mp-prod.appsmb.com, 必须保证网络正常了才能执行设备添加。
请帮忙再次确认,并反馈结果,感谢!

@Issues-translate-bot
Copy link

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


@GavinIves Is your internet working? Have you tried again?
All Midea users log in to obtain device information, and then automatically use msmart to obtain the device token. Because the Meju account cannot obtain the token, it will automatically fallback to msmart and try again.
However, your side shows that the DNS record of msmart cannot be parsed, resulting in the inability to obtain the msmart token. Please confirm further.
Directly upgrade to the latest version and try again, or manually test whether the domain name can be resolved: ping mp-prod.appsmb.com, you must ensure that the network is normal before adding the device.
Please help confirm again and provide feedback on the results, thank you!

@GavinIves
Copy link
Author

GavinIves commented Aug 15, 2024

image 已升级 可以ping通 我重试过依然不行 报错一样 在issue里 我看到了别人也提了和我同样的问题 应该不是我的个例 我有好几台空调冰箱等 他们都可以添加 唯独这个净水器不行

@wuwentao
Copy link
Owner

使用最新版v0.5.7试试看吧,如果还不行,看看debug log是否还有之前的这个域名出错的问题,看不明白的话,就直接升级v0.5.7,然后重新上传debug log吧

@Issues-translate-bot
Copy link

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


Try using the latest version v0.5.7. If it still doesn't work, check the debug log to see if there is still an error with the previous domain name. If you don't understand, just upgrade to v0.5.7 and re-upload the debug log.

@GavinIves
Copy link
Author

GavinIves commented Aug 16, 2024

依然不行 日志如下
home-assistant_midea_ac_lan_2024-08-16T07-14-07.874Z.log

@Issues-translate-bot
Copy link

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


Still not working. The log is as follows:
Uploading home-assistant_midea_ac_lan_2024-08-16T07-14-07.874Z.log…

@rokam
Copy link
Collaborator

rokam commented Aug 16, 2024

For some reason, your appliance isn't accepting the retrieved token.
Maybe the appliance is using a different protocol or we're missing something.

I've added additional logs to help us understand the issue better. rokam/midea-local#276

The next lib version will help us.

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 midea-local library Issue/enanchement in midea-local library
Projects
None yet
Development

No branches or pull requests

4 participants