DeebotUniverse / Deebot-4-Home-Assistant

Home Assistant integration for deebot vacuums
https://deebot.readthedocs.io/integrations/home-assistant/
GNU General Public License v3.0
180 stars 40 forks source link

No supported devices were found. #479

Closed 8680 closed 9 months ago

8680 commented 9 months ago

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. image photo_2023-12-09_19-57-02

Additional information

No response

edenhaus commented 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.

8680 commented 9 months ago

Maybe it's the translation,The equipment I use is "deebot t9power". https://www.ecovacs.cn/deebot/t9power/ image https://deebot.readthedocs.io/home/models/ This model should be supported

edenhaus commented 9 months ago

Please activate debug logs and post it here so I can check them

8680 commented 9 months ago

Hello, where can I view the activation debugging log?

edenhaus commented 9 months ago

https://deebot.readthedocs.io/integrations/home-assistant/issues/

8680 commented 9 months ago
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': []}
8680 commented 9 months ago

I tried many times, but I still couldn't solve it.

edenhaus commented 9 months ago
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

8680 commented 9 months ago

Ok, thanks. I'll try some more

github-actions[bot] commented 9 months ago

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.

0902689090 commented 9 months ago

Ok, thanks. I'll try some more

Have you resolved the issue? I also have it but don't know how to fix.

8680 commented 8 months ago

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.

cuonguct commented 8 months ago

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! Capture