[Deprecate]Industrial General Scene Linkage

Last Updated on : 2023-07-14 03:02:43download

This API or API group is deprecated. You can use or migrate to the recommended alternative API. For more information, see Deprecated API services.

Provides scenario automation capabilities and supports triggering multiple devices to perform different actions at the same time based on any device, time or environment. For example, turn on classroom lights and air-conditioning equipment at 9 o'clock, and turn on the air-conditioning to cool when the indoor temperature reaches 30 degrees.

One Click Execution

API NameURL
Add Tap-to-RunPOST:/v2.0/iot-03/scenes
Query Tap-to-Run DetailsGET:/v2.0/iot-03/scenes/{scene_id}
Delete Tap-to-RunDELETE:/v2.0/iot-03/scenes/{scene_id}
Update Tap-to-RunPUT:/v2.0/iot-03/scenes/{scene_id}
Query Tap-to-Run ListGET:/v2.0/iot-03/scenes
Execute Tap-to-RunPUT:/v2.0/iot-03/scenes/{scene_id}/trigger

Scenario Automation

API NameURL
Query Automation DetailsGET:/v2.0/iot-03/automations/{automation_id}
Update Automation ScenePUT:/v2.0/iot-03/automations/{automation_id}
Delete AutomationDELETE:/v2.0/iot-03/automations/{automation_id}
Add Automation ScenePOST:/v2.0/iot-03/automations
Disable AutomationPUT:/v2.0/iot-03/automations/{automation_id}/disable
Query Automation ListGET:/v2.0/iot-03/automations
Enable AutomationPUT:/v2.0/iot-03/automations/{automation_id}/enable

Query weather conditions supported by automation scenes

API NameURL
Query City InformationGET:/v2.0/iot-03/automations/cities/positions
Query City ListGET:/v2.0/iot-03/automations/cities
Query Weather CodeGET:/v2.0/iot-03/automations/weathers/codes

Query IR device command set

API NameURL
Query Standard Instruction Set of IR DevicesGET:/v2.0/iot-03/automations/infrared/devices/{device_id}/specifications
Query Device StatusGET:/v2.0/iot-03/automations/infrared/ac/{device_id}/status

Query device instruction set

API NameURL
Query Standard Instruction SetGET:/v2.0/iot-03/automations/devices/{device_id}/specifications