Hi,
i got 2 Midea AC, I already implemented one to Loxberry - Loxone, it works.
Now I changed the 2. one to the WLAN Loxberry can reach and made an autodiscover.
I searches for new ones, but after short time, there is a Error : (, SystemExit(), ) in the Loxberry Window under Autodiscover.
Hi, i got 2 Midea AC, I already implemented one to Loxberry - Loxone, it works. Now I changed the 2. one to the WLAN Loxberry can reach and made an autodiscover.
I searches for new ones, but after short time, there is a Error : (, SystemExit(), ) in the Loxberry Window under Autodiscover.
I tryed restarting, what can I do?
Debug says: (10.10.10.67 is the old one, 10.10.10.25 the new one) 17.01 16:31 Midea2Lox.py DEBUG 2.16s 17.01 16:31 asyncio DEBUG Using selector: EpollSelector 17.01 16:31 discover.py INFO Sending Device Scan Broadcast... 17.01 16:31 msmart.discover DEBUG Discovery sent to 255.255.255.255:6445. 17.01 16:31 msmart.discover DEBUG Discovery sent to 255.255.255.255:20086. 17.01 16:31 msmart.discover DEBUG Waiting 5 seconds for responses... 17.01 16:31 msmart.discover DEBUG Discovery response from 10.10.10.67: 837000b8200f043a5a5a0111a8007a800000000000000000000000006c05000000820000000000000000000000000000844de378e7b832534838cf3554575c0c0c4baf2b3a724d3dbfb46b50d95c29f247e69074c253c6a9582242fb0a81684e73453cb313357c3aac03a7656614ae1dca4413bf6acb7f5446008c941d19d8bac020d2b4211b18977f0103956ec8304179e3 17.01 16:31 msmart.discover DEBUG Decrypted data from 10.10.10.67: 430a0a0a2c19000030303030303050303030303030305131333042323337313730454237303030300b6e65745f61635f304542370000000001000000040000000000ac000300080103010000000000000000000000000000000000000000 17.01 16:31 msmart.cloud INFO Using Midea cloud server: https://mp-prod.appsmb.com (China: False). 17.01 16:31 httpx DEBUG load_ssl_context verify=True cert=None trust_env=True http2=False 17.01 16:31 httpx DEBUG load_verify_locations cafile='/opt/loxberry/bin/plugins/Midea2Lox/venv/lib/python3.9/site-packages/certifi/cacert.pem' 17.01 16:31 msmart.discover DEBUG Discovery response from 10.10.10.25: 837000b8200f04265a5a0111a8007a800000000000000000000000007b010100008c0000000000000000000000000000ddc370a8ef98b4942e45128fc4cbb45ec6aa00f5b4e31d7768807c1b1495a949d22071b4191869e349e093a055461fca90ddefc03190f31443d17c3aac03a7656614ae1dca44efb9571dad881a7530fd3c091932e90340ef0441fd2864014686df882ad04277 17.01 16:31 msmart.discover DEBUG Decrypted data from 10.10.10.25: 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx413036383143e65745f61635f303039300000000001000000040000000000ac00000000000000a0681c4a0090069fcd0300080103000000000000000000000000000000000000000000 17.01 16:31 httpcore.connection DEBUG connect_tcp.started host='mp-prod.appsmb.com' port=443 local_address=None timeout=10.0 socket_options=None 17.01 16:31 httpcore.connection DEBUG connect_tcp.complete return_value= 17.01 16:31 httpcore.connection DEBUG start_tls.started ssl_context= server_hostname='mp-prod.appsmb.com' timeout=10.0 17.01 16:31 httpcore.connection DEBUG start_tls.complete return_value= 17.01 16:31 httpcore.http11 DEBUG send_request_headers.started request= 17.01 16:31 httpcore.http11 DEBUG send_request_headers.complete 17.01 16:31 httpcore.http11 DEBUG send_request_body.started request= 17.01 16:31 httpcore.http11 DEBUG send_request_body.complete 17.01 16:31 httpcore.http11 DEBUG receive_response_headers.started request= 17.01 16:31 httpcore.http11 DEBUG receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'', [(b'Server', b'nginx/1.17.5'), (b'Date', b'Wed, 17 Jan 2024 15:31:02 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'77'), (b'Connection', b'keep-alive'), (b'X-Kong-Upstream-Latency', b'6'), (b'X-Kong-Proxy-Latency', b'285'), (b'Via', b'kong/2.0.2')]) 17.01 16:31 httpx INFO HTTP Request: POST https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/user/login/id/get "HTTP/1.1 200 " 17.01 16:31 httpcore.http11 DEBUG receive_response_body.started request= 17.01 16:31 httpcore.http11 DEBUG receive_response_body.complete 17.01 16:31 httpcore.http11 DEBUG response_closed.started 17.01 16:31 httpcore.http11 DEBUG response_closed.complete 17.01 16:31 msmart.cloud DEBUG API response: {"code":"0","msg":"ok","data":{"loginId":"f10a3b45-3831-4d03-8a3d-8d2ecd41"}} 17.01 16:31 httpcore.connection DEBUG close.started 17.01 16:31 httpcore.connection DEBUG close.complete 17.01 16:31 msmart.cloud DEBUG Received loginId: f10a3b45-3831-4d03-8a3d-8d2ecd41 17.01 16:31 httpx DEBUG load_ssl_context verify=True cert=None trust_env=True http2=False 17.01 16:31 httpx DEBUG load_verify_locations cafile='/opt/loxberry/bin/plugins/Midea2Lox/venv/lib/python3.9/site-packages/certifi/cacert.pem' 17.01 16:31 httpcore.connection DEBUG connect_tcp.started host='mp-prod.appsmb.com' port=443 local_address=None timeout=10.0 socket_options=None 17.01 16:31 httpcore.connection DEBUG connect_tcp.complete return_value= 17.01 16:31 httpcore.connection DEBUG start_tls.started ssl_context= server_hostname='mp-prod.appsmb.com' timeout=10.0 17.01 16:31 httpcore.connection DEBUG start_tls.complete return_value= 17.01 16:31 httpcore.http11 DEBUG send_request_headers.started request= 17.01 16:31 httpcore.http11 DEBUG send_request_headers.complete 17.01 16:31 httpcore.http11 DEBUG send_request_body.started request= 17.01 16:31 httpcore.http11 DEBUG send_request_body.complete 17.01 16:31 httpcore.http11 DEBUG receive_response_headers.started request= 17.01 16:31 msmart.discover DEBUG Discovered 2 devices. 17.01 16:31 discover.py ERROR (, RuntimeError("Task > got Future attached to a different loop"), ) 17.01 16:31 httpcore.http11 DEBUG receive_response_headers.failed exception=CancelledError() 17.01 16:31 httpcore.http11 DEBUG response_closed.started 17.01 16:31 httpcore.http11 DEBUG response_closed.complete 17.01 16:31 discover.py ERROR (, SystemExit(), )