Closed Roger-NL1975 closed 9 months ago
ecovacs documentation ecovacs source (message by IssueLinks)
Hey there @overloadut, mind taking a look at this issue as its been labeled with an integration (ecovacs
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
can you control it through the robot's mobile app ?
hi dgomes, yes the app works just fine. (sry for late response just back from holidays)
I usually have the same error when the robot runs into a dead-end and loses battery. Only after reconnecting through the APP will HA re-estabilish connection.
I always have connection throe the app. never lost connection, but i have no means of controlling or monitoring throe HA, just get the errors and no updates on status, looks like I am not allowed to connect to the server, or there is something wrong in my server settings, I guess
Hello, just added this integration and facing the same issue.
Same config except : country: be continent: eu
sucks (supporting library) has become abandoned-ware, I'm afraid unless some fork gains steam we will not be able to continue supporting these robots
Should this issue be added to https://alerts.home-assistant.io/?
The latest 2020 Robot Vacuum Wars came out and recommended Ecovacs for the premium tier. I saw that Ecovacs had a HA integration page, and almost bought it, but luckily thought to search the issues queue first.
With ecovacs being recommended, and Amazon Prime Day + Black Friday almost here (notoriously robovacuum heavy) might be good to make sure folks don't accidentally buy something that doesn't/might not work with HA anymore.
Err yes, I'm in the embarrassing position of having just bought 2 x Deebot 920's no the basis that HA lists support / etc ..... and that's all starting to look a little suspect :(
Is there any chance that things will start working or should I just return them and buy a Roomba?
I'm seeing a lot of
HA will continue supporting ecovacs as long as someone supports a library that interfaces with the robots (like https://github.com/wpietri/sucks)
That's good to know, although having now dug a little deeper it seems that the mods have been waiting to be merged into sucks for over 12 months and wpietri has now bought a Roomba and abandoned the project.
@OverloadUT seems to have pull / approval rights, but the branch with ozmo support hasn't been merged ... and whilst I've tried to install everything as custom modules, something isn't quite right and I'm not sure where to turn next
@dgomes If the readme says it's abandonware and no longer being updated, is that still considered a supported library? (Genuine question -- not sure the terminology)
It seems at least grounds for adding an alert to https://alerts.home-assistant.io/, no?
I'll put up a PR, feel free to reject if it's not an appropriate reason for alerting.
Here's the PR: https://github.com/home-assistant/alerts.home-assistant.io/pull/222
Feel free to leave comments or ask me to close.
I did not open the alert because my robot still works :) (shame on me)
I just bought the (quite pricey) Ecovacs Deebot T8 AIVI and can confirm the same ping error 😞. Disappointed, but I knew and accepted the risk that it wouldn't be supported when I bought it.
I'll pull the sucks repo locally and see if I can suss out the bug.
So current state of the known good/bad models appear to be:
Model | State | Source |
---|---|---|
Deebot T8 AIVI | ❌ (1) | https://github.com/home-assistant/core/issues/38625#issuecomment-736124723 |
Deebot Ozmo 920 | ❌ (1) | https://github.com/home-assistant/core/issues/42186 |
Deebot Ozmo 950 | ❌ (1) | https://github.com/home-assistant/core/issues/42186#issuecomment-720417640 |
Deebot Ozmo 610 | ✅ | https://github.com/home-assistant/alerts.home-assistant.io/pull/222#issuecomment-725938482 |
"Ecovacs Deebot N79, M80 Pro, M81, M88 Pro, and R95 MKII from both North America and Europe" | ✅❓ (Docs are old) | https://github.com/wpietri/sucks#overview |
(1) Model numbers could be a red herring; the issue could have to do with a user's network configuration/DNS/XMPP/etc instead.
@dgomes Since you seem to be the only one with a working ecovacs integration (maybe @OverloadUT too), mind providing some more details, if you're willing to share?
@donkawechico
I've used M80, M81, and my current M88
My n79s also works, but I have noticed lately that when I reboot HA it will say it couldn't load the integration then another reboot will bring it back.
Logger: homeassistant.setup
Source: components/ecovacs/__init__.py:48
First occurred: November 30, 2020, 11:08:49 PM (1 occurrences)
Last logged: November 30, 2020, 11:08:49 PM
Error during setup of component ecovacs
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f51ee77b190>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 573, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='users-na.ecouser.net', port=8000): Max retries exceeded with url: /user.do (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f51ee77b190>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/ecovacs/__init__.py", line 48, in setup
ecovacs_api = EcoVacsAPI(
File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 126, in __init__
login_response = self.__call_login_by_it_token()
File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 180, in __call_login_by_it_token
return self.__call_user_api('loginByItToken',
File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 169, in __call_user_api
response = requests.post(EcoVacsAPI.USER_URL_FORMAT.format(continent=self.continent), json=params)
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='users-na.ecouser.net', port=8000): Max retries exceeded with url: /user.do (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f51ee77b190>: Failed to establish a new connection: [Errno -3] Try again'))
Thanks for the info everyone!
@dgomes @OverloadUT I was able to make some progress after finding some threads in the sucks API mailing list talking about this fork of sucks: https://github.com/bmartin5692/sucks. After pulling locally, the error message went away, but the commands still aren't doing anything for my T8.
I'll look into it more this weekend. Would it make sense to consider using that fork in the HA integration? Or would that be better suited for a HACS integration alternative.
I'm also experiencing this issue with my Deebot T8 AIVI
I'm using the Deebot Ozmo 905. I haven't got it to work. The vacuum entity just shows "status: offline".
The deebot custom integration made by Ligio does seem to work: https://github.com/Ligio/hacc-ozmo. Since I only have this vacuum cleaner two days I can't say anything about the reliability yet.
I have a deepbot ozmo 950 and have the same error. Can anyone fix this please?
I think I am having the same issue. I can see the current status of my bot, but I cannot tell it to start cleaning.
I found an integration for node-red that is working. So for now I am using this integration to read the current status and the node-red integration to send commands to the bot. Not perfect, but works. https://github.com/enigtique/node-red-contrib-deebot
I think it can't do everything, yet, but to start cleaning and return to charge, it's working perfectly.
I am using a Deebot Ozmo 930
Same issue with my Deebot T8 AIVI. App works fine, HA integration gives "offline" Error:
Logger: sucks
Source: /usr/local/lib/python3.8/site-packages/sucks/__init__.py:371
First occurred: 7:15:05 (416 occurrences)
Last logged: 10:42:40
Ping did not reach VacBot. Will retry.
configuration.yaml
ecovacs:
username: USERNAME
password: PASSWORD
country: NL
continent: EU
Same problem with Deebot Ozmo 950. Any hint how to solve the issue?
:::::
2021-04-01 15:37:45 WARNING (event_thread_0) [sucks] Ping did not reach VacBot. Will retry. 2021-04-01 15:37:45 DEBUG (event_thread_0) [sucks] Error type: wait 2021-04-01 15:37:45 DEBUG (event_thread_0) [sucks] Error condition: recipient-unavailable
@giustraman I still haven't gotten it to work, but since you asked for hints:
I've had some success with each of these steps, but haven't gotten xmpppeek to work yet. Maybe you can be our hero!
Same problem with Deebot Ozmo 930.
Finally find this thread, sadly same problem with my T8 AIVI.
Same problem with Deebot 950 :(
(AT EU)
My N8 Pro+ doesn't work
Did anyone tried this library? https://github.com/And3rsL/Deebotozmo/tree/master/deebotozmo The code says it supports all the recent models, including T8/N9+.
def __init__(self, vacuum: Vacuum):
command_name = "getCleanInfo"
if vacuum and vacuum.get_class in [
"bs40nz", # DEEBOT T8 AIVI
"a1nNMoAGAsH", # DEEBOT T8 MAX
"vdehg6", # DEEBOT T8 AIVI +
"no61kx", # DEEBOT T8 POWER
"a7lhb1" # DEEBOT N9+
]:
command_name = "getCleanInfo_V2"
super().__init__(command_name)
I have been having the same issue with my T8, so that library seems like a potentially good find. Will take a read into it later.
Did anyone tried this library? https://github.com/And3rsL/Deebotozmo/tree/master/deebotozmo The code says it supports all the recent models, including T8/N9+.
Holy crap! There's even a HACS integration... AND IT WORKS!
I can start, pause, return to home, see errors... I can actually write automations for this now. (I have an Ozmo T8 AIVI).
@goooroooX I owe you (and @And3rsL) a beer :)
EDIT: A link to the creator of that integration's "Buy Me a Coffee" page: https://www.buymeacoffee.com/4nd3rs
Thanks for pointing me to the HACS version @donkawechico. Working amazingly with my EcoVacs DEEBOT N8!
Amazing work @And3rsL
How do you enable the sensors?
How do you enable the sensors?
Go to devices page and find your vacuum in the list. Go to vacuum's device info page and click on "+X disabled entities". Then click on the sensors you want to enable, this will launch a settings dialog. Click "Enable Entity".
I forget if you need to restart the server, but I'd do it just in case.
Is there any chance of porting the existing integration from sucks to the newer library?
so this integration hasn't worked for 2 years? why is it still included in HA? wish i checked this before choosing to buy an ecovacs 👎
It works for the older models, so I would guess that's why it is still around.
ok. well i've tried the "Deebot 4 Home Assistant" integration from HACS and it works lovely. map and all. shame the official one can't keep up. maybe HA can ditch this integration for that one?
You can't replace with "Deebot 4 HA" because it does not support older models which the current official integration supports.
That been said, it will probably be accepted a PR with a different name.
Hi Folks
A Home Assistant newbie here with no coding experience so please go easy! I have experienced the same problems as mentioned above with my T8. I would like to add the fix mentioned on this link (https://github.com/And3rsL/Deebotozmo/tree/master/deebotozmo) but im getting lost on this page and how to implement into my Home Assistant Instance. Would anyone be able to point me in the right direction to get this up and running. I am running home assistant core on a Rasberry Pi 4B.
That been said, it will probably be accepted a PR with a different name.
No thats not a good solution. I'm the maintainer of Deebot 4 HA and I have to add the two missing protocols (of total 3) to Deebot 4 HA first and then replace the official integration. It only takes time as I only have one model currently and I cannot afford to buy me other ones (student)
@Jacks-HomeAssistant Please use and install https://github.com/DeebotUniverse/Deebot-4-Home-Assistant. In the docs it written how to install it
You can't replace with "Deebot 4 HA" because it does not support older models which the current official integration supports.
Does it? I have an Ozmo 930 and it seems not to be working with the official integration.
For completeness, ecovacs is using 3 different protocols for communication:
For users asking, which component will support their model, we created a models page for my maintained custom component. More information under https://deebot.readthedocs.io/home/models/ Please feel free to provide feedback and/or contribute to the project. Together we can improve the component :)
As you can imagine, 3 different protocols need a lot of work to handle and analyse it. Also different models support different features and ecovacs is not providing any information about it.
The problem
My deebot ozmo slim 10 is connected to home assistant but I can't get it controlled or get any readout, I already tried some other settings for country and even tried using a custom integration to but same issue. in the log file it is unable to get any info across. (Ping did not reach VacBot. Will retry.)
Environment
x86_64 chassis | vm dev | false docker | true docker_version | 19.03.8 hassio | true host_os | HassOS 4.11 installation_type | Home Assistant OS os_name | Linux os_version | 5.4.50 python_version | 3.8.3 supervisor | 229 timezone | Europe/Amsterdam version | 0.113.3 virtualenv | false
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information