Last Updated on : 2023-06-15 05:15:52
During the pairing, send the standard commands to control the specified device.
POST: /v2.0/infrareds/{infrared_id}/testing/command
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
infrared_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
remote_index | Integer | false | The ID of a specified remote control index. | |
category_id | Integer | false | The ID of a specified category. | |
key | String | false | The key. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The operation result. |
POST: /v2.0/infrareds/vdevo15345926009****/testing/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