Scene orchestration is a feature that is provided by the rules engine of IoT Platform. Scene orchestration allows you to create automated workflows in a visualized manner. You can define scene orchestration rules to configure complex interactions between devices and then deploy the rules in the cloud or at the edge.

To create a scene orchestration rule, perform the following steps: Log on to the IoT Platform console and choose Rules > Scene Orchestration. On the page that appears, create a scene orchestration rule. Each scene orchestration rule consists of triggers, conditions, and actions. This rule model is called the TCA model. TCA is short for triggers, conditions, and actions.

Note Only public instances that were activated before July 30, 2021 and Enterprise Edition instances in the China (Shanghai) region support the scene orchestration feature.

When an event or property change that is defined in a trigger occurs, IoT Platform determines whether to perform the actions that are defined in the rule based on the defined conditions. If the conditions are met, IoT Platform performs the defined actions. Otherwise, IoT Platform does not perform the actions.

Assume that you arrive home at 18:00 every day. In the summer, you hope that the indoor temperature is cool and comfortable when you get home. In this case, you can create a rule to automate the air conditioner.

The following figure shows the parameters.

Edit a scene orchestration rule

The following table describes the parameters.

Parameter Description Logical operator
Trigger This rule is triggered at 18:00 every day. For more information about how to write a CRON expression, see CRONTAB. Or (||)
Condition If the indoor temperature that is reported by a temperature sensor is higher than 26°C, the action is performed. And (&&)
Action Turn on the air conditioner and set the temperature to 26°C. And (&&)

For more information about how to create scene orchestration rules, see Scene orchestrations in the cloud.