After putting in all the credentials correctly and restarting home bridge the output gets spammed every 5 seconds with the plugin attempting to connect to Roomba then failing to. After enabling debug mode in home bridge the following error code is displayed when home bridge is first started up.
`[1/3/2022, 6:40:21 PM] [iRobot] Failed to fetch ip for roomba: Roomba see below for details
[1/3/2022, 6:40:21 PM] [iRobot] Request Timed Out
After this home bridge then restarts and the plugin gets stuck in a loop of attempting to connect and seeming to fail since Roomba can not be started through the home app.
[1/3/2022, 6:47:26 PM] [iRobot] Attempting To Reconnect To Roomba Roomba [1/3/2022, 6:47:26 PM] [iRobot] Roomba Roomba went offline, disconnecting... [1/3/2022, 6:47:26 PM] [iRobot] Roomba Roomba connection closed, reconnecting in 5 seconds
Attempt to setup the plugin.
[1/3/2022, 6:44:34 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules -D
[1/3/2022, 6:44:35 PM] [HB Supervisor] Started Homebridge v1.3.9 with PID: 856
[1/3/2022, 6:44:35 PM] Loaded config.json with 0 accessories and 2 platforms.
[1/3/2022, 6:44:36 PM] Loaded 1 cached accessories from cachedAccessories.
[1/3/2022, 6:44:36 PM] ---
[1/3/2022, 6:44:37 PM] Loaded plugin: [email protected]
[1/3/2022, 6:44:37 PM] Registering platform 'homebridge-irobot.iRobotPlatform'
[1/3/2022, 6:44:37 PM] ---
[1/3/2022, 6:44:37 PM] Loaded plugin: [email protected]
[1/3/2022, 6:44:37 PM] Registering platform 'homebridge-config-ui-x.config'
[1/3/2022, 6:44:37 PM] ---
[1/3/2022, 6:44:37 PM] Loading 2 platforms...
[1/3/2022, 6:44:37 PM] [Config] Initializing config platform...
[1/3/2022, 6:44:37 PM] [Config] Running in Service Mode
[1/3/2022, 6:44:37 PM] [iRobot] Initializing iRobotPlatform platform...
[1/3/2022, 6:44:37 PM] [iRobot] Finished initializing platform: iRobot
[1/3/2022, 6:44:37 PM] [iRobot] Loading accessory from cache: Roomba
[1/3/2022, 6:44:37 PM] [iRobot] Executed didFinishLaunching callback
[1/3/2022, 6:44:37 PM] [iRobot] Logging into iRobot...
[1/3/2022, 6:44:40 PM] [iRobot] [
{"name": "Roomba", "blid": "***********************", "password": "********************", "ip": "undefined"}
]
[1/3/2022, 6:44:40 PM] [iRobot] Getting IP address for roomba: Roomba
[1/3/2022, 6:44:40 PM] [iRobot] {"ver":"4","hostname":"iRobot-*******************","robotname":"Roomba","robotid":"********************","ip":"*************","mac":"***************","sw":"sapphire+1.2.12+Firmware-Production+57","sku":"j755020","nc":1,"proto":"mqtt","cap":{"binFullDetect":2,"oMode":2,"odoa":2,"dockComm":1,"edge":0,"maps":3,"pmaps":5,"tLine":2,"area":1,"eco":1,"multiPass":2,"team":1,"pp":0,"lang":2,"5ghz":1,"prov":3,"sched":1,"svcConf":1,"ota":2,"log":2,"langOta":0,"expectingUserConf":1},"cloudConnState":14}
[1/3/2022, 6:44:40 PM] [iRobot] Restoring existing accessory from cache: Roomba
[1/3/2022, 6:44:40 PM] Error: Cannot add a Service with the same UUID '000000B7-0000-1000-8000-0026BB765291' and subtype 'Main-Service' as another Service in this Accessory.
at Accessory.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:465:17)
at PlatformAccessory.addService (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at new iRobotPlatformAccessory (/homebridge/node_modules/homebridge-irobot/src/platformAccessory.ts:60:22)
at iRobotPlatform.discoverDevices (/homebridge/node_modules/homebridge-irobot/src/platform.ts:88:9)
at HomebridgeAPI.<anonymous> (/homebridge/node_modules/homebridge-irobot/src/platform.ts:34:12)
at HomebridgeAPI.emit (node:events:390:28)
at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:173:14)
[1/3/2022, 6:44:40 PM] Got SIGTERM, shutting down Homebridge...
[1/3/2022, 6:44:40 PM] [iRobot] Disconnecting From Roomba: Roomba
[1/3/2022, 6:44:40 PM] [iRobot] Roomba Roomba went offline, disconnecting...
[1/3/2022, 6:44:40 PM] [iRobot] Roomba Roomba connection closed
[1/3/2022, 6:44:45 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[1/3/2022, 6:44:50 PM] [HB Supervisor] Restarting Homebridge...
[1/3/2022, 6:44:50 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules -D
[1/3/2022, 6:44:51 PM] [HB Supervisor] Started Homebridge v1.3.9 with PID: 906
[1/3/2022, 6:44:51 PM] Loaded config.json with 0 accessories and 2 platforms.
[1/3/2022, 6:44:52 PM] Loaded 1 cached accessories from cachedAccessories.
[1/3/2022, 6:44:52 PM] ---
[1/3/2022, 6:44:53 PM] Loaded plugin: [email protected]
[1/3/2022, 6:44:53 PM] Registering platform 'homebridge-irobot.iRobotPlatform'
[1/3/2022, 6:44:53 PM] ---
[1/3/2022, 6:44:53 PM] Loaded plugin: [email protected]
[1/3/2022, 6:44:53 PM] Registering platform 'homebridge-config-ui-x.config'
[1/3/2022, 6:44:53 PM] ---
[1/3/2022, 6:44:53 PM] Loading 2 platforms...
[1/3/2022, 6:44:53 PM] [Config] Initializing config platform...
[1/3/2022, 6:44:53 PM] [Config] Running in Service Mode
[1/3/2022, 6:44:53 PM] [iRobot] Initializing iRobotPlatform platform...
[1/3/2022, 6:44:53 PM] [iRobot] Finished initializing platform: iRobot
[1/3/2022, 6:44:53 PM] [iRobot] Loading accessory from cache: Roomba
[1/3/2022, 6:44:53 PM] [iRobot] Executed didFinishLaunching callback
[1/3/2022, 6:44:53 PM] [iRobot] Logging into iRobot...
[1/3/2022, 6:44:55 PM] [iRobot] [
{"name": "Roomba", "blid": "************************", "password": "*********************", "ip": "undefined"}
]
[1/3/2022, 6:44:55 PM] [iRobot] Getting IP address for roomba: Roomba
[1/3/2022, 6:44:56 PM] [iRobot] {"ver":"4","hostname":"iRobot-**********************","robotname":"Roomba","robotid":"******************************","ip":"***********","mac":"**************","sw":"sapphire+1.2.12+Firmware-Production+57","sku":"j755020","nc":1,"proto":"mqtt","cap":{"binFullDetect":2,"oMode":2,"odoa":2,"dockComm":1,"edge":0,"maps":3,"pmaps":5,"tLine":2,"area":1,"eco":1,"multiPass":2,"team":1,"pp":0,"lang":2,"5ghz":1,"prov":3,"sched":1,"svcConf":1,"ota":2,"log":2,"langOta":0,"expectingUserConf":1},"cloudConnState":14}
[1/3/2022, 6:44:56 PM] [iRobot] Restoring existing accessory from cache: Roomba
[1/3/2022, 6:44:56 PM] Publishing bridge accessory (name: Homebridge A173, publishInfo: {
username: '**************',
port: 53842,
pincode: '***-**-***',
category: 2,
bind: undefined,
mdns: undefined,
addIdentifyingMaterial: true,
advertiser: 'bonjour-hap'
}).
Setup Payload:
*****************
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ ***-**-*** │
└────────────┘
[1/3/2022, 6:44:56 PM] Homebridge v1.3.9 (HAP v0.9.8) (Homebridge A173) is running on port 53842.
[1/3/2022, 6:44:56 PM] [iRobot] Roomba Roomba went offline, disconnecting...
[1/3/2022, 6:44:56 PM] [iRobot] Roomba Roomba connection closed, reconnecting in 5 seconds
[1/3/2022, 6:44:57 PM] [iRobot] Updating Roomba To Off
[1/3/2022, 6:44:57 PM] [iRobot] Updating Roomba Mode To Off
[1/3/2022, 6:44:57 PM] [iRobot] Updating Roomba Mode To Everywhere
[1/3/2022, 6:44:57 PM] [iRobot] Updating Roomba Battery Status To Normal
[1/3/2022, 6:44:57 PM] [iRobot] Updating Roomba Battery Level To 50
[1/3/2022, 6:44:57 PM] [iRobot] Updating Roomba Charge Status To Charging
[1/3/2022, 6:44:57 PM] [iRobot] Updating Roomba Stuck To false
[1/3/2022, 6:45:01 PM] [iRobot] Attempting To Reconnect To Roomba Roomba
[1/3/2022, 6:45:01 PM] [iRobot] Roomba Roomba went offline, disconnecting...
[1/3/2022, 6:45:01 PM] [iRobot] Roomba Roomba connection closed, reconnecting in 5 seconds
keeps looping from here...