Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Hope to add support for “T20S Pro” #458

Closed
1 task done
yyxida opened this issue Nov 12, 2023 · 6 comments
Closed
1 task done

Hope to add support for “T20S Pro” #458

yyxida opened this issue Nov 12, 2023 · 6 comments
Labels
enhancement New feature or request need-more-information Need more information stale

Comments

@yyxida
Copy link

yyxida commented Nov 12, 2023

Is there an existing issue for this?

  • I have searched the existing issues and no issue is describing my feature request or idea

Is your feature request related to a problem?

yes

Suggested solution

I just purchased the ‘T20S Pro’ model, which seems to be only available in China.
I hope to add support. I know this model is only sold in China and I don't know what help I can provide. I have some basic programming knowledge.

Api example request

No response

Alternatives you've considered

No response

Additional information

No response

@yyxida yyxida added the enhancement New feature or request label Nov 12, 2023
@edenhaus
Copy link
Contributor

Did you already try to add it? How far did you come?

I'm currently working on adding a easier method to add new bots but it is not ready yet

@yyxida
Copy link
Author

yyxida commented Nov 15, 2023

image
After logging into my account using the latest version, I only have a paragraph of uppercase text, but there are no devices or entities.

@edenhaus
Copy link
Contributor

I don' speak chinese, so I can't read the screenshot. Please change the language to English and make the screenshot again.

Please also activate debug logs and attach them to the issue

@edenhaus edenhaus added the need-more-information Need more information label Nov 19, 2023
@yyxida
Copy link
Author

yyxida commented Nov 20, 2023

Sorry, this is a log and only the 'deebot_client' item is retained. Some (possible) data has been modified, and I am not sure which ones contain my personal information. If you have removed the information required for device adaptation, please let me know.

2023-11-20 06:39:04.368 WARNING (MainThread) [deebot_client.hardware.deebot] No capabilities found for yqzyt5. Using fallback.
2023-11-20 06:39:34.137 DEBUG (MainThread) [deebot_client.authentication] Performing login
2023-11-20 06:39:34.137 DEBUG (MainThread) [deebot_client.authentication] Start login to EcovacsAPI
2023-11-20 06:39:34.137 DEBUG (MainThread) [deebot_client.authentication] calling login api
2023-11-20 06:39:34.354 DEBUG (MainThread) [deebot_client.authentication] got {'code': '0000', 'msg': '操作成功', 'time': 1700462374282, 'data': {'uid': '[REMOVED]', 'accessToken': '[REMOVED]', 'userName': '[REMOVED]', 'email': '[REMOVED]', 'mobile': '[REMOVED]', 'isNew': None, 'loginName': '[REMOVED]', 'ucUid': '[REMOVED]', 'hasMobile': '[REMOVED]', 'isNewThirdAccount': None}, 'success': True}
2023-11-20 06:39:34.354 DEBUG (MainThread) [deebot_client.authentication] calling auth api
2023-11-20 06:39:34.560 DEBUG (MainThread) [deebot_client.authentication] got {'code': '0000', 'msg': '操作成功', 'time': 1700462374546, 'data': {'authCode': '[REMOVED]', 'ecovacsUid': '[REMOVED]'}, 'success': True}
2023-11-20 06:39:34.560 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal.ecouser.net/api/users/user.do, params=None, json={'edition': 'ECOGLOBLE', 'userId': '20231111111111_kkkkkkkkkkkkkkkkkkk', 'token': 'GLOBAL_APP_ECOVACS_IOT_kkkkkkkkkkkkkkkkkkkk', 'realm': 'ecouser.net', 'resource': 'DN9P14KM', 'org': 'ECOCN', 'last': '', 'country': 'Chinese', 'todo': 'loginByItToken'}
2023-11-20 06:39:34.771 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal.ecouser.net/api/users/user.do, params=None, json={'edition': 'ECOGLOBLE', 'userId': '20231111111111_kkkkkkkkkkkkkkkkkkk', 'token': 'GLOBAL_APP_ECOVACS_IOT_kkkkkkkkkkkkkkkkkkkk', 'realm': 'ecouser.net', 'resource': 'DN9P14KM', 'org': 'ECOCN', 'last': '', 'country': 'Chinese', 'todo': 'loginByItToken'}, response={'todo': 'result', 'result': 'ok', 'userId': '[REMOVED]', 'resource': 'DN9P14KM', 'token': '[REMOVED]', 'last': 604800000}
2023-11-20 06:39:34.771 DEBUG (MainThread) [deebot_client.authentication] Switching to shorter UID
2023-11-20 06:39:34.771 DEBUG (MainThread) [deebot_client.authentication] Login to EcovacsAPI successfully
2023-11-20 06:39:34.771 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal.ecouser.net/api/appsvr/app.do, params=None, json={'userid': 'hkmfrkd11111111', 'todo': 'GetGlobalDeviceList'}
2023-11-20 06:39:34.865 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal.ecouser.net/api/appsvr/app.do, params=None, json={'userid': 'hkmfrkd11111111', 'todo': 'GetGlobalDeviceList'}, response={'code': 0, 'todo': 'result', 'ret': 'ok', 'devices': [{'did': '[REMOVED]', 'name': 'E09R17739E1FPF9B1369', 'class': 'yqzyt5', 'resource': 'b3OX', 'nick': None, 'company': 'eco-ng', 'bindTs': 1699773016262, 'service': {'jmq': 'jmq-ngiot-cn.dc.cn.ecouser.net', 'mqs': 'api-ngiot.dc-cn.cn.ecouser.net'}, 'homeId': '6550684111111111119f1', 'homeSort': 1, 'deviceName': 'DEEBOT T20S PRO', 'icon': 'https://portal.ecouser.net/api/pim/file/get/64f96085c5c5ab000873746c', 'ota': True, 'UILogicId': 't10_cn_n_darwinomni', 'materialNo': '110-2242-0005', 'pid': '64eea65ebfa1111111111cea6', 'product_category': 'DEEBOT', 'model': 'T20S_PRO', 'updateInfo': {'needUpdate': False, 'changeLog': ''}, 'status': 1, 'offmap': True, 'otaUpgrade': {}}]}
2023-11-20 06:39:34.865 WARNING (MainThread) [deebot_client.hardware.deebot] No capabilities found for yqzyt5. Using fallback.

@edenhaus
Copy link
Contributor

This model is currently only partly supported as the capabilities file is missing. If you want to add it, please see https://github.com/DeebotUniverse/client.py/tree/dev/deebot_client/hardware/deebot

Copy link
Contributor

github-actions bot commented Dec 2, 2023

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.

@github-actions github-actions bot added the stale label Dec 2, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request need-more-information Need more information stale
Projects
None yet
Development

No branches or pull requests

2 participants