Skip to content

Water

getWaterInfo

Command to get water information.

Request

Only the name and the payload arguments will be described. General information can be found under Command General.

  • Name: getWaterInfo
  • 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:

  • enable: Indicates if mop is attached. Should be interpreted as boolean.
  • amount: The amount, which is currently set.

    Value Description
    1 low
    2 medium
    3 high
    4 ultra high

Example response

{
  "enable": 0,
  "amount": 4
}

setWaterInfo

Command to set the water amount.

Request

Only the name and the payload arguments will be described. General information can be found under Command General.

  • Name: setWaterInfo
  • Payload arguments:

    • amount: The water amount

      Value Description
      1 low
      2 medium
      3 high
      4 ultra high

Example payload

{
  "amount": 4
}

Response

No specific response expected, as this is a executing command. General information about responses can be found under rest.