Table of contents
Creating scenes with graphical blocks is the middle ground between Magic scenes and Lua scenes.
As with Magic scenes, Block scenes are created visually, however there is no limitation to the number of actions that can be performed once the scene is triggered and to the number of triggers. Each block represents a trigger that will cause the scene to run, or an action that the scene needs to perform.
Creating a Block Scene
- Start by adding a new scene. Select Scenes section from the top menu.
- Click Add scene button located in the left sidebar.
- You will be given three scene type choices. In Add scene using graphic blocks section press Add button to start creating a Block Scene.
- Triggers that will cause the scene to run must be selected. In almost blank box click + button at the beginning. List of trigger types will be displayed.
Variables (gray) – trigger at change of a variable’s value
Timers (red) – trigger at specified time and date or interval
Devices (blue) – trigger at change of device’s status
GPS (light green) – trigger at GPS location event
- In this example the scene will be triggered by detecting motion. After clicking the + button navigate through section and room selection to find your device, and select it by clicking.
- Selected device name will be listed and checked on the trigger list above
Every change of checked trigger state will run the scene. If you want it to act only as a condition, uncheck it.
- Graphical block representing the device will be added. Block is divided into different sections:
Colours of blocks
Yellow – operator to compare the current device status with chosen status
Green – status compared with current device status
Red – time delay of the trigger
- In the green section select the Breached status.
- There are two plus signs on the screen. One immediately following the first trigger and one at the very end of the scene. Clicking the first plus sign allows to add one of two commands:
And – to add another trigger (both triggers must be activated to start the scene)
Or – to add another trigger (any of the triggers will start the scene).
You can add any number of triggers. It is recommended to keep all triggers in the bracket.
- Yellow logic operator block placed after triggers allows choosing Then operator that ends trigger selection and allows to add acting blocks.
- Click + button after Then operator block to start selection of acting block. There are few different types of action.
Scenes (purple) – trigger another scene
Rooms (dark gray) – turn on/off all devices, open/close all blinds, arm/disarm all sensors in selected room
Devices (blue) – change status of selected device
Cameras (pink) – take a picture from a camera
Virtual devices (dark blue) – activate virtual device’s button, edit label or set slider
Notifications (brown) – send SMS, e-mail, Push or Interactive push notification
- In this example after breaching the Motion Sensor the light will be turned on. After clicking the + button navigate through section and room selection to find your device, and select it by clicking.
- Graphical block representing the acting device will be added. Block is divided into different sections just as triggering device, but green section represents action to be performed by the device.
- In the green section select the Turn On action.
- Click Save under the graphical blocks section to save the scene.
- Scene will be added and configuration screen will be displayed allowing to change the scene’s settings.
Room – change room the device is assigned to
Max. running instances – number of copies of the same scene running at the same time (some scenes might need more instances to run properly, e.g. executing scene with a delay might block an instance for some time and preventing running another evaluation of conditions)
Run Scene – scene may start automatically (after meeting specified condition), manually (afer clicking in the interface or running it from another scene/VD) or may be disabled
Start when Home Center 2 starts – scene will run at Home Center startup
Protect by PIN – after activating this option running and stopping must be confirmed with PIN code
Do not allow alarm to stop scene while alarm is running – for safety reason most scenes are stopped while alarm is running. It is not recommended to change this setting unless it is not alarm scene
Change Icon – this button allows to change icon displayed in the interface
- Change the name of your scene to make it recognizable and assign it to a room. Save using the button on the right hand sidebar.
- Created scene will be visible in the main window as below:
ON/OFF slider enables/disables the scene.
Clicking the Play button runs the scene.
Przeczytaj po polsku: