Creating scenarios to control lighting using sensors

Scenario settings “Turn on the light for 5 minutes” and automate “Start the created scenario when the motion sensor is activated”: turn on the main light in the corridor when motion is detected and turn it off 5 minutes after the sensor stops registering movement.

1

Create a new scenario

● In the Dashboard window, at the bottom right you need to select Automation● To create a new automation, click on the "+" icon● In the list that appears, select "Script"In the list that appears, select Scenario

Illustration

2

Select devices

● A window opens with a list of all executable devices configured in the system● You can specify the name of the script by clicking on the "pencil" icon in the upper right corner of the screen● We choose a lamp in the corridor and an object Pause● Then click on the "arrow" in the lower right corner of the screen and go to the script settings

Illustration

3

Setting the lighting in the corridor

● For the lamp in the corridor, select "Turn on"● Copy the lamp in the automation (swipe the lamp tile to the left, click the icon "Copy")● Move the copied lamp to the end of the device list

Illustration

4

Setting the lighting turning off in the hallway

● For pause, select the time after which the lamp in the hallway will be turned off (5 minutes)● For the lamp in the corridor, select "Turn off"

Illustration

Important! The scenario runs in the same order in which the items are placed on the screen.

The result of the described steps:

Created a scenario that turns on and off after 5 minutes, this scenario can be started from the dashboard - by clicking on the appropriate tile, each time you run the scenario the timer will be set to 5 minutes, i.e. if you run the scenario - the light will turn on, if after 4 minutes you restart the scenario the light will turn off after 9 minutes.

Note: You can run this scenario from Dashboard. And you can configure automation to run the scenario using a motion sensor, specifying the created scenario as an executable device.

5

Create a new automation to activate the script

● In the Dashboard window, at the bottom right you need to select Automations● To create a new automation, click on the "+" icon● In the list that appears, select "Automation"


Illustration

6

Select devices

● A window opens with a list of all devices configured in the system● You can specify the name of the automation by clicking on the "pencil" icon in the upper right corner of the screen● In the section With what to manage, select the desired motion sensor● In the What to manage section, the scenario we created● Then click on the "arrow" in the lower right corner of the screen and go to the automation settings

Illustration

7

Automation settings

● For the motion sensor, you need to select from the list the type of event (for example, "Motion detected"), and for the scenario "Start"● After completing all the settings, click the "save" icon

Illustration

The result of the described steps:

Each time the motion sensor detects movement, the main light in the corridor will be switched on for 5 minutes.

Didn’t find the answer to your question?

You can contact the technical support chatbot.Found a mistake on the site? Help us fix it!

Made with