A Library to interact with irbt appliances
Project description
Library for irbt cloud api
This library implements some parts of the irbt cloud api (to control the different robots of the company).
Supported devices:
It has only been tested with a roomba i7.
Features
- login using gigya/irbt api
- associated robot list
- history
- maps api (as json)
- missions api
- mqtt start, pause, stop, dock, find
- cli
usage: cli.py [-h] [-m] [-M] [-e] [-t] [-d] [-c [CMD]] [-l] [-r [ROOM_IDS]]
[-p] [-R] [-i [ROBOT_ID]] [-I] [-j] [-w]
optional arguments:
-h, --help show this help message and exit
-m, --map output current map
-M, --missions Missions history
-e, --evachistory Evac history
-t, --timeline Timeline
-d, --debug-mqtt debug-mqtt
-c [CMD], --cmd [CMD]
cmd for the robot (start, stop, dock, pause)
-l, --list-rooms List rooms
-r [ROOM_IDS], --room-ids [ROOM_IDS]
room ids to clean
-p, --robot-password Show robot password
-R, --robots List robots
-i [ROBOT_ID], --robot-id [ROBOT_ID]
Specify robot id
-I, --robot-infos Show robot infos
-j, --output-json Output as Json if possible
-w, --raw Output Raw Json (from server api) if possible
Install the dependencies
pip3 install -r requirements
Run
set your irobot credentials in the following var :
export IRBT_LOGIN="your.email@provider.com"
export IRBT_PASSWORD="yourpassword"
Then launch the cli (-h for the options)
./cli.py -h
You can also build the container using:
docker build . -t irbt_cli
Then run it with the credentials environment variable sets
docker run -e IRBT_LOGIN -e IRBT_PASSWORD -ti irbt_cli:latest python3 ./cli.py -h
for wireshark debugging
import sslkeylog
sslkeylog.set_keylog("sslkeylog.txt")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
irbt-0.14.0.tar.gz
(16.9 kB
view details)
Built Distribution
irbt-0.14.0-py3-none-any.whl
(19.6 kB
view details)
File details
Details for the file irbt-0.14.0.tar.gz
.
File metadata
- Download URL: irbt-0.14.0.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 993400438160edbb9e5a16a5c817b2f76f6fbb0affce8ba7a0e6f11700a7a848 |
|
MD5 | e40c222380909ff880de6d1061431d99 |
|
BLAKE2b-256 | 2adabc25c93a81fab9c5c94272ebffc0195f854cf7e5a32009004a2af4f9136a |
File details
Details for the file irbt-0.14.0-py3-none-any.whl
.
File metadata
- Download URL: irbt-0.14.0-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c55a7770408e223aef5416bf93ea20f26a47bd0149baa5f390a7c9dfa91e463 |
|
MD5 | 03a6da1b8a32fa6ca654d20f1a368044 |
|
BLAKE2b-256 | 1b5d80be0241633d5094424f97df6d4bb7eaaccb3e37504a9f460ff58d09c3bb |