Update protocol.md

Update protocol.md to reflect changes to CLI area command.
This commit is contained in:
Brian Martin
2019-02-20 20:51:34 -05:00
parent b7341b0735
commit 0fa5fe4aae
+3 -1
View File
@@ -350,7 +350,9 @@ Different sid "Sound IDs" will play different sounds. If the vacuum has Voice R
### SpotAreas ### SpotAreas
For bots with mapping capability this tells a bot to clean specified rooms. For bots with mapping capability this tells a bot to clean specified rooms.
For the CLI - the `spotclean` command takes a csv of ints - ex `spotclean 0,1` For the CLI - the `area` command takes a csv of ints - ex `area 0,1`
You can add the option `--map-position` or `-p` to clean a specified map coordinate - ex `area -p "-602,1812,800,723"`
For the Library - you could use `vacbot.run(SpotArea('start', '0,1'))` For the Library - you could use `vacbot.run(SpotArea('start', '0,1'))`