Stats¶
onStats
¶
This message can be received:
- during a cleaning job on each cleaned m²
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:
area
: The cleaned area in m²time
: The elapsed time since starting this job in secondscid
: Cleaning idstart
: Datetime, when clean job was startedtype
: The cleaning type
Example response
{
"area": 36,
"time": 2063,
"cid": "111",
"start": "1297462509",
"type": "spotArea"
}
reportStats
¶
This message can be received:
- on the start of a cleaning job
- on the end (stop) of a cleaning job
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:
cid
: Cleaning job idtype
: Cleaning type-
stop
: {{ no such element: dict object['description'] }}Value Description 0 Job started 1 Job finished
area
: The cleaned area in m² 1time
: The cleaning time in seconds 1start
: datetime, when clean job was started 1content
: The map-sub-set (room) ids, which should be cleaned by this job 1-
stopReason
: The stop reason 1Value Description 1 finished normally 2 stopped manually 3 finished with warnings (e.g. one room not cleaned as it was blocked)
Example response
{
"cid": "1319392469",
"type": "spotArea",
"stop": 1,
"mapCount": 15,
"area": 0,
"time": 7,
"start": "1297811709",
"content": "7,12,11,14",
"stopReason": 2
}