homebridge-plugins / homebridge-roomba2

Homebridge plugin to connect iRobot Roomba devices with Homebridge/HomeKit.
MIT License
143 stars 17 forks source link

Lots of errors for Roomba 960 #119

Closed ccwillia closed 1 year ago

ccwillia commented 2 years ago

Expected Behavior

Limited or no errors

Current Behavior

Roomba 960 is output lots of errors in the log. I haven't make configuration changes in over a year, but i have been applying all the updates.

Steps to Reproduce (for bugs)

None

Versions

Configuration

  {
      "name": "LowerLevel",
      "model": "960",
      "blid": "****",
      "robotpwd": "****",
      "ipaddress": "192.168.1.10",
      "dockContactSensor": true,
      "runningContactSensor": false,
      "stopBehaviour": "home",
      "accessory": "Roomba2"
  }

Homebridge Log / Command Output

[5/27/2022, 8:25:41 AM] [LowerLevel] Starting Roomba
[5/27/2022, 8:38:10 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:39:14 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:40:18 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:41:23 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:42:27 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:43:31 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:44:35 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:45:38 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:46:43 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:47:46 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:48:50 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:49:55 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:50:59 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:52:03 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:52:06 AM] [LowerLevel] Timed out after 60001ms trying to connect to Roomba
[5/27/2022, 8:52:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:52:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 8:53:06 AM] [LowerLevel] Timed out after 60001ms trying to connect to Roomba
[5/27/2022, 8:53:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:53:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 8:54:06 AM] [LowerLevel] Timed out after 60000ms trying to connect to Roomba
[5/27/2022, 8:54:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:54:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 8:55:10 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:56:14 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:57:19 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:58:22 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 8:59:27 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:00:31 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:01:35 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:02:39 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:03:44 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:04:48 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:05:52 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:06:56 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:08:00 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:09:04 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:09:06 AM] [LowerLevel] Timed out after 60002ms trying to connect to Roomba
[5/27/2022, 9:09:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:09:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 9:10:06 AM] [LowerLevel] Timed out after 60001ms trying to connect to Roomba
[5/27/2022, 9:10:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:10:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 9:11:06 AM] [LowerLevel] Timed out after 60000ms trying to connect to Roomba
[5/27/2022, 9:11:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:11:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 9:12:12 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:13:15 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:14:20 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:15:24 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:16:28 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:17:32 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:18:36 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:19:41 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:20:45 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:21:49 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:22:53 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:23:57 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:25:00 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:26:05 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:26:06 AM] [LowerLevel] Timed out after 60001ms trying to connect to Roomba
[5/27/2022, 9:26:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:26:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 9:27:06 AM] [LowerLevel] Timed out after 60000ms trying to connect to Roomba
[5/27/2022, 9:27:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:27:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 9:28:06 AM] [LowerLevel] Timed out after 60000ms trying to connect to Roomba
[5/27/2022, 9:28:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:28:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 9:29:12 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:30:17 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:31:21 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:32:25 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:33:28 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:34:32 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:35:37 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:36:41 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:37:44 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:38:48 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:39:53 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:40:56 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:42:02 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:42:06 AM] [LowerLevel] Timed out after 60000ms trying to connect to Roomba
[5/27/2022, 9:42:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:42:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 9:43:06 AM] [LowerLevel] Timed out after 60001ms trying to connect to Roomba
[5/27/2022, 9:43:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:43:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 9:44:06 AM] [LowerLevel] Timed out after 60001ms trying to connect to Roomba
[5/27/2022, 9:44:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:44:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 9:45:11 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:46:15 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:47:18 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:48:22 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:49:26 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:50:30 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:51:34 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:52:38 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:53:42 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:54:46 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:55:50 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:56:54 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:57:58 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 9:59:02 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:00:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:00:06 AM] [LowerLevel] Timed out after 60001ms trying to connect to Roomba
[5/27/2022, 10:00:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:00:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 10:03:11 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:04:15 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:05:19 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:06:22 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:07:26 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:08:30 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:09:35 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:10:38 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:11:43 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:12:46 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:13:50 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:14:54 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:15:58 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:17:02 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:18:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:18:06 AM] [LowerLevel] Timed out after 60001ms trying to connect to Roomba
[5/27/2022, 10:18:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:18:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 10:21:11 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:22:15 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:23:19 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:24:23 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:25:27 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:26:31 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:27:35 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:28:39 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:29:43 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:30:47 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:31:51 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:32:55 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:33:59 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:35:03 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:35:06 AM] [LowerLevel] Timed out after 60000ms trying to connect to Roomba
[5/27/2022, 10:35:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:35:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 10:36:06 AM] [LowerLevel] Timed out after 60000ms trying to connect to Roomba
[5/27/2022, 10:36:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:36:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 10:37:06 AM] [LowerLevel] Timed out after 60000ms trying to connect to Roomba
[5/27/2022, 10:37:06 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:37:06 AM] [LowerLevel] Failed to connect to Roomba to refresh state: Connect timed out
[5/27/2022, 10:38:11 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:39:15 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:40:19 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:41:23 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:42:27 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:43:31 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:44:35 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:45:39 AM] [LowerLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:46:36 AM] [MainLevel] Releasing an unexpected Roomba instance
[5/27/2022, 10:46:43 AM] [LowerLevel] Releasing an unexpected Roomba instance
fcmarriott commented 2 years ago

Me too on my Roomba 980. Has been working fine for 6 months. Now throwing the following error over and over again.

[28/05/2022, 16:47:29] [Simon] Timed out after 60000ms trying to connect to Roomba [28/05/2022, 16:47:29] [Simon] Releasing an unexpected Roomba instance [28/05/2022, 16:47:29] [Simon] Failed to connect to Roomba to refresh state: Connect timed out

I can connect to the Roomba in their app on my iPhone. I assume something changed with their API?

asweet commented 2 years ago

Also have a 960 and logs are also flooded with the above messages. Those I can ignore, but what's worse is that the roomba won't respond to commands unless they're sent more than once, which makes scheduling and automation unworkable.

I have noticed that disabling the iRobot/cloud connection seems to increase reliability, so it looks like there's some contention for connection with the roomba from different sources. However this does not resolve the issue, still getting a flood of errors, and still having reliability issues even without the iRobot app control.

So far the only resolution for me is to roll back to v1.2.2

Smexhy commented 2 years ago

Same goes for my 980 roomba

yasserabdalla commented 1 year ago

Same time-out errors with Roomba 960 ... used to work before Homebridge's recent upgrades!

yasserabdalla commented 1 year ago

Sometimes it works, however, with a very slow response ... if turn the switch on , it takes about 1 minute to send the command to Roomba.

All happened after the latest upgrades of Homebridge, appreciate if we can get a fix soon?

Thank you so much.

yasserabdalla commented 1 year ago

Very common and similar errors recently on the issues log!

How can we troubleshoot and fix this issue?

thank you so much :)

javiusmaximus commented 1 year ago

Try this: https://github.com/karlvr/homebridge-roomba2/issues/120#issuecomment-1205944239

maverick85 commented 1 year ago

I have static IP's and the Roomba never changed IP address. After reading that topic I changed the config from hostname (which resolves perfectly internally) to IP address: the issue remains.

ccwillia commented 1 year ago

Yep, i am also using static IPs and still have the issue. Has anyone migrated back to a previous version which is working well? I have tried going back to v1.3.0 and still have issues.

maverick85 commented 1 year ago

I found that this happens if you have homebridge and home assistant connected simultaneously. In such case, you must edit the home assistant configuration for the Roomba and on options change continuous to false Homebridge will then be able to connect normaly

ccwillia commented 1 year ago

What is "home assistant"?

maverick85 commented 1 year ago

What is "home assistant"?

It's another home automation software. I use both in parallel, but only homebridge is connected to HomeKit. If you don't know what it is, that's likely not your problem.

In the meanwhile I did factory reset the roomba and made the setup from zero. Got everything working OK.

ccwillia commented 1 year ago

Ok, i also ended up doing a factory reset and then i had go and grab the blid and password again. The roomba did seem to work again without all the releasing messages i pasted above, but a couple days later the messages returned and conductivity is intermittent. This only effects my 960 the i7 i works fine.

maverick85 commented 1 year ago

Well so far mine has been working fine since. Yesterday I lost the communication (from Home/HomeKit perspective) with it but no errors were showing on homebridge, a simple restart to homebridge fixed it.

ccwillia commented 1 year ago

I did a factory reset on my 960 today. So far so good. I will let the group know if anything changes

BunpGhost commented 1 year ago

I found that this happens if you have homebridge and home assistant connected simultaneously. In such case, you must edit the home assistant configuration for the Roomba and on options change continuous to false Homebridge will then be able to connect normaly

This fixed for me. Thanks

maverick85 commented 1 year ago

I'm glad it helped.

But in the meanwhile I had lots of things that didn't work well, Panasonic Viera integration didn't work, RM4Pro temperature and humidity sensors always saying invalid values, with Home Assistant everything works well.

I spent a while trying to figure out how to put things to work with Home Assistant, but now everything works perfectly.

lukehoersten commented 1 year ago

Just wanted to report that I do not also run Home Assistant and have the Roomba on a static IP though still have these "Releasing an unexpected Roomba instance" issues.

ccwillia commented 1 year ago

It looks like these errors occur while having the irobot app open. If i close the app and clear the log i do not see any errors for hours but as soon as i open the irobot app i see lots of errors

Skyman81 commented 1 year ago

i don't have HomeAssistant and I am not using iRobot App... it has worked for a long time. Then ago when I updated Homebridge it stopped.

Skyman81 commented 1 year ago

problem with nodes... downgrade it: sudo hb-service update-node 16.18.1

karlvr commented 1 year ago

Please re-open if not related to node 16 vs node 18