stvmallen / homebridge-roomba-stv

Homebrige plugin for Roomba 9xx
MIT License
38 stars 15 forks source link

Can't get blid or password #80

Open natesor opened 2 years ago

natesor commented 2 years ago

<I have read all the guides, tried a mim attack using Charles and I am in over my head. Not sure why but I keep getting errors when I try to run any blid or password request>

Versions

Terminal Output Below:

hoobs@hoobs:~$ sudo hbs bridge list sudo: unable to resolve host hoobs: No address associated with hostname

id | type | display | port | pin | username | advertiser

hub | hub | Hub | 80 | 031-45-154 | 08:3A:F0:99:32:23 |
hoobs | bridge | HOOBS | 51826 | 031-45-154 | AA:39:31:33:9F:2C | bonjour

hoobs@hoobs:~$ cd /var/lib/hoobs/BRIDGE-ID/node_modules/dorita980 -bash: cd: /var/lib/hoobs/BRIDGE-ID/node_modules/dorita980: No such file or directory hoobs@hoobs:~$ cd /var/lib/hoobs/hoobs/node_modules/dorita980 hoobs@hoobs:/var/lib/hoobs/hoobs/node_modules/dorita980$ sudo npm install && node ./bin/getpassword.js 10.0.0.51 sudo: unable to resolve host hoobs: No address associated with hostname

up to date, audited 355 packages in 5s

6 packages are looking for funding run npm fund for details

21 vulnerabilities (1 low, 13 moderate, 5 high, 2 critical)

To address issues that do not require attention, run: npm audit fix

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

Run npm audit for details. Make sure your robot is on the Home Base and powered on (green lights on). Then press and hold the HOME button (or DOCK+SPOT on some models) on your robot until it plays a series of tones (about 2 seconds). Release the button and your robot will flash WIFI light. Then press any key here... Robot Data: undefined node:events:498 throw er; // Unhandled 'error' event ^

Error: connect EHOSTUNREACH 10.0.0.51:8883 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) Emitted 'error' event on TLSSocket instance at: at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -113, code: 'EHOSTUNREACH', syscall: 'connect', address: '10.0.0.51', port: 8883 } hoobs@hoobs:/var/lib/hoobs/hoobs/node_modules/dorita980$

solbadguy2010 commented 2 years ago

Hi. Please start by using Homebridge, not Hoobs.

https://github.com/homebridge/homebridge-raspbian-image/wiki/How-To-Migrate-From-HOOBS-To-Homebridge

natesor commented 2 years ago

What is the difference? Surely I will get the same error?

solbadguy2010 commented 2 years ago

Maybe, maybe not. I have seen many errors because of this. Hoobs is simply not Homebridge. Its a fork. You should also switch to the original for the future.

natesor commented 2 years ago

Same error on homebridge

solbadguy2010 commented 2 years ago

Ok. And you are sure the IP of the Robot is 10.0.0.51?

natesor commented 2 years ago

100%. Robot--> Robot Settings-->Wi-Fi Settings-->Robot Wi-Fi Details-->IP Address is where I got the address from in the app. Even after setting up from scratch on Homebridge I get "Error: connect EHOSTUNREACH 10.0.0.51:8883"

solbadguy2010 commented 2 years ago

OK. What Router do you have? Is the IP shown there the same? Is the Roomba in Guest Wifi or something? Can you Ping it?

This is how mine looks: Screenshot 2022-02-21 091134

natesor commented 2 years ago

I have a Netgear Orbi RB50, it also shows the same IP address, and I do not have a guest Wi-Fi setup. I can ping it, see attached.

Screen Shot 2022-02-21 at 23 51 00
solbadguy2010 commented 2 years ago

Strange. What Model is your Roomba?

natesor commented 2 years ago

I have both an i7 and an m6

solbadguy2010 commented 2 years ago

Have you tried the IP of the second one?

natesor commented 2 years ago

Same error but just "10.0.0.50"

solbadguy2010 commented 2 years ago

Sorry, i am really out of ideas.