API List

Last Updated on : 2021-07-14 07:10:06Copy for LLMView as MarkdownDownload PDF

This topic describes the APIs of synchronizing users, getting the user list, and getting user information.

Generate scene templates

Generate scene templates

API Description
Generate Scheduled Power-on Template Generate a scheduled power-on scene template to a specified asset (device). The device will be automatically powered on at the specified time.
Generate Humidity Control Template (High Humidity) Generate a humidity control scene template. When the human presence sensor detects a person and the humidity sensor detects a humidity is greater than the threshold, the dehumidifier will be automatically powered on.
Generate Human Presence Detection Template (Switch On) Generate a human presence detection scene linkage template. When the human presence sensor detects a person, the specified device will be automatically powered on.
Generate Temperature Control Template (Low Temperature) Generate a temperature control scene template. When the human presence sensor detects a person and the temperature sensor detects the temperature is lower than the threshold, the air conditioner is automatically powered on to achieve the specified temperature.
Generate Temperature Control Template (High Temperature) Generate a temperature control scene template. When the human presence sensor detects a person and the temperature sensor detects that the temperature is higher than the threshold, the air conditioner will be automatically powered on to achieve the specified temperature.
Generate Air Quality Management Template (Low Level) Generate an air quality management scene template. When the human presence sensor detects a person and the environmental monitor detects the air quality is lower than threshold, the ventilation system and air purifier will be automatically powered on.
Generate Scheduled Power-off Template Generate a scheduled power-off scene linkage template. The device will be automatically powered off at the scheduled time.
Generate Human Presence Detection Template (Device Off) Generate a human presence detection scene template (device off). When the human presence sensor does not detect a person, the specified device will be automatically powered off.

Use scenario template

Use scenario template

API Description
Apply Temperature Control Template (Low Temperature) Apply a temperature control scene template to a specified asset. When the human presence sensor detects a person and the temperature sensor detects that the temperature is lower than threshold, the air conditioner will be automatically powered on to achieve the specified temperature.
Apply Human Presence Detection Template (Device On) Apply a human presence detection scene template to a specified asset (device). When the human presence sensor detects a person, the specified device will be automatically powered on.
Apply Air Quality Management Template (Low Level) Apply an air quality management scene template. When the human presence sensor detects a person and the environmental monitor detects the air quality is lower than the threshold, the ventilation system and air purifier are automatically powered on.
Apply Humidity Control Template (High Humidity) 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.
Apply Scheduled Power-on Template Apply a scheduled power-on scene template to a specified asset (device). The device will be automatically powered on at the scheduled time.
Apply Scheduled Power-off Template Apply a scheduled power-off scene template to a specified asset (device). The device will be automatically powered off at the scheduled time.
Apply Temperature Control Template (High Temperature) Apply a temperature control scene template to a specified asset. When the human presence sensor detects a person and the temperature sensor detects that the temperature is higher than the threshold, the air conditioner will be automatically powered on to achieve the specified temperature.
Apply Human Presence Detection Template (Device Off) Apply a human presence detection scene template to a specified asset (device). When the human presence sensor detects a person, the specified device will be automatically powered off.

Environmental data query

Environmental data query

API Description
Get Real-time Data of Environment Monitoring by Asset ID Get the real-time environment monitoring data of devices under the specified asset by asset ID, and display the data on multiple pages.
Get Environment Alerts by Asset ID Get the environment monitoring alerts of devices under the specified asset by asset ID, and display the data on multiple pages.
Query Air Quality Query the air quality statistics data returned by the air detector under the specified asset by asset ID.