[irobot] Add command "cleanRegions" to clean specific regions only (#9775)
Signed-off-by: Florian Binder <fb@java4.info>
This commit is contained in:
@@ -32,7 +32,7 @@ known, however, whether the password is eternal or can change during factory res
|
||||
|
||||
| channel | type | description | Read-only |
|
||||
|---------------|--------|----------------------------------------------------|-----------|
|
||||
| command | String | Command to execute: clean, spot, dock, pause, stop | N |
|
||||
| command | String | Command to execute: clean, cleanRegions, spot, dock, pause, stop | N |
|
||||
| cycle | String | Current mission: none, clean, spot | Y |
|
||||
| phase | String | Current phase of the mission; see below. | Y |
|
||||
| battery | Number | Battery charge in percents | Y |
|
||||
@@ -52,6 +52,7 @@ known, however, whether the password is eternal or can change during factory res
|
||||
| always_finish | Switch | Whether to keep cleaning if the bin becomes full | N |
|
||||
| power_boost | String | Power boost mode: "auto", "performance", "eco" | N |
|
||||
| clean_passes | String | Number of cleaning passes: "auto", "1", "2" | N |
|
||||
| last_command | String | Json string containing the parameters of the last executed command | N |
|
||||
|
||||
Known phase strings and their meanings:
|
||||
|
||||
@@ -137,6 +138,14 @@ Error codes. Data type is string in order to be able to utilize mapping to human
|
||||
| 75 | Navigation problem |
|
||||
| 76 | Hardware problem detected |
|
||||
|
||||
## Cleaning specific regions
|
||||
You can clean one or many specific regions of a given map by sending the following String to the command channel:
|
||||
|
||||
```
|
||||
cleanRegions:<pmapId>;<region_id1>,<region_id2>,..
|
||||
```
|
||||
The easiest way to determine the pmapId and region_ids is to monitor the last_command channel while starting a new mission for the specific region with the iRobot-App.
|
||||
|
||||
## Known Problems / Caveats
|
||||
|
||||
1. Sending "pause" command during missions other than "clean" is equivalent to sending "stop"
|
||||
|
||||
Reference in New Issue
Block a user