question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Roomba 960 not able to connect

See original GitHub issue

The problem

I’ve had my Roomba 960 set up for about 18 months now, and it has been unable to connect for a while now.

I’m not sure what version actually broke it (or it could have even been an update to the Roomba itself 😬), but I noticed an error when updating to 2022.4.0 this morning. I’ve attached it down below.

I also attempted to simply reload the integration, and I see two errors… I’ve attached them down below as well.

My Roomba is definitely on the network (can ping from terminal), so I’m not sure why it wouldn’t be able to connect 🤔

What version of Home Assistant Core has the issue?

2022.4.0

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?

2022-04-07 07:24:25 ERROR (Thread-16) [root] Uncaught thread exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
    self.loop_forever(retry_first_connection=True)
  File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
    rc = self._loop(timeout)
  File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1164, in _loop
    rc = self.loop_read()
  File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1556, in loop_read
    rc = self._packet_read()
  File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 2439, in _packet_read
    rc = self._packet_handle()
  File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3033, in _packet_handle
    return self._handle_publish()
  File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3327, in _handle_publish
    self._handle_on_message(message)
  File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3570, in _handle_on_message
    on_message(self, self._userdata, message)
  File "/usr/local/lib/python3.9/site-packages/roombapy/roomba.py", line 188, in on_message
    log_string, json_data = self.decode_payload(msg.topic, msg.payload)
  File "/usr/local/lib/python3.9/site-packages/roombapy/roomba.py", line 296, in decode_payload
    return formatted_data, dict(json_data)
TypeError: 'NoneType' object is not iterable
2022-04-07 07:24:40 ERROR (SyncWorker_10) [roombapy.remote_client] Can't connect to 192.168.1.192, error: _ssl.c:1112: The handshake operation timed out
2022-04-07 07:24:40 ERROR (SyncWorker_0) [roombapy.remote_client] Can't connect to 192.168.1.192, error: [Errno 111] Connection refused
2022-04-07 07:24:40 ERROR (SyncWorker_0) [roombapy.remote_client] Can't connect to 192.168.1.192, error: [Errno 111] Connection refused
2022-04-07 07:24:40 ERROR (SyncWorker_0) [roombapy.remote_client] Can't connect to 192.168.1.192, error: [Errno 111] Connection refused
2022-04-07 07:24:40 ERROR (SyncWorker_0) [roombapy.remote_client] Unable to connect to 192.168.1.192
2022-04-07 07:25:00 ERROR (SyncWorker_1) [roombapy.remote_client] Can't connect to 192.168.1.192, error: [Errno 111] Connection refused
2022-04-07 07:25:00 ERROR (SyncWorker_1) [roombapy.remote_client] Can't connect to 192.168.1.192, error: [Errno 111] Connection refused
2022-04-07 07:25:01 ERROR (SyncWorker_1) [roombapy.remote_client] Can't connect to 192.168.1.192, error: [Errno 111] Connection refused
2022-04-07 07:25:01 ERROR (SyncWorker_1) [roombapy.remote_client] Unable to connect to 192.168.1.192

Additional information

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

4reactions
github-actions[bot]commented, Jul 15, 2022

There hasn’t been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

1reaction
dmyoung9commented, Apr 10, 2022

It does seem like rebooting the robot from the app helped (integration set up successfully), but connection must be getting dropped somewhere along the way, because it also seems like I have to reload the integration before starting the vacuum, or it won’t run.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Roomba Not Connecting to Wifi: What You Can ... - TheKingLive
There are plenty of possible reasons for your Roomba not connecting to your Wi-Fi network and the iRobot Home mobile app. The culprit...
Read more >
Cloud and Wi-Fi Connectivity Troubleshooting Guide - iRobot
Perform a reboot by holding down the CLEAN button for about 20 seconds. You should hear a little tune. Then see if the...
Read more >
iRobot Roomba 960 Troubleshooting - iFixit
Dark or dimly lit rooms can cause problems with the Roombas navigation and coverage. Make sure all rooms covered by the Roomba have...
Read more >
Roomba Not Connecting To WiFi? Here How To Fix! [2023]
The best way to fix Roomba is connecting to wifi stuck issue is performing a reset process. Press and hold the 'Clean', 'home',...
Read more >
https://prod-help-content.care.irobotapi.com/web/e...
No information is available for this page.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found