Scenario Management¶
Scenarios allow users to easily automate the operation of connected objects and activate a series of pre-programmed actions based on an event or schedule. For example:
Pressing the trigger button next to the door launches the “I’m leaving” scenario: turn off all lights, close shutters, set heating to ECO mode.
At 7:00 AM open all shutters
Trigger¶
A trigger is an event that will cause a scenario to execute. The “When…” section allows you to choose it (App: scenario).
The trigger is optional: if no trigger is selected, the scenario can only be used via the app.
With or without a trigger, manual triggering is always possible via the app.
There are 4 types of triggers:
at a specific time: days/time of week (i.e. at 8:00 AM, Monday to Friday) based on a CRON expression
by pressing a button (mesh or EH)
on sensor data
The sensor reading goes above/below a threshold (brightness, temperature, humidity)
Motion is detected or not
Manual via the app (or via IoTHub for admin): this triggering is always possible for each scenario. It is not offered when creating/modifying the scenario.
Requirement: minimum number of scenarios in a home to be defined
- Related features:
ref-feature-scenario-controller
- Related products:
ref-model-REF12.1
ref-model-REF12.2