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 details)

Uploaded Source

File details

Details for the file pydorita-0.1.tar.gz.

File metadata

  • Download URL: pydorita-0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pydorita-0.1.tar.gz
Algorithm Hash digest
SHA256 791d29d77245efa74762dfee6a4bd48a43f92163f4e175bf8e18050b992291f8
MD5 b4379cbf020cd6536bb7101ac0349ddc
BLAKE2b-256 3dfe3ec265c771459f6e583327d008dcc0fcacda1f9a9ffadc0172bb1a9b67cd

See more details on using hashes here.

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