Last Updated on : 2023-06-15 05:05:33
Query the current status of a specified device. Currently, only infrared air-conditioners are supported.
GET: /v2.0/iot-03/automations/infrared/ac/{device_id}/status
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Parameter name | Type | Description |
---|---|---|
result | AcStatusExtsRes | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
power_open | Boolean | Indicates whether a specified air conditioner is powered on. Valid values:
|
power_name | String | The name of power-on status. |
mode | Integer | The mode. |
mode_name | String | The mode name. |
temperature | Integer | The temperature. |
temperature_name | String | The temperature name. |
fan | Integer | The fan. |
fan_name | String | The wind speed name. |
GET: /v2.0/iot-03/automations/infrared/ac/6c819d650100a35f9e****/status
{
"result": {
"fan_name": "Low speed",
"power_name": "Power-on",
"power_open": true,
"mode": 1,
"temperature_name": "temperature 22°C",
"fan": 1,
"temperature": "22",
"mode_name": "Heating mode"
},
"t": 1635734252399,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback