Last Updated on : 2023-06-20 14:54:09
Send a command of setting the valve openness to a smart water meter. On receiving the command, the smart water meter will set the valve openness.
POST: /v1.0/water-meter/{device_id}/actions/valve-open-degree
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
open_percent | Integer | false | The valve openness. Unit: %. |
Parameter name | Type | Description |
---|---|---|
result | CmdIssueResultResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
sn | String | The command record ID. |
POST: /v1.0/water-meter/6ce****/actions/valve-open-degree
{
"openPercent": 10
}
{
"result": {
"sn": "133****"
},
"t": 1561456817168,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback