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

How to logon from the UK? #96

Open
collse opened this issue Jul 25, 2020 · 4 comments
Open

How to logon from the UK? #96

collse opened this issue Jul 25, 2020 · 4 comments

Comments

@collse
Copy link

collse commented Jul 25, 2020

I have tried various things and could identify the following:

country: gb
continent: eu

seems to be the right option to chose but the endpoint in the library is set to: eco-gb-api.ecovacs.com (which doesnt not resolve)

when trying to redirect it via dns to the endpoint (eco-uk-api.ecovacs.com) that actually replies to ping (unlike the eco-gb-api.ecovacs.com ) this then at least starts the authentication process but fails with:

2020-07-25 09:45:40 DEBUG (SyncWorker_6) [sucks] got {'code': '0001', 'msg': '操作失败', 'time': 1595666740099, 'data': None} - google translate this says operation failed
2020-07-25 09:45:40 ERROR (SyncWorker_6) [sucks] call to user/login failed with {'code': '0001', 'msg': '操作失败', 'time': 1595666740099, 'data': None}

as the endpoint eco-gb-api.ecovacs.com doesnt seem to exist and the ww endpoint doesnt work either I wonder what may have changed here?

authentication via app with same credentials works just fine for my N79S.

@genericnerd99
Copy link

Hey - just to say im seeing the same in the UK, i have tried multiple variations of uk,gb,eu,ww with same results, pings to uk resolve as above as well. also seeing:
Logger: sucks
Source: /usr/local/lib/python3.8/site-packages/sucks/init.py:371
First occurred: August 16, 2020, 11:57:34 PM (7 occurrences)
Last logged: 12:00:34 AM

Ping did not reach VacBot. Will retry.
Thanks for any help

@yannkuesthardt
Copy link

Check out #91. I believe I found the problem (at least for my Deebot 600) in Germany.

@leelfd
Copy link

leelfd commented Oct 14, 2020

I am in the UK and had exactly the same issue so I corrected the convert_country_alpha2_to_continent_code.py script to replace the GB code with UK. Now it works.

@yannkuesthardt
Copy link

I am in the UK and had exactly the same issue so I corrected the convert_country_alpha2_to_continent_code.py script to replace the GB code with UK. Now it works.

Do you know where I can change that, if I want to use the Ecovacs Home Assistant integration? Can I find that file using the File Editor?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants