Get Air Conditioner Status

Last Updated on : 2023-06-20 14:54:05download

Query the current status of the air conditioner based on the entered remote control ID.

API address

GET: /v2.0/infrareds/{infrared_id}/remotes/{remote_id}/ac/status

Request parameter

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.

Return parameter

Parameter name Type Description
result AcStatusResultVO

Description of result

Parameter name Type Description
power String The power supply.
mode String The mode.
temp String The temperature.
wind String The wind speed.
remote_id String The ID of a specified remote control.

Request example

GET: /v2.0/infrareds/vdevo15345926009****/remotes/d5s65ca55/ac/status

Return example

{ "result": { "temp": "25", "mode": "4", "power": "1", "wind": "0" }, "t": 1630913243979, "success": true }

Error code

For more information, see error code.