You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started the example - login seem to work but got the following error.
bot = VacuumBot(session, devices_[0], api_client)
TypeError: VacuumBot.__init__() takes 3 positional arguments but 4 were given
I am filing it as a bug report rather than a feature request, as I don't know if the provided example code should work for that device or not.
On which deebot vacuum you have the issue?
Deebot Ozmo Slim10
Which version of the deebot-client are you using?
1.2.1
Country
de
Continent
eu
Anything in the logs that might be useful for us?
DEBUG:deebot_client.authentication:No cached credentials, performing login
DEBUG:deebot_client.authentication:Start login to EcovacsAPI
DEBUG:deebot_client.authentication:calling login api
DEBUG:deebot_client.authentication:got {'code': '0000', 'msg': '操作成功', 'time': 1645786538571, 'data': {'uid': '[REMOVED]', 'accessToken': '[REMOVED]', 'userName': '[REMOVED]', 'email': '[REMOVED]', 'mobile': '[REMOVED]', 'isNew': None, 'loginName': '[REMOVED]', 'ucUid': '[REMOVED]'}, 'success': True}
DEBUG:deebot_client.authentication:calling auth api
DEBUG:deebot_client.authentication:got {'code': '0000', 'msg': '操作成功', 'time': 1645786539229, 'data': {'authCode': '[REMOVED]', 'ecovacsUid': '[REMOVED]'}, 'success': True}
DEBUG:deebot_client._api_client:calling api users/user.do with {'edition': 'ECOGLOBLE', 'userId': '[REMOVED]', 'token': '[REMOVED]', 'realm': 'ecouser.net', 'resource': 'xxxxxxxxxxxx', 'org': 'ECOWW', 'last': '', 'country': 'DE', 'todo': 'loginByItToken'}
DEBUG:deebot_client._api_client:got {'todo': 'result', 'result': 'ok', 'userId': '[REMOVED]', 'resource': '7a6xxxxxxxxxxxxxxx', 'token': '[REMOVED]', 'last': 604800000}
DEBUG:deebot_client.authentication:Switching to shorter UID
DEBUG:deebot_client.authentication:Login to EcovacsAPI successfully
DEBUG:deebot_client._api_client:calling api appsvr/app.do with {'userid': '[REMOVED]', 'todo': 'GetGlobalDeviceList'}
DEBUG:deebot_client._api_client:got {'code': 0, 'todo': 'result', 'ret': 'ok', 'devices': [{'did': '[REMOVED]', 'name': 'e000119xxxxxxxxxxxx', 'class': '02uwxm', 'resource': 'Etq0', 'nick': 'Staubi', 'company': 'eco-ng', 'bindTs': 1623691430807, 'service': {'jmq': 'jmq-ngiot-eu.dc.ww.ecouser.net', 'mqs': 'api-ngiot.dc-as.ww.ecouser.net'}, 'deviceName': 'DEEBOT OZMO Slim10 Series', 'icon': 'https://portal-ww.ecouser.net/api/pim/file/get/608xxxxxxxxxxxxxxxxxx', 'ota': False, 'UILogicId': 'D_OZMO_SLIM10', 'materialNo': '110-1715-0201', 'pid': '5aexxxxxxxxxxxxxx', 'product_category': 'DEEBOT', 'model': 'SLIM10', 'updateInfo': {'needUpdate': False, 'changeLog': ''}, 'status': 1}]}
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-1' coro=<main() done, defined at /github-deebot-api/example.py:22> exception=TypeError('VacuumBot.__init__() takes 3 positional arguments but 4 were given')>
Traceback (most recent call last):
File "/github-deebot-api/example.py", line 33, in main
bot = VacuumBot(session, devices_[0], api_client)
TypeError: VacuumBot.__init__() takes 3 positional arguments but 4 were given
### Additional information
I really want to get the deebot slim10 to work with home-assistant and seeing that it does work with the `ecovacs-deebot.js` makes me want it even more.
If you give me some insights on how the lib works and on which places I may need to convert the data to xml I can play around on my own.
The text was updated successfully, but these errors were encountered:
Checks
The problem
I started the example - login seem to work but got the following error.
I am filing it as a bug report rather than a feature request, as I don't know if the provided example code should work for that device or not.
On which deebot vacuum you have the issue?
Deebot Ozmo Slim10
Which version of the deebot-client are you using?
1.2.1
Country
de
Continent
eu
Anything in the logs that might be useful for us?
The text was updated successfully, but these errors were encountered: