Last Updated on : 2023-06-19 07:07:17
Query the device list under the family according to the family ID.
GET: /v1.0/homes/{home_id}/devices
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| home_id | Long | uri | true | Family ID |
| Parameter name | Type | Description |
|---|---|---|
| result | List |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| id | String | Device ID |
| uuid | String | Unique Device ID |
| uid | String | User ID |
| biz_type | Integer | App bizType |
| name | String | Device Name |
| time_zone | String | Time Zone |
| ip | String | Device ip |
| local_key | String | Key |
| sub | Boolean | Judging whether it is a sub-device, true is true, false is not |
| model | String | Product Model |
| create_time | Long | The time when the device was first allocated to the network |
| update_time | Long | Device status update time |
| active_time | Long | The last time the device was networked |
| status | List | Device function status |
| owner_id | String | Device Owner ID |
| product_id | String | Product ID |
| product_name | String | Product Name |
| category | String | Product Category |
| icon | String | Device Icon |
| online | Boolean | Whether online, true online, false not online |
| node_id | String | Exists when sub=true, that is, the sub-device stores the value |
Description of status
| Parameter name | Type | Description |
|---|---|---|
| code | String | Function code |
| value | Object | Function Value |
GET: /v1.0/homes/3196002/devices
{}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback