Retrieves the initial status of the device.
The init_status
simply consists of Locale Information, Firmware Features and the Status Message.
Key | Value | Comment |
---|---|---|
method | "app_get_locale" |
|
id | id |
Random integer which is returned in the response used to link request and response. |
{
"method": "app_get_locale",
"id": 5879
}
Key | Example & Description |
---|---|
local_info |
see Locale Information |
feature_info |
see Firmware Features |
status_info |
see Status Message |
{
"result": [{
"local_info": {
"name": "custom_A.03.0070_CE",
"bom": "A.03.0070",
"location": "de",
"language": "en",
"wifiplan": "",
"timezone": "Europe/Berlin",
"logserver": "awsde0.fds.api.xiaomi.com",
"featureset": 1
},
"feature_info": [111, 112, 113, 114, 115, 116, 117, 118, 119, 122, 125],
"status_info": {
"state": 8,
"battery": 100,
"clean_time": 2496,
"clean_area": 34912500,
"error_code": 0,
"in_cleaning": 0,
"in_returning": 0,
"in_fresh_state": 1,
"lab_status": 1,
"water_box_status": 1,
"map_status": 3,
"is_locating": 0,
"lock_status": 0,
"water_box_mode": 204,
"water_box_carriage_status": 1,
"mop_forbidden_enable": 1
}
}
],
"id": 6652
}