bloomkd46 / homebridge-iRobot

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

Support Request: [iRobot] Roomba Cleaner connection closed #197

Open rgrs83 opened 1 year ago

rgrs83 commented 1 year ago

Describe Your Problem:

I installed to iRobot plugin, entered my credentials and the robot is added. the log file shows the message below ever few seconds.

[iRobot] Roomba Dust Vader connection closed, reconnecting in 5 seconds [iRobot] Attempting To Reconnect To Roomba Dust Vader [iRobot] Roomba Dust Vader went offline, disconnecting

I rebooted the robot, reset the password for my account, added the robot manually and tried the beta version of this plugin, the plugin has been removed and reinstalled as well.

It all results in the plugin not connecting to the robot.

Plugin version is v2.1.16 npm list -g homebridge-irobot is reporting /opt/homebridge/lib `-- (empty) Robot model 966 (reported back succesfully after login 1st time)

Expected behavior:

Connecting to the robot using the irobot plugin and control the robot from homekit.

Logs:

4/25/2023, 8:18:59 PM] [iRobot] Logging into iRobot...
[4/25/2023, 8:19:01 PM] [iRobot] Configuring roomba: Dust Vader
[4/25/2023, 8:19:01 PM] [iRobot] Restoring existing accessory from cache: Dust Vader

[4/25/2023, 8:17:58 PM] [iRobot] Attempting To Reconnect To Roomba Dust Vader
[4/25/2023, 8:17:58 PM] [iRobot] Roomba Dust Vader  went offline, disconnecting...
[4/25/2023, 8:17:58 PM] [iRobot] Roomba Dust Vader  connection closed, reconnecting in 5 seconds
[4/25/2023, 8:18:03 PM] [iRobot] Attempting To Reconnect To Roomba Dust Vader
[4/25/2023, 8:18:03 PM] [iRobot] Roomba Dust Vader  went offline, disconnecting...
[4/25/2023, 8:18:03 PM] [iRobot] Roomba Dust Vader  connection closed, reconnecting in 5 seconds
[4/25/2023, 8:18:08 PM] [iRobot] Attempting To Reconnect To Roomba Dust Vader
[4/25/2023, 8:18:08 PM] [iRobot] Roomba Dust Vader  went offline, disconnecting...
[4/25/2023, 8:18:08 PM] [iRobot] Roomba Dust Vader  connection closed, reconnecting in 5 seconds
[4/25/2023, 8:18:13 PM] [iRobot] Attempting To Reconnect To Roomba Dust Vader
[4/25/2023, 8:18:13 PM] [iRobot] Roomba Dust Vader  went offline, disconnecting...
[4/25/2023, 8:18:13 PM] [iRobot] Roomba Dust Vader  connection closed, reconnecting in 5 seconds
[4/25/2023, 8:18:18 PM] [iRobot] Attempting To Reconnect To Roomba Dust Vader
[4/25/2023, 8:18:18 PM] [iRobot] Roomba Dust Vader  went offline, disconnecting...
[4/25/2023, 8:18:18 PM] [iRobot] Roomba Dust Vader  connection closed, reconnecting in 5 seconds

Config:

{
            "name": "iRobot",
            "email": "email",
            "password": "password",
            "roombas": [
                {
                    "autoConfig": true,
                    "info": {
                        "ver": 2
                    }
                }
            ],
            "manualDiscovery": false,
            "lowBattery": 20,
            "offAction": "pause:dock",
            "status": "cycle:clean",
            "eveStatus": "inverted:cycle:clean",
            "bin": "filter:contact",
            "ignoreMultiRoomBin": true,
            "hideStuckSensor": false,
            "disableMultiRoom": false,
            "platform": "iRobotPlatform"
        }
    ]

Node Version:

v18.13.0

NPM Version:

8.19.3

Homebridge Version:

1.6.0

Plugin Version:

/opt/homebridge/lib `-- (empty)

Operating System:

Docker

rgrs83 commented 1 year ago

Ok, well.. I removed the current plugin and reinstalled the beta version again. Now it works as expected.