-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Roomba j7 still not integrating after 2024.3.0 #112544
Comments
Hey there @pschmitt, @cyr-ius, @shenxn, @Xitee1, @Orhideous, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) roomba documentation |
Anything in the logs? |
Nothing in the logs but I just followed these simple instructions (just restarted the bots). HA picked them up and configured succesfully. Not sure if this will resolve the issue @bkr1969 encountered but my issue is resolved! |
Nope. I appreciate the suggestion but it did not work. |
Hello, same issue: the logs: |
OK. After Supervisor update today I was able to connect one of the two (same make and model so I'm not sure why both won't connect) but the status just shows "null." The other one still shows as discovered but I get the same error when trying to configure. |
2024.3.0 Same problem. Integration can not find my Roomba J7plus not in automatic nor manual mode by IP address. Nothing in logs. Hope it will be fixed in the next release. |
2024.3.3 cannot add roomba j7+ |
Hello, after many tries, I'm abble to connect Roomba J7+ with HA.
In fact, the connection between HA and IRobot is made just after the Restart/few minutes/bip. After, you can retrieve the zone as described here: I hope it's the solution for you ! |
Thank you! But this doesn't work in general. This morning, I migrated the system to new HASS hardware. It was a fresh installation, and before restoring the system backup, it automatically detected my Roomba and suggested configuring it. However, after restoring the backup, the Roomba became inaccessible again. Therefore, it can be inferred that the issue lies with one of the already installed integrations. However, there are dozens of them in my system. Therefore, finding the problem is impossible... |
After software update of Supervisor to 2024.04.0 version, in my case the problem was solved. Roomba was detected and connected with no issue. |
What do you mean update Supervisor ? Doesn't seem to be a release of Home Assistant mentionning that. My install runs in a docker container, is it possible to apply such an update ? |
Brand new J9+ vac and M6 Mop. HAOS found the M6 Mop but no the J9+ Vac. Attempting to connect directly via IP and providing password from dorita fail. One thing I wonder might be an issue is the BLID numbers for the MOP and the VAC are different. Does the main integration re-use the BLID number from previous integrations to add more items? Also, the passwords returned contain special chars. Could that be something new that's tripping up the scripts? Then there's all the deprication warnings on the docker container that runs dorita to pull the UN&PASS. Could those deprications be causing issues with the data returned? I couldn't get the integration to pull the UN & PASS using the instructions for either the VAC or the MOP. The MOP finally was connected using the password provided by dorita after numerous attempts and failures.
|
Same issue here with 966. I used to have the integration running for more than an year. Nothing have changed, I just lost connectivity. |
Same issue here with J9+. I've now tried it with two J9's. No problem getting the password using get-roomba-password-cloud via dorita on my rpi4. Then run the HA integration, it finds the vacuum, but doesn't accept password. I've tried every sequence of button pushes and reboots that I can fathom--it never gets the password. So then I paste it manually, and I still get a "Failed to connect" message. I have a Braava that continues to be connected to HA without a problem. @Orhideous, you wrote in the HA community to mention you on the github issue. Not sure if there's anything you can do to help, but I'd be greatly appreciative. Logs say: Can't connect to 192.168.1.91 |
I have two devices, an i8 and a 974. i8 is still working but the 974 cant login anymore. Even with the password I got from dorita980. So the device does get recognized when searching for it but the password is not accepted. |
I suspect this may have something to do with the outdated libraries used in the dorita980 scripts. There were multiple warnings of depreciation when I ran it. If the integration uses those same depreciated libraries to pull the passwords, that would make sense that things are failing. |
I believe the poster is running HAOS which is a complete system running either on bare metal of a VM. There's a lot more to HA than just the core in that case, Supervisor being one of them. |
If it's of any help, I am currently running the latest HAOS release. Core: 2024.4.3 |
I dont know that much about those deprecated libraries, but if that would break anything I would assume that the password as a whole cannot be retrieved, not that it would make a password up. Also it doesnt really make sense that my password can not be auto-retrieved anymore in the roomba integration itself. |
If the integration uses those libraries to pull, and most likely decrypt the returned password. It could possibly pull the password hash but fail on the decrypt part. One of the deprications mentions mathrandom() which could be used in this case;
Not a definitive answer but just suggesting possibilities. It appears the dorita980 scripts are somewhat old. |
Yes that might makes sense, unfortunately if I use the Roomba980 repo i get the same password |
I have a Roomba 980 and a i7. Both are detected automatically by HA 2024.4.3 (2024.04.0 | 12.2) I can configure the i7 with no problem in seconds using the password I retrieved with the dorita980 script. But failing to do so with the 980, no matter which combination of pressing Home, Home and Spot or none after a few seconds the Integration reports back with ^failed to connect' I've had both devices running for more than a year previously with no problems. After updating HA to 2023.12.0 the 980 stoped working within HA and none of the following releases of HA solved my problem. With some versions the 980 wasn't even detected automatically, this started to work again with 2024.4.0 - nonetheless Integration still fails. |
Update: Yesterday I tried again and the integration worked with no issue. Password was retrieved automatically and the roomba integrated without any issue. |
Tried again with the J9+ vaccuum (not the combo, why they kept the same model number is beyond me). Same problem. One thing I wanted to point out is the J9+ vacuum only has one button. The HA integration states to hold down the Home button for 2 seconds until it makes a noise. For this vacuum, you have to hold that button down for 15+ seconds and it appears to hard reboot the device. The integration then says to hit submit within 30 seconds but it takes more than 30 seconds for the vacuum to reboot and hook back onto the network. If a connection is only successful during a period of time during bootup and unless we are very lucky with the timing, it's not going to be easy to get the integration to connect reliably. |
@valentinmirchev, since you seem to have succeeded with a J9+, I’d appreciate hearing what your button push sequence and timing looked like. Read @quadcom’s message immediately above. I have the exact same quandary so curious how you navigated this. Thanks in advance. Can any devs offer a suggested path forward given that the dorita980 scripts appear to be the root of the problem? |
His may have been the J9+ combo which is different device. The J9+ that I have is just a vacuum. It's not the vac/mop combo unit. Just to clarify. |
I still can’t get it working — both a J9 and a Braava M6. Anyone know who the developer is (are?) and how we can get their attention. |
As the Google Home is able to connect to the iRobot Cloud, perhaps HA could do this too as a fallback? |
It’s frustrating that last time there was an issue with the Roomba integration it got updated so quickly and now we have to wait so long not even knowing if it will be picked up eventually. |
i used : https://github.com/NickWaterton/Roomba980-Python/tree/master to get the password from "cloud": afterwards it works, but isn't the most responsive... maybe it's a "fix" for someone here. |
@HotNoob would you mind elaborating what you did and how you did it? Like many folks around here, I’m stuck with several non-integrated iRobots. And in general, does anybody know which devs own this integration? We all have experienced the problems but it’s still unclear to me who if anybody is in a position to identify let alone address the root cause issues. Appreciate the community is mostly volunteer contributors, so no judgment here. But trying to understand who we can talk to about this. It’s a pretty major integration for HA generally. |
i'm running haos... so seemed easier for me to just run python scripts to get password for manual setup on diff device. clone / download linked repo on any computer. install python
run script to get your roomba's password from irobot's cloud api
read json output:
give password to ha roomba intergration. pics just to show the mqtt is sluggish. although i recently found out my unifi / wifi ssid stops broadcasting when internet drops, and starlinks been having problems lately. so... unconfirmed if it's ha, limitation of roomba, or my bad wifi. edit: https://github.com/HotNoob/irobot_get_cloudpassword if someone wants they can just shove that code into ha repo. |
Thanks but there is a difference in connecting the 980 to HA or a j9+. I think it's even different to connecting a j7. I got the login and password from dorita980 i can manually find my j9+ in HA but it won't accept the retrieved password when trying to setup the roomba in HA. I found this link for controlling j9+ locally but somehow i cannot get it to work. It seems that this developer has no trouble running his/hers j9+ through HA but wanted more local control. So it seems that there is a connection possible? If someone can get this script to work could they explain how they did it? |
Now that I look at the original post it isnt quite the same. Should I create a new thread for this? |
OK, I finally got it to work but locally, so without the official integration, by using rest980. |
I finally got it to work! This is what I did. I was reading through the roomba integration issues and saw that someone said that their roomba fails to set up (#117071)... I thought that was the same problem as mine. This post suggests to change the core code in config_flow.py. I dont know how to change the core code so I copied the integration roomba of the core code, put it in a custom_components folder and changed the code there. I put continuous on true, restarted home assistant and it worked! |
It WORKED @alebr001 although no options for room selection. Maybe I wil stick to my earlier posted solution/work around by https://github.com/jeremywillans/ha-rest980-roomba?tab=readme-ov-file |
@Orhideous, can you make these updates? |
@alebr001 So I downloaded homeassistant/components/roomba as a zip. I then uploaded it to a folder under "/homeassistant/custom_components" and unzipped it. Next, open "config_flow.py" and change line 58 from "continuous=False," to "continuous=True,". Save and Reboot HA. I still get failed to connect with my J9+. What am I missing? |
@aarnaegg do you see that the custom integration is loaded? I also changed DEFAULT_DELAY in const.py to 5 instead of 1. But I dont know if that is also needed. Restart HA I have my roomba on a separate IoT vlan |
@tuupos I do not see it loaded under custom integrations after a reboot. How do you set a custom version number? |
@aarnaegg There is a file named "manifest.json" in de custom_components/roomba directory. "documentation": "https://www.home-assistant.io/integrations/roomba", |
Manually through dorito980 with separate procedure |
I have stumbled across new problems which I solved by doing this: #117071 (comment) Must say that I have not dived into the code to find out why that works so it might also be solved by doing something else. |
Ok, after a lot of trial and error I FINALLY got the official integration working with my J9+ The main culprit are the instructions, which are completely misleading for the j9+ (Vaccum only) This is what I did:
a) Installed Node.js in my pc (https://nodejs.org/en) Password=> :1XXXXXXXXXXXXXXXXXXXXXXXXZ <= Yes, all this string.
(Had to spend more than a couple of hours to learn all of this....) Anyway, hope this will help someone else!!!!! |
The above worked for me after about 8 reboots and spamming the password. Thank you! |
Glad to know it worked!!! I am now trying to figure out the best way to also have the cleaning zones show up in home assistant.... |
Hi all, By mixing several topics, I found a solution (mainly thanks to @alebr001) for my Roomba 960. Here are the steps I did:
I added my 960 with the password I get from Dorita980 without out pressing 'Home' and 'Spot' buttons and..... it's works! |
So this means i can use the HA official integration again instead of my local one? |
I am not familiar with HA development and update workflow... You should have to wait for the next update I think. |
The problem
I have read some "solutions" but nothing has worked. My Roombas are detected and I get a notification but get "Unknown error" when trying to configure.
What version of Home Assistant Core has the issue?
2024.3.0
What was the last working version of Home Assistant Core?
2024.2.2
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
Nothing in error logs at all.
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: