homebridge-plugins / homebridge-roomba2

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

Roomba 2 plug-in configuration problem #37

Closed Cyrille556 closed 3 years ago

Cyrille556 commented 3 years ago

Hello, I have just redone my homebridge installation and I can no longer configure the plug-in, Roomba2 several error message is displayed in the configuration terminal. Help me please

Capture d’écran 2021-03-18 à 18 35 30
sudoischenny commented 3 years ago

Make sure you run the command in the plug in directory, its probably "/usr/local/lib/node_modules/homebridge-roomba2". Basically run "npm root -g" and what ever that returns just add "/homebridge-roomba2". Then run getrobotpwd from there.

Cyrille556 commented 3 years ago

Thanks for help but I can't do what you advise me to do, I still have the same problem

Geek-MD commented 3 years ago

Configuration is OK, including blid and robotpswd, but accesory is "not responding".

sudoischenny commented 3 years ago

Thanks for help but I can't do what you advise me to do, I still have the same problem

Change your directory to homebridge-roomba2...Then run the command from there.

skazzyskills commented 3 years ago

I have the same problem. Followed these instructions:

CD into where your plugins are installed. You can find this by typing npm root -g Type sudo npm run getrobotpwd 192.168.x.xxx Follow the instructions on screen Use the credentials from above, to fill into Homebridge. (Config template below):

sudoischenny commented 3 years ago

Are you having the same issues as this person below?

Hello, I have just redone my homebridge installation and I can no longer configure the plug-in, Roomba2 several error message is displayed in the configuration terminal. Help me please

Capture d’écran 2021-03-18 à 18 35 30
skazzyskills commented 3 years ago

This is what I see:

Screen Shot 2021-04-08 at 9 19 47 PM
sudoischenny commented 3 years ago

Make sure you CD into where your plugins are installed. You can find this by typing npm root -g

skazzyskills commented 3 years ago

How do I do this in terminal? I tried entering in the command: cd /usr/local/lib/node_modules then running the get password command, but I still get the same error. What am I missing?

sudoischenny commented 3 years ago

From previous...

Make sure you run the command in the plug in directory, its probably "/usr/local/lib/node_modules/homebridge-roomba2". Basically run "npm root -g" and what ever that returns just add "/homebridge-roomba2". Then run getrobotpwd from there.

skazzyskills commented 3 years ago

Thank you! Got it! Thanks!

skazzyskills commented 3 years ago

Wait, there's nothing listed there that says 'model'. But it's a field I have to fill out in the settings. What do I put. M6?

sudoischenny commented 3 years ago

Here is my config:

{ "name": "Miss Vroom", "model": "i7", "blid": "4****E", "robotpwd": ":1:1K", "ipaddress": "192.168.1.63", "autoRefreshEnabled": true, "keepAliveEnabled": true, "dockContactSensor": true, "binContactSensor": true, "cacheTTL": 30, "accessory": "Roomba2" }

sudoischenny commented 3 years ago

I don’t think it matters the plug-in doesn’t officially support anything above the 900s. It’s just a value it passes on to homebridge... it’s a formality thing

skazzyskills commented 3 years ago

Ok great. Cheers!

Shawn Skalinski @.***

On Apr 8, 2021, at 9:42 PM, Chennyisafrag @.***> wrote:

I don’t think it matters the plug-in don’t officially support anything above the 900s. It’s just a value it passes on to homebridge

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/homebridge-plugins/homebridge-roomba2/issues/37#issuecomment-816397083, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2ONOD7TST5PALSP573X73TH2ATRANCNFSM4ZNCTHGA.

skazzyskills commented 3 years ago

@Chennyisafrag having issues with my M6 mop. Getting constant 'no response' in HomeKit. Just noticed in the Eve app it says battery for my M6 mop is at 0% but Roomba says 100%. I wonder if this is the issue for the constants ‘no response’ I’m getting for this accessory? The plugin is not reading the percentage properly? And therefore it’s giving me a no response?

skazzyskills commented 3 years ago

Confirmed. In Homebridge, it registers as 'not charging' and at 0%. BUT, it is actually 100% charged and works if I hit the power button in Homebridge. Hmmm..

sudoischenny commented 3 years ago

@skazzyskills make sure you have a static IP set to the M6... you can try messing with the cache settings to make it more stable...

skazzyskills commented 3 years ago

IP is static. Works fine in the homebridge interface. The hangup is the translation into HomeKit. Definitely has something to do with requesting the status of the battery. It’s coming through at 0% rather than 100% and because of this I think it’s getting the no response.

Shawn Skalinski @.***

On Apr 10, 2021, at 3:15 PM, Chennyisafrag @.***> wrote:

 @skazzyskills make sure you have a static IP set to the M6... you can try messing with the cache settings to make it more stable...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

sudoischenny commented 3 years ago

I don’t see any other solutions... it’s been a while since the project was updated... I’m sure it’s something you can overlook since the M6 has recharge and resume.

brufal commented 3 years ago

@Chennyisafrag Hello, i'm a new user for homebridge, and i would to start with this plugin, but i have the same problem like you have show to us in one of your previous message. My question is in homebridge where i can find the "the plug in directory" because in the the Terminal this the cmd

From previous...

Make sure you run the command in the plug in directory, its probably "/usr/local/lib/node_modules/homebridge-roomba2". Basically run "npm root -g" and what ever that returns just add "/homebridge-roomba2". Then run getrobotpwd from there.

Here you can find what i have when i follow your instruction

Capture d’écran 2021-04-28 à 21 44 41

if you can help me that should be great.

sudoischenny commented 3 years ago

@brufal Would recommend watching or reading a couple get started with Linux/Raspbian materials. But to solve your issue you need to put "cd" in front of the directory you want to move to. In your case, it would be "cd /usr/local/lib/node_modules/ homebridge-roomba2"

brufal commented 3 years ago

@Chennyisafrag Thanks for your first help, i have just try your cmd suggest, but i receive the following answer Capture d’écran 2021-04-28 à 22 00 29

sudoischenny commented 3 years ago

Remove the space between node_modules/ and homebridge-roomba2.

brufal commented 3 years ago

i receive an answer was : "No such file or directory"

sudoischenny commented 3 years ago

Just to confirm... Is the plug-in install in homebridge?

brufal commented 3 years ago

Yes of course. @Chennyisafrag I am not a pro, but I know to do some basic tips and install before try to configure is always better ahaha ;-)

Capture d’écran 2021-04-28 à 23 30 24

sudoischenny commented 3 years ago

Just cd into “ /usr/local/lib/node_modules” then run “dir” and check if homebridge-roomba2 is there

brufal commented 3 years ago

I have try your cmd and this is the result 👇🏼

BD062979-8733-4344-8A1A-C96855A6140C

sudoischenny commented 3 years ago

You need a space between cd and the directory you wish to go to

brufal commented 3 years ago

I have the same things with the space AADF4C49-04DD-4D31-8F91-401708BD07A1

sudoischenny commented 3 years ago

Lol... auto correct

brufal commented 3 years ago

?? Where?

brufal commented 3 years ago

I have find the mistake between “usr” and “user”

brufal commented 3 years ago

@Chennyisafrag hey thanks to your help I have finished successfully the setting of my Roomba I haven’t tested yet but now I can see it in my app Home. i’m going to try it today. I am a French guy so sorry if we have some delay between an answer because we have a different time zone

sudoischenny commented 3 years ago

Great! Make sure you set a static IP for the Roomba on your router.