Last Updated on : 2023-12-07 03:33:48download
Issue standard instructions to control equipment
POST: /v1.0/devices/{device_id}/commands
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| device_id | String | uri | true | device id |
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| commands | String | true | issue commands |
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean |
POST: /v1.0/devices/vdevo*****/commands
{
"commands": [
{
"code": "switch_led",
"value": true
},
{
"code": "bright",
"value": 30
}
]
}
true
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback