Skip to content

Map

onMapSet

This message can be received:

  • on the start of a cleaning job, if there are map set changes

Only the data object will be described here. To get information about the whole message, please refer to General

The data object contains the following arguments:

  • mid: Map id
  • type: The type of map set

    Value Description
    ar Rooms
    vw Virtual walls
    mw No mopping zones
  • msid: Map set id. Only present when type = ar
  • subsets: {{ no such element: dict object['description'] }}

    • [subset]: List of subset

      • mssid: Map subset id

Example response

{
  "type": "ar",
  "mid": "199390082",
  "msid": "8",
  "subsets": [
    { "mssid": "7" },
    { "mssid": "12" },
    { "mssid": "17" },
    { "mssid": "14" },
    { "mssid": "10" },
    { "mssid": "11" },
    { "mssid": "13" }
  ]
}