Home Assistant Custom Integration for Midea Group(Hualing, Senville, Klimaire, AirCon, Century, Pridiom, Thermocore, Comfee, Toshiba, Carrier, Goodman, Friedrich, Samsung, Kenmore, Trane, Lennox, LG and much more) Air Conditioners via LAN.
PS D:\py3.9\Scripts> midea-discover -a 159xxxxxxxxx -p xxxxxxxxxx
INFO:msmart.cli:msmart version: 0.2.0 Currently only supports ac devices.
Traceback (most recent call last):
File "d:\py3.9\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "d:\py3.9\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\py3.9\Scripts\midea-discover.exe__main.py", line 7, in
File "d:\py3.9\lib\site-packages\click\core.py", line 1128, in call
return self.main(*args, kwargs)
File "d:\py3.9\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "d:\py3.9\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, ctx.params)
File "d:\py3.9\lib\site-packages\click\core.py", line 754, in invoke
return callback(*args, kwargs)
File "d:\py3.9\lib\site-packages\msmart\cli.py", line 45, in discover
found_devices = loop.run_until_complete(discovery.get_all() if ip == '' else discovery.get(ip))
File "d:\py3.9\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 181, in get_all
await self._process_tasks(tasks)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 187, in _process_tasks
[self.result.add(task.result()) for task in tasks]
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 187, in
[self.result.add(task.result()) for task in tasks]
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 44, in support_test
_device = await self.support_testv3(account, password)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 59, in support_testv3
token, key = await loop.run_in_executor(None, gettoken, udpid, account, password)
File "d:\py3.9\lib\concurrent\futures\thread.py", line 52, in run
result = self.fn(*self.args, *self.kwargs)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 242, in gettoken
Client.login()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 112, in login
self.get_login_id()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 102, in get_login_id
response = self.api_request("user/login/id/get", {
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 86, in api_request
self.handle_api_error(int(response['errorCode']), response['msg'])
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 233, in handle_api_error
handler()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 219, in throw
raise ValueError(error_code, message)
ValueError: (3102, 'this account does not exist')
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-2' coro=<scandevice.support_test() done, defined at d:\py3.9\lib\site-packages\msmart\scanner.py:42> exception=ValueError(3102, 'this account does not exist')>
Traceback (most recent call last):
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 44, in support_test
_device = await self.support_testv3(account, password)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 59, in support_testv3
token, key = await loop.run_in_executor(None, gettoken, udpid, account, password)
File "d:\py3.9\lib\concurrent\futures\thread.py", line 52, in run
result = self.fn(self.args, self.kwargs)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 242, in gettoken
Client.login()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 112, in login
self.get_login_id()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 102, in get_login_id
response = self.api_request("user/login/id/get", {
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 86, in api_request
self.handle_api_error(int(response['errorCode']), response['msg'])
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 233, in handle_api_error
handler()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 219, in throw
raise ValueError(error_code, message)
ValueError: (3102, 'this account does not exist')
PS D:\py3.9\Scripts> midea-discover -a 159xxxxxxxxx -p xxxxxxxxxx INFO:msmart.cli:msmart version: 0.2.0 Currently only supports ac devices. Traceback (most recent call last): File "d:\py3.9\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "d:\py3.9\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "D:\py3.9\Scripts\midea-discover.exe__main.py", line 7, in
File "d:\py3.9\lib\site-packages\click\core.py", line 1128, in call
return self.main(*args, kwargs)
File "d:\py3.9\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "d:\py3.9\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, ctx.params)
File "d:\py3.9\lib\site-packages\click\core.py", line 754, in invoke
return callback(*args, kwargs)
File "d:\py3.9\lib\site-packages\msmart\cli.py", line 45, in discover
found_devices = loop.run_until_complete(discovery.get_all() if ip == '' else discovery.get(ip))
File "d:\py3.9\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 181, in get_all
await self._process_tasks(tasks)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 187, in _process_tasks
[self.result.add(task.result()) for task in tasks]
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 187, in
[self.result.add(task.result()) for task in tasks]
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 44, in support_test
_device = await self.support_testv3(account, password)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 59, in support_testv3
token, key = await loop.run_in_executor(None, gettoken, udpid, account, password)
File "d:\py3.9\lib\concurrent\futures\thread.py", line 52, in run
result = self.fn(*self.args, *self.kwargs)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 242, in gettoken
Client.login()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 112, in login
self.get_login_id()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 102, in get_login_id
response = self.api_request("user/login/id/get", {
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 86, in api_request
self.handle_api_error(int(response['errorCode']), response['msg'])
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 233, in handle_api_error
handler()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 219, in throw
raise ValueError(error_code, message)
ValueError: (3102, 'this account does not exist')
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-2' coro=<scandevice.support_test() done, defined at d:\py3.9\lib\site-packages\msmart\scanner.py:42> exception=ValueError(3102, 'this account does not exist')>
Traceback (most recent call last):
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 44, in support_test
_device = await self.support_testv3(account, password)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 59, in support_testv3
token, key = await loop.run_in_executor(None, gettoken, udpid, account, password)
File "d:\py3.9\lib\concurrent\futures\thread.py", line 52, in run
result = self.fn(self.args, self.kwargs)
File "d:\py3.9\lib\site-packages\msmart\scanner.py", line 242, in gettoken
Client.login()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 112, in login
self.get_login_id()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 102, in get_login_id
response = self.api_request("user/login/id/get", {
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 86, in api_request
self.handle_api_error(int(response['errorCode']), response['msg'])
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 233, in handle_api_error
handler()
File "d:\py3.9\lib\site-packages\msmart\cloud.py", line 219, in throw
raise ValueError(error_code, message)
ValueError: (3102, 'this account does not exist')