HomeVision If-Then Conditions List



This is a listing of the conditions you can use in If-Then and If-Then-Else statements in your HomeVision and HomeVision-Pro schedules.  If-Then and If-Then-Else statements follow this basic format:

   If
      CONDITION(S)
   Then
      ACTIONS(S)
   End If
   If
      CONDITION(S)
   Then
      ACTIONS(S)
   Else
      ACTIONS(S)
   End If
    

X-10 Conditions

bulletIf X-10 Module Is Off
bulletIf X-10 Module Is On
bulletIf X-10 Module Is Neutral
bulletIf X-10 Module Is Not Off
bulletIf X-10 Module Is Not On
bulletIf X-10 Module Is Not Neutral
bulletIf X-10 Module Is Enabled
bulletIf X-10 Module Is Disabled
bulletIf X-10 Module Level = ##
bulletIf X-10 Module Level <= ##
bulletIf X-10 Module Level >= ##
bulletIf X-10 Module "Status Request" Bit Is Set
bulletIf X-10 Module "Status Is On" Bit Is Set
bulletIf X-10 Module "Status Is Off" Bit Is Set
bulletIf X-10 Module "Hail Request" Bit Is Set
bulletIf X-10 Module "Hail Acknowledge" Bit Is Set
bulletIf X-10 Module "Preset Dim" Bit Is Set

 

horizontal rule

Time/Date Conditions

bulletIf Time Is HH:MM AM/PM
bulletIf Time Is Before HH:MM AM/PM
bulletIf Time Is After HH:MM AM/PM
bulletIf Time Is AM
bulletIf Time Is PM
bulletIf Time Is Daytime
bulletIf Time Is Nighttime
bulletIf Today Is Any Day Of The Week
bulletIf Today Is Any Date Of The Month
bulletIf Today Is Any Month Of The Year
bulletIf Today Is A Weekday
bulletIf Today Is A Weekend
bulletIf Today Is Sunday Through Thursday
bulletIf Today Is Friday Or Saturday
bulletIf Season Is Winter
bulletIf Season Is Spring
bulletIf Season Is Summer
bulletIf Season Is Fall
bulletIf Light
bulletIf Dark

 

horizontal rule

Flag Conditions

bulletIf Flag "XXX" Set
bulletIf Flag "XXX" Clear
bulletIf Flag "XXX" Neutral
bulletIf Flag "XXX" Not Set
bulletIf Flag "XXX" Not Clear
bulletIf Flag "XXX" Not Neutral

 

horizontal rule

Timer Conditions

bulletIf Timer "XXX" Is Running
bulletIf Timer "XXX" Is Ringing
bulletIf Timer "XXX" Is Stopped
bulletIf Timer "XXX" Is Not Running
bulletIf Timer "XXX" Is Not Ringing
bulletIf Timer "XXX" Is Not Stopped

 

horizontal rule

Variable Conditions

bulletIf Variable "XXX" = ###
bulletIf Variable "XXX" <> ###
bulletIf Variable "XXX" < ###
bulletIf Variable "XXX" <= ###
bulletIf Variable "XXX" > ###
bulletIf Variable "XXX" >= ###
bulletIf Variable "XXX" = Variable "YYY"
bulletIf Variable "XXX" <> Variable "YYY"
bulletIf Variable "XXX" < Variable "YYY"
bulletIf Variable "XXX" <= Variable "YYY"
bulletIf Variable "XXX" > Variable "YYY"
bulletIf Variable "XXX" >= Variable "YYY"
bulletIf Variable "XXX" Bit 0 Is Set (1)
bulletIf Variable "XXX" Bit 1 Is Set (1)
bulletIf Variable "XXX" Bit 2 Is Set (1)
bulletIf Variable "XXX" Bit 3 Is Set (1)
bulletIf Variable "XXX" Bit 4 Is Set (1)
bulletIf Variable "XXX" Bit 5 Is Set (1)
bulletIf Variable "XXX" Bit 6 Is Set (1)
bulletIf Variable "XXX" Bit 7 Is Set (1)
bulletIf Variable "XXX" Bit 0 Is Not Set (0)
bulletIf Variable "XXX" Bit 1 Is Not Set (0)
bulletIf Variable "XXX" Bit 2 Is Not Set (0)
bulletIf Variable "XXX" Bit 3 Is Not Set (0)
bulletIf Variable "XXX" Bit 4 Is Not Set (0)
bulletIf Variable "XXX" Bit 5 Is Not Set (0)
bulletIf Variable "XXX" Bit 6 Is Not Set (0)
bulletIf Variable "XXX" Bit 7 Is Not Set (0)

 

horizontal rule

Input Port Conditions

bulletIf Input Port Is Low
bulletIf Input Port Is High
bulletIf Input Port Is Enabled
bulletIf Input Port Is Disabled

 

horizontal rule

Output Port Conditions

bulletIf Output Port Is Low
bulletIf Output Port Is High
bulletIf Output Port Is Enabled
bulletIf Output Port Is Disabled

 

horizontal rule

Video Conditions

bulletIf Video Mode Is Active
bulletIf Video Mode Is Not Active

 

horizontal rule

Phone Conditions

bulletPhone is on-hook
bulletPhone is off-hook
bulletPhone ring count = #
bulletPhone ring count >= #
bulletReceived touchtone count = #
bulletReceived touchtone count >= #
bulletReceived phone touchtone sequence is "XXXXXXXX"
bulletEVENT: Phone goes on-hook
bulletEVENT: Phone goes off-hook
bulletEVENT: Phone starts ringing
bulletEVENT: Phone rings
bulletEVENT: Phone stops ringing

 

horizontal rule

Serial Conditions

bulletIf Exactly ## Serial Characters Are Received
bulletIf >= ## Serial Characters Are Received
bulletIf <= ## Serial Characters Are Received
bulletIf Serial Input Character Numbers X - Y are 'ZZZZZZZZ'
bulletIf No Serial Input Data Being Received
bulletIf Serial Input Data In Process
bulletIf Serial Input Data Complete

 

horizontal rule

Controller Conditions

bulletIf Master Report Mode Enabled
bulletIf Master Report Mode Disabled
bulletIf IR Receive Function Enabled
bulletIf IR Receive Function Disabled
bulletIf X-10 Receive Function Enabled
bulletIf X-10 Receive Function Disabled
bulletIf Input Port Function Enabled
bulletIf Input Port Function Disabled
bulletIf Recovering From Power Failure
bulletIf Not Recovering From Power Failure
bulletIf Controller Error
bulletIf No Controller Error
bulletIf TW-523 OK
bulletIf TW-523 Error

 

horizontal rule

Thermostat Conditions

bulletIf Zone ## System Mode is Off
bulletIf Zone ## System Mode is Heat
bulletIf Zone ## System Mode is Cool
bulletIf Zone ## System Mode is Auto
bulletIf Zone ## Fan Mode is On
bulletIf Zone ## Fan Mode is Auto
bulletIf Zone ## Control Mode is Run (Auto)
bulletIf Zone ## Control Mode is Hold (Off)
bulletIf Zone ## Current Temperature < XX
bulletIf Zone ## Current Temperature > XX
bulletIf Zone ## Current Temperature = XX
bulletIf Zone ## Current Temperature <> XX
bulletIf Zone ## Temperature Setting < XX
bulletIf Zone ## Temperature Setting > XX
bulletIf Zone ## Temperature Setting = XX
bulletIf Zone ## Temperature Setting <> XX

 

horizontal rule

Security System Conditions

bulletPartition ## is disarmed
bulletPartition ## is armed in Home mode
bulletPartition ## is armed in Away mode
bulletPartition ## is armed (in Home or Away mode)
bulletPartition ## is ready to arm
bulletPartition ## is not ready to arm
bulletPartition ## has alarm condition
bulletPartition ## has no alarm condition
bulletPartition ## chime mode is on
bulletPartition ## chime mode is off
bulletZone ## is faulted
bulletZone ## is not faulted
bulletZone ## is bypassed
bulletZone ## is not bypassed
bulletZone ## is in trouble condition
bulletZone ## is not in trouble condition
bulletZone ## has alarm in memory
bulletZone ## does not have alarm in memory
bulletAny zone is faulted
bulletAny zone is bypassed
bulletAny zone is in trouble condition
bulletAny zone has an alarm in memory
bulletSecurity system communications is OK
bulletSecurity system communications error

 

horizontal rule

Caller ID Conditions

bulletCaller's Phone Number Is "###-###-####"
bulletCaller's Phone Number Is "Out Of Area"
bulletCaller's Phone Number Is "Private"

 

horizontal rule

Data Log Conditions

bulletIf <= ## Bytes Free In Data Log
bulletIf >= ## Bytes Free In Data Log

 

Back Up Next

Last updated:
01 October 2013

Copyright © 1996-2013, all rights reserved, by:
Custom Solutions, Inc.
1705 Canterbury Drive, Indialantic, FL 32903

HomeVision® is a registered trademark of Custom Solutions, Inc.