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

Can't add Roomba 980 (3 other roombas are ok) #322

Open
scyto opened this issue Jun 11, 2024 · 2 comments
Open

Can't add Roomba 980 (3 other roombas are ok) #322

scyto opened this issue Jun 11, 2024 · 2 comments

Comments

@scyto
Copy link

scyto commented Jun 11, 2024

I used https://github.com/koalazak/dorita980 to get my passwords for all 4 roombas.

Three work (i7, j7 etc) my older 980 doesn't, it used to work, sorry not sure what was the last version worked, i have removed the integration a few times and re-added all 4 - that doesn't help.

Logs:

2024-06-10 18:03:21.811 ERROR (roombapy) [roombapy.remote_client] Can't connect to 192.168.1.129
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 852, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.12/socket.py", line 837, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

output from one of the password tools:

 "30F8891Cdeadbeef": {
    "password": ":1:1640028260:redactedcfAqkc6U",
    "sku": "R98----",
    "softwareVer": "v2.4.17-138",
    "name": "MIL",
    "cap": {
      "pose": 1,
      "ota": 2,
      "multiPass": 2,
      "carpetBoost": 1,
      "pp": 1,
      "binFullDetect": 1,
      "langOta": 1,
      "maps": 1,
      "edge": 1,
      "eco": 1,
      "svcConf": 1
    },
    "digiCap": {},
    "svcDeplId": "v011",
    "user_cert": false
  },

yes the roomba is pingable, no don't have any weird vlan stuff going on (or any vlan stuff) and the app is closed

@scyto
Copy link
Author

scyto commented Jun 11, 2024

advanced debug logging gave me this during the integration initialization after i gave it the password

2024-06-10 18:14:25.137 DEBUG (Thread-28 (_thread_main)) [roombapy.roomba] Received message from 192.168.1.188: <paho.mqtt.client.MQTTMessage object at 0x7fa19e241230>
2024-06-10 18:14:25.138 DEBUG (Thread-28 (_thread_main)) [homeassistant.components.roomba.irobot_base] Got new state from the vacuum: {'state': {'reported': {'batPct': 26}}}
2024-06-10 18:14:32.033 DEBUG (SyncWorker_61) [roombapy.remote_client] Setting TLS certificate
2024-06-10 18:14:32.033 DEBUG (SyncWorker_61) [roombapy.roomba] PERIODIC connection
2024-06-10 18:14:32.035 DEBUG (MainThread) [homeassistant.components.roomba] Initialize connection to vacuum
2024-06-10 18:14:32.036 INFO (roombapy) [roombapy.remote_client] Connecting to 192.168.1.129, attempt 1 of 3
2024-06-10 18:14:42.036 DEBUG (MainThread) [homeassistant.components.roomba] Disconnect vacuum
2024-06-10 18:14:42.039 DEBUG (MainThread) [homeassistant.components.roomba] Timeout expired: 
2024-06-10 18:14:43.230 DEBUG (Thread-31 (_thread_main)) [roombapy.remote_client] Connected to Roomba 192.168.1.129, response code = 0
2024-06-10 18:14:43.230 INFO (Thread-31 (_thread_main)) [roombapy.roomba] Connecting to Roomba 192.168.1.129
2024-06-10 18:14:43.235 DEBUG (Thread-31 (_thread_main)) [roombapy.roomba] Received message from 192.168.1.129: <paho.mqtt.client.MQTTMessage object at 0x7fa187811930>
2024-06-10 18:14:43.298 DEBUG (Thread-31 (_thread_main)) [roombapy.roomba] Received message from 192.168.1.129: <paho.mqtt.client.MQTTMessage object at 0x7fa187813760>
2024-06-10 18:14:43.299 DEBUG (Thread-31 (_thread_main)) [roombapy.roomba] Received message from 192.168.1.129: <paho.mqtt.client.MQTTMessage object at 0x7fa187811930>
2024-06-10 18:14:43.300 DEBUG (Thread-31 (_thread_main)) [roombapy.roomba] Received message from 192.168.1.129: <paho.mqtt.client.MQTTMessage object at 0x7fa1878129d0>
2024-06-10 18:14:43.371 DEBUG (Thread-31 (_thread_main)) [roombapy.roomba] Received message from 192.168.1.129: <paho.mqtt.client.MQTTMessage object at 0x7fa19e240120>
2024-06-10 18:14:43.376 DEBUG (Thread-31 (_thread_main)) [roombapy.roomba] Received message from 192.168.1.129: <paho.mqtt.client.MQTTMessage object at 0x7fa19e2482e0>
2024-06-10 18:14:43.377 DEBUG (Thread-31 (_thread_main)) [roombapy.roomba] Received message from 192.168.1.129: <paho.mqtt.client.MQTTMessage object at 0x7fa19e2482e0>
2024-06-10 18:14:43.962 DEBUG (Thread-31 (_thread_main)) [roombapy.remote_client] Disconnected from Roomba 192.168.1.129, reason code = 0
2024-06-10 18:14:43.962 INFO (Thread-31 (_thread_main)) [roombapy.roomba] Disconnected from Roomba 192.168.1.129

@scyto
Copy link
Author

scyto commented Jun 11, 2024

ahh its not a password issue, with the right password i get what you see in the logs above

with the wrong password i get the followed, QED its not a password issue....

2024-06-10 18:27:49.624 ERROR (Thread-32 (_thread_main)) [roombapy.roomba] Roomba 192.168.1.129 connection error, code Not authorised
2024-06-10 18:27:49.625 WARNING (Thread-32 (_thread_main)) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.1.129, code Not authorised
2024-06-10 18:27:54.652 ERROR (Thread-33 (_thread_main)) [roombapy.roomba] Roomba 192.168.1.129 connection error, code Not authorised
2024-06-10 18:27:54.654 WARNING (Thread-33 (_thread_main)) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.1.129, code Not authorised
2024-06-10 18:30:11.750 ERROR (Thread-34 (_thread_main)) [roombapy.roomba] Roomba 192.168.1.129 connection error, code Not authorised
2024-06-10 18:30:11.751 WARNING (Thread-34 (_thread_main)) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.1.129, code Not authorised
2024-06-10 18:30:16.683 ERROR (Thread-35 (_thread_main)) [roombapy.roomba] Roomba 192.168.1.129 connection error, code Not authorised
2024-06-10 18:30:16.683 WARNING (Thread-35 (_thread_main)) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.1.129, code Not authorised

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

No branches or pull requests

1 participant