I have a roomba that I’ve been using for half a year now. It used to be that I needed to restart home assistant in order for the roomba to connect properly, but I just scheduled a home assistant restart for 10m before I wanted my roomba to start cleaning. With the past few months of updates, I am still not able to connect to the roomba after a home assistant restart.
Usually, the Roomba is marked as “Unavailable” in homeassistant and all commands fail. However, if I manually start a cleaning by pressing the physical CLEAN button on the roomba, it will become available in HomeAssistant and I can see status, send it commands, etc.
I don’t use the app, and it does work while cleaning.
I turned on debug logging for the roomba but I don’t see any connection commands in my log, just failures.
2021-05-16 18:02:15 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.143, error: [Errno 111] Connection refused
2021-05-16 18:02:21 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Roomba' for roomba integration not ready yet; Retrying in background
2021-05-16 18:02:22 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.143, error: [Errno 111] Connection refused
2021-05-16 18:02:22 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.143, error: [Errno 111] Connection refused
2021-05-16 18:02:22 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.143, error: [Errno 111] Connection refused
2021-05-16 18:02:22 ERROR (roombapy) [roombapy.remote_client] Unable to connect to 192.168.1.143
2021-05-16 18:02:22 WARNING (roombapy) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.1.143, code Unable to connect to Roomba at 192.168.1.143
2021-05-16 18:10:10 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.143, error: [Errno 111] Connection refused
2021-05-16 18:20:36 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.143, error: [Errno 111] Connection refused
2021-05-16 18:37:25 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.143, error: [Errno 111] Connection refused
2021-05-16 18:37:31 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Roomba' for roomba integration not ready yet; Retrying in background
2021-05-16 18:43:54 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.143, error: [Errno 111] Connection refused
2021-05-16 18:55:55 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.143, error: [Errno 111] Connection refused
2021-05-16 18:58:43 ERROR (MainThread) [homeassistant.components.script.start_roomba] Start roomba: Repeat at step 1: Error executing script. Service not found for device at pos 1: Unable to find service vacuum.start
2021-05-16 18:58:43 ERROR (MainThread) [homeassistant.components.script.start_roomba] Start roomba: Error executing script. Service not found for repeat at pos 1: Unable to find service vacuum.start
2021-05-16 18:58:43 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/script/__init__.py", line 404, in _async_run
return await self.script.async_run(variables, context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1212, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 348, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 366, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/trace.py", line 249, in async_wrapper
await func(*args)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 692, in _async_repeat_step
await async_run_sequence(iteration, extra_msg)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 674, in async_run_sequence
await self._async_run_script(script)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 820, in _async_run_script
await self._async_run_long_action(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 530, in _async_run_long_action
long_task.result()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1212, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 348, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 366, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 577, in _async_device_step
await platform.async_call_action_from_config(
File "/usr/src/homeassistant/homeassistant/components/vacuum/device_action.py", line 72, in async_call_action_from_config
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1428, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service vacuum.start