Now we have a group of conditions based upon the Date or Day

The popup for date selection is very flexible. It allows you to choose a specific day of the month, month of the year, year or any combination of the three. At the bottom of the date selection popup are three boxes: “Any Month”, “Any Day” and “Any Year”. You MUST select the wildcards of Any Day, Any Month or Any Year before selecting the date. Each time you check one of the wildcard boxes, except for Any Day, the calendar header will change to show the options. For obvious reasons you cannot select all three wildcards, if you do you will get a popup warning. When you click on a date it will populate the Selected Dates column based upon the wildcard selections. If you click on January 15 and the boxes for Any Year and Any Day are selected the date will be entered as 1/D/Y. Similarly if you only have Any Year selected and click on January 15 the date will be entered as 1/15/Y.



Here is an example of 5 different selections

Selecting any of the dates in the “Selected Dates:” box, then clicking on Remove Dates(s) below, will delete that date from the choices. Also, as you can see in the screenshot below, the selected dates are cumulative. Each date is or’d with the next so that if any one of them is true, the condition is met.
A date begins at 12:00:01 AM and ends at 11:59:59 PM. The condition "The date is before" is true until 12:00:00 AM on that date, similarly "The Date is After" is true after midnight on that date. There is a tremendous amount of flexibility in these conditions, but first we should cover one nuance similar to time events. HomeSeer assumes the year begins and ends at midnight on December 31, when you are choosing "Any Year" and when you choose “The date is before” you need to understand that the year begins at 12:00AM on January 1 making the statement “The date is before March 1” really means the date is after December 31 but before March 1. Similarly “The date is after October 31” assumes it is before January 1. The Y placeholder always assumes the current year, never next year or last year.
The only way to have a time condition based upon "Any Year" that spans the December 31 dividing line is to use two separate trigger/conditions. To have the condition cover the time span from October 31 until March 1 is to use a more complex event construction tool, the “OR IF”. That is a topic we will cover later in building events, but it is in its simplest form:
IF Trigger
AND IF The date is after 10/31/Y
OR IF Trigger
AND IF The date is before 3/1/Y
If you choose specific years as in the following example, HomeSeer knows to ignore the end of the year.
IF Trigger
AND IF The date is after 10/31/14
AND IF The date is before 3/1/15

The popup for date selection is very flexible. It allows you to choose a specific day of the month, month of the year, year or any combination of the three. At the bottom of the date selection popup are three boxes: “Any Month”, “Any Day” and “Any Year”. You MUST select the wildcards of Any Day, Any Month or Any Year before selecting the date. Each time you check one of the wildcard boxes, except for Any Day, the calendar header will change to show the options. For obvious reasons you cannot select all three wildcards, if you do you will get a popup warning. When you click on a date it will populate the Selected Dates column based upon the wildcard selections. If you click on January 15 and the boxes for Any Year and Any Day are selected the date will be entered as 1/D/Y. Similarly if you only have Any Year selected and click on January 15 the date will be entered as 1/15/Y.



Here is an example of 5 different selections
- January 15, Any Year
- The 15th of Any Month, Any Year
- January, Any Day, Any Year
- Any Day, Any Month, 2015
- Any Day, January, 2015
- January, 15, 2015

Selecting any of the dates in the “Selected Dates:” box, then clicking on Remove Dates(s) below, will delete that date from the choices. Also, as you can see in the screenshot below, the selected dates are cumulative. Each date is or’d with the next so that if any one of them is true, the condition is met.
A date begins at 12:00:01 AM and ends at 11:59:59 PM. The condition "The date is before" is true until 12:00:00 AM on that date, similarly "The Date is After" is true after midnight on that date. There is a tremendous amount of flexibility in these conditions, but first we should cover one nuance similar to time events. HomeSeer assumes the year begins and ends at midnight on December 31, when you are choosing "Any Year" and when you choose “The date is before” you need to understand that the year begins at 12:00AM on January 1 making the statement “The date is before March 1” really means the date is after December 31 but before March 1. Similarly “The date is after October 31” assumes it is before January 1. The Y placeholder always assumes the current year, never next year or last year.
The only way to have a time condition based upon "Any Year" that spans the December 31 dividing line is to use two separate trigger/conditions. To have the condition cover the time span from October 31 until March 1 is to use a more complex event construction tool, the “OR IF”. That is a topic we will cover later in building events, but it is in its simplest form:
IF Trigger
AND IF The date is after 10/31/Y
OR IF Trigger
AND IF The date is before 3/1/Y
If you choose specific years as in the following example, HomeSeer knows to ignore the end of the year.
IF Trigger
AND IF The date is after 10/31/14
AND IF The date is before 3/1/15

Comment