koalazak / dorita980

Unofficial iRobot Roomba and Braava (i7/i7+, 980, 960, 900, e5, 690, 675, m6, etc) node.js library (SDK) to control your robot
MIT License
932 stars 147 forks source link

is "get password" working on 981 robots? #101

Closed ycrumeyrolle closed 4 years ago

ycrumeyrolle commented 4 years ago

Hi, I cannot connect to my Roomba 981 to get the password. I have the following error message

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.
Then press any key here...
events.js:174
      throw er; // Unhandled 'error' event
      ^
</del>
<del>
Error: connect EHOSTUNREACH <my_roomba_IP>:8883
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
Emitted 'error' event at:
    at emitErrorNT (internal/streams/destroy.js:82:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)

The robot is on its dock, WIFI light flash, no app connected. Is the 981 supported ?

Edit: My bad, the robot was not in the same VLAN... Now I cannot obtain the password:

Error getting password. Follow the instructions and try again.

I have NodeJS v10.15.2 installed. Firmware 2.4.6-3.

koalazak commented 4 years ago

not tested in 981. troubleshooting check list:

I will let the issue open waiting for someone that can confirm if it works on other 981 robots.

cdeharo commented 4 years ago

Today I've tested a 981 with docker run -it node sh -c "npm install -g dorita980 && get-roomba-password <robotIP>" and it works perfectly.