bloomkd46 / homebridge-iRobot

A homebridge plugin for controlling iRobot devices
Apache License 2.0
62 stars 14 forks source link

Support Request: Roomba i3 throwing errors when docked #35

Open hollandcloud opened 2 years ago

hollandcloud commented 2 years ago

Describe Your Problem:

I am not sure if this is a supportability issue (e.g. i3 is not supported), but i'll describe the issue.

When docked, the homebridge-iRobot plugin is throwing a timeout error every 5 seconds and reconnecting. When my i3 Roomba is in a clean mode, there are no errors and things work fine.

Expected behavior:

No response

Logs:

[12/01/2022, 12:48:20] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:48:20] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:48:20] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:48:25] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:48:25] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:48:25] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:48:30] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:48:30] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:48:30] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:48:35] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:48:35] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:48:35] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:48:40] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:48:40] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:48:40] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:48:45] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:48:45] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:48:45] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:48:50] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:48:50] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:48:50] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:48:55] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:48:55] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:48:55] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:49:00] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:49:00] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:49:00] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:49:02] [Homebridge UI] [homebridge-irobot] Terminating child process...
[12/01/2022, 12:49:02] [Homebridge UI] [homebridge-irobot] Child process ended
[12/01/2022, 12:49:05] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:49:05] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:49:05] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:49:10] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:49:10] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:49:10] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds
[12/01/2022, 12:49:15] [iRobot] Attempting To Reconnect To Roomba Roomba
[12/01/2022, 12:49:15] [iRobot] Roomba Roomba  went offline, disconnecting...
[12/01/2022, 12:49:15] [iRobot] Roomba Roomba  connection closed, reconnecting in 5 seconds

Config:

{
            "name": "iRobot",
            "email": "[redacted]",
            "password": "[redacted]",
            "lowBattery": 20,
            "offAction": "stop:dock",
            "status": "cycle:clean",
            "eveStatus": "inverted:cycle:clean",
            "bin": "contact",
            "ignoreMultiRoomBin": true,
            "hideStuckSensor": false,
            "disableMultiRoom": false,
            "platform": "iRobotPlatform"
        }

Node Version:

16.13.2

NPM Version:

8.1.2

Homebridge Version:

1.3.9

Plugin Version:

2.1.12

Operating System:

Raspberian

Bleh55 commented 2 years ago

I have three Roomba, i4, 671 and 985. i4 is always connected, 671 always returns the errors here (disconnecting, connection closed, attempting to reconnect), and the 985 seems to go back and forth.

"Remove Single Cached Accessory" did not help.

thajcak commented 2 years ago

Just wanted to throw in my experience here with my 960s. I'll see one of them (at a time, it's happened to both) get stuck in this loop and will require the HomeBridge server be rebooted to get it unstuck.

bloomkd46 commented 1 year ago

Please try the latest beta: npm