Last Updated on : 2023-12-07 03:33:56download
Query the latest status of the device based on the device ID. To query the firmware to be upgraded, please call the [Get device upgrade information] interface.
GET: /v1.0/devices/{device_id}/status
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | Device ID |
Parameter name | Type | Description |
---|---|---|
result | List | result |
Description of result
Parameter name | Type | Description |
---|---|---|
code | String | Status Code |
value | Object | Current Value |
GET: /v1.0/devices/xxxx/status
[
{
"code": "switch_led",
"value": true
},
{
"code": "work_mode",
"value": "scene_2 "
}
]
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback