Last Updated on : 2023-12-07 03:33:53download
Linked group action to get family support
GET: /v1.0/homes/{home_id}/linkage/device-group/functions
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| home_id | String | uri | true | Family ID |
| Parameter name | Type | Description |
|---|---|---|
| result | List |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| device_id | String | Device ID |
| entity_id | String | Entity ID |
| functions | List | Action performed |
| status | List | Operation trigger conditions |
Description of functions
| Parameter name | Type | Description |
|---|---|---|
| code | String | Standard issued instruction Code |
| name | String | Code Name |
| type | String | Send data type |
| values | Map | The value range corresponding to Code |
Description of status
| Parameter name | Type | Description |
|---|---|---|
| code | String | Standard issued instruction Code |
| name | String | Code Name |
| type | String | Data type issued |
| values | Map | The value range corresponding to Code |
Description of values
| Parameter name | Type | Description |
|---|---|---|
| values | String |
GET: /v1.0/homes/52323xx/linkage/device-group/functions
[
{
"device_id": "0120090568c63a89xxxx",
"functions": [
{
"code": "bright_value",
"values": {
" min": 25,
"max": 255,
"scale": 0,
"type": "value",
"unit": " ",
"step": 1
},
"type": "Integer",
"name": "brightness"
}
],
"status": [
{
"code": "work_mode",
"values": {
"range": [
"white",
"colour",
"scene",
"scene_1",
"scene_2",
"scene_3",
"scene_4"
],
"type": "Enum"
},
"type": "Enum",
"name": "mode"
}
]
}
]
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback