homebridge-plugins / homebridge-roomba2

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

No connection #91

Closed farberm closed 1 year ago

farberm commented 2 years ago

I have installed the beta plugin version. 1.3 beta 11 I was able to get my dlid and password using dorita980.

However I am not able to connect to the Roomba (j7+) due to timeout?

12/5/2021, 11:00:38 PM] [Roomba] Low Battery status: Returning no value due to timeout [12/5/2021, 11:00:38 PM] [Roomba] Battery level: Returning no value due to timeout [12/5/2021, 11:00:38 PM] [Roomba] Charging status: Returning no value due to timeout [12/5/2021, 11:00:38 PM] [Roomba] Bin status: Returning no value due to timeout [12/5/2021, 11:00:38 PM] [Roomba] Dock status: Returning no value due to timeout [12/5/2021, 11:00:38 PM] [Roomba] Running status: Returning no value due to timeout [12/5/2021, 11:00:38 PM] [Roomba] Bin status: Returning no value due to timeout [12/5/2021, 11:00:38 PM] [Roomba] Docking status: Returning no value due to timeout

[12/5/2021, 11:04:47 PM] [Roomba] Timed out after 60001ms trying to connect to Roomba [12/5/2021, 11:04:47 PM] [Roomba] Releasing an unexpected Roomba instance [12/5/2021, 11:04:47 PM] [Roomba] Failed to connect to Roomba to refresh state: Connect timed out [12/5/2021, 11:04:47 PM] [Roomba] DEBUG: Watching Roomba's status (repeating in 5s, idle timeout in 539s) [12/5/2021, 11:04:47 PM] [Roomba] DEBUG: Connecting to Roomba (0 others waiting)... [12/5/2021, 11:04:52 PM] [Roomba] DEBUG: Watching Roomba's status (repeating in 5s, idle timeout in 534s) [12/5/2021, 11:04:56 PM] [Ecobee] Update sensors [12/5/2021, 11:04:56 PM] [Ecobee] [Attic Bedroom] 20.6°C | Vacant [12/5/2021, 11:04:56 PM] [Ecobee] [Office] 23.8°C | Occupied [12/5/2021, 11:04:56 PM] [Ecobee] [Upstairs] 21.7°C | 44% | Vacant [12/5/2021, 11:04:56 PM] [Ecobee] Wait | 30 seconds

karlvr commented 2 years ago

@farberm Please try rebooting your Roomba. You'll find instructions online… holding down the clean button etc.

I have found that sometimes Roomba gets into a state where it doesn't want to talk.

farberm commented 2 years ago

Rebooted the j7 by holding down the button for 20 sec..Still no connection.

DEBUG: Watching Roomba's status (repeating in 5s, idle timeout in 434s) [12/6/2021, 7:07:11 PM] [Roomba] Timed out after 60001ms trying to connect to Roomba [12/6/2021, 7:07:11 PM] [Roomba] Releasing an unexpected Roomba instance [12/6/2021, 7:07:11 PM] [Roomba] Failed to connect to Roomba to refresh state: Connect timed out [12/6/2021, 7:07:11 PM] [Roomba] DEBUG: Watching Roomba's status (repeating in 5s, idle timeout in 429s) [12/6/2021, 7:07:11 PM] [Roomba] DEBUG: Connecting to Roomba (0 others waiting)... [12/6/2021, 7:07:13 PM] [Roomba] DEBUG: Connection close received [12/6/2021, 7:07:16 PM] [Roomba] DEBUG: Watching Roomba's status (repeating in 5s, idle timeout in 424s) [12/6/2021, 7:07:21 PM] [Roomba] Timed out after 60003ms trying to connect to Roomba [12/6/2021, 7:07:21 PM] [Roomba] Releasing an unexpected Roomba instance [12/6/2021, 7:07:21 PM] [Roomba] Failed to connect to Roomba to refresh state: Connect timed out [12/6/2021, 7:07:21 PM] [Roomba] DEBUG: Watching Roomba's status (repeating in 5s, idle timeout in 419s) [12/6/2021, 7:07:21 PM] [Roomba] DEBUG: Connecting to Roomba (0 others waiting)... [12/6/2021, 7:07:23 PM] [Roomba] DEBUG: Connection close received [12/6/2021, 7:07:27 PM] [Roomba] DEBUG: Watching Roomba's status (repeating in 5s, idle timeout in 414s) [12/6/2021, 7:07:31 PM] [Roomba] Timed out after 60000ms trying to connect to Roomba [12/6/2021, 7:07:31 PM] [Roomba] Releasing an unexpected Roomba instance

On Dec 6, 2021, at 12:35 PM, Karl von Randow @.***> wrote:

@farberm https://github.com/farberm Please try rebooting your Roomba. You'll find instructions online… holding down the clean button etc.

I have found that sometimes Roomba gets into a state where it doesn't want to talk.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/karlvr/homebridge-roomba2/issues/91#issuecomment-986998428, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3BWWKJD2YU7GIWJQHWZXTUPTX5BANCNFSM5JNUYOIA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

farberm commented 2 years ago

I have reinstalled Roomba2 plugin and rechecked everything with the dorita980 that the lid and password are correct. Both appear to be 32 characters and I am using the entire string.

Still cannot connect.

I did not check but I assume Typescript, pnpm and nvm get installed via the plugin?

boboxx commented 2 years ago

I have the same problem. I was able to get my J7+ to work initially but as soon as I added a second Roomba (i4) to my account I was no longer able to connect to my J7+ from HomeBridge.

[12/8/2021, 9:20:40 AM] [Roomba2] Connected to Roomba [12/8/2021, 9:20:40 AM] [Roomba2] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}] [12/8/2021, 9:20:41 AM] [Roomba2] Connected to Roomba [12/8/2021, 9:20:42 AM] [Roomba2] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}] [12/8/2021, 9:20:42 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Status Low Battery' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:42 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:42 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Charging State' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:42 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:42 AM] [Roomba2] Connected to Roomba [12/8/2021, 9:20:43 AM] [Roomba2] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}] [12/8/2021, 9:20:44 AM] [Roomba2] Connected to Roomba [12/8/2021, 9:20:44 AM] [Roomba2] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}] [12/8/2021, 9:20:45 AM] [Roomba2] Connected to Roomba [12/8/2021, 9:20:46 AM] [Roomba2] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}] [12/8/2021, 9:20:47 AM] [Roomba2] Connected to Roomba [12/8/2021, 9:20:47 AM] [Roomba2] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}] [12/8/2021, 9:20:50 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:50 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Status Low Battery' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:50 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:50 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Charging State' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:50 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:50 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Contact Sensor State' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:56 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:56 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Status Low Battery' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:56 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:56 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Charging State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:56 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:56 AM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Contact Sensor State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/8/2021, 9:20:57 AM] [Roomba2] Connected to Roomba [12/8/2021, 9:20:57 AM] [Roomba2] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}] [12/8/2021, 9:20:58 AM] [Roomba2] Connected to Roomba [12/8/2021, 9:20:59 AM] [Roomba2] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}] [12/8/2021, 9:21:00 AM] [Roomba2] Connected to Roomba

DoogH2004 commented 2 years ago

Same issue. I entered the password, BLID, and IP and yet my roomba cannot connect.

[12/11/2021, 12:31:29 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:29 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Status Low Battery' was slow to respond! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:29 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:29 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Charging State' was slow to respond! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:29 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:29 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Contact Sensor State' was slow to respond! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:35 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:35 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Status Low Battery' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:35 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:35 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Charging State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:35 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [12/11/2021, 12:31:35 PM] [homebridge-roomba2] This plugin slows down Homebridge. The read handler for the characteristic 'Contact Sensor State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.

farberm commented 2 years ago

This is what I had to do to get it to work....

  1. Install Homebridge- Roomba2. Then install version 1.3.0 beta 11 by clicking wrench
  2. ssh pi@, then cd to /usr/lib/node_modules/homebridge-roomba2/node_modules/dorita980cd dorita980
  3. This retrieves my blid and password
  4. Insert blid and password and IP address of Roomba into plugin settings
  5. ssh pi@.
  6. cd /usr/lib/nide_modeles/homebridge-roomba2/node_modeles/dorita980/lib/v2
  7. sudo nano local.js
  8. change AES_128-SHA256 to TLS_AES_256_GCM_SHA384
  9. exit and save, restart homebridge

I can turn it on and off. I have not figured out how to issue command to clean one room etc...

franciswernet commented 2 years ago

Thanks so much!!

karlvr commented 2 years ago

@farberm @franciswernet do you still need to change the ciphers with the latest version (1.3.1) of this plugin? I am hoping that dorita980 has resolved this issue upstream in https://github.com/koalazak/dorita980/issues/142