Skip to main content

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.

Source Distribution

pydorita-0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page