homebridge-plugins / homebridge-roomba2

Homebridge plugin to connect iRobot Roomba devices with Homebridge/HomeKit.
MIT License
144 stars 17 forks source link

Roomba 960 does not always start #12

Closed ccwillia closed 3 years ago

ccwillia commented 3 years ago

Expected Behavior

I setup both my roomba's (960 and i7). When i initially installed them they both worked out of the gate when triggered from from the homebridge interface

Current Behavior

Recently when i trigger the 960 it does not start. I have put the logs below and i noticed that homebridge stoppped getting the roomba status on 11/19/2020, 1:15:12 AM when Homebridge-UI created temporary backup.

Steps to Reproduce (for bugs)

Click on "LowerLevel" panel to start the roomba 960

Versions

Configuration

"accessories": [
        {
            "name": "LowerLevel",
            "model": "960",
            "blid": "",
            "robotpwd": "",
            "ipaddress": "",
            "autoRefreshEnabled": true,
            "keepAliveEnabled": true,
            "dockContactSensor": true,
            "accessory": "Roomba2"
        },
        {
            "name": "MainLevel",
            "model": "i7",
            "blid": "",
            "robotpwd": "",
            "ipaddress": "",
            "autoRefreshEnabled": true,
            "keepAliveEnabled": true,
            "dockContactSensor": true,
            "accessory": "Roomba2"
        }
    ],

Homebridge Log / Command Output

[11/19/2020, 1:10:16 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[11/19/2020, 1:15:12 AM] [Homebridge UI] Running scheduled instance backup...
[11/19/2020, 1:15:12 AM] [Homebridge UI] Creating temporary backup archive at /tmp/homebridge-backup-kp1t1d/homebridge-backup-0E2147D98AAE.tar.gz
[11/19/2020, 8:08:40 AM] [LowerLevel] Starting Roomba
[11/19/2020, 8:08:42 AM] [LowerLevel] Connected to Roomba
[11/19/2020, 8:08:42 AM] [LowerLevel] Roomba is running
[11/19/2020, 8:25:41 AM] [LowerLevel] Running status requested
[11/19/2020, 8:25:43 AM] [LowerLevel] Connected to Roomba
[11/19/2020, 8:25:43 AM] [LowerLevel] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}]
[11/19/2020, 8:25:43 AM] [MainLevel] Running status requested
[11/19/2020, 8:25:43 AM] [MainLevel] Battery status requested
[11/19/2020, 8:25:43 AM] [MainLevel] Docked status requested
[11/19/2020, 8:25:43 AM] [LowerLevel] Battery status requested
[11/19/2020, 8:25:43 AM] [LowerLevel] Docked status requested
[11/19/2020, 8:25:44 AM] [MainLevel] Connected to Roomba
[11/19/2020, 8:25:45 AM] [MainLevel] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}]
[11/19/2020, 8:25:46 AM] [LowerLevel] Connected to Roomba
[11/19/2020, 8:25:46 AM] [LowerLevel] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}]
[11/19/2020, 8:25:46 AM] [MainLevel] Connected to Roomba
[11/19/2020, 8:25:47 AM] [MainLevel] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}]
[11/19/2020, 8:25:48 AM] [LowerLevel] Connected to Roomba
[11/19/2020, 8:25:48 AM] [LowerLevel] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0}]
iRayanKhan commented 3 years ago

Can you re-add the plugin to home bridge after clearing accessories/cache?

ccwillia commented 3 years ago

Thanks, after doing this i am no longer seeing this issue.