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

receiving no username on manual installation #141

Closed Matt77CHE closed 2 years ago

Matt77CHE commented 2 years ago

Hi I was trying to set irobot adapter up - Automatic mode did not work, then I tried manual mode, but I'm receiving only: (used get-roomba-password )

... Then press any key here... Robot Data: undefined Password=> :1:1628866780:TkDimSYeVamemzXA <= Yes, all this string. Use this credentials in dorita980 lib :)

No username! How do I get the username?

Matt77CHE commented 2 years ago

I think there is no longer any support for this adapter ... ?!?

koalazak commented 2 years ago

user is the robot blid. It should be there in the "Robot Data" section. Maybe you are using a non suported node.js version. Try this code:

var dorita980 = require('dorita980');

dorita980.discovery((ierr, data) => {
  console.log(data);
});

Should print the robot hostname which contains the robot BLID Roomba-xxxxxx (xxxx part is the BLID)

It is really hard to give you support with that lack of information you provide about your setup...

regards