Difference between revisions of "ISY-99i/ISY-26 INSTEON:Add to Program"

From Universal Devices, Inc. Wiki
Jump to: navigation, search
Line 65: Line 65:
 
==Action==
 
==Action==
  
The action button adds the action information in the ‘Then’ and ‘Else’ section of the program.  It is defines the action taken after the condition is met or the trigger occurs.
+
The "Action" button adds the action information in the ‘Then’ and ‘Else’ section of the program.  It is defines the action taken after the condition is met or the trigger occurs.
  
An action can be setting a device to a defined state that is ON/OFF or set level.  The type of action is dependent on the device type.  The devices that are supported are INSTEON or X10 compatible devices.
+
An Action can be setting a device to a defined state that is ON/OFF or set level.  The type of Action is dependent on the device type.  The two types of device Actions that are supported are '''INSTEON''' or '''Send X10''' .
  
Besides setting a device, an action can also be to:
+
Besides setting a device, an Action can also be used to:
*Run or Stop a Program.
+
*Notify the addresses in the Recipients List.
+
*Wait for a specified period or randomly within the specified period.
+
*Repeat for a specified period or for a set number of times. Action statements following the Repeat action are indented.  They will be repeated per the specified period or the set number of times.
+
  
The repeat and wait actions have a random option.  This is set by selecting the Random check box.  A random value from 1 to the entered value will be randomly chosen each time the action is run.  
+
*'''Run''' or '''Stop''' a Program.
 +
*'''Notify''' the addresses in the Recipients List.
 +
*'''Wait''' for a specified period or randomly within the specified period.
 +
*'''Repeat''' for a specified period or for a set number of times. Action statements following the Repeat action are indented.  They will be repeated per the specified period or the set number of times.
 +
 
 +
'''Note:''' To break a Repeat sequence, add a "Repeat 1 times".  Actions after this Repeat will only run once (that is to say, they won't repeat at all).  This is useful when you want some Actions repeated, but then want to continue on with more Actions that should not be repeated.
 +
 
 +
'''Note:''' The Repeat and Wait actions have a "Random" option.  This is set by selecting the Random check box.  A Random value from 1 to the entered value will be randomly chosen each time the action is run.  
  
  

Revision as of 21:43, 16 January 2008

This area facilitates the user in building the program. It simplifies the program building process by providing the user a preformatted edit space filled in using Schedule, Condition and Action buttons. It even provides you with a button to add comments in the program.

  • IF – has the condition that must be met to for the program to run. This condition is the trigger for the program to take action.
  • THEN – is the primary action when the condition is met. The program here stays running as long as the condition is met or True.
  • ELSE – is the secondary action when the condition is no longer met or False and only after the primary action was taken.

Your program is not limited to one condition and action. You can have multiple condition and actions defined in the program. Multiple conditions are created using the And/Or pull down menu field. Buttons labeled Add And (...) or Add Or (...) will be available only after a second condition is added. The use of this button allows adding a parenthesis to your program condition. An example of a program with multiple condition and action is shown below.


Figure 49. New Program Screen.


The enabled check box allows the system to run the program. Unchecking this box disables the program.


Schedule

The schedule button is used to enter time events into the IF section as a condition. When selected the lower portion of the Add to Programs area changes its selection fields.

A check box for each day of the week and All (for all days) is available. This set the days of the week the timer event will occur.

There are six pull down menu fields beneath the weekday checkbox. The first 5 fields define the occurrence and the sixth field defines if the occurrence is based on Time, Sunrise, Sunset or Last Run. Depending on the selection on the sixth field, the time set field (fields 2 to 5) setting will change. Refer to Figure 53 and Figure 54.

A schedule can be set to occur at a specific or between the specified times. Selecting Time Is (refer to Figure 51) is for setting a specific time and From/To (refer to Figure 52) is setting for between specified times.

The To field can be changed to For, defining the duration of the event based on time the start time. If you assigned a timer event to start at a time in a specific day of the week, and the For duration puts the end time to the next day, the ISY will complete the event timer on the next day. The timer event will always start at the set time of the selected weekday. For example, the start time (From) was set at 1:00PM on Monday and would last For 23Hrs. In this example the event will end on Tuesday at 12:00 noon. It will always start on Monday and end on Tuesday. This is a valid setting.


Figure 51. Schedule Time Is condition fields.


Figure 52. Schedule From/To condition fields.


Longer daylight and shorter night time in summer. Shorter daylight and longer night time in winter. The change in sunrise and sunset time through out the year from winter to summer meant that a fixed predetermined turn on or off time of lights meant you may either be turning on or off the lights too early or too late. Timer event based on Sunrise or Sunset instead of a specific time should solve this. You have the option to advance or delay the event to occur by setting the time and before/after fields.

Figure 53. Sunrise/Sunset field set.

The Last Run option is an event timer based on the last runtime of the selected program. Refer to Figure 54.

Figure 54. Last Run field set.

To add a timer event to a program, select or create a new program. Set the time conditions for the timer event. Click on ‘Add to IF’ button to place the timer condition in the program.


Condition

Unlike the Schedule button that that uses the time as a trigger, the condition button uses the devices or a program to trigger the action. Conditions that are defined is added to the IF section.

The INSTEON device status and controls are conditions for the trigger. Select ‘Status’ or ‘Control’ for in the menu. Another device is X10 devices. Selecting ‘X10’ from the menu will set the ISY to look for X10 command. The ‘Program’ option uses the status of another program for a trigger.


Figure 55. Device and Program condition select.

The program state is set to True when the program enters the Then path and False when it enters the Else path. Folder conditions can be set based on the program state. This state is also reported in the Status column in the program summary table.

Select ‘Add to IF’ button to add the triggers to the condition section.


Action

The "Action" button adds the action information in the ‘Then’ and ‘Else’ section of the program. It is defines the action taken after the condition is met or the trigger occurs.

An Action can be setting a device to a defined state that is ON/OFF or set level. The type of Action is dependent on the device type. The two types of device Actions that are supported are INSTEON or Send X10 .

Besides setting a device, an Action can also be used to:

  • Run or Stop a Program.
  • Notify the addresses in the Recipients List.
  • Wait for a specified period or randomly within the specified period.
  • Repeat for a specified period or for a set number of times. Action statements following the Repeat action are indented. They will be repeated per the specified period or the set number of times.

Note: To break a Repeat sequence, add a "Repeat 1 times". Actions after this Repeat will only run once (that is to say, they won't repeat at all). This is useful when you want some Actions repeated, but then want to continue on with more Actions that should not be repeated.

Note: The Repeat and Wait actions have a "Random" option. This is set by selecting the Random check box. A Random value from 1 to the entered value will be randomly chosen each time the action is run.


Figure 56. Action command set.


Comment

Select the comment button to show the comment entry field. This field is a free form field without character count limit. Select ‘Update’ button to add the comment in the program.


Figure 57. Comment entry field.





ISY-26 Insteon : User Guide : Program Details :


ISY-26 Insteon : How To Guide :