Open EdwardChamberlain opened 1 year ago
Try uk
for the country code and eu
for continent. I had this problem.
I dont think that works @CHAZICLE ! Trying to use 'uk' results in:
KeyError: "Invalid Country Alpha-2 code: 'UK'"
For the UK, use this to log in:
sucks login --country-code uk --continent-code eu
cli.py uses the previously entered country(Alpha-2) code to figure out the continent code. For ecovacs, ours is "UK" not "GB" so it raises a KeyError when it tries to helpfully give you a default that you can just press enter for.
It's one of those annoying exceptions that each library will handle differently. :roll_eyes:
Thanks @CHAZICLE !
That progresses me a bit further.... It seems im connected but no luck with actual cleaning!
When I issue sucks clean 5
as per the readme I get the following error:
sleekxmppfs.exceptions.IqError: <iq type="error" to="::maybe a token::@ecouser.net/::maybe a token::" from="::maybe a token::@ty84oi.ecorobot.net/atom" id="::maybe a token::"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
(I've redacted anything that looks like it may be a token just in case.)
Seems like it thinks the robot is not reachable.
Ah. This library is for the REALLY old deebots that use XMPP to communicate. You're seeing this error because it can't find yours (It says 404).
Sadly ecovacs libraries are a little fragmented these days. If you have an old (but not this old) deebot then this might work: https://pypi.org/project/ozmo/ https://github.com/Ligio/ozmo
Running
sucks login
I enter my email, password, country code (gb
), and continent (eu
) and then receive the following error: