Last Updated on : 2023-06-20 14:54:05download
Send standard commands to control the specified device.
POST: /v2.0/infrareds/{infrared_id}/remotes/{remote_id}/command
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
infrared_id | String | uri | true | The device ID. |
remote_id | String | uri | true | The ID of the specified remote control. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
remote_index | Integer | false | The index ID of the specified remote control. | |
category_id | Integer | true | The ID of the specified product category. | |
key | String | true | The key. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The operation result. |
POST: /v2.0/infrareds/vdevo15345926009****/remotes/d5s65ca55/command
{
"categoryId": 2,
"remoteIndex": 147,
"key": "Power"
}
{
"result": true,
"t": 1630933424188,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback