Clean modes - mrbungle64/ecovacs-deebot.js GitHub Wiki
cleaning modes
Clean
, Edge
, Spot
, SpotArea
, CustomArea
actions
Stop
, Pause
, Resume
, Charge
SpotArea
area
- comma-separated list of numbers starting by
0
(e.g. 1,3
) for areas to be cleaned.
CustomArea
map_position
- comma-separated list of exactly 4 position values for
x1,y1,x2,y2
(e.g. -3975.00,2280.00,-1930.00,4575.00
)
cleanings
Example code
vacbot.run("Clean"); // Auto clean the current map/floor
vacbot.run("Pause"); // Pause the cleaning process
vacbot.run("SpotArea", "start", "0"); // Clean spot area with ID 0
vacbot.run("SpotArea", "start", "0,3,7"); // Clean spot areas with IDs 0, 3 and 7
vacbot.run("CustomArea", "start", "-3975.00,2280.00,-1930.00,4575.00"); // Clean custom area with the specified coords once
vacbot.run("CustomArea", "start", "-3975.00,2280.00,-1930.00,4575.00", 2); // Clean custom area with the specified coords twice