These commands retreive the cleaning history from the vacuum.
Key |
Value |
Comment |
method |
"get_clean_summary" |
|
id |
id |
Random integer which is returned in the response used to link request and response. |
{
"method": "get_clean_summary",
"id": 2
}
Key |
Example |
Description |
- |
16414 |
Total cleaning time in sec |
- |
252165000 |
Total area (in cm2) |
- |
9 |
Total # cleanups |
- |
[1497139200, 1496966400, 1496620800, 1496534400, 1496448000, 1496361600] |
Array of cleaning records ID's |
{
"result": [16414, 252165000, 9, [1497139200, 1496966400, 1496620800, 1496534400, 1496448000, 1496361600]],
"id": 2
}
Key |
Value |
Comment |
method |
"get_clean_record" |
|
params |
[cleaning_id] |
cleaning_id can be taken from the array of get_clean_summary . |
id |
id |
Random integer which is returned in the response used to link request and response. |
{
"method": "get_clean_record",
"params": [1497139200],
"id": 263
}
Key |
Example |
Description |
- |
1497163727 |
Start time (unix timestamp) |
- |
1497165195 |
End time (unix timestamp) |
- |
1468 |
Cleaning duration (in s) |
- |
22902500 |
Area (in cm²) |
- |
0 |
Errors?? |
- |
1 |
Completed (0=no, 1=yes) |
{
"result": [[1497163727, 1497165195, 1468, 22902500, 0, 1]],
"id": 263
}