Set Over-Temperature Protection Value

Last Updated on : 2023-06-20 14:54:13

Send a command of setting an over-temperature protection value to a circuit breaker. On receiving the command, the circuit breaker will set the over-temperature protection value.

API address

POST: /v1.0/electric-energy/{device_id}/actions/temp-over

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe ID of a Tuya device.

Description of body

Parameter nameTypeINRequiredDescription
temp_overInteger trueThe value of over-temperature protection. Unit: °C.

Return parameter

Parameter nameTypeDescription
resultCmdIssueResultResponseThe returned result.

Description of result

Parameter nameTypeDescription
snStringThe ID of a specified command record.

Request example

POST: /v1.0/electric-energy/6ce****/actions/temp-over
{
  "tempOver": 10
}

Return example

{
    "result": {
        "sn": "133****"
    },
    "t": 1561456817168,
    "success": true
}

Error code

For more information, see error code.