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

Bug Report:

Open siobhanellis opened this issue 3 years ago • 2 comments

Describe The Bug:

Plugin will not start

To Reproduce:

Try starting

Expected behavior:

Runs

Logs:

[iRobot] Restarting Process...
[1/2/2023, 9:38:27 AM] [iRobot] Launched child bridge with PID 26545
[1/2/2023, 9:38:27 AM] Registering platform 'homebridge-irobot.iRobotPlatform'
[1/2/2023, 9:38:27 AM] [iRobot] Loaded homebridge-irobot v4.0.0-beta.2 child bridge successfully
[1/2/2023, 9:38:27 AM] Loaded 1 cached accessories from cachedAccessories.0E87261C7363.
[1/2/2023, 9:38:27 AM] Homebridge v1.6.0 (HAP v0.11.0) (iRobot) is running on port 38528.
TypeError: this.config.accessories is not iterable
    at iRobotPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-irobot/src/platform.ts:101:38)
    at HomebridgeAPI.<anonymous> (/usr/local/lib/node_modules/homebridge-irobot/src/platform.ts:60:12)
    at HomebridgeAPI.emit (node:events:520:28)
    at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
    at ChildBridgeFork.startBridge (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:189:14)
[1/2/2023, 9:38:27 AM] [iRobot] Child bridge process ended
[1/2/2023, 9:38:27 AM] [iRobot] Process Ended. Code: 1, Signal: null

Config:

{
    "name": "iRobot",
    "logLevel": 4,
    "autoConnect": true,
    "alwaysShowModes": false,
    "_bridge": {
        "username": "0E:87:26:1C:73:63",
        "port": 38528
    },
    "platform": "iRobotPlatform"
}

Node Version:

16.14.0

NPM Version:

8.3.1

Homebridge Version:

1.6.0

Plugin Version:

4.0.2

Operating System:

MacOS

siobhanellis avatar Jan 02 '23 09:01 siobhanellis

Please try the latest beta: npm

bloomkd46 avatar Jan 02 '23 16:01 bloomkd46

seems to be fixed

siobhanellis avatar Jan 03 '23 10:01 siobhanellis