Skip to content

Commit 80c790b

Browse files
committed
Simplify robot password script running
1 parent eb29f42 commit 80c790b

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"homebridge-roomba2": patch
3+
---
4+
5+
Simplify robot password script running

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ a few seconds).
4949
1) Find your Roomba's IP address (for help see the [troubleshooting](#troubleshooting) section); it will look like `192.168.X.XXX` or `10.X.X.XXX`, or similar.
5050
2) Open a terminal on your Homebridge system, either using `ssh` or by using the Homebridge Terminal located in the ⋮ menu, top-right in the Homebridge UI.
5151
3) Change into the directory where the plugin is installed: ```cd $(npm root -g)/homebridge-roomba2```
52-
4) Type ```sudo npm run getrobotpwd <IP ADDRESS>``` (replacing `<IP ADDRESS>` with the IP address you discovered above).
52+
4) Type ```npm run getpassword <IP ADDRESS>``` (replacing `<IP ADDRESS>` with the IP address you discovered above).
5353
5) Follow the instructions on screen to obtain your Roomba's `blid` and password. NB: Read the instructions carefully and ensure that you're pressing and holding the correct button on your Roomba.
5454
6) Proceed to _Configuration_.
5555

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"scripts": {
3131
"build": "tsc",
3232
"clean": "rimraf dist",
33-
"getrobotpwd": "cd node_modules/dorita980 && npm install && node ./bin/getpassword.js",
33+
"getrobotpwd": "get-roomba-password",
34+
"getpassword": "get-roomba-password",
3435
"lint": "eslint src/*.ts",
3536
"test": "node dist/index.js",
3637
"watch": "tsc --watch"

0 commit comments

Comments
 (0)