Last Updated on : 2023-12-07 03:33:47download
Based on the user's home ID and automation scene type, query the list of devices that support automation scenes.
GET: /v1.0/homes/{home_id}/automation/devices
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
home_id | String | uri | true | The ID of the user's home. |
type | String | query | false | The supported type. Valid values:
|
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
device_id | String | The device ID. |
uuid | String | The universally unique identifier (UUID) of the specified device. |
name | String | The name. |
home_id | String | The home ID. |
product_id | String | The product ID. |
GET: /v1.0/homes/242****/automation/devices?type=condition
{
"tid": "111e37e87d3c11eeaf40161d72836dc2",
"result": [
{
"device_id": "vdevo1****14179625",
"uuid": "vdevo16****414179625",
"product_id": "mr***sde3",
"name": "DMC162-vdevo",
"home_id": "169****15"
},
{
"device_id": "6856****f3eb62e90e",
"uuid": "685605****f3eb62e90e",
"product_id": "xr***ssds",
"name": "Strip Lights in Bedroom",
"home_id": "169****15"
}
],
"t": 1699340743500,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback