Last Updated on : 2023-06-20 14:54:03download
During pairing, a remote control can send infrared codes to control an air conditioner based on the single command received.
POST: /v2.0/infrareds/{infrared_id}/air-conditioners/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 | body | true | The index ID of the specified remote control. |
category_id | Integer | body | true | The ID of the specified product category. |
code | String | body | true | The command. |
value | Object | body | true | The value of the specified command. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The operation result. |
POST: /v2.0/infrareds/vdevo15345926009****/air-conditioners/testing/command
{
"remote_index": 3327,
"category_id": 5,
"code": "temp",
"value": 26
}
{
"result": true,
"t": 1630933424188,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback