|
发表于 2021-9-3 08:20:34
|
显示全部楼层
midea-discover -d
INFO:msmart.cliebug mode active
INFO:msmart.cli:msmart version: 0.1.34 Currently only supports ac devices.
INFO:msmart.cli:Sending Device Scan Broadcast...
DEBUG:msmart.cli:Midea Local Data 192.168.1.4 837000c8200f00005a5a0111b8007a8000000000c34a1408030915149328500000930000000000000000018000000000d9830e7fae9e918aabe270ab656ba2d0fdba7a9a37a444029b16d942de8e0afe1a333ebba87653f92d9ef439c6f398e22fbcb59276386cc56cb91f03d198dff24f1abb84521dfd8c6c5b2cf23f2b69a1ec9e3302bd25847b43a3dc38e515b6e84bdfb3e16e33d88768cc4c3d0658937d96fbcce99f70c976413c2f05f60f82e7fc14ae95eb37b1fd423b2445d96daf46e0e420d90a39799403cb10de8026fd17
DEBUG:msmart.cliecrypt Reply: 192.168.1.4 2501a8c02c19000030303030303033313232323034303032333138313230353430313730303030300d6d696465615f61635f303137300000870002000000000000000000ac00acac0000000004d6f444d4c8150016262113000300000000000000000000000000000000000000000000000000000000000000000000
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"edd8f0ec-b50f-4633-a2e5-fde588cdf98a"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"originPrivateVersion":"","nickname":"[email protected]","sessionId":"6cbbfc5289d64f00bf245ee392664b5920210903002014254","accessToken":"c31833e31af979be0d2220eea650d848b920ebb829d567559397ded751813801","userId":"4826094","versionCode":"","leftCount":""},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/iot/secure/getToken HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"result":{"tokenlist":[{"udpId":"de6dcd0c11941e51a60c0172e9503637","key":"B68827A1D26347A4B56B80A2C2B80324DB18872F12184558A3159B1C8B56E626","token":"167C5EF5287FB39A49AD6316244136E33C515CE4173C73F10C867B3FD050DCEB7A1294F4F2C3798EC95DD92F4F52102192EB875F5D0F1756D0D08D47EE5B8F76"}]},"msg":"ok","errorCode":"0"}
DEBUG:msmart.lan:Attempting new connection to 192.168.1.37:6444
ERROR:msmart.lan:Connect Error: 192.168.1.37:6444 timed out
ERROR:msmart.lan:Sokcet is None: 192.168.1.37:6444
ERROR:msmart.security:unexpected data length
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/iot/secure/getToken HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"result":{"tokenlist":[{"udpId":"e0e420d90a39799403cb10de8026fd17","key":"9704CFA321E543778F29D34A8F8C1AE9574068202C9247428D79071DE3908732","token":"4E3695D7F0C1B82812818304E8F5B476550059B3A02B070E78BFAFC8DC2A146C7922CBB267F73FAAC1F8861C0BD0DAD6DB0A9C94F36FC2852484A407274A8FEE"}]},"msg":"ok","errorCode":"0"}
DEBUG:msmart.lan:Attempting new connection to 192.168.1.37:6444
ERROR:msmart.lan:Connect Error: 192.168.1.37:6444 [Errno 113] No route to host
ERROR:msmart.lan:Sokcet is None: 192.168.1.37:6444
ERROR:msmart.security:unexpected data length
DEBUG:msmart.command:Finalize request data: aa20ac00000000000003418100ff03ff0002000000000000000000000000120e4c
DEBUG:msmart.device:pkt_builder: 192.168.1.37:6444 len: 104 data: 5a5a01116800200000000000311214080309151493285000009300000000000000000000000000006b000a76e27eed2c3647e57d8602df8b5e41b98d2c559357bf4d969e4e51128683effae6ab2599d19aeb1af38245fca7ec5674f82c857d95bcd4c4444030b779
DEBUG:msmart.lan:Socket None -> 192.168.1.37:6444 retries: 0 time: 8.01940107345581 Closed, Create New Socket
DEBUG:msmart.lan:Attempting new connection to 192.168.1.37:6444
ERROR:msmart.lan:Connect Error: 192.168.1.37:6444 timed out
ERROR:msmart.lan:Sokcet is None: 192.168.1.37:6444
ERROR:msmart.security:unexpected data length
华菱N8HE1,搜索空调的ip 但是好像并不能连接6444端口呢
我尝试下 |
|