Last Updated on : 2023-06-15 05:17:16
Control an air conditioner through multiple commands.
POST: /v2.0/infrareds/{infrared_id}/air-conditioners/{remote_id}/scenes/command
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| infrared_id | String | uri | true | The device ID. |
| remote_id | String | uri | true | The ID of a specified remote control. |
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. | |
| power | Integer | true | The power supply. Valid values:
| |
| mode | Integer | false | The working mode. Valid values:
| |
| temp | Integer | false | The temperature. | |
| swing | Integer | false | The swing mode (not supported currently). | |
| wind | Integer | false | The wind speed. Valid values:
|
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | The operation result. |
POST: /v2.0/infrareds/vdevo15345926009****/air-conditioners/d5s65ca55/scenes/command
{
"power": 1,
"mode": 0,
"temp": 26,
"wind": 1
}
{
"result": true,
"t": 1630933424188,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback