Last Updated on : 2023-12-07 03:33:49download
Based on the home ID, query a list of devices that support scenes in the specified home.
GET: /v1.0/homes/{home_id}/scene/devices
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
home_id | String | uri | true | The home ID. |
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****/scene/devices
{
"tid": "aeb798b67d3b11eeaf40161d72836dc2",
"result": [
{
"device_id": "6cf0ca9****ab76bfjntj",
"uuid": "tuyaac****14d253",
"product_id": "tu****14d",
"name": "Fingerbot Plus",
"home_id": "169****15"
},
{
"device_id": "6856054****b62e90e",
"uuid": "685605****3eb62e90e",
"product_id": "tu****143",
"name": "Strip Lights in Bedroom",
"home_id": "169****15"
}
],
"t": 1699340578365,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback