bloomkd46 / homebridge-irobot Goto Github PK
View Code? Open in Web Editor NEWA homebridge plugin for controlling iRobot devices
License: Apache License 2.0
A homebridge plugin for controlling iRobot devices
License: Apache License 2.0
m6
Yes
j7
Yes
How do you go about creating a shortcut or automation in HomeKit once robot is set up?
I tried setting up a shortcut to turn the robot on, turn to manual mode, and then turn on the room. But robot gives error and says map does not match map set in app. They are spelled correctly in both apps.
No response
N/A
N/A
16.13.2
8.3.1
1.4.0
2.1.16
Raspberian
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.
No response
[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
{
"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"
}
16.13.2
8.1.2
1.3.9
2.1.12
Raspberian
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
[1/3/2022, 6:40:21 PM] [iRobot] Restoring existing accessory from cache: Roomba
[1/3/2022, 6:40:21 PM] TypeError: Cannot read properties of undefined (reading 'sw')
at new iRobotPlatformAccessory (/homebridge/node_modules/homebridge-irobot/src/platformAccessory.ts:55:90)
at iRobotPlatform.discoverDevices (/homebridge/node_modules/homebridge-irobot/src/platform.ts:88:9)
at HomebridgeAPI. (/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)`
Home bridge then outputs
[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...
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.
Roomba should work and home bridge should not crash
[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...
"accessories": [],
"platforms": [
{
"name": "iRobot",
"email": "***************",
"password": "*********************",
"lowBattery": 20,
"offAction": "pause:dock",
"status": "cycle:clean",
"eveStatus": "inverted:cycle:clean",
"bin": "filter:contact",
"ignoreMultiRoomBin": true,
"hideStuckSensor": false,
"disableMultiRoom": false,
"platform": "iRobotPlatform"
}
]
}
16.13.1
8.1.2
1.3.9
v2.1.6
Docker
j7
No
i9
Yes
j7
No
675
No
675
No
When Roomba disconnects from network (even briefly) homebridge crashes. Discovered accidentally when robot lost connection briefly, but is repeatable.
Remove active internet connection from Roomba device.
Roomba should not crash homebridge, and also not require connection to internet.
[06/01/2022, 15:51:41] [redacted] Roomba Rosie went offline, disconnecting...
[06/01/2022, 15:51:42] Error: HAP Status Error: -70402
at new HapStatusError (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/hapStatusError.ts:15:5)
at MqttClient.<anonymous> (/usr/local/lib/node_modules/homebridge-irobot/src/platformAccessory.ts:192:13)
at MqttClient.emit (node:events:390:28)
at MqttClient._setupReconnect (/usr/local/lib/node_modules/homebridge-irobot/node_modules/mqtt/lib/client.js:730:12)
at MqttClient.emit (node:events:402:35)
at TLSSocket.f (/usr/local/lib/node_modules/homebridge-irobot/node_modules/once/once.js:25:25)
at TLSSocket.onfinish (/usr/local/lib/node_modules/homebridge-irobot/node_modules/end-of-stream/index.js:31:27)
at TLSSocket.emit (node:events:390:28)
at finish (node:internal/streams/writable:750:10)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[06/01/2022, 15:51:42] Got SIGTERM, shutting down Homebridge...
{
"name": "iRobot",
"email": "redacted",
"password": "redacted",
"lowBattery": 10,
"offAction": "pause:none",
"status": "phase:run",
"eveStatus": "phase:charge",
"bin": "contact",
"ignoreMultiRoomBin": true,
"hideStuckSensor": false,
"disableMultiRoom": false,
"platform": "iRobotPlatform"
}
16.13.0
8.1.0
1.3.9
2.1.7
Raspberian
s9
No
Добрый день! При соединении с логином Irobot возникает ошибка, при этом в приложение irobot на iphone попробовал зайти и все хорошо, в чем может быть проблема?
[1/31/2022, 6:25:58 PM] [iRobot] Logging into iRobot...
[1/31/2022, 6:25:59 PM] [iRobot] Faild to login to iRobot, see below for details
[1/31/2022, 6:25:59 PM] [iRobot] Authentication error. Please check your credentials.
{
callId: 'ea655c27c9b54af092762bb9f340294c',
errorCode: 403042,
errorDetails: 'invalid loginID or password',
errorMessage: 'Invalid LoginID',
apiVersion: 2,
statusCode: 403,
statusReason: 'Forbidden',
time: '2022-01-31T11:25:59.522Z'
}
Я ожидал что подключиться к учетной записи irobot
[1/31/2022, 6:25:58 PM] [iRobot] Logging into iRobot...
[1/31/2022, 6:25:59 PM] [iRobot] Faild to login to iRobot, see below for details
[1/31/2022, 6:25:59 PM] [iRobot] Authentication error. Please check your credentials.
{
callId: 'ea655c27c9b54af092762bb9f340294c',
errorCode: 403042,
errorDetails: 'invalid loginID or password',
errorMessage: 'Invalid LoginID',
apiVersion: 2,
statusCode: 403,
statusReason: 'Forbidden',
time: '2022-01-31T11:25:59.522Z'
}
{
"bridge": {
"name": "Homebridge E9B4",
"username": "0E:D9:85:3A:E9:B4",
"port": 51158,
"pin": "699-72-506"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "auto",
"tempUnits": "c",
"lang": "ru",
"platform": "config"
},
{
"name": "iRobot",
"email": "[email protected]",
"password": "89138496636",
"roombas": [
{
"autoConfig": true,
"info": {
"ver": 2
}
}
],
"manualDiscovery": false,
"lowBattery": 10,
"offAction": "pause:dock",
"status": "cycle:clean",
"eveStatus": "inverted:cycle:clean",
"bin": "filter:contact",
"ignoreMultiRoomBin": false,
"hideStuckSensor": false,
"disableMultiRoom": false,
"platform": "iRobotPlatform"
}
]
}
Версия Node.js v16.13.2
Версия Npm v8.1.2
Homebridge v1.4.0 (HAP v0.10.0) (Homebridge E9B4)
v2.1.16
MacOS
braava m6
No
i3
Yes
Hi. I have set the option that when docking change Eve status as inactive, but it doesn’t change and shows always as active.
Thank you
*
"name": "iRobot",
"email": "****",
"password": "****",
"lowBattery": 20,
"offAction": "pause:dock",
"status": "cycle:clean",
"eveStatus": "cycle:dock",
"bin": "filter:contact",
"ignoreMultiRoomBin": true,
"hideStuckSensor": false,
"disableMultiRoom": false,
"platform": "iRobotPlatform"
16.13.1
8.3.0
1.4.0
2.1.13
Raspberian
960
Yes
When you have the Off Action set to Pause, the device fails to restart on the next command. This is because the Paused state requires a "resume" command and not a "clean" command.
For reference:
homebridge-plugins/homebridge-roomba2#62 (comment)
https://github.com/karlvr/homebridge-roomba2/blob/main/src/accessory.ts#L435
The plugin should send a resume command to a paused robot.
[25/01/2022, 09:44:18] [iRobot] Set Rosie To pause
[25/01/2022, 09:44:22] [iRobot] Set Rosie To Clean
"offAction": "pause:none",
16.13.2
8.3.1
1.4.0
homebridge-irobot v2.1.14-beta.4
Raspberian
981
No
i3
No
Sorry, the links to Configuration and Installation in the github are broken or something.
I have 2 i9s, and when I did the initial configuration (username, password) it found both and they appear in Homekit/HB with the correct names. The i9 model is the one with the external bin and maps rooms out.
My problem is that I don't know how to see or configure multiroom support. In Homekit, each unit appears with 2 toggles. The left toggle is blue and the right toggle has the power icon in the lower half.
Both units have a full map of the floor they are on in the iRobot app on my iphone.
Can you fix the installation/configuration help links or let me know how to view or specify room information? Thanks!
Some way to see and control rooms to be cleaned
[1/18/2022, 9:14:46 PM] [iRobot] Logging into iRobot...
[1/18/2022, 9:14:49 PM] [iRobot] Configuring roomba: RoombaNew
[1/18/2022, 9:14:49 PM] [iRobot] Configuring roomba: RoombaOld
[1/18/2022, 9:14:49 PM] [iRobot] Adding new accessory: RoombaNew
[1/18/2022, 9:14:49 PM] [iRobot] Adding new accessory: RoombaOld
[1/18/2022, 9:14:50 PM] [iRobot] Succefully connected to roomba RoombaNew
[1/18/2022, 9:14:50 PM] [iRobot] Succefully connected to roomba RoombaOld
{
"name": "iRobot",
"email": "mmmmm",
"password": "xxxxx",
"lowBattery": 20,
"offAction": "pause:dock",
"status": "cycle:clean",
"eveStatus": "inverted:cycle:clean",
"bin": "filter:contact",
"ignoreMultiRoomBin": true,
"hideStuckSensor": false,
"disableMultiRoom": false,
"platform": "iRobotPlatform"
}
v16.13.2
8.3.1
1.3.9
Ubuntu
J7
No
Hi,
I have three devices on my iRobot account: an s9+, an i7+ and a m6. However, it seems like i may have 2 ghost devices on my account as during the discovery process in previous versions (2.1.6, 2.1.5) it would see 2 devices called undefined as well as the 3 legitimate devices. Now, when it hits the first undefined entry, it fails and brings down homebridge. Logs excerpt below and a full log is attached.
homebridge.log
To note, in version 2.1.6 and earlier, it would only add the first device it sees (my s9+) and never actually added the i7+ or the m6 even though IP discovery was successful. I saw that you are blocking the m6 now which is fine but I would like to get my i7+ added if possible.
Install 2.1.9 with undefined device on iRobot account
For undefined devices, i expect it should fail gracefully at finding an IP and move to the next device.
[1/7/2022, 10:01:39 AM] [iRobot] Logging into iRobot...
[1/7/2022, 10:01:41 AM] [iRobot] Getting IP address for roomba: Goofy
[1/7/2022, 10:01:41 AM] [iRobot] Getting IP address for roomba: undefined
/usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js:35
console.log(child_process.execFileSync(__dirname + '/getRoombaIP.js', [blid, attempt + 1]).toString());
^
ReferenceError: child_process is not defined
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js:35:25)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
[1/7/2022, 10:01:46 AM] Error: Command failed: /usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js 86EB7F7B91FA4E8C80CF5101965378B2
/usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js:35
console.log(child_process.execFileSync(__dirname + '/getRoombaIP.js', [blid, attempt + 1]).toString());
^
ReferenceError: child_process is not defined
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js:35:25)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
at checkExecSyncError (node:child_process:826:11)
at Object.execFileSync (node:child_process:864:15)
at /usr/local/lib/node_modules/homebridge-irobot/src/getRoombas.ts:18:35
at Array.forEach (<anonymous>)
at getRoombas (/usr/local/lib/node_modules/homebridge-irobot/src/getRoombas.ts:16:10)
at iRobotPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-irobot/src/platform.ts:65:36)
at HomebridgeAPI.<anonymous> (/usr/local/lib/node_modules/homebridge-irobot/src/platform.ts:34:12)
at HomebridgeAPI.emit (node:events:402:35)
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)
{
"bridge": {
"name": "Homebridge 3226",
"username": "0E:9D:05:E4:32:25",
"port": 51081,
"pin": "redacted",
"advertiser": "ciao",
"bind": [
"enp1s0"
]
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"name": "Hubitat-v2",
"app_url_local": "http://192.168.71.61/apps/api/",
"app_url_cloud": "https://cloud.hubitat.com/redacted/apps/",
"use_cloud": false,
"app_id": 178,
"access_token": "redacted",
"direct_port": 8000,
"temperature_unit": "C",
"round_levels": true,
"adaptive_lighting": true,
"adaptive_lighting_offset": 0,
"validateTokenId": false,
"logConfig": {
"debug": false,
"showChanges": true
},
"platform": "Hubitat-v2"
},
{
"controllers": [
{
"address": "192.168.70.11",
"password": "redacted",
"username": "redacted"
}
],
"options": [
"Enable.Video.Stream.Only.Low",
"Disable.Video.Transcode",
"Disable.18E829CFA6CA"
],
"platform": "UniFi Protect"
},
{
"refreshToken": "redacted",
"hideAlarmSirenSwitch": true,
"sendDoorbellMotionNotificationsToTv": false,
"debug": false,
"cameraStatusPollingSeconds": 30,
"cameraDingsPollingSeconds": 30,
"locationModePollingSeconds": 30,
"locationIds": [
"redacted"
],
"onlyDeviceTypes": [
"security-panel"
],
"platform": "Ring"
},
{
"platform": "Twinkly"
},
{
"name": "iRobot",
"email": "redacted",
"password": "redacted",
"lowBattery": 20,
"offAction": "pause:dock",
"status": "cycle:clean",
"eveStatus": "inverted:cycle:clean",
"bin": "filter:contact",
"ignoreMultiRoomBin": true,
"hideStuckSensor": false,
"disableMultiRoom": false,
"platform": "iRobotPlatform"
}
],
"disabledPlugins": [
"homebridge-unifi-protect",
"homebridge-roomba2"
]
}
16.13.1
8.3.0
1.3.9
2.1.9
Ubuntu
S9
No
606
No
i7
Yes
Can't manage to successfully configure account with i7 and m6 using homebridge-irobot v2.1.16 on homebridge 1.4.0 running Node.js Version v16.13.2. Have restarted but devices tab in the plugin shows no devices. Expected to see two devices (since both appear to be supported.) Any suggestions?
Startup logs output the following
[iRobot] Initializing iRobotPlatform platform...
[iRobot] Logging into iRobot...
[iRobot] Configuring roomba: Braava jet
[iRobot] Configuring roomba: Roomba
[iRobot] Disabling Unconfigured Roomba: Braava jet
sign-in with account with i7 and m6 using homebridge-irobot v2.1.16 on homebridge 1.4.0 running Node.js Version v16.13.2. On reboot note the plugin shows no devices.
Expected to see two devices (since both appear to be supported.)
[iRobot] Initializing iRobotPlatform platform...
[iRobot] Logging into iRobot...
[iRobot] Configuring roomba: Braava jet
[iRobot] Configuring roomba: Roomba
[iRobot] Disabling Unconfigured Roomba: Braava jet
{
"name": "iRobot",
"email": "[redacted]",
"password": "[redacted]",
"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"
}
],
16.13.2
8.1.2
2.1.16
2.1.16
MacOS
Roomba doesnt start when i push the button in HomeKit.
When I start the Roomba manually the button in HomeKit Works and the Roomba Turn back in the Station.
Roomba doesnt start when i push the button in HomeKit.
The Robot should start cleaning
Set Roomba e5 to clean
Auto config
v16.13.2
v8.1.2
1.4.0
v2.1.16
Docker
braava jet m6
No
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
No response
e5
No
j7
No
j7
Yes
960
Yes
980
No
Hi there,
I have a few questions:
If I go deeper I can see this:
Now I have a description for the switches. but what is room 3, 13, 14 ...?
How can I check, which switch is for which room (example: room 3 = living room, ...)
AND:
I see the the stuck sensor button.
This should not be, because my config is:
"hideStuckSensor": true,
Thanks !!
No response
-
"name": "iRobot",
"email": "****",
"password": "****",
"lowBattery": 20,
"offAction": "stop:dock",
"status": "cycle:clean",
"eveStatus": "inverted:cycle:clean",
"bin": "none",
"ignoreMultiRoomBin": true,
"hideStuckSensor": true,
"disableMultiRoom": false,
"platform": "iRobotPlatform"
16.13.1
8.1.2
1.3.9
2.1.10
Docker
i7
Yes
m6
No
e5
Yes
e5
Yes
980
Yes
960
No
test
No
980
Yes
671
Yes
e6
Yes
Homebridge crashes on getRoombaIP.js. Logs indicate a reference error for "proccess.argv" where process is spelled wrong. Changing to "process.argv" resolves the crash.
Change at lines 9 & 12 of getRoombaIP.js.
Logs below.
Enable plugin, restart homebridge.
Homebridge loads plugin successfully.
[06/01/2022, 15:38:16] [redacted] Getting IP address for roomba: Rosie
/usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js:9
const attempt = proccess.argv[3] || 1;
^
ReferenceError: proccess is not defined
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js:9:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
[06/01/2022, 15:38:17] Error: Command failed: /usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js 30F8850492035650
/usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js:9
const attempt = proccess.argv[3] || 1;
^
ReferenceError: proccess is not defined
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-irobot/dist/scripts/getRoombaIP.js:9:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
at checkExecSyncError (node:child_process:826:11)
at Object.execFileSync (node:child_process:864:15)
at /usr/local/lib/node_modules/homebridge-irobot/src/getRoombas.ts:18:35
at Array.forEach (<anonymous>)
at getRoombas (/usr/local/lib/node_modules/homebridge-irobot/src/getRoombas.ts:16:10)
at iRobotPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-irobot/src/platform.ts:65:36)
at HomebridgeAPI.<anonymous> (/usr/local/lib/node_modules/homebridge-irobot/src/platform.ts:34:12)
at HomebridgeAPI.emit (node:events:402:35)
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)
N/A
N/A
N/A
1.3.9
2.1.7
Raspberian
Braava m6
No
I think the ability to log in with the iRobot credentials solves a huge usability problem over the other plugin (Roomba2) as users have a hard time using the discovery script to obtain the BLID and Robot password. However, I would like to suggest a hybrid approach that allows for users to be completely disconnected from the cloud account by storing the BLID, Password, and IP in the config.
A good example of this is the Meross plugin.
The homebridge-roomba2 plugin is the full-swing alternative. I think there can be a hybrid approach that benefits more users.
Ideally, the plugin would support the ability to use the irobot device 100% locally with no cloud dependencies.
No response
No response
No response
2.1.9
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.