Closed 8680 closed 9 months ago
This integration currently supports only ecovacs deebot devices. Searching for "Cobos T9max" will not show any website from ecovacs and so I think that we need to access different URLs for your bot. Please feel free to analyse the traffic of the app and compare it with this integration to find out the different API calls.
Maybe it's the translation,The equipment I use is "deebot t9power". https://www.ecovacs.cn/deebot/t9power/ https://deebot.readthedocs.io/home/models/ This model should be supported
Please activate debug logs and post it here so I can check them
Hello, where can I view the activation debugging log?
2023-12-12 21:59:06.163 DEBUG (MainThread) [deebot_client.authentication] Performing login
2023-12-12 21:59:06.163 DEBUG (MainThread) [deebot_client.authentication] Start login to EcovacsAPI
2023-12-12 21:59:06.163 DEBUG (MainThread) [deebot_client.authentication] calling login api
2023-12-12 21:59:06.478 DEBUG (MainThread) [deebot_client.authentication] got {'code': '0000', 'msg': '操作成功', 'time': 1702389546316, 'data': {'uid': '[REMOVED]', 'accessToken': '[REMOVED]', 'userName': '[REMOVED]', 'email': '[REMOVED]', 'mobile': '[REMOVED]', 'isNew': None, 'loginName': '[REMOVED]', 'ucUid': '[REMOVED]', 'hasMobile': '[REMOVED]', 'isNewThirdAccount': None}, 'success': True}
2023-12-12 21:59:06.479 DEBUG (MainThread) [deebot_client.authentication] calling auth api
2023-12-12 21:59:06.702 DEBUG (MainThread) [deebot_client.authentication] got {'code': '0000', 'msg': '操作成功', 'time': 1702389546679, 'data': {'authCode': '[REMOVED]', 'ecovacsUid': '[REMOVED]'}, 'success': True}
2023-12-12 21:59:06.702 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal.ecouser.net/api/users/user.do, params=None, json={'edition': 'ECOGLOBLE', 'userId': '20211105133356_58cf805cbd9df7ba09dc0a085970e65a', 'token': 'GLOBAL_APP_ECOVACS_IOT_80192989089fd1f6914cd4d1e09bf546', 'realm': 'ecouser.net', 'resource': 'V2BTJ71H', 'org': 'ECOCN', 'last': '', 'country': 'Chinese', 'todo': 'loginByItToken'}
2023-12-12 21:59:07.072 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal.ecouser.net/api/users/user.do, params=None, json={'edition': 'ECOGLOBLE', 'userId': '20211105133356_58cf805cbd9df7ba09dc0a085970e65a', 'token': 'GLOBAL_APP_ECOVACS_IOT_80192989089fd1f6914cd4d1e09bf546', 'realm': 'ecouser.net', 'resource': 'V2BTJ71H', 'org': 'ECOCN', 'last': '', 'country': 'Chinese', 'todo': 'loginByItToken'}, response={'todo': 'result', 'result': 'ok', 'userId': '[REMOVED]', 'resource': 'V2BTJ71H', 'token': '[REMOVED]', 'last': 604800000}
2023-12-12 21:59:07.072 DEBUG (MainThread) [deebot_client.authentication] Switching to shorter UID
2023-12-12 21:59:07.072 DEBUG (MainThread) [deebot_client.authentication] Login to EcovacsAPI successfully
2023-12-12 21:59:07.073 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal.ecouser.net/api/appsvr/app.do, params=None, json={'userid': 'fkff7vn92d698569', 'todo': 'GetGlobalDeviceList'}
2023-12-12 21:59:07.136 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal.ecouser.net/api/appsvr/app.do, params=None, json={'userid': 'fkff7vn92d698569', 'todo': 'GetGlobalDeviceList'}, response={'code': 0, 'todo': 'result', 'ret': 'ok', 'devices': []}
I tried many times, but I still couldn't solve it.
2023-12-12 21:59:07.136 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal.ecouser.net/api/appsvr/app.do, params=None, json={'userid': 'fkff7vn92d698569', 'todo': 'GetGlobalDeviceList'}, response={'code': 0, 'todo': 'result', 'ret': 'ok', 'devices': []}
The API is not returning any devices so there is more research required to find out what is different between the app and this integration. This can only done by you as I don't have your bot
Ok, thanks. I'll try some more
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Ok, thanks. I'll try some more
Have you resolved the issue? I also have it but don't know how to fix.
Ok, thanks. I'll try some more
Have you resolved the issue? I also have it but don't know how to fix.
No, I gave up after many attempts.
I use the T8 Max robot version and get the same error.
I don't know how to integrate the robot with HASS.
So sad!
Question
There is a Cobos T9max under my account. When I use Deebot-4-Home-Assistant to bind, it prompts that no supported device is found.
Additional information
No response