Closed KlaraJa closed 1 week 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!
(message by CodeOwnersMention)
roomba documentation roomba source (message by IssueLinks)
I seem to have a similar issue, here are my logs (Roomba 960)
2024-10-24 00:03:17.959 DEBUG (SyncWorker_19) [roombapy.remote_client] Setting TLS certificate
2024-10-24 00:03:17.962 DEBUG (SyncWorker_19) [roombapy.roomba] PERIODIC connection
2024-10-24 00:03:17.969 DEBUG (MainThread) [homeassistant.components.roomba] Initialize connection to vacuum
2024-10-24 00:03:17.970 INFO (roombapy) [roombapy.remote_client] Connecting to 192.168.68.111, attempt 1 of 3
2024-10-24 00:03:21.358 DEBUG (Thread-40 (_thread_main)) [roombapy.remote_client] Connected to Roomba 192.168.68.111, response code = 0
2024-10-24 00:03:21.358 INFO (Thread-40 (_thread_main)) [roombapy.roomba] Connecting to Roomba 192.168.68.111
2024-10-24 00:03:21.362 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8ccd60>
2024-10-24 00:03:21.375 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cfa00>
2024-10-24 00:03:21.375 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8ccd60>
2024-10-24 00:03:21.375 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8ccd60>
2024-10-24 00:03:21.375 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8ccd60>
2024-10-24 00:03:21.427 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cfca0>
2024-10-24 00:03:21.488 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc190>
2024-10-24 00:03:21.488 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8ccc80>
2024-10-24 00:03:21.491 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc190>
2024-10-24 00:03:21.555 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc190>
2024-10-24 00:03:21.558 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc190>
2024-10-24 00:03:21.818 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc190>
2024-10-24 00:03:21.947 DEBUG (Thread-40 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc190>
2024-10-24 00:03:22.040 INFO (roombapy) [roombapy.remote_client] Connecting to 192.168.68.111, attempt 1 of 3
2024-10-24 00:03:22.348 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.68.111
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
2024-10-24 00:03:22.355 INFO (roombapy) [roombapy.remote_client] Connecting to 192.168.68.111, attempt 2 of 3
2024-10-24 00:03:22.359 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.68.111
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
2024-10-24 00:03:22.360 INFO (roombapy) [roombapy.remote_client] Connecting to 192.168.68.111, attempt 3 of 3
2024-10-24 00:03:25.717 DEBUG (Thread-41 (_thread_main)) [roombapy.remote_client] Connected to Roomba 192.168.68.111, response code = 0
2024-10-24 00:03:25.717 INFO (Thread-41 (_thread_main)) [roombapy.roomba] Connecting to Roomba 192.168.68.111
2024-10-24 00:03:25.720 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:25.730 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc3c0>
2024-10-24 00:03:25.730 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:25.730 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:25.733 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:25.778 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:25.778 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:25.803 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8ce490>
2024-10-24 00:03:25.820 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:25.891 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:25.924 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:26.158 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:26.270 DEBUG (Thread-41 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d39ee30>
2024-10-24 00:03:26.435 INFO (roombapy) [roombapy.remote_client] Connecting to 192.168.68.111, attempt 1 of 3
2024-10-24 00:03:26.526 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.68.111
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
2024-10-24 00:03:26.527 INFO (roombapy) [roombapy.remote_client] Connecting to 192.168.68.111, attempt 2 of 3
2024-10-24 00:03:27.970 DEBUG (MainThread) [homeassistant.components.roomba] Disconnect vacuum
2024-10-24 00:03:27.970 DEBUG (MainThread) [homeassistant.components.roomba] Timeout expired:
2024-10-24 00:03:29.787 DEBUG (Thread-42 (_thread_main)) [roombapy.remote_client] Connected to Roomba 192.168.68.111, response code = 0
2024-10-24 00:03:29.787 INFO (Thread-42 (_thread_main)) [roombapy.roomba] Connecting to Roomba 192.168.68.111
2024-10-24 00:03:29.793 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:29.804 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc120>
2024-10-24 00:03:29.805 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:29.807 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:29.813 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:29.856 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:29.857 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:29.872 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc120>
2024-10-24 00:03:29.918 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:29.958 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:30.000 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:30.234 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:30.350 DEBUG (Thread-42 (_thread_main)) [roombapy.roomba] Received message from 192.168.68.111: <paho.mqtt.client.MQTTMessage object at 0x7f304d8cc4a0>
2024-10-24 00:03:30.537 DEBUG (Thread-42 (_thread_main)) [roombapy.remote_client] Disconnected from Roomba 192.168.68.111, reason code = 0
2024-10-24 00:03:30.537 INFO (Thread-42 (_thread_main)) [roombapy.roomba] Disconnected from Roomba 192.168.68.111
I don't know why, but I just tried it out of curiosity again. And it just worked.
As there are other Issues with similar problems, I will close this.
The problem
I cannot add my iRobot Roomba j7. The integration is telling me the password is incorrect, but it is exactly the string both romba980 and dorita980 provide me. And I always double check if the App is closed on my phone.
It worked before in April, but I had to factory reset my robot and now it won't work.
What version of Home Assistant Core has the issue?
core-2024.10.2
What was the last working version of Home Assistant Core?
core-2024.4.X
What type of installation are you running?
Home Assistant OS
Integration causing the issue
iiRobot 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?
Additional information
No response