Apply Humidity Control Template (High Humidity)

Last Updated on : 2023-06-21 07:13:05download

Apply a humidity control scene template. When the human presence detector detects a person and the humidity sensor detects that humidity is greater than the threshold, the dehumidifier will be automatically powered on.

API address

POST: /v1.0/iot-03/scene-templates/50001/assets/{asset_id}/actions/apply

Request parameter

Parameter name Type IN Required Description
asset_id String uri true The ID of a specified asset.

Description of body

Parameter name Type IN Required Description
time_zone_id String true The time zone.

Return parameter

Parameter name Type Description
result String The ID of a specific linkage rule.

Request example

POST: /v1.0/iot-03/scene-templates/50001/assets/137430645338433****/actions/apply
{ "time_zone_id": "Asia/Shanghai" }

Return example

{ "result": "14****", "t": 1624949595997, "success": true }

Error code

For more information, see error code.