home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.47k stars 30.69k forks source link

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

Open C0MTRAYA opened 3 months ago

C0MTRAYA commented 3 months ago

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[bot] commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

@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 commented 2 months ago

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 commented 2 months ago

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

tgrinnall commented 2 months ago

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

ramphex commented 2 months ago

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 commented 1 month ago

Can confirm this also happens on my 960.

Tuerkay commented 1 month ago

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

https://github.com/home-assistant/core/issues/94419#issuecomment-1810583147

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

MattDemers commented 1 month ago

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).