homebridge-plugins / homebridge-roomba2

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

Script not returning robots and information. #124

Open Yeaori opened 2 years ago

Yeaori commented 2 years ago

The guidance in the Roomba2 plug-in directions is not yielding the intended result.

Expected Behavior

Expecting to return two robots with BLID and passwords.

Current Behavior

Code is running but not returning information.

Steps to Reproduce (for bugs)

Versions

Configuration

Homebridge Log / Command Output

hoobs@hoobs:~$ sudo npm install -g dorita980
[sudo] password for hoobs: 
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

changed 126 packages, and audited 127 packages in 36s

3 packages are looking for funding
  run `npm fund` for details

4 high severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
hoobs@hoobs:~$ cd /usr/lib/node_modules/dorita980
hoobs@hoobs:/usr/lib/node_modules/dorita980$ sudo npm run get-password-cloud myemail@email.com password

> dorita980@3.1.11 get-password-cloud
> node ./bin/getPasswordCloud.js

Usage: npm run get-password-cloud <iRobot username> <iRobot password> [Gigya API Key]
hoobs@hoobs:/usr/lib/node_modules/dorita980$ 
karlvr commented 1 year ago

@Yeaori I wonder what version of node and npm you're using.

Try typing:

node --version
npm --version

Where you are showing the output:

> node ./bin/getPasswordCloud.js

It should be showing:

> node ./bin/getPasswordCloud.js "myemail@email.com" "password"

A shot in the dark, but perhaps try running the command like this instead:

sudo npm run get-password-cloud -- myemail@email.com password
karlvr commented 1 year ago

@Yeaori Perhaps also give the latest beta version of the plugin a try. You should be able to obtain your Roomba's password using its IP address. See the README Setup instructions for this plugin.

Firemanjoe commented 1 year ago

I am also getting this error and have tried to follow #122 without success for the i1+ unit.

I've been able to obtain the BLID & PWD - but now I can't get it to connect.