Last Updated on : 2024-06-29 01:47:37download
Get the latest status of a single device.
GET: /v1.0/iot-03/devices/{device_id}/status
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | Device ID |
Parameter name | Type | Description |
---|---|---|
result | List |
Description of result
Parameter name | Type | Description |
---|---|---|
code | String | Status code |
value | Object | Status value |
GET: /v1.0/iot-03/devices/xxxxId/status
{
"result": [
{
"code": "switch_led",
"value": true
},
{
"code": "work_mode",
"value": "scene_2"
}
],
"t": 1591872112140,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback