Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iRobot Roomba and Braava failed to set up after upgrading to core 2024.7.3 #122436

Open
C0MTRAYA opened this issue Jul 23, 2024 · 10 comments
Open

Comments

@C0MTRAYA
Copy link

C0MTRAYA commented Jul 23, 2024

The problem

The iRobot Roomba and Braava always tells failed to set up after upgrading to core 2024.7.3. When I check the history all the Roomba entities are unavailable right at the same time the core becomes Up to date.
IMG_20240722_223614

EDIT:
Rolled back to 2024.7.2 this morning, the integration is back up and running

What version of Home Assistant Core has the issue?

2024.7.3

What was the last working version of Home Assistant Core?

2024.7.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

iRobot Roomba and Braava

Link to integration documentation on our website

https://www.home-assistant.io/integrations/roomba

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: roombapy.remote_client
Source: /usr/local/lib/python3.12/site-packages/roombapy/remote_client.py:95
First occurred: 16:55:15 (695 occurrences)
Last logged: 22:22:57

Can't connect to 192.168.1.109
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/roombapy/remote_client.py", line 93, in connect
    self._open_mqtt_connection()
  File "/usr/local/lib/python3.12/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.12/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/socket.py", line 853, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.12/socket.py", line 838, in create_connection
    sock.connect(sa)
OSError: [Errno 113] Host is unreachable

Additional information

No response

@home-assistant
Copy link

Hey there @pschmitt, @cyr-ius, @shenxn, @Xitee1, @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 close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign roomba Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove 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)

@MasterDevwi
Copy link

I'm hitting the same error on one of my Roombas--an R989020. My j855020 and m601220 are working fine. It was working fine until a recent Home Assistant update.

@C0MTRAYA
Copy link
Author

C0MTRAYA commented Aug 4, 2024

@MasterDevwi it was not working for me in .3 but seems to work on .4; I'll wait a few days and see and I'll close the issue if everything continues to go fine. Don't know if the devs fixed it or if that was an issue with .3 but so far it's working 👍🏻

@blairscarlett
Copy link

I can confirm my setup with a j9 also fails. I have confirmed the password with both dorita980 and the Homebridge plugin. I am running Homeseer 2024.8.1

@dzaharia1
Copy link

Experiencing this with a 960, and have confirmed the password with Roomba980-Python.

@tgrinnall
Copy link

tgrinnall commented Aug 15, 2024

i'm trying to add my s9+ but keeps telling me the failed to connect

@ramphex
Copy link

ramphex commented Sep 6, 2024

i'm trying to add my s9+ but keeps telling me the failed to connect

Also an issue here with S9+ that has been connected for years, HA fails to communicate with it. There has not been any firmware updates on the Roomba end.

@MattDemers
Copy link

Can confirm this also happens on my 960.

@Tuerkay
Copy link

Tuerkay commented Sep 16, 2024

After hours of Research, this comment fix the issue for me.

#94419 (comment)

Manually addind UDP/TCP portforwaring for Port 443 in my rounter settings for the roomba helped

@MattDemers
Copy link

After hours of Research, this comment fix the issue for me.

#94419 (comment)

Manually addind UDP/TCP portforwaring for Port 443 in my rounter settings for the roomba helped

Unfortunately I'm not able to port forward 443 for my Roomba as I'm currently forwarding it for another device (namely, my NAS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants