Map¶
getCachedMapInfo¶
Command to get information about all maps.
Request¶
Only the name and the payload arguments will be described. General information can be found under Command General.
- Name:
getCachedMapInfo - Payload arguments: None
Response¶
Only the data object will be described here.
To get information about the whole response, please refer to
Command General.
The data object contains the following arguments:
-
info: A list of map objectsmid: Map idindex: internal indexusing:1means currently used map. Otherwise0built:1means map is built; Complete clean was done and bot returned successfully to charging stationname: Name of map set by the user
Example response
{
"enable": 1,
"info": [
{
"mid": "199390082",
"index": 0,
"status": 1,
"using": 1,
"built": 1,
"name": "Erdgeschoss"
},
{
"mid": "722607162",
"index": 3,
"status": 0,
"using": 0,
"built": 0,
"name": ""
}
]
}
getMapSubSet¶
Command to get map subset information.
Request¶
Only the name and the payload arguments will be described. General information can be found under Command General.
- Name:
getMapSubSet -
Payload arguments:
mid: Map id-
type: The type of map setValue Description ar Rooms vw Virtual walls mw No mopping zones
mssid: Map subset id 1msid: Map set id
Example payload
{
"mid": "199390082",
"msid": "8",
"type": "ar",
"mssid": "17"
}
Response¶
Only the data object will be described here.
To get information about the whole response, please refer to
Command General.
The data object contains the following arguments:
mid: Map id-
type: The type of map setValue Description ar Rooms vw Virtual walls mw No mopping zones
mssid: Map subset id 1value: List of coordinatessubtype: Room type 1connections: Connections to other rooms 1
Example response
{
"type": "ar",
"mssid": "12",
"value": "-2700,-7450;-2700,-6750;-2550,-6650;...",
"subtype": "12",
"connections": "17,14,10,11,13,7",
"mid": "199390082"
}
clearMap¶
Clear/reset the map
Request¶
Only the name and the payload arguments will be described. General information can be found under Command General.
- Name:
clearMap -
Payload arguments:
mid: Map id-
type: Which type should be clearedValue Description all All types will be cleared. In other words the complete map is cleared.
Example payload
{
"mid": "353140366",
"type": "all"
}
Response¶
No specific response expected, as this is a executing command. General information about responses can be found under rest.