2022-06-21 22:03:35 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Devices found: {160528703186992: {'id': 160528703186992, 'ip': '192.168.51.210', 'port': 6444, 'model': 'K86EB', 'protocol': 3}, 164926749962169: {'id': 164926749962169, 'ip': '192.168.51.238', 'port': 6444, 'model': 'K86EB', 'protocol': 3}, 196812581471476: {'id': 196812581471476, 'ip': '192.168.51.121', 'port': 6444, 'model': '02BWF', 'protocol': 3}}
2022-06-21 22:04:34 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Now config device {'id': 160528703186992, 'ip': '192.168.51.210', 'port': 6444, 'model': 'K86EB', 'protocol': 3}
2022-06-21 22:04:35 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.mideacloud] Response: b'{"code":"0","msg":"ok","data":{"loginId":"896d66a7-ff49-4ee1-8994-5fe6eca2"}}'
2022-06-21 22:04:36 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.mideacloud] Response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"randomData":"cdd0c20be6a9e8b0733b445548114c937bc5c231706f0e9841eff5fe799e51e1","uid":"22dab43d5953a003ccc5a9871dc70416","accountId":"5817794331","nickname":"***@gmail.com","mdata":{"tokenPwdInfo":{"tokenPwd":"31f02f46bd1447f4b78b0e9993a37297","expiredDate":1658412276102,"createDate":1655820276102},"userInfo":{"sourceId":"mj_12345","empId":"4817945442915328","address":"","gender":"0","mobile":"***@gmail.com","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"22dab43d5953a003ccc5a9871dc70416","name":"***@gmail.com","email":null},"doDeviceBind":null,"accessToken":"T1bfu098uy2o3lbbf","signUnlockEnabled":null},"accessToken":"b770d484011d6fbcfaa695907c823b48afdcb89aab60e5d1d3eb9e143e5cf098","userId":"7286770415617","email":"***@gmail.com"}}'
2022-06-21 22:04:36 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.mideacloud] Response: b'{"msg":"ok","code":"0","data":{"tokenlist":[{"udpId":"24de86420a894e22c782fa8c14eed1fd","key":"29CAD3BE476640C7BD139A2052F6E851457F185B1D4042E7AA9EDDB61A9933C8","token":"7B919C8D5D67F5E413C0168A283F0CD8AE31B4C158A0265DA33E1B3F4D43A3D5563B526CFB926E8DDB1715448EB250C2F44E38EBCF34F57493B29D1062AE5748"}]}}'
2022-06-21 22:04:36 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Successful to take token and key, token = 7B919C8D5D67F5E413C0168A283F0CD8AE31B4C158A0265DA33E1B3F4D43A3D5563B526CFB926E8DDB1715448EB250C2F44E38EBCF34F57493B29D1062AE5748, key = 29CAD3BE476640C7BD139A2052F6E851457F185B1D4042E7AA9EDDB61A9933C8, byte_order_big = True
2022-06-21 22:04:36 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Try to connect to device 160528703186992
2022-06-21 22:04:36 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Device 160528703186992 connected at socket <socket.socket fd=21, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.51.125', 50514), raddr=('192.168.51.210', 6444)>
2022-06-21 22:04:37 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Authenticated
2022-06-21 22:04:37 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.command] Send message: {'header': 'aa23ac00000000000003', 'body': '418100ff03ff0002000000000000000000000000000000db', 'type': 833}
2022-06-21 22:05:07 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Socket connect timed out
2022-06-21 22:05:08 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.mideacloud] Response: b'{"msg":"ok","code":"0","data":{"tokenlist":[{"udpId":"dd062f489e1674695e18ea5cd1911da2","key":"105EE541B89E4879B846A92D66B529BF8D3A3B22FBA9424FB6E5F23DAEA5255B","token":"77D54E7D43CBA256763D615A174227F27E0E7EDECEDD99E46800A3F601000D0780F401840DEE884A1DE1B70A93F243FD0E2D43231C24F8E0AE0C66168EB87078"}]}}'
2022-06-21 22:05:08 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Successful to take token and key, token = 77D54E7D43CBA256763D615A174227F27E0E7EDECEDD99E46800A3F601000D0780F401840DEE884A1DE1B70A93F243FD0E2D43231C24F8E0AE0C66168EB87078, key = 105EE541B89E4879B846A92D66B529BF8D3A3B22FBA9424FB6E5F23DAEA5255B, byte_order_big = False
2022-06-21 22:05:08 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Try to connect to device 160528703186992
2022-06-21 22:05:08 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Device 160528703186992 connected at socket <socket.socket fd=21, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.51.125', 50516), raddr=('192.168.51.210', 6444)>
2022-06-21 22:05:08 ERROR (MainThread) [custom_components.midea_ac_lan.state_manager] Connection authException error