Unofficial iRobot Roomba python library (SDK).
Fork of NickWaterton/Roomba980-Python
This library was created for the Home Assistant Roomba integration.
pip install roombapy[cli]This library is only for firmware 2.x.x Check your robot version!
Only local connections are supported.
roombapy discover <optional ip address>This will find your Roomba in local network, and obtain credentials automagically whether possible.
To get event stream from iRobot, use:
roombapy connect <ip> -p <password>Output is suitable for piping into tools like jq.
This project uses uv for dependency management and packaging.
If you have Nix with flakes enabled, the quickest way to get a full dev environment (uv, a matching Python interpreter, and mosquitto for the integration tests) is:
nix developOtherwise, install uv yourself and run:
uv sync --all-extras --devTo improve your development experience, you can install pre-commit hooks via the following command. With every commit it will run a set of checks, making sure it meets the quality standards.
uv run pre-commit installRun the test suite with:
uv run pytest