Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Python client for controlling a iRobot Roomba 980 (via rest980)

Project description

This library provides Python bindings for the iRobot Roomba 980 REST gateway from https://github.com/koalazak/rest980

Example

from pydorita import PyDoritaClient
# Connect to the REST980 gateway
pd = PyDoritaClient(
    hostname='rest980-gw.lan',
    port=3000,
    username='roomba',
    password='R0mB!'
)
# Get the current state (ie. "run", "stuck" etc.)
pd.phase
# Get the current error code
pd.error
# Get the current battery percentage
pd.battery
# Get the current position
pd.position
# Start cleaning
pd.clean()
# Stop and dock
pd.stop_and_dock()

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pydorita, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pydorita-0.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page