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

J7 Not connecting #106

Closed
DanLysk opened this issue Mar 12, 2022 · 13 comments
Closed

J7 Not connecting #106

DanLysk opened this issue Mar 12, 2022 · 13 comments
Assignees
Labels
question Further information is requested support A support request

Comments

@DanLysk
Copy link

DanLysk commented Mar 12, 2022

I have been able to get my Serial, BLID, and password nor problem. Hoobs still says it can't connect. This is a J7 Roomba. I will share screenshots.
CapturFiles_2
CapturFiles_1
CapturFiles

@karlvr karlvr added the support A support request label Mar 13, 2022
@karlvr
Copy link
Collaborator

karlvr commented Mar 13, 2022

@DanLysk please try the latest version (v1.3.0 has just been released)

@DanLysk
Copy link
Author

DanLysk commented Mar 13, 2022

Hey! Thanks for the heads up on 1.3.1... I got the plug-in updated in HOOBS... Here is what I get now.
CapturFiles

@Drewbacca2
Copy link

Drewbacca2 commented Mar 19, 2022

I just updated to 1.3.1 and am having the same problem with my J7. My 980 runs perfectly though. I'd been using the beta version for the last couple months flawlessly. Unfortunately, something seems to be broken, because I can't go back to the beta. I even tried restoring my Hoobs system to a back-up, and the J7 won't connect at all anymore. I've made sure the cipher is changed over in local.js too.

@mpreissner
Copy link

You need to update the local.js file to use TLS_AES_256_GCM_SHA384 for the ROBOT_CIPHERS variable for it to work on a J7. This was the fix found in #81, though it seems that updating to the latest version of the plugin resets the variable to the old cipher. I'm running the homebridge official image, and my local.js file is at /usr/local/lib/node_modules/homebridge-roomba2/node_modules/dorita980/lib/v2/local.js

Mine's working flawlessly after fixing that.

@Drewbacca2
Copy link

Drewbacca2 commented Mar 24, 2022 via email

@mpreissner
Copy link

No clue. I've had no issues with my J7 ever since I got it working.

You shouldn't have to run separate bridges for the two Roomba types. You could run the Dorita980 plugin and the roomba2 plugin on the same bridge, as the Roomba2 uses a localized copy of the 980 modules within its folder structure - should just have to modify the local.js in that one to get the j7 working. Although, running separate bridges is a good idea anyway...if any issues crop up with one of them, it could affect the other if they're on the same bridge, so probably not worth changing the config since you've got it running already.

@Drewbacca2
Copy link

Drewbacca2 commented Mar 24, 2022 via email

@longman391
Copy link

I’ve done that and got it working. I run a HOOBS system, so the local.js file was in a different place and took me awhile to find. The problem is that I also run a 980, which didn’t work with the new cipher. So, I had to install two bridges, one with the new one, and one with the old one. It seems to be working now, but for some reason, the Roombas tend to have trouble docking more than without the plugin. I figured it was because of frequent connections with my device by the plugin, so I reduced the devices down to just the start trigger and disabled the rest. It worked better but still will occasionally fail to dock or run out of batteries. Any thoughts on this?

Can you share where this file was located on HOOBS? I'm coming up empty and traversing the hierarchy by hand isn't easy with all of the instanced plugins.

@longman391
Copy link

Nevermind, found it: /var/lib/hoobs/roomba2bridge

@DanLysk
Copy link
Author

DanLysk commented Oct 11, 2022 via email

@karlvr
Copy link
Collaborator

karlvr commented Nov 19, 2022

@DanLysk this may also be related to an issue with Node 18. Can you confirm which version of node your Homebridge is running on? On the Homebridge UI status page it's listed in the System Information panel.

@karlvr karlvr added the question Further information is requested label Nov 19, 2022
@DanLysk
Copy link
Author

DanLysk commented Nov 19, 2022 via email

@karlvr karlvr closed this as completed in bd7c6c1 Nov 19, 2022
@karlvr
Copy link
Collaborator

karlvr commented Nov 19, 2022

I hope this is resolved once and for all with version 1.3.2-beta.1. Please try it out and re-open this issue if there are still connection problems with J7s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested support A support request
Projects
None yet
Development

No branches or pull requests

5 participants