Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 2.37 KB

water_box_custom_mode.md

File metadata and controls

81 lines (59 loc) · 2.37 KB

Water Box Custom Mode

Gets / sets the water quantity control during the cleaning process.

Get Water Box Custom Mode

Command

Key Value Comment
method "get_water_box_custom_mode"
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "get_water_box_custom_mode",
    "id": 17735
}

Response

Key Example Description
- 201 Water flow mode, see values of Modes

Example

{
    "result": [201],
    "id": 17735
}

Set Water Box Custom Mode

Command

Key Value Comment
method "set_water_box_custom_mode"
params [water_flow_mode] Desired water_flow_mode, see Modes
id id Random integer which is returned in the response used to link request and response.

Modes

Mode Flow
Off 200
Low 201
Medium 202
High 203
Customize (Auto) 204

The "Customize" switch in the Xiaomi app only shows on when both the Custom Mode is set to Auto=106 and the Water Box Custom Mode is set to Auto=204.

Example

{
    "method": "set_water_box_custom_mode",
    "params": [202],
    "id": 17694
}

Response

Standard response to succeeded command.

Example

{
    "result": ["ok"],
    "id": 17694
}