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

Deebot 600 on HA not working #91

Open
sunsgs opened this issue Apr 13, 2020 · 9 comments
Open

Deebot 600 on HA not working #91

sunsgs opened this issue Apr 13, 2020 · 9 comments

Comments

@sunsgs
Copy link

sunsgs commented Apr 13, 2020

Hi all, i have set in my configuration.yaml

ecovacs:
  username: !secret ecovacs_username
  password: !secret ecovacs_password
  country: it
  continent: eu

but it keeps saying
failed vacuum/turn_on . <iq type="error" to="[email protected]/e74810235bd8c5ebb7645276bc0acf00" from="[email protected]/atom" id="38f54846-b1b8-4914-a6fd-4dd6a73e8d3d-6"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>

any help appreciated

@momab
Copy link

momab commented May 3, 2020

Did you try setting the Continent to "WW"?

@duncan-bayne
Copy link

I've tried setting Continent to WW (using the Home Assistant integration), but this problem persists.

I've contacted Ecovacs Australia to request API docs to help debug the problem.

@duncan-bayne
Copy link

The API docs request is progressing ... will attempt to debug this issue once I've received them.

@yannkuesthardt
Copy link

yannkuesthardt commented Aug 16, 2020

Hey, is there anything new about this? I'm having the same issue with my Deebot 600 in Germany.
Here is my configuration.yaml and the error log, maybe they help?

ecovacs:
  username: !secret ecovacs_user
  password: !secret ecovacs_password
  country: de
  continent: eu

Fehler beim Aufrufen des Service vacuum/turn_on. <iq type="error" to="[email protected]/2e8316f95d178026afdb23236ae577bb" from="[email protected]/atom" id="6e601a54-9c39-41f6-ba86-a5087be80cda-471"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq> (The German part just says error executing service)

EDIT:
I've already tried using ww instead of eu, with no success

@wpietri
Copy link
Owner

wpietri commented Aug 16, 2020

I don't think the 600 was ever known to work, and nobody is currently working on this project, so I'd suggest you look elsewhere.

@yannkuesthardt
Copy link

Ok, thanks.

@genericnerd99
Copy link

im seeing the same with my 920 tried the diffrent codes as well, im in the UK

@yannkuesthardt
Copy link

yannkuesthardt commented Aug 21, 2020

After spending quite a bit of time sniffing all the traffic that the app sends when logging in and executing the commands, and comparing this to the library, I believe the issue may be that Ecovacs changed the base URL for commands on some devices (at least for my 600 model).

EDIT: The base URLs for me that is different are gl-de-api.ecovacs.com and gl-de-openapi.ecovacs.com, whereas portal-ww.ecouser.net remains the same.

@collse
Copy link

collse commented Aug 22, 2020

@Shadowbird21 you may be on the right path here - I see eco-uk-api.ecovacs.com, eco-uk.ecovacs.com, portal-ww.ecouser.net, portal-eu.ecouser.net, msg-eu-ecouser.net and mq-eu.ecouser.net in my logs

joshuaspence added a commit to joshuaspence/home-assistant-config that referenced this issue Jan 8, 2021
The official [`ecovacs`](https://www.home-assistant.io/integrations/ecovacs) integration doesn't work for me. With debug logging enabled:

```
2021-01-07 23:53:04 DEBUG (event_thread_0) [sucks] ----------------- starting session ----------------
2021-01-07 23:53:04 DEBUG (event_thread_0) [sucks] event = {}
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [sucks] *** sending ping ***
2021-01-07 23:53:04 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-3" type="get" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c"><ping xmlns="urn:xmpp:ping" /></iq>
2021-01-07 23:53:04 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-3"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:53:04 WARNING (SyncWorker_1) [sucks] Ping did not reach VacBot. Will retry.
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [sucks] *** Error type: wait
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [sucks] *** Error condition: recipient-unavailable
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [homeassistant.components.ecovacs.vacuum] Vacuum initialized: 21a01dd7-7067-4ef5-a09a-cd59a549d330
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [homeassistant.components.ecovacs.vacuum] Adding Ecovacs Vacuums to Home Assistant: [<Entity 21a01dd7-7067-4ef5-a09a-cd59a549d330: off>]
2021-01-07 23:53:34 DEBUG (event_thread_0) [sleekxmppfs.xmlstream.xmlstream] Scheduled event: Ping: ()
2021-01-07 23:53:34 DEBUG (event_thread_0) [sucks] *** sending ping ***
2021-01-07 23:53:34 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-4" type="get" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c"><ping xmlns="urn:xmpp:ping" /></iq>
2021-01-07 23:53:34 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-4"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:53:34 WARNING (event_thread_0) [sucks] Ping did not reach VacBot. Will retry.
2021-01-07 23:53:34 DEBUG (event_thread_0) [sucks] *** Error type: wait
2021-01-07 23:53:34 DEBUG (event_thread_0) [sucks] *** Error condition: recipient-unavailable
2021-01-07 23:53:47 DEBUG (event_thread_0) [sleekxmppfs.xmlstream.xmlstream] Scheduled event: Session timeout check: ()
2021-01-07 23:54:04 DEBUG (event_thread_0) [sleekxmppfs.xmlstream.xmlstream] Scheduled event: Ping: ()
2021-01-07 23:54:04 DEBUG (event_thread_0) [sucks] *** sending ping ***
2021-01-07 23:54:04 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-5" type="get" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c"><ping xmlns="urn:xmpp:ping" /></iq>
2021-01-07 23:54:04 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-5"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:04 WARNING (event_thread_0) [sucks] Ping did not reach VacBot. Will retry.
2021-01-07 23:54:04 DEBUG (event_thread_0) [sucks] *** Error type: wait
2021-01-07 23:54:04 DEBUG (event_thread_0) [sucks] *** Error condition: recipient-unavailable
2021-01-07 23:54:34 DEBUG (event_thread_0) [sleekxmppfs.xmlstream.xmlstream] Scheduled event: Ping: ()
2021-01-07 23:54:34 DEBUG (event_thread_0) [sucks] *** sending ping ***
2021-01-07 23:54:34 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-6" type="get" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c"><ping xmlns="urn:xmpp:ping" /></iq>
2021-01-07 23:54:34 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-6"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:34 WARNING (event_thread_0) [sucks] Ping did not reach VacBot. Will retry.
2021-01-07 23:54:34 DEBUG (event_thread_0) [sucks] *** Error type: wait
2021-01-07 23:54:34 DEBUG (event_thread_0) [sucks] *** Error condition: recipient-unavailable
2021-01-07 23:54:39 DEBUG (SyncWorker_3) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-7" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="auto" speed="standard" /></ctl></query></iq>
2021-01-07 23:54:39 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-7" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="auto" speed="standard" /></ctl></query></iq>
2021-01-07 23:54:40 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-7"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:40 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-7"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 293, in async_turn_on
    await self.hass.async_add_executor_job(partial(self.turn_on, **kwargs))
  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/vacuum.py", line 160, in turn_on
    self.device.run(sucks.Clean())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-7"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:42 DEBUG (SyncWorker_0) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-8" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="stop" speed="standard" /></ctl></query></iq>
2021-01-07 23:54:42 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-8" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="stop" speed="standard" /></ctl></query></iq>
2021-01-07 23:54:42 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-8"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:42 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-8"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 194, in async_stop
    await self.hass.async_add_executor_job(partial(self.stop, **kwargs))
  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/vacuum.py", line 169, in stop
    self.device.run(sucks.Stop())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-8"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:43 DEBUG (SyncWorker_6) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-9" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="spot" speed="strong" /></ctl></query></iq>
2021-01-07 23:54:43 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-9" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="spot" speed="strong" /></ctl></query></iq>
2021-01-07 23:54:43 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-9"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:43 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-9"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 216, in async_clean_spot
    await self.hass.async_add_executor_job(partial(self.clean_spot, **kwargs))
  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/vacuum.py", line 174, in clean_spot
    self.device.run(sucks.Spot())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-9"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:44 DEBUG (SyncWorker_5) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-A" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="PlaySound" sid="0" /></query></iq>
2021-01-07 23:54:44 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-A" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="PlaySound" sid="0" /></query></iq>
2021-01-07 23:54:44 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-A"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:44 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-A"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 227, in async_locate
    await self.hass.async_add_executor_job(partial(self.locate, **kwargs))
  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/vacuum.py", line 179, in locate
    self.device.run(sucks.PlaySound())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-A"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:45 DEBUG (SyncWorker_0) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-B" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Charge"><charge type="go" /></ctl></query></iq>
2021-01-07 23:54:45 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-B" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Charge"><charge type="go" /></ctl></query></iq>
2021-01-07 23:54:45 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-B"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:45 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-B"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 205, in async_return_to_base
    await self.hass.async_add_executor_job(partial(self.return_to_base, **kwargs))
  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/vacuum.py", line 129, in return_to_base
    self.device.run(sucks.Charge())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-B"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
```

The [`ecovacs`](https://www.home-assistant.io/integrations/ecovacs) integration relies on [`sucks`](https://github.com/wpietri/sucks), which is no longer maintained. See also home-assistant/core#38625. wpietri/sucks#91 also seems relevant.
joshuaspence added a commit to joshuaspence/home-assistant-config that referenced this issue Jan 8, 2021
The official [`ecovacs`](https://www.home-assistant.io/integrations/ecovacs) integration doesn't work for me. With debug logging enabled:

```
2021-01-07 23:53:04 DEBUG (event_thread_0) [sucks] ----------------- starting session ----------------
2021-01-07 23:53:04 DEBUG (event_thread_0) [sucks] event = {}
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [sucks] *** sending ping ***
2021-01-07 23:53:04 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-3" type="get" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c"><ping xmlns="urn:xmpp:ping" /></iq>
2021-01-07 23:53:04 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-3"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:53:04 WARNING (SyncWorker_1) [sucks] Ping did not reach VacBot. Will retry.
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [sucks] *** Error type: wait
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [sucks] *** Error condition: recipient-unavailable
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [homeassistant.components.ecovacs.vacuum] Vacuum initialized: 21a01dd7-7067-4ef5-a09a-cd59a549d330
2021-01-07 23:53:04 DEBUG (SyncWorker_1) [homeassistant.components.ecovacs.vacuum] Adding Ecovacs Vacuums to Home Assistant: [<Entity 21a01dd7-7067-4ef5-a09a-cd59a549d330: off>]
2021-01-07 23:53:34 DEBUG (event_thread_0) [sleekxmppfs.xmlstream.xmlstream] Scheduled event: Ping: ()
2021-01-07 23:53:34 DEBUG (event_thread_0) [sucks] *** sending ping ***
2021-01-07 23:53:34 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-4" type="get" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c"><ping xmlns="urn:xmpp:ping" /></iq>
2021-01-07 23:53:34 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-4"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:53:34 WARNING (event_thread_0) [sucks] Ping did not reach VacBot. Will retry.
2021-01-07 23:53:34 DEBUG (event_thread_0) [sucks] *** Error type: wait
2021-01-07 23:53:34 DEBUG (event_thread_0) [sucks] *** Error condition: recipient-unavailable
2021-01-07 23:53:47 DEBUG (event_thread_0) [sleekxmppfs.xmlstream.xmlstream] Scheduled event: Session timeout check: ()
2021-01-07 23:54:04 DEBUG (event_thread_0) [sleekxmppfs.xmlstream.xmlstream] Scheduled event: Ping: ()
2021-01-07 23:54:04 DEBUG (event_thread_0) [sucks] *** sending ping ***
2021-01-07 23:54:04 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-5" type="get" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c"><ping xmlns="urn:xmpp:ping" /></iq>
2021-01-07 23:54:04 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-5"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:04 WARNING (event_thread_0) [sucks] Ping did not reach VacBot. Will retry.
2021-01-07 23:54:04 DEBUG (event_thread_0) [sucks] *** Error type: wait
2021-01-07 23:54:04 DEBUG (event_thread_0) [sucks] *** Error condition: recipient-unavailable
2021-01-07 23:54:34 DEBUG (event_thread_0) [sleekxmppfs.xmlstream.xmlstream] Scheduled event: Ping: ()
2021-01-07 23:54:34 DEBUG (event_thread_0) [sucks] *** sending ping ***
2021-01-07 23:54:34 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-6" type="get" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c"><ping xmlns="urn:xmpp:ping" /></iq>
2021-01-07 23:54:34 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-6"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:34 WARNING (event_thread_0) [sucks] Ping did not reach VacBot. Will retry.
2021-01-07 23:54:34 DEBUG (event_thread_0) [sucks] *** Error type: wait
2021-01-07 23:54:34 DEBUG (event_thread_0) [sucks] *** Error condition: recipient-unavailable
2021-01-07 23:54:39 DEBUG (SyncWorker_3) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-7" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="auto" speed="standard" /></ctl></query></iq>
2021-01-07 23:54:39 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-7" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="auto" speed="standard" /></ctl></query></iq>
2021-01-07 23:54:40 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-7"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:40 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-7"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 293, in async_turn_on
    await self.hass.async_add_executor_job(partial(self.turn_on, **kwargs))
  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/vacuum.py", line 160, in turn_on
    self.device.run(sucks.Clean())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-7"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:42 DEBUG (SyncWorker_0) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-8" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="stop" speed="standard" /></ctl></query></iq>
2021-01-07 23:54:42 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-8" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="stop" speed="standard" /></ctl></query></iq>
2021-01-07 23:54:42 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-8"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:42 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-8"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 194, in async_stop
    await self.hass.async_add_executor_job(partial(self.stop, **kwargs))
  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/vacuum.py", line 169, in stop
    self.device.run(sucks.Stop())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-8"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:43 DEBUG (SyncWorker_6) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-9" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="spot" speed="strong" /></ctl></query></iq>
2021-01-07 23:54:43 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-9" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="spot" speed="strong" /></ctl></query></iq>
2021-01-07 23:54:43 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-9"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:43 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-9"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 216, in async_clean_spot
    await self.hass.async_add_executor_job(partial(self.clean_spot, **kwargs))
  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/vacuum.py", line 174, in clean_spot
    self.device.run(sucks.Spot())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-9"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:44 DEBUG (SyncWorker_5) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-A" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="PlaySound" sid="0" /></query></iq>
2021-01-07 23:54:44 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-A" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="PlaySound" sid="0" /></query></iq>
2021-01-07 23:54:44 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-A"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:44 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-A"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 227, in async_locate
    await self.hass.async_add_executor_job(partial(self.locate, **kwargs))
  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/vacuum.py", line 179, in locate
    self.device.run(sucks.PlaySound())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-A"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:45 DEBUG (SyncWorker_0) [sucks] Sending command <iq id="d614e712-122a-4390-a82e-d13a19a88533-B" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Charge"><charge type="go" /></ctl></query></iq>
2021-01-07 23:54:45 DEBUG (send_thread) [sleekxmppfs.xmlstream.xmlstream] SEND: <iq id="d614e712-122a-4390-a82e-d13a19a88533-B" to="[email protected]/atom" from="[email protected]/a0cb7202c55d04ea2108dfb43844056c" type="set"><query xmlns="com:ctl"><ctl td="Charge"><charge type="go" /></ctl></query></iq>
2021-01-07 23:54:45 DEBUG (read_thread) [sleekxmppfs.xmlstream.xmlstream] RECV: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-B"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
2021-01-07 23:54:45 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547729360784] <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-B"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 205, in async_return_to_base
    await self.hass.async_add_executor_job(partial(self.return_to_base, **kwargs))
  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/vacuum.py", line 129, in return_to_base
    self.device.run(sucks.Charge())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 416, in run
    self.send_command(action.to_xml())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 413, in send_command
    self.xmpp.send_command(xml, self._vacuum_address())
  File "/usr/local/lib/python3.8/site-packages/sucks/__init__.py", line 482, in send_command
    c.send()
  File "/usr/local/lib/python3.8/site-packages/sleekxmppfs/stanza/iq.py", line 235, in send
    raise IqError(result)
sleekxmppfs.exceptions.IqError: <iq type="error" to="[email protected]/a0cb7202c55d04ea2108dfb43844056c" from="[email protected]/atom" id="d614e712-122a-4390-a82e-d13a19a88533-B"><error type="wait" code="404"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
```

The [`ecovacs`](https://www.home-assistant.io/integrations/ecovacs) integration relies on [`sucks`](https://github.com/wpietri/sucks), which is no longer maintained. See also home-assistant/core#38625. wpietri/sucks#91 also seems relevant.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants