core: iRobot Roomba J7+ fails to be detected or connected
The problem
I have an Irobot J7+ I am trying to add onto the HA integration. My older roomba works fine, but the j7+ shows as not visible on the network, and if I provide an IP it just gives failed to connect.
What version of Home Assistant Core has the issue?
2024.2.4
What was the last working version of Home Assistant Core?
No response
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
When I try to add this roomba it just claims it can’t find it and errors out. Oddly when I check the debug logs I find that is can see it, but the wizard doesn’t consider it reachable for some reason.
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2024-02-26 19:34:07.735 DEBUG (SyncWorker_27) [roombapy.discovery] Received response: b'{"ver":"4","hostname":"iRobot-AA5A82D4789A467AACDF52EA05CA7375","robotname":"Inquisitor","robotid":"AA5A82D4789A467AACDF52EA05CA7375","ip":"192.168.0.26","mac":"50:14:79:B9:BA:6E","sw":"sapphire+23.37.5+2023-10-17-5245d211fc3+Firmware-Production+165","sku":"j755020","nc":0,"proto":"mqtt","cap":{"binFullDetect":2,"addOnHw":1,"oMode":10,"odoa":7,"dockComm":1,"maps":3,"pmaps":10,"mc":2,"sem2umf":2,"tLine":2,"area":1,"eco":1,"multiPass":2,"pp":0,"edge":null,"team":1,"pose":2,"lang":2,"hm":0,"5ghz":1,"prov":3,"sched":2,"svcConf":1,"ota":2,"log":2,"langOta":0,"ns":1,"bleLog":1,"expectingUserConf":2,"idl":1},"freq":5220,"cloudConnState":14}', address: ('192.168.0.26', 5678)
Additional information
I have a second irobot 980 which works flawlessly, so it’s probably nothing inherint in my network.
About this issue
- Original URL
- State: open
- Created 4 months ago
- Reactions: 3
- Comments: 21 (4 by maintainers)
A nugget of information that OP did not provide is that he’s also unable to connect to the device via roombapy to get the password. I believe this issue should be forwarded to the upstream library and corrected there. The error he recieved when attempting to get the password is:
conversation -> https://community.home-assistant.io/t/irobot-roomba-init/687957/32
One other thing I noticed, possibly related, if I try to ping the vacuum directly I get ping response times in the 50-200 ms range. Maybe it’s just that round trip time killing it. That said, no clue why it’s that slow, network is healthy and nothing else pings like that.
@mancontr Well, that’s interesting. Looks like either the robot is ignoring broadcast packets, or something in the network is blocking them, which is why the library can’t detect robots.
Actually, there is no need for UDP discovery to control a bot. If the IP address of the Roomba is known, and we are sure that it is the Roomba and not the teapot on the other end, we can try a direct MQTT connection. Ping me on HA discord, if you want to help with testing.