jeremywillans / hass-addons

Hass.io Addon Repository
MIT License
28 stars 8 forks source link

roombapw is throwing an error #16

Closed Wolk9 closed 10 months ago

Wolk9 commented 1 year ago

I have got a new Roomba i7 as a replacement due to malfunction within guarantee. Happy. But now I need to connect my new Roomba to my HA, so I have to lurk the ID and PW out of my new companion.

While executing the exact instructions I received the following error log:

`> dorita980@3.1.7 getpassword /usr/src/app

node ./bin/getpassword.js Make sure your robot is on the Home Base and powered on (green lights on). Then press and hold the HOME button on your robot until it plays a series of tones (about 2 seconds). Release the button and your robot will flash WIFI light. This step will continue in 10 seconds... events.js:160 throw er; // Unhandled 'error' event ^ Error: connect EHOSTUNREACH 192.168.68.128:8883 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1099:14) npm ERR! Linux 5.15.61-v8 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "getpassword" npm ERR! node v6.17.1 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! dorita980@3.1.7 getpassword: node ./bin/getpassword.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the dorita980@3.1.7 getpassword script 'node ./bin/getpassword.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the dorita980 package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./bin/getpassword.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs dorita980 npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls dorita980 npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /usr/src/app/npm-debug.log`

jeremywillans commented 1 year ago

UNREACH seems to indicate that the script cant reach the IP of your robot - can you confirm network connectivity?