From 0fa5fe4aaed1064b8befa30318dcaa629d6c34e1 Mon Sep 17 00:00:00 2001 From: Brian Martin Date: Wed, 20 Feb 2019 20:51:34 -0500 Subject: [PATCH] Update protocol.md Update protocol.md to reflect changes to CLI area command. --- protocol.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/protocol.md b/protocol.md index 40c7e8d..4267ef2 100644 --- a/protocol.md +++ b/protocol.md @@ -350,7 +350,9 @@ Different sid "Sound IDs" will play different sounds. If the vacuum has Voice R ### SpotAreas 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'))`