| name | roomba-control |
| description | Manage iRobot Roomba vacuums via the cloud API. Start/stop/schedule cleaning jobs, monitor consumable status, and view cleaning maps and history. |
Roomba Control
Command your iRobot Roomba from the terminal.
Table of Contents
Requirements
- An iRobot Roomba with Wi-Fi connectivity (600/700/800/900/i/j/s series)
- iRobot account credentials
- Python 3.6+
- Network access to iRobot cloud services
Configuration
export IROBOT_EMAIL="you@example.com"
export IROBOT_PASSWORD="your-password"
First-time setup discovers your robots:
$ bash scripts/roomba-ctl.sh setup
Discovering robots on your account...
Found 2 robots:
[1] Rosie — Roomba j7+ (Online, Docked)
[2] Dusty — Roomba i3 (Online, Docked)
Configuration saved to ~/.roomba-control/config.json
Default robot set to: Rosie
Core Commands
bash scripts/roomba-ctl.sh status
bash scripts/roomba-ctl.sh info
bash scripts/roomba-ctl.sh ping
bash scripts/roomba-ctl.sh find
Cleaning Jobs
Start & Stop
bash scripts/roomba-ctl.sh clean
bash scripts/roomba-ctl.sh clean --rooms "Kitchen,Living Room"
bash scripts/roomba-ctl.sh pause
bash scripts/roomba-ctl.sh resume
bash scripts/roomba-ctl.sh dock
bash scripts/roomba-ctl.sh stop
Job Monitoring
bash scripts/roomba-ctl.sh progress
bash scripts/roomba-ctl.sh progress --follow
Scheduling
bash scripts/roomba-ctl.sh schedule
bash scripts/roomba-ctl.sh schedule set --daily 09:00
bash scripts/roomba-ctl.sh schedule set --weekdays 10:00
bash scripts/roomba-ctl.sh schedule set --days mon,wed,fri --time 14:00
bash scripts/roomba-ctl.sh schedule set --daily 09:00 --rooms "Kitchen,Hallway"
bash scripts/roomba-ctl.sh schedule off
bash scripts/roomba-ctl.sh schedule on
Consumable Tracking
Keep tabs on parts that need replacement.
$ bash scripts/roomba-ctl.sh consumables
Consumable Status — Rosie (j7+)
────────────────────────────────────
Main Brush: ████████░░ 78% (~44 hours remaining)
Side Brush: █████░░░░░ 52% (~26 hours remaining)
Filter: ███░░░░░░░ 31% (~15 hours remaining) ⚠️ Replace soon
Bin: Full — Empty before next clean
Dust Bag: ███████░░░ 68% (auto-empty base)
Estimated based on 6.2 hrs/week average usage.
bash scripts/roomba-ctl.sh consumables --alert 20
bash scripts/roomba-ctl.sh consumables reset filter
bash scripts/roomba-ctl.sh consumables reset main_brush
Cleaning History & Maps
bash scripts/roomba-ctl.sh history
bash scripts/roomba-ctl.sh history --limit 20
bash scripts/roomba-ctl.sh history <session_id>
bash scripts/roomba-ctl.sh stats
bash scripts/roomba-ctl.sh history export cleaning_log.csv --days 90
bash scripts/roomba-ctl.sh map
Multi-Robot Support
bash scripts/roomba-ctl.sh robots
bash scripts/roomba-ctl.sh use "Dusty"
bash scripts/roomba-ctl.sh --robot "Dusty" clean
bash scripts/roomba-ctl.sh clean --all
bash scripts/roomba-ctl.sh status --all
Scripting & Automation
Clean before guests arrive (cron):
0 16 * * 5 bash /path/to/roomba-ctl.sh clean --rooms "Living Room,Dining Room,Kitchen"
Post-clean notification:
bash scripts/roomba-ctl.sh clean
while bash scripts/roomba-ctl.sh status --raw | grep -q "running"; do sleep 60; done
echo "Cleaning complete!" | mail -s "Roomba Done" you@email.com
Consumable shopping reminder:
LOW=$(bash scripts/roomba-ctl.sh consumables --alert 25 --names)
if [ -n "$LOW" ]; then
echo "Time to order: $LOW" | mail -s "Roomba Parts Needed" you@email.com
fi
Troubleshooting
| Issue | Solution |
|---|
| "Robot offline" | Check Wi-Fi. Reboot robot (hold CLEAN 10s). Verify iRobot app works. |
| "Authentication failed" | Re-run setup. Check credentials. Verify 2FA if enabled. |
| "Room not found" | Room names must match exactly. Use bash scripts/roomba-ctl.sh rooms to list. |
| "Cannot clean — bin full" | Empty the dustbin or dust bag, then retry. |
| Slow response | iRobot cloud can be slow. Script retries 3x with backoff. |