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
74k stars 31.05k forks source link

Can't register Roomba Combo 10 #128519

Open wortmanb opened 1 month ago

wortmanb commented 1 month ago

The problem

I've powered off my phone and still can't get the integration to add my Roomba Combo 10. I've tried discovering it, which always fails, whether I initiate the "submit" within a few seconds of rebooting the bot or waiting almost to the end of the 30 second window. 10-15 seconds doesn't work eiither.

I have retrieved my password and BLID using the Dorita980 library but adding it manually doesn't work either.

Is this robot simply unsupported or is something else happening?

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

roomba

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?

No response

Additional information

No response

home-assistant[bot] commented 1 month 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)

DeFlanko commented 1 month ago

Came here to comment on the same.

Core 2024.10.2 Supervisor 2024.10.2 Operating System 13.2 Frontend 20241002.3

image

Logger: roombapy.remote_client
Source: /usr/local/lib/python3.12/site-packages/roombapy/remote_client.py:95
First occurred: October 15, 2024 at 10:53:06 AM (2655 occurrences)
Last logged: 8:45:49 AM

Can't connect to 172.10.1.114
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
Logger: roombapy.remote_client
Source: /usr/local/lib/python3.12/site-packages/roombapy/remote_client.py:100
First occurred: October 15, 2024 at 10:53:13 AM (885 occurrences)
Last logged: 8:45:49 AM

Unable to connect to 172.10.1.114
DeFlanko commented 1 month ago

Is this a conflict with MQTT / Mosquitto Broker again? #128478 or https://github.com/home-assistant/core/pull/111187

wortmanb commented 1 month ago

I don't have MQTT installed in my HA.

DeFlanko commented 1 month ago

Updated to latest version seams to have resolved it self.

Core 2024.10.3 Supervisor 2024.10.2 Operating System 13.2 Frontend 20241002.3

bong0 commented 1 month ago

Hey @wortmanb, it feels like the issue you describe and the one by @DeFlanko are different. I had trouble getting the integration working at all and got it working with HA, here's how:

Hints: I ran dorita using docker docker run -it --rm --entrypoint /bin/sh node:10-alpine which worked nicely.

innominate227 commented 1 month ago

I believe I am having the same issue as wortmanb.

  1. Go to Settings -> Devices & Services -> Add Integration -> iRobot Roomba and Braava
  2. I get past this screen where it finds the roomba on the network image
  3. It tries and fails to auto retrieve the password image
  4. I get to this screen in the setup for, I use these instructions to retrieve the password, but I just get fail to connect back. image
  5. I have tried rebooting Roomba via holding down the power button, and continuously retrying, both with and without allowing it to connect to the internet. But no luck.

I dont get the option in the app bong0 mentions when Roomba is offline to restart, I just get troubleshooting instructions which tell me how to restart via the power button.

Psykozo51 commented 1 month ago

I believe I am having the same issue as wortmanb.

  1. Go to Settings -> Devices & Services -> Add Integration -> iRobot Roomba and Braava
  2. I get past this screen where it finds the roomba on the network image
  3. It tries and fails to auto retrieve the password image
  4. I get to this screen in the setup for, I use these instructions to retrieve the password, but I just get fail to connect back. image
  5. I have tried rebooting Roomba via holding down the power button, and continuously retrying, both with and without allowing it to connect to the internet. But no luck.

I dont get the option in the app bong0 mentions when Roomba is offline to restart, I just get troubleshooting instructions which tell me how to restart via the power button.

Hi, I have the same problems on a 900 Series.. I have the password, python extract, but the addon doesn't accepte it

jkfran commented 3 weeks ago

I am having exactly the same issue as @innominate227

I am using the latest version. Core 2024.10.4 Supervisor 2024.10.3 Operating System 13.2 Frontend 20241002.4

Error: Can't connect to 192.168.1.166

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 121, in _open_mqtt_connection
    self.mqtt_client.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)
ConnectionRefusedError: [Errno 111] Connection refused