homebridge-roomba2 icon indicating copy to clipboard operation
homebridge-roomba2 copied to clipboard

Issue connecting to 960 (was working for a year+ up until now)

Open 88gts opened this issue 3 years ago • 4 comments

Expected Behavior

Roomba is not responding, is on dock, can be started using iRobot app. This issue started happening today with no changes to my environment. Any thoughts?

Current Behavior

[1/11/2022, 4:44:32 PM] [Roomba] Bin status requested [1/11/2022, 4:44:32 PM] [Roomba] Running status requested [1/11/2022, 4:44:32 PM] [Roomba] Docked status requested [1/11/2022, 4:44:32 PM] [Roomba] Battery status requested [1/11/2022, 4:44:55 PM] [Roomba] Battery status requested [1/11/2022, 4:45:07 PM] [Roomba] Battery status requested

Steps to Reproduce (for bugs)

Start Homebridge

Versions

  • Homebridge: 1.3.4
  • Node: v12.20.2
  • Plugin: 1.2.2

Configuration

-->


Homebridge Log / Command Output

  "accessory": "Roomba2",
  "name": "Roomba",
  "model": "960",
  "blid": "",
  "robotpwd": "",
  "ipaddress": "10.0.1.99",
  "dockContactSensor": true,
  "runningContactSensor": true,
  "binContactSensor": true,
  "dockOnStop": true

88gts avatar Jan 12 '22 00:01 88gts

well i am able to access the Roomba now but the status is wonky. Everything looks good in logs but it appears that only the Roomba Running sensor is reliable. I am constantly seeing the Roomba as "No Response" but have access to the sensors. Have seen the Roomba respond once as Powered On so its not a configuration issue.

[1/12/2022, 9:18:17 AM] [Roomba] Connected to Roomba
[1/12/2022, 9:18:17 AM] [Roomba] Received status: {"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0} -- error: null
[1/12/2022, 9:18:17 AM] [Roomba] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}]
[1/12/2022, 9:18:18 AM] [Roomba] Running status requested
[1/12/2022, 9:18:18 AM] [Roomba] Bin status requested
[1/12/2022, 9:18:18 AM] [Roomba] Docked status requested
[1/12/2022, 9:18:18 AM] [Roomba] Battery status requested
[1/12/2022, 9:18:21 AM] [Roomba] Connected to Roomba

88gts avatar Jan 12 '22 17:01 88gts

seems to be an issue related to the emulated contact sensors, after disabling them, the Roomba always responds.

88gts avatar Jan 12 '22 20:01 88gts

Exactly the same behaviour here. Disabling all contact sensors fixes this issue.

lmjabreu avatar Jan 17 '22 22:01 lmjabreu

@88gts @lmjabreu could you provide any more information about this issue? I'm not sure what problem you're observing ("status is wonky"); it also sounds like Roomba isn't starting or stopping when you ask it? ("after disabling them, the Roomba always responds). Please try the latest version (1.3.1) and if you can provide some really specific info, and include the configuration that remedied it... we can see if we can improve this for everyone! Debug logging also always useful!

karlvr avatar Mar 13 '22 01:03 karlvr