Last Updated on : 2023-06-21 07:12:57download
Control the same data point of multiple devices. This way, you can control the devices in bulk.
POST: /v1.0/iot-02/lighting/devices/dp
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| spaceId | String | body | true | The ID of a specified space. |
| deviceIds | String[] | body | true | The list of device IDs. |
| dpCode | String | body | true | The code of a specified data point. |
| dpValue | String | body | true | The value of a specified data point. |
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | The returned result. |
POST: /v1.0/iot-02/lighting/devices/dp
{
"result": true,
"t": 1640680709211,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback