User guide

Composer Pro User Guide
Copyright © 2011 Control4. All Rights Reserved.
200-00005 Composer Pro
User Guide Part 2
Page 92 of 179
Programming Item Description
Events
Events All programming begins with events. An event is a “when” statement. An
event is the trigger report that something happened that results in an automation.
Events happen instantaneously. On a Keypad, pushing a button is one event.
Actions all occur under Events. Examples of events include:
When the door opens
When it is 7:00 AM
When it is sunrise
Actions
After the event identifies to the system that something occurred, it sends actions.
The following are the methods that are used by the system to define actions:
Commands. The Commands tab displays all available commands for a
selected item in the Action Device Tree. A command is a “do”
statement. Commands are actions the Director tells the device to do.
Examples of commands include:
Light: on, off
VCR device: play, stop, pause
CD Changer device: go to disk
Security device: arm, disarm
TV device: Power on/off, change channel
Conditionals. The Conditionals tab displays all available conditionals for
a selected item in the Action Device tree. A conditional is an “if
statement. An “if” statement asks a true/false question to the device.
Examples of conditionals include:
If door is open
If after 5 PM
If light is greater than 50 percent
Loops. The Loops tab displays all available loops for a selected item in
the Action Device tree. A loop is another type of conditional. A
conditional loop is a “while” statement. It is something that is ongoing.
Examples of conditional loops:
While the sprinklers are on
While the motion detector detects movement
While a doorbell switch is being pressed
Delays. A delay stalls a program from running to ensure actions that
occur at the right time.
Script the linking of events and actions is defined on the script.
Script
The linking of events and actions is defined in the script.