Owner's Manual (Complete)

Chapter 10—Programs and the Visual Programmer
The Home Control Assistant 21
The Weather Condition trigger provides a means for you to create programs that start when data
from a weather provider passes some test. For example, you can create a program that starts when
the outside temperature goes over 80 degrees.
Weather Condition triggers are fully described in the appendix on Weather Providers.
Flag Value Change Triggers
The Flag Value Change trigger dialog appears as:
Flags can hold Yes and No values and can be created with the Make Flag Yes, Make Flag NO, and
the Compute elements. This type of trigger doesn't test what the flag value is, just what it changes
to. For example, suppose you have these three programs:
Program A. Sets Flag "It's Dark" to No.
Program B. Sets Flag "It's Dark" to Yes.
Program C. Has a trigger that says: When "It's dark" changes to No
When program A runs nothing happens. When program B runs, the change of the Flag to NO
causes Program C to start.
Why wouldn't program B just start program C directly instead of relying on the flag change
trigger? Well it could but it just may be more convenient to do it this way.
This is one place where the Flag Change Event is the best method to use. In the date book (see the
chapter on the Date Book), you can specify that when a selected date becomes "today", that a flag
is assigned a value. Using the date book and flag change triggers you can have programs start
when that date book entry becomes "today's" entry. Again, why not just schedule the program to
start on this day? Well it could be done that way but this may be more convenient.