Announcement

Collapse
No announcement yet.

BLRoombaWifi

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by shill View Post

    You can easily do it by running nodejs on Windows.

    Just install nodejs, then use npm to install dorita980. You can then go into your nodejs\node_modules\dorita980 folder and run "node .\bin\getpassword.js <ip address>":

    Code:
    D:\Program Files (x86)\nodejs\node_modules\dorita980>node .\bin\getpassword.js 192.168.0.184
    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...
    Robot Data:
    { ver: '2',
    hostname: 'Roomba-99999999999999',
    robotname: 'Roomba',
    ip: '192.168.0.184',
    mac: 'F0:03:8C:96:4E:61',
    sw: 'v2.2.9-1',
    sku: 'R980020',
    nc: 0,
    proto: 'mqtt',
    blid: '99999999999999' }
    Password=> :X:XXXXXXXXXX:ABCDEfghiJKL1234 <= Yes, all this string.
    Use this credentials in dorita980 lib :)
    This worked great. Thanks for the post.

    Comment


      THIS IS AWESOME!!! THX!!!!

      2x Roomba 895's

      Click image for larger version

Name:	BLRoomba.png
Views:	538
Size:	367.0 KB
ID:	1341441
      HW - i5 4570T @2.9ghz runs @11w | 8gb ram | 128gb ssd OS - Win10 x64

      HS - HS3 Pro Edition 3.0.0.435

      Plugins - BLRF 2.0.94.0 | Concord 4 3.1.13.10 | HSBuddy 3.9.605.5 | HSTouch Server 3.0.0.68 | RFXCOM 30.0.0.36 | X10 3.0.0.36 | Z-Wave 3.0.1.190

      Hardware - EdgePort/4 DB9 Serial | RFXCOM 433MHz USB Transceiver | Superbus 2000 for Concord 4 | TI103 X-10 Interface | WGL Designs W800 RF | Z-Net Z-Wave Interface

      Comment


        This is really quite brilliant! I installed the plugin to control my brand new S9+, and it works like a charm. It's now running the roomba every time my house goes into Away mode, and if it's still cleaning when I get home, it automatically docks the roomba.

        I installed node.js from here: https://nodejs.org/en/download/
        Then followed the instructions here to install doriate980: https://www.npmjs.com/package/dorita980
        And finally followed the instructions in shill 's post:
        Originally posted by shill View Post

        You can easily do it by running nodejs on Windows.

        Just install nodejs, then use npm to install dorita980. You can then go into your nodejs\node_modules\dorita980 folder and run "node .\bin\getpassword.js <ip address>":

        Code:
        D:\Program Files (x86)\nodejs\node_modules\dorita980>node .\bin\getpassword.js 192.168.0.184
        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...
        Robot Data:
        { ver: '2',
        hostname: 'Roomba-99999999999999',
        robotname: 'Roomba',
        ip: '192.168.0.184',
        mac: 'F0:03:8C:96:4E:61',
        sw: 'v2.2.9-1',
        sku: 'R980020',
        nc: 0,
        proto: 'mqtt',
        blid: '99999999999999' }
        Password=> :X:XXXXXXXXXX:ABCDEfghiJKL1234 <= Yes, all this string.
        Use this credentials in dorita980 lib :)
        I had this up and running in about 45 minutes; granted I was rather distracted with some "quality" tv while doing it ;-)

        Comment


          Is there the ability to do rooms yet?

          Sent from my SM-G975U using Tapatalk

          Comment


            Sorry for the dumb question: I did everything in shill's post and it did exactly what was above. What do you do with the robot data after you get it?

            edit: Duh - read it over again and I got it - working great. Thanks.

            Comment


              Originally posted by shill View Post

              You can easily do it by running nodejs on Windows.

              Just install nodejs, then use npm to install dorita980. You can then go into your nodejs\node_modules\dorita980 folder and run "node .\bin\getpassword.js <ip address>":

              Code:
              D:\Program Files (x86)\nodejs\node_modules\dorita980>node .\bin\getpassword.js 192.168.0.184
              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...
              Robot Data:
              { ver: '2',
              hostname: 'Roomba-99999999999999',
              robotname: 'Roomba',
              ip: '192.168.0.184',
              mac: 'F0:03:8C:96:4E:61',
              sw: 'v2.2.9-1',
              sku: 'R980020',
              nc: 0,
              proto: 'mqtt',
              blid: '99999999999999' }
              Password=> :X:XXXXXXXXXX:ABCDEfghiJKL1234 <= Yes, all this string.
              Use this credentials in dorita980 lib :)
              I'm not familiar with nodejs, but have now installed that...

              My next question was how do I "use npm to install dorita980"

              A quick google got me to here: https://docs.npmjs.com/downloading-a...ckages-locally

              So, the MSDOS command line (not from within nodejs) is:
              Code:
              npm install dorita980
              
              Result was:
              
              npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
              npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
              npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Andrew\package.json'
              npm notice created a lockfile as package-lock.json. You should commit this file.
              npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Andrew\package.json'
              npm WARN Andrew No description
              npm WARN Andrew No repository field.
              npm WARN Andrew No README data
              npm WARN Andrew No license field.
              
              + dorita980@3.1.7
              added 123 packages from 105 contributors and audited 123 packages in 22.886s
              
              2 packages are looking for funding
              run `npm fund` for details
              
              found 0 vulnerabilities
              However, now I do not see any dorita980 subfolder within \Program Files\nodejs\.....

              Help!


              Thanks,
              Andrew

              Comment

              Working...
              X