Skip to main content

roombasdk

CI PyPI PyPI - Downloads PyPI - License

Unofficial iRobot Roomba python library (SDK).

Fork of NickWaterton/Roomba980-Python
Fork of pschmitt/roombapy

This library was created for the Home Assistant Roomba integration.

Installation

pip install roombasdk

Notes

This library is only for firmware 2.x.x Check your robot version!

Only local connections are supported.

How to get your username/blid and password

To get password from Roomba type in console:

$ roomba-password <ip>

It will find your Roomba in local network, then follow the instructions in console to get password. If IP address not provided password will be request for auto discovered robot.

Also you can just ask Roomba for info:

$ roomba-discovery <optional ip address>

To test connection with iRobot:

$ roomba-connect <ip> <password>

Mapping Information

The Roomba position is given as three coordinates: x, y, and theta. The unit of measure for x and y is cm, theta is degrees. The origin of the mapping coordinates is the position of the dock, which will have coordinates (0,0,0)

Coordinates

  • Dock Front = -y
  • Dock Back = +y
  • Dock Left = -x
  • Dock Right = -y
         | -y 
         |
-x -------------- +x
         |
         | +y

Coordinates for Map Definitions

When defining maps, you will need to define two points, the upper left p1 and lower right p2. These coordinates would yield the maximum range for the roomba and will be translated into the image coordinate system automatically.

p1       | -y 
         |
-x -------------- +x
         |
         | +y   p2

Degrees

Roomba reports positive degrees when turning left, and negative degrees when turning right, yielding a counter-clockwise direction.

         0
         | 
         |
90 -------------- -90
         |
         |
      -180/180    

Release files for roombasdk 1.7.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for roombasdk 1.7.10
File Size Uploaded
roombasdk-1.7.10.tar.gz 258.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for roombasdk 1.7.10
File Interpreter ABI Platform
roombasdk-1.7.10-py3-none-any.whl Python 3 none any Details

Total release size: 521.3 kB

Release files / roombasdk-1.7.10.tar.gz

Download URL roombasdk-1.7.10.tar.gz
Size 258.7 kB
Tags Source
SHA-256 checksum
How to use checksums
06468816be21021cbcb466518d333b5f0d52c9a29a97a47bdd323e5d7f9a068c
BLAKE2b-256 checksum
How to use checksums
05206125121703f15272961d482fc89368d2a2552cd29a677e6001b39f7bca47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.9.7 Windows/10

Release files / roombasdk-1.7.10-py3-none-any.whl

Download URL roombasdk-1.7.10-py3-none-any.whl
Size 262.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e464db17af23ab8efc4494958a9380f3bfe497c9f287e89e12c2044bfe0ab6e
BLAKE2b-256 checksum
How to use checksums
84c9ccd3e51f10e681e558ba748a782206edf136e1d8973bfc1badb9f532f17a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.9.7 Windows/10

Release history Release notifications | RSS feed

This release

1.7.10 This release

2 release files

1.7.9

2 release files

1.7.8

2 release files

1.7.7

2 release files

1.7.6

2 release files

1.7.5

2 release files

1.7.4

2 release files

1.7.3

2 release files

1.7.1

2 release files

1.7.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page