Event

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(Added example)
m
 
Line 9: Line 9:
 
== Example ==
 
== Example ==
 
=== Time trigger ===
 
=== Time trigger ===
Activate scenario at 8 o'clock and 16 o'clock<br/>
+
Switch on window lamps at 8 o'clock and 16 o'clock<br/>
 
<br/>
 
<br/>
 
Criteria<br/>
 
Criteria<br/>

Latest revision as of 00:18, 31 December 2013

[edit] ago event

The ago event module allows taking action on specific events. You can specify multiple criteria based on the event parameters. Some examples:

  • Close the drapes and switch on the porch light when the sun is setting.
  • Irrigate the lawn every Tue 9:00am and Fri 8:00pm

...

You can specify a single action for each event handler. To trigger multiple actions, create a scenario.

[edit] Example

[edit] Time trigger

Switch on window lamps at 8 o'clock and 16 o'clock

Criteria
Time did advance
Operator and
{
event hour = 8
even minute = 0
}
operator or
{
event hour = 16
even minute = 0
}

Action
Switch on lamps in windows

Personal tools