M1EZ8 Installation and Programming
Page 55
[Effective w/Firmware 4.3.6]
Examples of Rules -
Shown below are a series of rules that should help illustrate the power and results that rules can
provide. Look closely at the ones that have multiple ANDs and THENs. Rules with Multiple ANDs and THENS work as
follows: When the WHENEVER element is triggered, each one of the AND elements is evaluated to determine if the condition
its testing is true. If any one of the ANDs are not true, the rule engine stops executing the rule immediately. However, if all
ANDs are true then the rule engine moves on to the THEN elements, executing each one of them.
Rule 1 is an energy saving example. It automatically turns off the Porch lights at 8:00AM everyday if it is light outside.
Rule 2 is a courtesy light example. It will turn on the Porch light for 5 minutes when the Front door opens (exiting the building)
provided it is dark outside and the control has been armed to the away mode.
Rule 3 is a comfort example. It periodically (every 20 seconds) checks the temperature reading of the Outdoor Temp sensor
and turns on the Porch Fan if the temperature becomes greater than 90 degrees.
NOTE: An additional AND element
could be added to prevent the fan from operating on certain days or at certain times.
Rule 4 is another energy savings example. It adjusts the cooling setpoint of the Main Floor Thermostat to 85 degrees
whenever the control is armed to the away mode.
Rule 5 is especially great for a homeowner arriving home after dark. If they are equipped with an RF (wireless) Keyfob and
they press button #3, the rule will turn on the outside Flood lights and Porch lights for 5 minutes, provided it is dark
outside and the Flood lights are not already on. If the Floodlights were already on the rule would stop. This prevents
the lights from going off after 5 minutes if you intentionally had already turned them on manually.
Rule 6 shows how an ASCII string coming in from the serial port (port 0) could be used to unlock a door strike for 10 seconds
and announce “Access Allowed”. This string could come from Access Control system.
In this last example, three rules are used to chirp the outside
siren based on the input of a RF Keyfob to arm the control.
Rule 8 makes the siren chirp once if the control successfully
arms when the user presses button 1.
Rule 9 makes the siren chirp twice if the control disarms when
the user presses button 2
Rule 10 makes the siren chirp four times (error tone) if the
control fails to arm when the user presses button 1.
WWW.DIYALARMFORUM.COM