Integration with Roomba no longer connecting
The problem
Roomba Integration is no longer working or communicating with the Vacuum Cleaner with the 2025.8.1 core. I have the iRobot Roomba 980.
What version of Home Assistant Core has the issue?
2025.8.1
What was the last working version of Home Assistant Core?
2025.8.0
What type of installation are you running?
Home Assistant OS
Integration causing the issue
roomba
Link to integration documentation on our website
No response
Diagnostics information
Logger: roombapy.remote_client Source: /usr/local/lib/python3.13/site-packages/roombapy/remote_client.py:95 First occurred: 20:33:03 (84 occurrences) Last logged: 21:16:24
Can't connect to [REDACTED] Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/roombapy/remote_client.py", line 93, in connect self._open_mqtt_connection() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/roombapy/remote_client.py", line 117, in _open_mqtt_connection self.mqtt_client.connect(self.address, self.port) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1435, in connect return self.reconnect() ~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1598, in reconnect self._sock = self._create_socket() ~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 4609, in _create_socket sock = self._create_socket_connection() File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 4640, in _create_socket_connection return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/socket.py", line 864, in create_connection raise exceptions[0] File "/usr/local/lib/python3.13/socket.py", line 849, in create_connection sock.connect(sa) ~~~~~~~~~~~~^^^^ ConnectionRefusedError: [Errno 111] Connection refused
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
I have the same problem
Hey there @pschmitt, @cyr-ius, @shenxn, @orhideous, mind taking a look at this issue as it has been labeled with an integration (roomba) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of roomba can trigger bot actions by commenting:
-
@home-assistant closeCloses the issue. -
@home-assistant rename Awesome new titleRenames the issue. -
@home-assistant reopenReopen the issue. -
@home-assistant unassign roombaRemoves the current integration label and assignees on the issue, add the integration domain after the command. -
@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue. -
@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
roomba documentation roomba source (message by IssueLinks)
Same here as well
I have the same problem
My problem was solved by rebooting my Roomba (twice)
Fwiw when I checked the logs I saw a similar message as OP but noticed it was aiming at what I'm guessing was the prior IP address of my Roomba. Just guessing the DHCP lease ended and it got shuffled to a new IP
In any case it didn't seem like there was a way to target the new IP in the integration so after pinning the new IP to my Roomba in my router's config I ended up just re-adding the device and it works again.
Is the integration expected to handle DHCP IP changes or should setting a fixed IP for your Roomba be added to the setup docs?
I am seeing similar issues. It's not due to IPs changing (I don't have a static IP, but have the integration configured to use the hostname). It would connect for a short period of time after a reboot and then stop.
I flipped the integration back to "continuous" and that seems to have fixed it. I previously had that disabled because I was having trouble using the iRobot app. We'll see if that's still a problem.
I'm having a similar problem, I've been on vacation, the robot got stuck and drained battery, I haven't been able to make it work with HA since then. I've already tried a factory reset, deleted the robot from HA, never been able to finish the wizard.
I see various warning and error logs: WARN
Logger: roombapy.remote_client
Source: /usr/local/lib/python3.13/site-packages/roombapy/remote_client.py:172
First occurred: 15:59:40 (6 occurrences)
Last logged: 16:23:28
Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new
WARN
Logger: roombapy.roomba
Source: /usr/local/lib/python3.13/site-packages/roombapy/roomba.py:197
First occurred: September 6, 2025 at 21:23:15 (1140 occurrences)
Last logged: 16:23:28
Unexpectedly disconnected from Roomba 192.168.1.118, code Not authorised
Unexpectedly disconnected from Roomba 192.168.1.118, code UNKNOWN_ERROR
ERROR
Logger: roombapy.remote_client
Source: /usr/local/lib/python3.13/site-packages/roombapy/remote_client.py:95
First occurred: 09:14:55 (45 occurrences)
Last logged: 16:29:53
Can't connect to 192.168.1.118
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/roombapy/remote_client.py", line 93, in connect
self._open_mqtt_connection()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/roombapy/remote_client.py", line 117, in _open_mqtt_connection
self.mqtt_client.connect(self.address, self.port)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1435, in connect
return self.reconnect()
~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1598, in reconnect
self._sock = self._create_socket()
~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 4612, in _create_socket
sock = self._ssl_wrap_socket(sock)
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 4671, in _ssl_wrap_socket
ssl_sock.do_handshake()
~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/ssl.py", line 1372, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ConnectionResetError: [Errno 104] Connection reset by peer
Same here. Update to 2025.9.1 doesn't change the outcome. I was able to get it work after a complete Roomba reset, but then I had to restart HA and the connection failed again. Logs follow.
Can't connect to 192.168.1.124
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/roombapy/remote_client.py", line 93, in connect
self._open_mqtt_connection()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/roombapy/remote_client.py", line 117, in _open_mqtt_connection
self.mqtt_client.connect(self.address, self.port)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1435, in connect
return self.reconnect()
~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1598, in reconnect
self._sock = self._create_socket()
~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 4609, in _create_socket
sock = self._create_socket_connection()
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 4640, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/socket.py", line 864, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.13/socket.py", line 849, in create_connection
sock.connect(sa)
~~~~~~~~~~~~^^^^
ConnectionRefusedError: [Errno 111] Connection refused
Update: This morning I found a "code Not authorised" message in logs
Logger: roombapy.roomba
Source: /usr/local/lib/python3.13/site-packages/roombapy/roomba.py:197
First occurred: 12:56:40 AM (2363 occurrences)
Last logged: 8:20:38 AM
Unexpectedly disconnected from Roomba 192.168.8.201, code Not authorised
Unexpectedly disconnected from Roomba 192.168.8.201, code The connection was lost
I have a similar issue. I delete actual configuration and I tried to set it up back. but now it's requiring a password.... not clear where to fin it..
FWIW, had the same unknown error 16 issue. Two reboots of the Roomba fixed it, before that, no amount of reloading the integration would change the behavior. I also have "continuous" checked in the integration options.
I have a similar issue. I delete actual configuration and I tried to set it up back. but now it's requiring a password.... not clear where to fin it..
The instructions for retrieving the password can be found here in the Home Assistant Integrations page: https://www.home-assistant.io/integrations/roomba/#retrieving-your-credentials
integration stop working with 2025.11.1
Integration stopped working with 2025.11.3 -- i vaguely remember this being an issue with MQTT once before.
2025-11-23 08:48:19.194 ERROR (SyncWorker_7) [roombapy.remote_client] Can't connect to 172.10.1.114
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/roombapy/remote_client.py", line 93, in connect
self._open_mqtt_connection()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/roombapy/remote_client.py", line 117, in _open_mqtt_connection
self.mqtt_client.connect(self.address, self.port)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1435, in connect
return self.reconnect()
~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 1598, in reconnect
self._sock = self._create_socket()
~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 4609, in _create_socket
sock = self._create_socket_connection()
File "/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py", line 4640, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/socket.py", line 864, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.13/socket.py", line 849, in create_connection
sock.connect(sa)
~~~~~~~~~~~~^^^^
OSError: [Errno 113] Host is unreachable
I found out my integration stopped to work time ago, and one of my issues was that the legacy robot has a expired SSL cert.
I made it work with a huge workaround explained here - using this Pyton solution (but had to thinker around because also this solution has issues with the SSL cert. https://github.com/NickWaterton/Roomba980-Python/issues/140
Unfortunaly I am no programmer, but I made this post to describe how my workaround works, in case someone would try to fix the integration, there is all i have done as workaround.