User Scenario

How to configure the User Scenario component in Ilevia Manager and use it in Ilevia Control to record custom scenarios, with a presence simulation example.


Introduction

This component lets the end user define their own custom scenarios directly from their device, without having to call the installer. The scenario is automatically saved in the Ilevia system.

Use cases

  • The user wants scenarios available to customize and modify at their own discretion;

  • The user wants their scenarios to run whenever a specific switch is turned on and/or off;

  • The user wants their scenario to run whenever a specific event occurs in the system.

User Scenario component properties within the Ilevia Manager home automation configuration software

Component properties

The component Title and Icon are customizable. See the “Common properties” guide.

GUI

This component was created using the Graphic UI gateway.

You can refer to the chapter “Gateway / protocols” for further information.

Optional settings, useful if you want to trigger the scenario based on the value of a Switch.

Execution component: Switch or Button components that start the recorded scene;

Evaluate when:

– The execution component changes from Off to On: the User Scenario is executed only when the execution component changes to On;

– The execution component changes from On to Off: the User Scenario is executed only when the execution component changes to Off;

– On every state change: the User Scenario is triggered every time the state changes to On or Off;

Twilight: you can choose to activate the scenario at sunrise or sunset; for this option list you can use only the Twilight component;

Reminder before continuing

  • Download and install the Ilevia Logic plugin to enable plugins (link);

  • After uploading the project to the Ilevia server, wait a couple of minutes for the logics to start.


There are three possible display modes: “Classic”, “Modal”, and “Hidden”. For more information, see the “Common properties” guide.

Procedure for recording actions (Classic/Maps interface)

Step 1

To start recording, hold down the “User Scenario” icon for more than one second, then click the red circular icon at the top right of the screen. You will know recording is active because the house icon at the top left will start blinking red.

How to start recording the User Scenario component in Ilevia Control

Step 2

You can save the recording at any time by holding down the User Scenario icon for more than one second. The control icon of the “User Scenario” component will return to its original color and the house icon will stop blinking, indicating that recording has ended.

Action recording in Ilevia Control

Step 3

During recording, every command that causes a state change is recorded. You can move within the app interface and select each change: lights, dimmers, temperatures, etc.

Recording state changes during User Scenario recording mode in Ilevia Control

Step 4

Once recording is complete, a simple click on the User Scenario icon will play back all the recorded changes in the system.

Playback of recorded actions in Ilevia Control

Step 5

Once at least a second action has been recorded, in the list of recorded User Scenario actions you can change the execution time of the components using the dedicated Time selector; the format is mm : ss (minutes : seconds).

How to set a pause between actions of the User Scenario component in Ilevia Control

Final result

The image below shows the execution of the recorded actions of the User Scenario. As set previously, when the User Scenario is triggered the switch stays on for 5 seconds and then turns off.

Final test of the User Scenario component in Ilevia Control

Graphical representation of the User Scenario component in the Classic user interface of the Ilevia Control app.

List of recordings of the User Scenario component in the Classic interface of Ilevia Control
Execution of the User Scenario component in Ilevia Control

Image source: These images were taken from the Ilevia public demo.

Graphical representation of the User Scenario component in the Maps user interface of the Ilevia Control app.

List of User Scenario recordings in the Maps interface of Ilevia Control
How to trigger the User Scenario in the Maps interface of Ilevia Control

Click the link to download the sample project for the User Scenario component and try it.

Download the project here!

Video tutorial

Presence simulation

Presence simulation gives the impression that someone is always at home. With a User Scenario, you can easily schedule a light to turn on, shutters to move, etc., to simulate people being inside the home and discourage intrusion attempts when you are away.

Step 1

As a first step, drag in the components needed to create the presence simulation system: in this case we will use a User Scenario and 4 switches representing the house lights. If the project already exists, simply drag in the User Scenario to use this function with the already configured devices.

Components for creating presence simulation in Ilevia Manager

Step 2

  • Position the components in the interface (in this example we are using map view) and, to start recording the presence simulation, press and hold the “User Scenario” icon until the screen appears automatically.

  • Press the red icon at the top right to start recording.

  • Recording has started correctly when the house icon in the upper left corner flashes red.

  • Now click the lights/components you want to activate automatically. To end the recording, press and hold the User Scenario icon (the red house icon at the top left will stop flashing).

  • In the next step we will see how to set the start time of each component.

Recording of the User Scenario for presence simulation in Ilevia Control, map view

Step 3

By pressing and holding the User Scenario icon, the scenario screen opens, where you can find the recorded actions. By clicking on each Timer, you can set the delay between one action and the next. In this case, our presence simulator starts like this:

  • Kitchen light turns on immediately.

  • Living room light turns on after 45 minutes.

  • Bedroom light turns on after 30 minutes.

  • Bathroom light turns on after 50 minutes.

Setting the Timers in the User Scenario component in Ilevia Control

Step 4

Once the Timers are set, you can start the presence simulation simply by clicking the User Scenario icon.

Test of the presence simulation with the User Scenario component in Ilevia Control, map view

Last updated: