Last Updated on : 2023-06-15 05:17:31
Send the infrared codes to control the air conditioner based on the single command received.
POST: /v2.0/infrareds/{infrared_id}/air-conditioners/{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 |
---|---|---|---|---|
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/d5s65ca55/command
{
"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