Last Updated on : 2023-06-20 14:54:07download
The remote control sends an infrared code to control the specified device through key commands.
POST: /v2.0/infrareds/{infrared_id}/remotes/{remote_id}/raw/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 |
---|---|---|---|---|
category_id | Integer | true | The ID of the specified product category. | |
key_id | Integer | false | The key ID. | |
key | String | false | The key. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The operation result. |
POST: /v2.0/infrareds/vdevo15345926009****/remotes/d5s65ca55/raw/command
{
"category_id": 2,
"key": "power",
"key_id": 1
}
{
"result": true,
"t": 1630933424188,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback