home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.11k stars 29.79k forks source link

Roomba j7 still not integrating after 2024.3.0 #112544

Open bkr1969 opened 6 months ago

bkr1969 commented 6 months ago

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

tuupos commented 2 months ago

@aarnaegg do you see that the custom integration is loaded? The version number in my example is what i gave it. Screenshot_20240707-081808_Brave

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 made sure my roomba app was not open (although I do not know if that is necessary) Then when I rebooted my J9+ i kept on feeding the password when it refused and within the 4th try it took it. Before the 4th try I think the roomba stil was in reboot mode

I have my roomba on a separate IoT vlan

aarnaegg commented 2 months ago

@tuupos I do not see it loaded under custom integrations after a reboot. How do you set a custom version number?

tuupos commented 2 months ago

@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. edit this one and put in a version number you like (e.g. 1.0) below is a snippet of my manifest.json there you can see where I put the version number. Then reboot HA and from that point on HA picks up the custom_component of your roomba integration instead of the core one.

"documentation": "https://www.home-assistant.io/integrations/roomba", "iot_class": "local_push", "loggers": ["paho_mqtt", "roombapy"], "requirements": ["roombapy==1.8.1"], "version": "1.3.3.7", "zeroconf": [

aarnaegg commented 2 months ago

@alebr001 @tuupos I got it! Thank you for the help! It's been forever!

jay-kub commented 1 month ago

@tuupos or @aarnaegg, was your password retrieved from the device automatically or did you need to manually input it?

tuupos commented 1 month ago

Manually through dorito980 with separate procedure

alebr001 commented 1 month ago

I have stumbled across new problems which I solved by doing this: https://github.com/home-assistant/core/issues/117071#issuecomment-2244675875

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.