Skip to content

SpotArea

Sascha edited this page Apr 25, 2021 · 3 revisions

Retrieve current spot area ids from log output while cleaning

  1. Install the library and prepare the example app

  2. Start example app:

node app2.js | grep 'CurrentSpotAreaID'

or

NODE_ENV=dev node app2.js | grep 'CurrentSpotAreaID'
  1. Start a cleaning

  2. Then the current spot area ids are output in the log. For example:

[...] CurrentSpotAreaID: 0
...
[...] CurrentSpotAreaID: 7

Remark: Sometimes the CurrentSpotAreaID is unknown. This happens, for example, while the bot is charging or while it is between two spot areas.

Clone this wiki locally