You needed to type "notepad roomba.js` before pasting that in.
Copy my latest roomba.js
file to your clipboard. Press enter two times. Type notepad roomba.js
. Press ctrl+a, then press ctrl+v. Close it, and run node roomba.js
. What do you get?
You put an extra period at the end of roomba.js
.
I really think you should understand what youâre typing into the command line. Why did you add this?
where in the directions does it say to add :5
at the end of the command?
and in your previous one, you had syntax errors just running the command too. Please please please pay attention to what youâre writing in the console and this back and forth wouldnât be needed.
You are right I really do not understand, you guys have been very patient with me I am sorry I do not mean to be difficult, would it be possible for you to send me step by step instructions? I did not mean to add anything extra to these lines or commands, I really do not know what I am doing in all honesty.
Again thank you for all of your help.
Jimmy
Would you be fine executing a bat file, which runs those commands in order automatically?
Yes I would thank you.
Sorry to let you down by my slowness, given that youâve already spent at least 1,500 dollars. This should work (choose free download if you donât want to pay): https://ufile.io/3dwatsgj
Sorry for all this back and forth; I would have tested everything I posted myself if I had a Roomba.
If you come across this post later (after the deletion limit), hereâs the raw file:
echo var dorita980 = require('dorita980'); > roomba.js
echo dorita980.getRobotIP((ierr, ip) =^> { >> roomba.js
echo console.log(ip); >> roomba.js
echo }); >> roomba.js
node roomba.js
What now?
Iâll give this a whirl tonight when I get home. Is the goal just to get a few pieces of information? I havenât read any documentation, I just got the roomba.
Yeah, you need an IP, a BLID (a type of code), and a password. For some reason HA canât autodiscover those yet (from what I believe).
I need to retrieve this information to setup Roomba vac and mop devices, this is not Roomba username and passwords according to everything I read you have to run those scripts to retrieve this information? Again I am ignorant to all of this and may not be using the right terminology here is a pic of what it has to have to add it to Home Assistant;
You run the latest file to get the host. Then I give you another file to run to get the BLID and Password. What was the output of the latest file?
You didnât download the latest file. First delete the old file. Next download the latest. Now try it.