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

API devmanager ERR 500 - wait for response timed out #469

Closed
4 tasks done
lor74 opened this issue Nov 30, 2023 · 1 comment
Closed
4 tasks done

API devmanager ERR 500 - wait for response timed out #469

lor74 opened this issue Nov 30, 2023 · 1 comment
Labels
invalid This doesn't seem right

Comments

@lor74
Copy link

lor74 commented Nov 30, 2023

Checks

  • I have searched the existing issues and no issue is describing my issue
  • I have checked the FAQ
  • I have checked the documentation
  • I have installed the latest version

The problem

I have installed last month Home Assitant and I am trying to add my DEEBOT D605.
After installi the integration I can see my vaccum for a while but even if is online I can't control it (for example I can't start the cleaning task).
I can control the robot with iOS app succesfyully.

Diagnostics information

Home assistnt debug log

2023-11-30 07:55:02.974 DEBUG (MainThread) [deebot_client.authentication] No cached credentials, performing login
2023-11-30 07:55:02.975 DEBUG (MainThread) [deebot_client.authentication] Start login to EcovacsAPI
2023-11-30 07:55:02.975 DEBUG (MainThread) [deebot_client.authentication] calling login api
2023-11-30 07:55:03.340 DEBUG (MainThread) [deebot_client.authentication] got {'code': '0000', 'msg': '操作成功', 'time': 1701327303203, 'data': {'uid': '[REMOVED]', 'accessToken': '[REMOVED]', 'userName': '[REMOVED]', 'email': '[REMOVED]', 'mobile': '[REMOVED]', 'isNew': None, 'loginName': '[REMOVED]', 'ucUid': '[REMOVED]'}, 'success': True}
2023-11-30 07:55:03.340 DEBUG (MainThread) [deebot_client.authentication] calling auth api
2023-11-30 07:55:03.523 DEBUG (MainThread) [deebot_client.authentication] got {'code': '0000', 'msg': '操作成功', 'time': 1701327303583, 'data': {'authCode': '[REMOVED]', 'ecovacsUid': '[REMOVED]'}, 'success': True}
2023-11-30 07:55:03.523 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/users/user.do, params=None, json={'edition': 'ECOGLOBLE', 'userId': '20220302112631_546813e13ce6047504a5a855d70671bf', 'token': 'GLOBAL_APP_ECOVACS_IOT_3abd5830f038443327dfa0f27e0b79ee', 'realm': 'ecouser.net', 'resource': 'EFT6XEH0', 'org': 'ECOWW', 'last': '', 'country': 'IT', 'todo': 'loginByItToken'}
2023-11-30 07:55:03.688 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/users/user.do, params=None, json={'edition': 'ECOGLOBLE', 'userId': '20220302112631_546813e13ce6047504a5a855d70671bf', 'token': 'GLOBAL_APP_ECOVACS_IOT_3abd5830f038443327dfa0f27e0b79ee', 'realm': 'ecouser.net', 'resource': 'EFT6XEH0', 'org': 'ECOWW', 'last': '', 'country': 'IT', 'todo': 'loginByItToken'}, response={'todo': 'result', 'result': 'ok', 'userId': '[REMOVED]', 'resource': 'EFT6XEH0', 'token': '[REMOVED]', 'last': 604800000}
2023-11-30 07:55:03.688 DEBUG (MainThread) [deebot_client.authentication] Switching to shorter UID
2023-11-30 07:55:03.688 DEBUG (MainThread) [deebot_client.authentication] Login to EcovacsAPI successfully
2023-11-30 07:55:03.688 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/appsvr/app.do, params=None, json={'userid': 'gcck06k7dd0edd20', 'todo': 'GetGlobalDeviceList'}
2023-11-30 07:55:03.774 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/appsvr/app.do, params=None, json={'userid': 'gcck06k7dd0edd20', 'todo': 'GetGlobalDeviceList'}, response={'code': 0, 'todo': 'result', 'ret': 'ok', 'devices': [{'did': '[REMOVED]', 'name': 'e2001213092005800882', 'class': 'dl8fht', 'resource': '1O7P', 'company': 'eco-ng', 'bindTs': 1698048743830, 'service': {'jmq': 'jmq-ngiot-eu.dc.ww.ecouser.net', 'mqs': 'api-ngiot.dc-as.ww.ecouser.net'}, 'shareable': True, 'deviceName': 'DEEBOT 600 Series', 'icon': 'https://portal-ww.ecouser.net/api/pim/file/get/5acc32067c295c0001876eea', 'ota': False, 'UILogicId': 'D_600', 'materialNo': '702-0000-0170', 'pid': '5acb0fa87c295c0001876ecf', 'product_category': 'DEEBOT', 'model': 'D600', 'updateInfo': {'needUpdate': False, 'changeLog': ''}, 'nick': 'Cleaner', 'homeId': '626d0085b7e74b47e65b0861', 'homeSort': 9999, 'status': 1, 'otaUpgrade': {}}]}
2023-11-30 07:55:07.904 INFO (MainThread) [custom_components.deebot]
-------------------------------------------------------------------
deebot
Version: 2.1.1
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/DeebotUniverse/Deebot-4-Home-Assistant/issues
-------------------------------------------------------------------

2023-11-30 07:55:07.919 DEBUG (MainThread) [deebot_client.authentication] No cached credentials, performing login
2023-11-30 07:55:07.919 DEBUG (MainThread) [deebot_client.authentication] Start login to EcovacsAPI
2023-11-30 07:55:07.919 DEBUG (MainThread) [deebot_client.authentication] calling login api
2023-11-30 07:55:08.154 DEBUG (MainThread) [deebot_client.authentication] got {'code': '0000', 'msg': '操作成功', 'time': 1701327308010, 'data': {'uid': '[REMOVED]', 'accessToken': '[REMOVED]', 'userName': '[REMOVED]', 'email': '[REMOVED]', 'mobile': '[REMOVED]', 'isNew': None, 'loginName': '[REMOVED]', 'ucUid': '[REMOVED]'}, 'success': True}
2023-11-30 07:55:08.154 DEBUG (MainThread) [deebot_client.authentication] calling auth api
2023-11-30 07:55:08.193 DEBUG (MainThread) [deebot_client.authentication] got {'code': '0000', 'msg': '操作成功', 'time': 1701327308244, 'data': {'authCode': '[REMOVED]', 'ecovacsUid': '[REMOVED]'}, 'success': True}
2023-11-30 07:55:08.193 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/users/user.do, params=None, json={'edition': 'ECOGLOBLE', 'userId': '20220302112631_546813e13ce6047504a5a855d70671bf', 'token': 'GLOBAL_APP_ECOVACS_IOT_f551c9b5a981ad31d39730ec76ee76c0', 'realm': 'ecouser.net', 'resource': 'DPYC1T39HZ1D', 'org': 'ECOWW', 'last': '', 'country': 'IT', 'todo': 'loginByItToken'}
2023-11-30 07:55:08.244 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/users/user.do, params=None, json={'edition': 'ECOGLOBLE', 'userId': '20220302112631_546813e13ce6047504a5a855d70671bf', 'token': 'GLOBAL_APP_ECOVACS_IOT_f551c9b5a981ad31d39730ec76ee76c0', 'realm': 'ecouser.net', 'resource': 'DPYC1T39HZ1D', 'org': 'ECOWW', 'last': '', 'country': 'IT', 'todo': 'loginByItToken'}, response={'todo': 'result', 'result': 'ok', 'userId': '[REMOVED]', 'resource': 'DPYC1T39HZ1D', 'token': '[REMOVED]', 'last': 604800000}
2023-11-30 07:55:08.245 DEBUG (MainThread) [deebot_client.authentication] Switching to shorter UID
2023-11-30 07:55:08.245 DEBUG (MainThread) [deebot_client.authentication] Login to EcovacsAPI successfully
2023-11-30 07:55:08.245 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/appsvr/app.do, params=None, json={'userid': 'gcck06k7dd0edd20', 'todo': 'GetGlobalDeviceList'}
2023-11-30 07:55:08.330 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/appsvr/app.do, params=None, json={'userid': 'gcck06k7dd0edd20', 'todo': 'GetGlobalDeviceList'}, response={'code': 0, 'todo': 'result', 'ret': 'ok', 'devices': [{'did': '[REMOVED]', 'name': 'e2001213092005800882', 'class': 'dl8fht', 'resource': '1O7P', 'company': 'eco-ng', 'bindTs': 1698048743830, 'service': {'jmq': 'jmq-ngiot-eu.dc.ww.ecouser.net', 'mqs': 'api-ngiot.dc-as.ww.ecouser.net'}, 'shareable': True, 'deviceName': 'DEEBOT 600 Series', 'icon': 'https://portal-ww.ecouser.net/api/pim/file/get/5acc32067c295c0001876eea', 'ota': False, 'UILogicId': 'D_600', 'materialNo': '702-0000-0170', 'pid': '5acb0fa87c295c0001876ecf', 'product_category': 'DEEBOT', 'model': 'D600', 'updateInfo': {'needUpdate': False, 'changeLog': ''}, 'nick': 'Cleaner', 'homeId': '626d0085b7e74b47e65b0861', 'homeSort': 9999, 'status': 1, 'otaUpgrade': {}}]}
2023-11-30 07:55:08.331 DEBUG (MainThread) [custom_components.deebot.hub] New vacbot found: e2001213092005800882
2023-11-30 07:55:08.331 DEBUG (MainThread) [custom_components.deebot.hub] Hub setup complete
2023-11-30 07:55:08.335 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getPos', 'payload': {'header': {'pri': '1', 'ts': 1701327308.334914, 'tzm': 480, 'ver': '0.0.50'}, 'body': {'data': ['chargePos', 'deebotPos']}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}
2023-11-30 07:55:08.337 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getStats', 'payload': {'header': {'pri': '1', 'ts': 1701327308.336953, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}
2023-11-30 07:55:08.350 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getChargeState', 'payload': {'header': {'pri': '1', 'ts': 1701327308.350819, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}
2023-11-30 07:55:08.400 DEBUG (SyncWorker_0) [deebot_client.mqtt_client.client] Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'gcck06k7dd0edd20@ecouser/DPYC1T39HZ1D'
2023-11-30 07:55:08.405 INFO (MainThread) [homeassistant.components.vacuum] Setting up vacuum.deebot
2023-11-30 07:55:08.466 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received CONNACK (0, 0)
2023-11-30 07:55:08.466 DEBUG (MainThread) [deebot_client.mqtt_client] Subscribe to all previous subscriptions
2023-11-30 07:55:08.467 DEBUG (MainThread) [deebot_client.mqtt_client] All mqtt tasks created
2023-11-30 07:55:08.467 DEBUG (MainThread) [deebot_client.mqtt_client.client] Sending SUBSCRIBE (d0, m1) [(b'iot/atr/+/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/j', 0)]
2023-11-30 07:55:08.503 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received SUBACK
2023-11-30 07:55:08.504 DEBUG (MainThread) [deebot_client.mqtt_client.client] Sending SUBSCRIBE (d0, m2) [(b'iot/p2p/+/+/+/+/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/+/j', 0)]
2023-11-30 07:55:08.540 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received SUBACK
2023-11-30 07:55:08.541 DEBUG (MainThread) [deebot_client.mqtt_client.client] Sending SUBSCRIBE (d0, m3) [(b'iot/p2p/+/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/+/+/+/p/+/j', 0)]
2023-11-30 07:55:08.577 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received SUBACK
2023-11-30 07:55:23.415 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getPos', 'payload': {'header': {'pri': '1', 'ts': 1701327308.334914, 'tzm': 480, 'ver': '0.0.50'}, 'body': {'data': ['chargePos', 'deebotPos']}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}, response={'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-11-30 07:55:23.416 WARNING (MainThread) [deebot_client.commands.common] No response received for command "getPos". This can happen if the vacuum has network issues or does not support the command
2023-11-30 07:55:23.417 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getCleanInfo', 'payload': {'header': {'pri': '1', 'ts': 1701327323.41714, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}
2023-11-30 07:55:23.466 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received PUBLISH (d0, q0, r0, m0), 'iot/p2p/getCleanInfo/HelperMQClientId-awseu-sts-ngiot-mqsjmq-30/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/fu9W/j', ... (69 bytes)
2023-11-30 07:55:23.466 DEBUG (MainThread) [deebot_client.mqtt_client] Got message: topic=iot/p2p/getCleanInfo/HelperMQClientId-awseu-sts-ngiot-mqsjmq-30/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/fu9W/j, payload=b'{"header":{"pri":"1","ts":1701327323.41714,"tzm":480,"ver":"0.0.50"}}'
2023-11-30 07:55:23.466 DEBUG (MainThread) [deebot_client.mqtt_client] Command getCleanInfo does not support p2p handling (yet)
2023-11-30 07:55:23.517 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getStats', 'payload': {'header': {'pri': '1', 'ts': 1701327308.336953, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}, response={'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-11-30 07:55:23.517 WARNING (MainThread) [deebot_client.commands.common] No response received for command "getStats". This can happen if the vacuum has network issues or does not support the command
2023-11-30 07:55:23.518 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getBattery', 'payload': {'header': {'pri': '1', 'ts': 1701327323.518006, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}
2023-11-30 07:55:23.545 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getChargeState', 'payload': {'header': {'pri': '1', 'ts': 1701327308.350819, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}, response={'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-11-30 07:55:23.545 WARNING (MainThread) [deebot_client.commands.common] No response received for command "getChargeState". This can happen if the vacuum has network issues or does not support the command
2023-11-30 07:55:23.546 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getError', 'payload': {'header': {'pri': '1', 'ts': 1701327323.545957, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}
2023-11-30 07:55:23.564 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received PUBLISH (d0, q0, r0, m0), 'iot/p2p/getBattery/HelperMQClientId-awseu-sts-ngiot-mqsjmq-24/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/3UWN/j', ... (70 bytes)
2023-11-30 07:55:23.565 DEBUG (MainThread) [deebot_client.mqtt_client] Got message: topic=iot/p2p/getBattery/HelperMQClientId-awseu-sts-ngiot-mqsjmq-24/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/3UWN/j, payload=b'{"header":{"pri":"1","ts":1701327323.518006,"tzm":480,"ver":"0.0.50"}}'
2023-11-30 07:55:23.566 DEBUG (MainThread) [deebot_client.mqtt_client] Command getBattery does not support p2p handling (yet)
2023-11-30 07:55:23.588 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received PUBLISH (d0, q0, r0, m0), 'iot/p2p/getError/HelperMQClientId-awseu-sts-ngiot-mqsjmq-36/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/cwIc/j', ... (70 bytes)
2023-11-30 07:55:23.589 DEBUG (MainThread) [deebot_client.mqtt_client] Got message: topic=iot/p2p/getError/HelperMQClientId-awseu-sts-ngiot-mqsjmq-36/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/cwIc/j, payload=b'{"header":{"pri":"1","ts":1701327323.545957,"tzm":480,"ver":"0.0.50"}}'
2023-11-30 07:55:23.589 DEBUG (MainThread) [deebot_client.mqtt_client] Command getError does not support p2p handling (yet)
2023-11-30 07:55:38.445 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getCleanInfo', 'payload': {'header': {'pri': '1', 'ts': 1701327323.41714, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}, response={'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-11-30 07:55:38.446 WARNING (MainThread) [deebot_client.commands.common] No response received for command "getCleanInfo". This can happen if the vacuum has network issues or does not support the command
2023-11-30 07:55:38.446 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getSpeed', 'payload': {'header': {'pri': '1', 'ts': 1701327338.446647, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}
2023-11-30 07:55:38.516 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received PUBLISH (d0, q0, r0, m0), 'iot/p2p/getSpeed/HelperMQClientId-awseu-sts-ngiot-mqsjmq-31/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/Z5lE/j', ... (70 bytes)
2023-11-30 07:55:38.517 DEBUG (MainThread) [deebot_client.mqtt_client] Got message: topic=iot/p2p/getSpeed/HelperMQClientId-awseu-sts-ngiot-mqsjmq-31/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/Z5lE/j, payload=b'{"header":{"pri":"1","ts":1701327338.446647,"tzm":480,"ver":"0.0.50"}}'
2023-11-30 07:55:38.517 DEBUG (MainThread) [deebot_client.mqtt_client] Command getSpeed does not support p2p handling (yet)
2023-11-30 07:55:38.547 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getBattery', 'payload': {'header': {'pri': '1', 'ts': 1701327323.518006, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}, response={'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-11-30 07:55:38.547 WARNING (MainThread) [deebot_client.commands.common] No response received for command "getBattery". This can happen if the vacuum has network issues or does not support the command
2023-11-30 07:55:38.548 DEBUG (MainThread) [deebot_client.authentication] Calling api(1/3): url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getCachedMapInfo', 'payload': {'header': {'pri': '1', 'ts': 1701327338.548468, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}
2023-11-30 07:55:38.582 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getError', 'payload': {'header': {'pri': '1', 'ts': 1701327323.545957, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}, response={'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-11-30 07:55:38.583 WARNING (MainThread) [deebot_client.commands.common] No response received for command "getError". This can happen if the vacuum has network issues or does not support the command
2023-11-30 07:55:38.596 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received PUBLISH (d0, q0, r0, m0), 'iot/p2p/getCachedMapInfo/HelperMQClientId-awseu-sts-ngiot-mqsjmq-6/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/VfoM/j', ... (70 bytes)
2023-11-30 07:55:38.597 DEBUG (MainThread) [deebot_client.mqtt_client] Got message: topic=iot/p2p/getCachedMapInfo/HelperMQClientId-awseu-sts-ngiot-mqsjmq-6/ecosys/1234/e46e145f-7cbb-4040-8467-b16910b61b5b/dl8fht/1O7P/q/VfoM/j, payload=b'{"header":{"pri":"1","ts":1701327338.548468,"tzm":480,"ver":"0.0.50"}}'
2023-11-30 07:55:38.597 DEBUG (MainThread) [deebot_client.mqtt_client] Command getCachedMapInfo does not support p2p handling (yet)

Anything in the logs that might be useful for us?

Checking the log I can see the login on Debot server works but after the setup of the vacum all calls to API https://portal-eu.ecouser.net/api/iot/devmanager.do fails due to ERR 500.

For exmple
2023-11-30 07:55:38.445 DEBUG (MainThread) [deebot_client.authentication] Success calling api url=https://portal-eu.ecouser.net/api/iot/devmanager.do, params={'mid': 'dl8fht', 'did': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'td': 'q', 'u': 'gcck06k7dd0edd20', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'cmdName': 'getCleanInfo', 'payload': {'header': {'pri': '1', 'ts': 1701327323.41714, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'e46e145f-7cbb-4040-8467-b16910b61b5b', 'toRes': '1O7P', 'toType': 'dl8fht'}, response={'ret': 'fail', 'errno': 500, 'debug': 'wait for response timed out'}
2023-11-30 07:55:38.446 WARNING (MainThread) [deebot_client.commands.common] No response received for command "getCleanInfo". This can happen if the vacuum has network issues or does not support the command

I can confirm that the robot is reacheable from iOS App (Ecovacs Home)

Additional information

No response

@lor74 lor74 added the bug Something isn't working label Nov 30, 2023
@edenhaus edenhaus added invalid This doesn't seem right and removed bug Something isn't working labels Dec 5, 2023
@edenhaus
Copy link
Contributor

edenhaus commented Dec 5, 2023

This integration currently only supports the newer models as the older ones are using a different communication protocol.
There is a PR open for adding support for older ones too but it is not ready yet (DeebotUniverse/client.py#288)

@edenhaus edenhaus closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants