[HC2/HCL] Creating Block Scenes

Description

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

  1. Start by adding a new scene. Select Scenes section from the top menu.
    Scenes
  2. Click Add scene button located in the left sidebar.
    Add_scene
  3. You will be given three scene type choices. In Add scene using graphic blocks section press Add button to start creating a Block Scene.
    Graphic_blocks
  4. 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.
    Block-Scenes1

 

Available triggers

Weather (light blue) – trigger at specific weather condition
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
 
  1. 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.
    Block-Motion2
  2. Selected device name will be listed and checked on the trigger list above
    Block-Motion3

    Every change of checked trigger state will run the scene. If you want it to act only as a condition, uncheck it.

  3. Graphical block representing the device will be added. Block is divided into different sections:
    Block-Motion4

 

Colours of blocks

Blue – triggering device, the downward arrow allows to choose few devices of the same type to act as triggers
Yellow – operator to compare the current device status with chosen status
Green – status compared with current device status
Red – time delay of the trigger
 
  1. In the green section select the Breached status.
    Block-Motion-Breached
  2. 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.

    Block-Light-And

  3. Yellow logic operator block placed after triggers allows choosing Then operator that ends trigger selection and allows to add acting blocks.
    Block-Then
  4. Click + button after Then operator block to start selection of acting block. There are few different types of action.
    Block-Scenes4

 

Available actions

Variables (gray) – change value of a variable
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
 
  1. 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.
    Block-Dimmer2
  2. 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.
    turnon-dimmer
  3. In the green section select the Turn On action.

    Block-Scenes5

  4. Click Save under the graphical blocks section to save the scene.

    save

  5. Scene will be added and configuration screen will be displayed allowing to change the scene’s settings.
    block_scene_4x

 

Configuration options

Name – change scene’s name
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
 
  1. 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.
    Save
  2. Created scene will be visible in the main window as below:
    newscene

    ON/OFF slider enables/disables the scene.

    Clicking the Play button runs the scene.

  3.  

    Przeczytaj po polsku:

    Tworzenie scen blokowych

December 8, 2016   26115    Getting Started, Tutorials    
Total 27 Votes:
5

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Comments are closed.