Skip to content

CustomArea

Sascha edited this page Sep 5, 2021 · 17 revisions

Usage

Command

vacbot.run("CustomArea", "start", map_position, cleanings);

map_position

  • comma-separated list of exactly 4 position values for x1,y1,x2,y2 (e.g. -3975.000000,2280.000000,-1930.000000,4575.000000)

cleanings

  • 1, 2

Retrieve coordinates from log output

  1. Install the library and prepare the example app

  2. Start example app:

node ./mapInfo.js | grep 'LastUsedAreaValues'

or if you want to see the full log output

node ./mapInfo.js
  1. Start a custom cleaning from mobile app

  2. Then the coordinates are output in the log. For example:

[...] LastUsedAreaValues: -4498.000000,-1935.000000,-2814.000000,-3412.000000
  1. Repeat step 3 for more custom areas
Clone this wiki locally