homebridge-plugins / homebridge-roomba2

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

Unable to configure roomba 896 #135

Open Cyrille556 opened 1 year ago

Cyrille556 commented 1 year ago

Good morning,

I can no longer configure my irobot roomba 896.

I reinstalled homebridge and since then impossible to configure it.

Until now I used this command line in the terminal: cd /usr/local/lib/node_modules/homebridge-roomba2

then: sudo npm run getrobotpwd 10.143.1.x

I press the two roomba buttons until it flashes green

and I got the blid and the password....

Now when I enter the command line in the terminal I have this: pi@homebridge:/var/lib/homebridge $ cd /usr/local/lib/node_modules/homebridge-roomba2 bash: cd: /usr/local/lib/node_modules/homebridge-roomba2: No such file or directory

I also tried this command line: pi@homebridge:/var/lib/homebridge $ cd $(npm root -g)/homebridge-roomba2 bash: cd: /opt/homebridge/lib/node_modules/homebridge-roomba2: No such file or directory

My Homebridge is on 1.6.0 and the roomba2 plug-in v1.4.0.

THANKS :)

karlvr commented 1 year ago

@Cyrille556 Which instructions are you following? This command is the right one:

cd $(npm root -g)/homebridge-roomba2

However given that isn't working for you... are you sure that you have the plugin installed? If you do, then something has changed and Homebridge is installing packages in a different directory. Try /usr/lib/node_modules?