Home Assistant all of the sudden can’t connect to Roomba any more

Anyone else having trouble?

I used my Roomba for 2 years with HA and its integration and never had issues.

A few weeks ago, my Roomba went offline all of a sudden. I didn’t change anything (except possibly upgrading HA, which I do regularly, not sure).

The error is in the log is:

logger:%20roombapy.remote_client%0ASource%3A%20/usr/local/lib/python3.12/site-packages/roombapy/remote_client.py:82%0AFirst%20occurred:%20May%2018,%202024%20at%2012:20:20%20AM%20(2256%20occurrences)%0ALast%20logged:%2012:36:22%20PM%0A%0ACan't%20connect%20to%2010.227.79.137%0ATraceback%20(most%20recent%20call%20last):%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/roombapy/remote_client.py%22,%20line%2080,%20in%20connect%0A%20%20%20%20self._open_mqtt_connection()%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/roombapy/remote_client.py%22,%20line%20108,%20in%20_open_mqtt_connection%0A%20%20%20%20self.mqtt_client.reconnect()%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py%22,%20line%201044,%20in%20reconnect%0A%20%20%20%20sock%20=%20self._create_socket_connection()%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py%22,%20line%203685,%20in%20_create_socket_connection%0A%20%20%20%20return%20socket.create_connection(addr,%20timeout=self._connect_timeout,%20source_address=source)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/socket.py%22,%20line%20852,%20in%20create_connection%0A%20%20%20%20raise%20exceptions%5B0%5D%0A%20%20File%20%22/usr/local/lib/python3.12/socket.py%22,%20line%20837,%20in%20create_connection%0A%20%20%20%20sock.connect(sa)%0AConnectionRefusedError:%20%5BErrno%20111%5D%20Connection%20refused%0A

Roomba is accessible via the Roomba app and IP 10.227.79.137 is the right one and I can ping it.

What could be the issue?

Can you restore your setup prior to the upgrade to see if the upgrade was the issue?

No, I have no backup and I don’t even know if it’s related. That’s why I wrote “possibly” and “not sure”.

Yesterday Roomba randomly went back online again. Did not change anything.

What on earth can that be?

The integration can have a problem if you have the Roomba app open on your phone, that may have been the problem. It also could be a general Roomba issue that caused it to go offline as well - remember that it’s a computer like any other and sometimes needs rebooted. Heck, mine sometimes reboot in the middle of a job.

1 Like