Owner`s manual
Continued
19
Cortexa 7202 ConfIguratIon utIlIty
Names, Triggers, Cases aNd aCTioNs
These are the four things to consider in event writing. Here’s what they are and how they
are used:
naMe
Each event must have a unique name. Be sure to name events with a name that indicates
what they do. For example, an event run before going to bed might be called “Goodnight”.
After a while you will have many events in your system.
trIgger
Events may or may not have a trigger. The trigger is what will start the event running. There
are many possible triggers; time, sunrise/sunset, weather condition and so on. For example,
a lighting scene may be triggered by sunset. Most events have triggers. Without a trigger,
an event will only run when manually initiated. There are events where you will want this
to be the case. An example might be audio events. Other than perhaps turning on audio
when you wake in the morning, for the most part it will be a spontaneous decision to listen
to music throughout the home. But when that time comes, just start the event and the music
can be playing in every room, from the same or different sources, at the desired volume in
each room.
Case
Events may or may not make use of case statements. A case is a condition that will be tested,
then dependent on the outcome of the condition, the action will or will not execute. A good
example is with irrigation events. You have an event that turns on your sprinkler zones,
however you don’t want to water your yard if the wind is blowing at 25 mph just when you
are ready to water. The condition of the case would then be to check wind speed. We will
look at this specic example later in this section.
aCtIon
All events will have at least one action statement. Without an action statement an event
would not perform any function. Action statements will typically involve one or more devices.
For example, turn light(s) on, set thermostat temperature, set audio source, record video
from a camera. There are also situations, such as having the system send you an email,
where no device is involved, however this is still an action.