homebridge-roomba2 icon indicating copy to clipboard operation
homebridge-roomba2 copied to clipboard

Issue w/ getrobotpwd call

Open nam777 opened this issue 3 years ago • 4 comments

homebridge@retropie:/usr/lib/node_modules/homebridge-roomba2 $ sudo npm run getrobotpwd 10.0.X.XX

[email protected] getrobotpwd /usr/lib/node_modules/homebridge-roomba2 cd node_modules/dorita980 && npm install && node ./bin/getpassword.js "10.0.X.XX"

npm WARN [email protected] requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of eslint@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.

audited 357 packages in 4.856s

5 packages are looking for funding run npm fund for details

found 9 vulnerabilities (1 low, 5 moderate, 2 high, 1 critical) run npm audit fix to fix them, or 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... events.js:377 throw er; // Unhandled 'error' event ^

Error: connect EHOSTUNREACH 10.0.X.XX:XXXX at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) Emitted 'error' event on TLSSocket instance at: at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:82:21) { errno: -113, code: 'EHOSTUNREACH', syscall: 'connect', address: '10.0.X.XX', port: XXXX } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] getrobotpwd: cd node_modules/dorita980 && npm install && node ./bin/getpassword.js "10.0.X.XX" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] getrobotpwd script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-10-25T19_16_01_220Z-debug.log

nam777 avatar Oct 25 '21 19:10 nam777

you have to sniff the password currently with a man in the middle attack:

https://github.com/koalazak/dorita980/issues/142

myzinsky avatar Oct 25 '21 22:10 myzinsky

Thanks. Used Charles Proxy and it worked like a charm.

nam777 avatar Oct 26 '21 04:10 nam777

Have you managed to geht the bot running then? For me it does not yet work with Roomba2

myzinsky avatar Oct 26 '21 06:10 myzinsky

It is up and running.

nam777 avatar Oct 26 '21 15:10 nam777