Difference between revisions of "Event criteria"

From LinuxMCE
Jump to: navigation, search
(Tame of Day)
(add note that a drop down is available for light devices as well.)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
[[Category: Admin Website]]
 +
[[Category: Automation]]
 +
{| align="right"
 +
  | __TOC__
 +
  |}
 +
{{versioninfo}}
 +
This page will try to list valid parameters that can be used in the Event Criteria section of advanced Events. Note that there may be differences in the behaviour of  "Respond to Events" and "Timed Events". Where nothing is specified, it refers to "Respond to Events"
 +
 +
For integer criteria and event parameters, you can enter a list of values separated by commas to easily check for all of them.
 
= Day of Month =
 
= Day of Month =
 
Can take a value from 1-31
 
Can take a value from 1-31
  
 
= Day of Week =
 
= Day of Week =
 +
Multiple entries can be separated by comma.
 +
== Respond to Event ==
 +
Can take a value from 0-6 <br>
 +
0 = Sunday
 +
== Timed event ==
 
Can take a value from 1-7 <br>
 
Can take a value from 1-7 <br>
 
1 = Monday
 
1 = Monday
Line 17: Line 31:
  
 
= Month =
 
= Month =
 +
1-12
  
 
= PK_Device =
 
= PK_Device =
 +
The device PK_EventParameter takes it's values from.
  
 
= PK_DeviceCategory =
 
= PK_DeviceCategory =
Line 28: Line 44:
  
 
= PK_EventHandler =
 
= PK_EventHandler =
For more info see [[Event Table]]
+
 
 +
= PK_EventList =
 +
Not working
 +
 
 +
= PK_EventParameter =
 +
You can see what parameters each of these Events take by going into web admin, clicking on Advanced > DCE > Events.
 
== Value ==
 
== Value ==
 
This can be an integer <br>
 
This can be an integer <br>
Line 35: Line 56:
 
1 = Tripped <br>
 
1 = Tripped <br>
 
0 = Not tripped (this value is important if you use a movement sensor that triggers an event when there has been no movement for a set period of time)
 
0 = Not tripped (this value is important if you use a movement sensor that triggers an event when there has been no movement for a set period of time)
 
= PK_EventList =
 
Not working
 
 
= PK_EventParameter =
 
  
 
= PK_Instalation =
 
= PK_Instalation =
Line 53: Line 69:
  
 
= Specific Date =
 
= Specific Date =
 +
Not working
  
 
= State =
 
= State =
Not working
+
This allows you to check the state of a device in your event handler. The device state can be seen on the [[Advanced Pages Devices]] in the State field. The value in the state field is dependent on what type of device it is, so be sure to check before you make a event parameter.
 +
 
 +
Some device types have special handling.
 +
 
 +
If you select a climate or lighting device (since svn 30915), a new drop down will be available where you can select what data you want to compare. For climate devices, On/Off, Mode, Fan, Set Point and Current Temp are available, for lights it is On/Off and Brightness.
  
 
= System =
 
= System =
  
 
= Time of Day =
 
= Time of Day =
 +
 +
== Timed Event ==
 +
24hr based time (eks: 15:00).<BR>
 +
Multiple entries can be separated by comma.
 +
 +
== Respond to Events ==
 +
Accepts special values <br>
 +
'''DAY''' or '''NIGHT'''<br>
 +
 +
Or a time given in the<br>
 +
'''hh:mm''' or '''hh:mm:ss''' format (12:45, 21:22:10 etc).
  
 
= User Mode =
 
= User Mode =

Latest revision as of 11:37, 21 July 2015

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

This page will try to list valid parameters that can be used in the Event Criteria section of advanced Events. Note that there may be differences in the behaviour of "Respond to Events" and "Timed Events". Where nothing is specified, it refers to "Respond to Events"

For integer criteria and event parameters, you can enter a list of values separated by commas to easily check for all of them.

Day of Month

Can take a value from 1-31

Day of Week

Multiple entries can be separated by comma.

Respond to Event

Can take a value from 0-6
0 = Sunday

Timed event

Can take a value from 1-7
1 = Monday

House Mode

Can take a value from 1-6

1 = Unarmed - at home
2 = Armed - away
3 = Armed - at home
4 = Sleeping
5 = Entertaining
6 = Armed - Extended away

Month

1-12

PK_Device

The device PK_EventParameter takes it's values from.

PK_DeviceCategory

PK_DeviceGroup

Not Implemented

PK_DeviceTemplate

PK_EventHandler

PK_EventList

Not working

PK_EventParameter

You can see what parameters each of these Events take by going into web admin, clicking on Advanced > DCE > Events.

Value

This can be an integer

Tripped

1 = Tripped
0 = Not tripped (this value is important if you use a movement sensor that triggers an event when there has been no movement for a set period of time)

PK_Instalation

PK_Room

PK_RoomType

PK_Skin

Room Mode

Not implemented

Specific Date

Not working

State

This allows you to check the state of a device in your event handler. The device state can be seen on the Advanced Pages Devices in the State field. The value in the state field is dependent on what type of device it is, so be sure to check before you make a event parameter.

Some device types have special handling.

If you select a climate or lighting device (since svn 30915), a new drop down will be available where you can select what data you want to compare. For climate devices, On/Off, Mode, Fan, Set Point and Current Temp are available, for lights it is On/Off and Brightness.

System

Time of Day

Timed Event

24hr based time (eks: 15:00).
Multiple entries can be separated by comma.

Respond to Events

Accepts special values
DAY or NIGHT

Or a time given in the
hh:mm or hh:mm:ss format (12:45, 21:22:10 etc).

User Mode