How Local and Cloud connections work
masterThe dorita980 library provides two primary ways to interact with your Roomba 980 (Firmware 1.6.6):
- Local Connection (
dorita980.Local): Sends commands directly over WiFi to your robot on your LAN. This does not require an internet connection. You must provide the robot's IP address and the firmware major version. - Cloud Connection (
dorita980.Cloud): Controls the robot via the iRobot cloud API. This allows control from inside or outside your home without needing the robot's local IP address.
Both methods require your robot's username/blid and password.
var dorita980 = require('dorita980');
// Local connection example
var myRobotViaLocal = new dorita980.Local('MyUsernameBlid', 'MyPassword', '192.168.1.104', 1);
// Cloud connection example
var myRobotViaCloud = new dorita980.Cloud('MyUsernameBlid', 'MyPassword', 1);