Stargate Resources Projects Contact US Polls Forums Quiz
 


 
 
 

Joe DeJesus - Schedule   

Schedule Name: MYHOUSE.SCH 
  SCHEDULE START   
    
  EVENT:  First Time of day Event Check 
  If 
    Time is 3:00 AM SMTWTFS 
    or  First pass through schedule 
    " Clear variables every morning " 
    " And first time I update schedule " 
  Then 
    Connect PHONE port to ICM port 
    (F:Day Off)  CLEAR 
    (F:PersonalVoiceMsg)  CLEAR 
    (F:DoneItOnce!)  CLEAR 
    (V:NumberOfTries)  LOAD with 0 
     If 
       " Days Off so AC wont be adjusted " 
       or  Date is Jan  1 
       or  Date is Apr  10 
       or  Date is May  25 
       or  Date is July  3 
       or  Date is July  4 
       or  Date is Sept  7 
       or  Date is Nov  26 
       or  Date is Dec  24 
       or  Date is Dec  25 
     Then 
       (F:Day Off)  SET 
     Else 
       (F:Day Off)  CLEAR 
      Nest End 
  End 
    
  EVENT:  Power Failure Check 
  If 
    Power is Restored 
    and  (DI:Alarm Status) is ON 
  Then 
    " Notify my alpha pager when " 
    " power is restored. " 
    ASCII-Out:'&&page joe: AC Power Restored!' [COM1] 
    DELAY  0:05:00 Re-Triggerable 
     If 
       " If TV falsely goes ON " 
       " turn it off. " 
       and  (IR PwrSense:TVPower#2) is ON 
     Then 
       (IR:Proscan Power ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
      Nest End 
     If 
       " If Stereo falsely goes ON " 
       " turn it off. " 
       and  (IR PwrSense:StereoPower#1) is ON 
     Then 
       (IR:Pioneer Power ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
      Nest End 
      * Frozen * If 
       " If DSS falsely goes ON " 
       " turn it off. " 
      * Frozen *   and  (IR PwrSense:DSSPower#3) is ON 
      * Frozen * Then 
      * Frozen *   (IR:DSS PowerOn-Off ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
      * Frozen *  Nest End 
  End 
    
  EVENT:  For Auto-Play Message System 
  If 
    " If Alarm is turned OFF " 
    " then set flag. " 
    and  (DI:Alarm Status) Goes OFF 
  Then 
    (F:AlarmOffByUser)  SET 
  End 
    
  EVENT:  New Message Beep Reminder 
  If - Always 
    " Beep intercom because there are " 
    " NEW mesgs waiting. " 
    or  (VMAIL:MBX-1 # New Msg) > 0 
    or  (F:PersonalVoiceMsg) is SET 
  Then 
    Voice:BBBEEP  [Spkr] 
    DELAY  0:02:00 
  End 
    
  EVENT:  House alarm has been triggered! 
  If - Always 
    (DI:Alarm Triger) is ON 
  Then 
     If 
       " I only want 1 alpha page " 
       and  (F:DoneItOnce!) is CLEAR 
     Then 
        If 
          " wait for phone to be on-hook " 
          and  CO: Is ON Hook 
        Then 
          ASCII-Out:'&&page joe: Alarm Triggered!' [COM1] 
          " Page succesfull, set flag so I " 
          " wont get paged again. " 
          (F:DoneItOnce!)  SET 
        Else 
          " Phone IN USE, keep trying " 
          (F:DoneItOnce!)  CLEAR 
         Nest End 
      Nest End 
    " FLASH OUTSIDE LIGHTS for 10 min. " 
    (T:Alarm Timer) LOAD with 0:10:00 
    X10:  (H-9  Front Floods g#1) ON 
    X10:  (I-9  Rear Floods r#1) ON 
     If 
       X10: (H-9  Front Floods g#1) is ON  
       and  X10: (I-9  Rear Floods r#1) is ON  
       and  (T:Alarm Timer) is Running 
     Then 
       X10:  (H-9  Front Floods g#1) OFF 
       X10:  (I-9  Rear Floods r#1) OFF 
       DELAY  0:00:01 Re-Triggerable 
     Else 
       X10:  (H-9  Front Floods g#1) ON 
       X10:  (I-9  Rear Floods r#1) ON 
       DELAY  0:00:01 Re-Triggerable 
      Nest End 
  End 
    
  EVENT:  Play Voice messages 
  If 
    " If alarm is turned OFF and " 
    " garage door gets opened " 
    " Lets greet user with auto mesg " 
    " playback through Intercom. " 
    and  (F:AlarmOffByUser) is SET 
    and  (DI:Door Secure) Goes OFF 
  Then 
    DELAY  0:00:02 
    " slight delay before playing msgs " 
     If 
       " Play all new mesgs in intercom " 
       and  (VMAIL:MBX-1 # New Msg) = 0 
     Then 
       Voice:NONEWMES  [Spkr] 
     Else 
       VM:Play All NEW Messages in MailBox 1  [Spkr] 
      Nest End 
     If 
       " Play personal mesg if exists " 
       and  (F:PersonalVoiceMsg) is SET 
     Then 
       Voice:PersonalMesg  [Spkr] 
       DELAY  0:03:00 Re-Triggerable 
       (F:PersonalVoiceMsg)  CLEAR 
      Nest End 
    (F:AlarmOffByUser)  CLEAR 
     If 
       " Page me when doorbel is pressed " 
       " and nobody is home. Keep track " 
       " of ring count so It can be " 
       " announced when I walk in. " 
       and  (V:DoorBellRang) > 0 
     Then 
       Voice:DETECTED <DoorBellRang> DOORBELL ACCESS  [Spkr] 
       DELAY  0:03:00 Re-Triggerable 
       (V:DoorBellRang)   CLEAR 
      Nest End 
  End 
    
  EVENT:  Check AC at night 
  If - Always 
    " Wife likes to make house colder " 
    " in the midle of the night. " 
    " So If ac is set to anything " 
    " colder than 73, PUT Ac BACK. " 
    and    (HVAC:HVAC Setpoint ) <= 73 
  Then 
     If 
       (F:BypassCheck) is CLEAR 
       " My secret bypass, for guest " 
       " Setting this flag allows a " 
       " colder AC setting. " 
     Then 
       (HVAC:HVAC)  Set Temp to 74 degrees 
       DELAY  0:03:00 Re-Triggerable 
      Nest End 
  End 
    
  EVENT:  RE-PLAY Messages Routine 
  If 
    " If bedroom double light switch " 
    " buttons are both pressed at the " 
    " same time, RE-PLAY voice mesgs " 
    and  XSEQ:( B-5 B-6 B-OFF ) Received within 3 seconds  
  Then 
     If 
       (VMAIL:MBX-1 # New Msg) = 0 
     Then 
       Voice:NONEWMES  [Spkr] 
     Else 
       VM:Play All NEW Messages in MailBox 1  [Spkr] 
      Nest End 
     If 
       (F:PersonalVoiceMsg) is SET 
     Then 
       Voice:PersonalMesg  [Spkr] 
       DELAY  0:03:00 Re-Triggerable 
       (F:PersonalVoiceMsg)  CLEAR 
      Nest End 
    (F:AlarmOffByUser)  CLEAR 
     If 
       (V:DoorBellRang) > 0 
       " If doorbel was rung, announce " 
       " number of rings via intercom " 
     Then 
       Voice:DETECTED <DoorBellRang> DOORBELL ACCESS  [Spkr] 
       DELAY  0:03:00 Re-Triggerable 
       (V:DoorBellRang)   CLEAR 
      Nest End 
  End 
    
  EVENT:  Living Room Light On 
  If 
    TelePhone Seq:'*01' Received within 3 seconds  
    or  IR Seq:'Center Top ' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (A-5  LivingRoom Light) ON 
     Else 
       Voice:LIVING ROOM LIGHT ON  [Spkr,CO,ICM] 
       X10:  (A-5  LivingRoom Light) ON 
      Nest End 
  End 
    
  EVENT:  Living Room Light Off 
  If 
    TelePhone Seq:'#01' Received within 3 seconds  
    or  IR Seq:'Center Bottom ' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (A-5  LivingRoom Light) OFF 
     Else 
       Voice:LIVING ROOM LIGHT OFF  [Spkr,CO,ICM] 
       X10:  (A-5  LivingRoom Light) OFF 
      Nest End 
  End 
    
  EVENT:  Rear Flood Light On 
  If 
    TelePhone Seq:'*02' Received within 3 seconds  
    or  XSEQ:( H-10 H-ON ) Received within 3 seconds  
    or  XSEQ:( B-13 B-ON ) Received within 3 seconds  
    or  XSEQ:( B-9 B-ON ) Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (I-9  Rear Floods r#1) ON 
     Else 
       Voice:BACK LIGHT ON  [Spkr,CO,ICM] 
       X10:  (I-9  Rear Floods r#1) ON 
      Nest End 
  End 
    
  EVENT:  Rear Flood Light Off 
  If 
    TelePhone Seq:'#02' Received within 3 seconds  
    or  XSEQ:( H-10 H-OFF ) Received within 3 seconds  
    or  XSEQ:( B-13 B-OFF ) Received within 3 seconds  
    or  XSEQ:( B-9 B-OFF ) Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (I-9  Rear Floods r#1) OFF 
     Else 
       Voice:BACK LIGHT OFF  [Spkr,CO,ICM] 
       X10:  (I-9  Rear Floods r#1) OFF 
      Nest End 
  End 
    
  EVENT:  Front Flood Light On 
  If 
    TelePhone Seq:'*03' Received within 3 seconds  
    or  XSEQ:( H-10 H-ON ) Received within 3 seconds  
    or  XSEQ:( B-10 B-ON ) Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (H-9  Front Floods g#1) ON 
     Else 
       Voice:FRONT LIGHT ON  [Spkr,CO,ICM] 
       X10:  (H-9  Front Floods g#1) ON 
      Nest End 
  End 
    
  EVENT:  Front Flood Light Off 
  If 
    TelePhone Seq:'#03' Received within 3 seconds  
    or  XSEQ:( H-10 H-OFF ) Received within 3 seconds  
    or  XSEQ:( B-10 B-OFF ) Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (H-9  Front Floods g#1) OFF 
     Else 
       Voice:FRONT LIGHT OFF  [Spkr,CO,ICM] 
       X10:  (H-9  Front Floods g#1) OFF 
      Nest End 
  End 
    
  EVENT:  Bedroom Light On 
  If 
    TelePhone Seq:'*04' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (B-5  Main Bed Light) ON 
     Else 
       Voice:MASTER BEDROOM LIGHT ON  [Spkr,CO,ICM] 
       X10:  (B-5  Main Bed Light) ON 
      Nest End 
  End 
    
  EVENT:  Bedroom Light Off 
  If 
    TelePhone Seq:'#04' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (B-5  Main Bed Light) OFF 
     Else 
       Voice:MASTER BEDROOM LIGHT OFF  [Spkr,CO,ICM] 
       X10:  (B-5  Main Bed Light) OFF 
      Nest End 
  End 
    
  EVENT:  Master Bath Light On 
  If 
    TelePhone Seq:'*05' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (B-6  Bath Light) ON 
     Else 
       Voice:MASTER BATHROOM LIGHT ON  [Spkr,CO,ICM] 
       X10:  (B-6  Bath Light) ON 
      Nest End 
  End 
    
  EVENT:  Master Bath Light Off 
  If 
    TelePhone Seq:'#05' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (B-6  Bath Light) OFF 
     Else 
       Voice:MASTER BATHROOM LIGHT OFF  [Spkr,CO,ICM] 
       X10:  (B-6  Bath Light) OFF 
      Nest End 
  End 
    
  EVENT:  Hall Bath Light On 
  If 
    TelePhone Seq:'*06' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (G-5  Hall Bath Light) ON 
     Else 
       Voice:HALL BATHROOM LIGHT ON  [Spkr,CO,ICM] 
       X10:  (G-5  Hall Bath Light) ON 
      Nest End 
  End 
    
  EVENT:  Hall Bath Light Off 
  If 
    TelePhone Seq:'#06' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (B-6  Bath Light) OFF 
     Else 
       Voice:HALL BATHROOM LIGHT OFF  [Spkr,CO,ICM] 
       X10:  (B-6  Bath Light) OFF 
      Nest End 
  End 
    
  EVENT:  Remote/Phone Spa On 
  If 
    TelePhone Seq:'*07' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (M-2  SPA) ON 
       X10:  (B-14  SPAcontrol Bed#2) Set State to ON 
     Else 
       Voice:SPA ON  [Spkr,CO,ICM] 
       X10:  (M-2  SPA) ON 
       X10:  (B-14  SPAcontrol Bed#2) Set State to ON 
      Nest End 
    (F:SpaTogleRemotely)  SET 
  End 
    
  EVENT:  Remote/Phone Spa Off 
  If 
    TelePhone Seq:'#07' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (M-2  SPA) OFF 
       X10:  (B-14  SPAcontrol Bed#2) Set State to OFF 
     Else 
       Voice:SPA OFF  [Spkr,CO,ICM] 
       X10:  (M-2  SPA) OFF 
       X10:  (B-14  SPAcontrol Bed#2) Set State to OFF 
      Nest End 
    (F:SpaTogleRemotely)  SET 
  End 
    
  EVENT:  SPA status if remote turned ON 
  If - Always 
    (DI:SPAPower) is ON 
    and  (F:SpaTogleRemotely) is SET 
  Then 
     If 
       CO: Is ON Hook 
       " Send a confermation page that " 
       " SPA is actually ON/Check probe. " 
     Then 
        If 
          (DI:SPAPower) is ON 
        Then 
          ASCII-Out:'&&page joe: Spa ON!' [COM1] 
          (F:SpaTogleRemotely)  CLEAR 
        Else 
          ASCII-Out:'&&page joe: Spa OFF!' [COM1] 
          (F:SpaTogleRemotely)  CLEAR 
         Nest End 
      Nest End 
  End 
    
  EVENT:  Bedroom Switch Spa Togle On 
  If 
    XSEQ:( B-14 B-ON ) Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (M-2  SPA) ON 
     Else 
       Voice:SPA ON  [Spkr,CO,ICM] 
       X10:  (M-2  SPA) ON 
      Nest End 
  End 
    
  EVENT:  Bedroom Switch Spa Off 
  If 
    XSEQ:( B-14 B-OFF ) Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (M-2  SPA) OFF 
     Else 
       Voice:SPA OFF  [Spkr,CO,ICM] 
       X10:  (M-2  SPA) OFF 
      Nest End 
  End 
    
  EVENT:  Water Yard for a few minutes 
  If 
    TelePhone Seq:'*08' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (M-3  Sprinkler Pump) ON 
       DELAY  0:04:00 
       X10:  (M-3  Sprinkler Pump) OFF 
       DELAY  0:00:10 
       X10:  (M-3  Sprinkler Pump) ON 
       DELAY  0:04:00 
       X10:  (M-3  Sprinkler Pump) OFF 
     Else 
       Voice:TIME SPRINKLE ON  [Spkr,CO,ICM] 
       X10:  (M-3  Sprinkler Pump) ON 
       DELAY  0:04:00 
       X10:  (M-3  Sprinkler Pump) OFF 
       DELAY  0:00:10 
       X10:  (M-3  Sprinkler Pump) ON 
       DELAY  0:04:00 
       X10:  (M-3  Sprinkler Pump) OFF 
      Nest End 
  End 
    
  EVENT:  Mannual Sprinklers On 
  If 
    TelePhone Seq:'*10' Received within 3 seconds  
    or  XSEQ:( I-10 I-ON ) Received within 4 seconds  
    or  XSEQ:( H-11 H-ON ) Received within 4 seconds  
    or  XSEQ:( B-16 B-ON ) Received within 5 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (M-3  Sprinkler Pump) ON 
       X10:  (B-16  LawnControlBed#4) Set State to ON 
     Else 
       Voice:SPRINKLE ON  [Spkr,CO,ICM] 
       X10:  (M-3  Sprinkler Pump) ON 
       X10:  (B-16  LawnControlBed#4) Set State to ON 
      Nest End 
  End 
    
  EVENT:  Mannual Sprinkler Off 
  If 
    TelePhone Seq:'#10' Received within 3 seconds  
    or  XSEQ:( I-10 I-OFF ) Received within 4 seconds  
    or  XSEQ:( H-11 H-OFF ) Received within 4 seconds  
    or  XSEQ:( B-16 B-OFF ) Received within 5 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (M-3  Sprinkler Pump) OFF 
       X10:  (B-16  LawnControlBed#4) Set State to OFF 
     Else 
       Voice:SPRINKLE OFF  [Spkr,CO,ICM] 
       X10:  (M-3  Sprinkler Pump) OFF 
       X10:  (B-16  LawnControlBed#4) Set State to OFF 
      Nest End 
  End 
    
  EVENT:  Garage Light On 
  If 
    TelePhone Seq:'*11' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (D-5  Garage Light) ON 
     Else 
       Voice:GARAGE LIGHT ON  [Spkr,CO,ICM] 
       X10:  (D-5  Garage Light) ON 
      Nest End 
  End 
    
  EVENT:  Garage Light Off 
  If 
    TelePhone Seq:'#11' Received within 3 seconds  
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       X10:  (D-5  Garage Light) OFF 
     Else 
       Voice:GARAGE LIGHT OFF  [Spkr,CO,ICM] 
       X10:  (D-5  Garage Light) OFF 
      Nest End 
  End 
    
  EVENT:  Garage Door Open 
  If 
    CO: Local User 
    or  CO: Remote User 1 
      -AND- 
    TelePhone Seq:'*12' Received within 3 seconds  
  Then 
     If 
       (DI:FlorSenOf=Op) is ON 
       " sensor ON=door CLOSED " 
       " sensor OFF=door OPEN " 
     Then 
       (RELAY:Garage OPEN) ON  
       DELAY  0:00:01 Re-Triggerable 
       (RELAY:Garage OPEN) OFF  
       (V:NumberOfTries)  INCREMENT 
       DELAY  0:00:15 Re-Triggerable 
      Nest End 
     If 
       " still door not open " 
       and  (DI:FlorSenOf=Op) is ON 
       " sensor ON=door CLOSED " 
       " sensor OFF=door OPEN " 
       and  (V:NumberOfTries) = 3 
     Then 
       ASCII-Out:'&&page joe: Garage Door OPEN!' [COM1] 
     Else 
       Voice:GARAGE OPEN  [Spkr,CO,ICM] 
       (V:NumberOfTries)   CLEAR 
      Nest End 
  End 
    
  EVENT:  Garage Door Close 
  If 
    CO: Local User 
    and  CO: Remote User 1 
      -OR- 
    TelePhone Seq:'#12' Received within 3 seconds  
  Then 
     If 
       (DI:FlorSenOf=Op) is OFF 
       " sensor ON=door CLOSED " 
       " sensor OFF=door OPEN " 
     Then 
       (RELAY:Garage CLOSE) ON  
       DELAY  0:00:01 
       (RELAY:Garage CLOSE) OFF  
       (V:NumberOfTries)  INCREMENT 
       DELAY  0:00:12 
      Nest End 
     If 
       " still door not closed " 
       and  (DI:FlorSenOf=Op) is OFF 
       and  (V:NumberOfTries) = 3 
       " sensor ON=door CLOSED " 
       " sensor OFF=door OPEN " 
     Then 
       ASCII-Out:'&&page joe: Garage Door CLOSED!' [COM1] 
     Else 
       Voice:GARAGE CLOSE  [Spkr,CO,ICM] 
       (V:NumberOfTries)   CLEAR 
      Nest End 
  End 
    
  EVENT:  Record Personal Mesg 
  If 
    " Allow a mesg to be recorded and " 
    " Played automatically when " 
    " someone, turns off the alarm and " 
    " enters the house (opens door) " 
    and  CO: Local User 
    and  CO: Remote User 1 
      -OR- 
    TelePhone Seq:'*13' Received within 4 seconds  
  Then 
    Voice:PersonalMsgGree  [ICM] 
    Record:'PersonalMesg' from ICM for 15 seconds 
    (F:PersonalVoiceMsg)  SET 
  End 
    
  EVENT:  Report HVAC Temp 
  If 
    TelePhone Seq:'*836' Received within 5 seconds  
  Then 
    (THEN MACRO:ReportInsideTemp) 
  End 
    
  EVENT:  Report Attic Temp 
  If 
    CO: Local User 
    and  CO: Remote User 1 
      -OR- 
    TelePhone Seq:'*288' Received within 5 seconds  
  Then 
    Voice:ATTIC TEMPERAT IS <Attic Temp>DEGREES  [CO,ICM] SYNC 
  End 
    
  EVENT:  House Alarm turned ON 
  If 
    " house alarm turned On! " 
    and  (DI:Alarm Status) Goes ON 
  Then 
    DELAY  0:00:02 
    Voice:ALARM ON  [Spkr] 
    X10:  (F-10  AC Booster Fan) ON 
    (HVAC:HVAC)  COOL Mode 
    (HVAC:HVAC)  Set Temp to 78 degrees 
  End 
    
  EVENT:  House Alarm turned OFF 
  If 
    (DI:Alarm Status) Goes OFF 
    " House alarm turned OFF! " 
  Then 
    DELAY  0:00:02 
    Voice:ALARM OFF  [Spkr] 
    X10:  (F-10  AC Booster Fan) OFF 
    (THEN MACRO:Cool House) 
  End 
    
  EVENT:  Monitor DoorBell 
  If 
    (DI:DoorBellSW) Goes OFF 
    " Ring Normal door bell if babys " 
    " are NOT sleeping. If babys are " 
    " sleeping, sound a softer ding. " 
  Then 
     If 
       " Dont announce when baby sleeps " 
       and  (IF MACRO:BabySleepHRS) 
     Then 
       Voice:DINGDONG  [Spkr] SYNC 
     Else 
       (RELAY:DoorBellRela) ON  
       DELAY  0:00:01 
       (RELAY:DoorBellRela) OFF  
      Nest End 
     If 
       (DI:Alarm Status) is ON 
     Then 
       (V:DoorBellRang)  INCREMENT 
       ASCII-Out:'&&page joe: Door Bell Rang!' [COM1] 
      Nest End 
  End 
    
  EVENT:  RC Kit/Din Lights On 
  If 
    IR Seq:'Center Left ' Received within 3 seconds  
  Then 
    X10:  (C-5  Kitchen Light) ON 
    X10:  (C-6  Dining Light) ON 
  End 
    
  EVENT:  RC kit/Din Lights Off 
  If 
    IR Seq:'Center Right ' Received within 3 seconds  
  Then 
    X10:  (C-5  Kitchen Light) OFF 
    X10:  (C-6  Dining Light) OFF 
  End 
    
  EVENT:  Off-Hook Load Timer Part-1 
  If 
    ICM: Is OFF Hook 
  Then 
    (T:DIAL TONE) LOAD with 0:00:02 
  End 
    
  EVENT:  Dial Tone Timer Expires Part-2 
  If 
    (T:DIAL TONE) is Expiring 
  Then 
    Connect PHONE port to CO port 
  End 
    
  EVENT:  Stop Dial Tone Dialer Part-3 
  If 
    (T:DIAL TONE) is Running 
    and  TelePhone Seq:'?' Received within 5 seconds  
      -OR- 
    ICM: Is ON Hook 
  Then 
    (T:DIAL TONE)  STOP  
  End 
    
  EVENT:  On-Hook - ICM Mode Part-4 
  If 
    TelePhone Seq:'+' Received within 2 seconds  
  Then 
    DELAY  0:00:02 
     If 
       CO: Is ON Hook 
     Then 
       Connect PHONE port to ICM port 
      Nest End 
  End 
    
  EVENT:  RING 1,2,3,4 Part-5 
  If 
    CO: Ring 2 
    or  CO: Ring 3 
    or  CO: Ring 4 
    or  CO: Ring 5 
  Then 
     If 
       ICM: Is ON Hook 
     Then 
        If 
          " No UNKNOWN calls allowed! " 
          " Unless I set flag to allow them. " 
          and  (F:allowunknowncall) is CLEAR 
          and  CallerID: Unknown Number 
        Then 
          Go OFF Hook 
          DELAY  0:00:01 
          Voice:IMSORRY  [CO] SYNC 
          Go ON Hook 
         Nest End 
       Connect PHONE port to CO port 
       DELAY  0:05:00 Re-Triggerable 
        If 
          CO: Is ON Hook 
        Then 
          Connect PHONE port to ICM port 
         Nest End 
      Nest End 
  End 
    
  EVENT:  Caller ID announce Part-6 
  If 
    CallerID: ?????????? 
  Then 
    VM:Change MailBox 1 Greeting to Yvy&Joe 
     If 
       CallerID: 3052359899 
       or  CallerID: 3054441917 
     Then 
       Voice:Yvettes MOM  [Spkr] 
       VM:Change MailBox 1 Greeting to GiselaaGreeting 
      Nest End 
     If 
       CallerID: 3059033971 
     Then 
       Voice:Yvette IS CALLING  [Spkr] 
       VM:Change MailBox 1 Greeting to Yvy&Joe 
      Nest End 
     If 
       CallerID: 3052263329 
     Then 
       Voice:Joes Mom  [Spkr] 
       VM:Change MailBox 1 Greeting to JoesMomgreting 
      Nest End 
     If 
       CallerID: 3053889870 
       or  CallerID: 3055920057 
       or  CallerID: 3052151534 
     Then 
       Voice:Manny  [Spkr] 
       VM:Change MailBox 1 Greeting to MannysGreeting 
      Nest End 
     If 
       CallerID: 3053878704 
     Then 
       Voice:Little Alex IS CALLING  [Spkr] 
       VM:Change MailBox 1 Greeting to LittleAlexGree 
      Nest End 
     If 
       CallerID: 3053786302 
     Then 
       Voice:Big Alex IS CALLING  [Spkr] 
       VM:Change MailBox 1 Greeting to BigAlexGreeting 
      Nest End 
     If 
       CallerID: 3054081215 
     Then 
       Voice:LittleDavid  [Spkr] 
       VM:Change MailBox 1 Greeting to DavidGreeting 
      Nest End 
     If 
       CallerID: 3052532244 
       or  CallerID: 3052527035 
     Then 
       Voice:ABIG IS CALLING  [Spkr] 
      Nest End 
     If 
       CallerID: 3053833316 
       or  CallerID: 3053017025 
       or  CallerID: 3052644457 
     Then 
       Voice:Miguel  [Spkr] 
       VM:Change MailBox 1 Greeting to MigsGreeting 
      Nest End 
     If 
       CallerID: 3053880719 
     Then 
       Voice:YvyGranny  [Spkr] 
       VM:Change MailBox 1 Greeting to Yvy&Joe 
      Nest End 
     If 
       CallerID: 3056683828 
     Then 
       Voice:Moe  [Spkr] 
       VM:Change MailBox 1 Greeting to MoesGreeting 
      Nest End 
  End 
    
  EVENT:  Visitor Mode ON 
  If 
    XSEQ:( N-4 N-ON ) Received within 4 seconds  
    " If dark enough, turn on lights " 
    " turn on picture frames and lava " 
    " light,  With a press of 1 button " 
  Then 
     If 
       (IF MACRO:Daylight) 
       " Only if its Dark Ouside! " 
     Then 
       X10:  (A-5  LivingRoom Light) PRE-Set Level  32 % 
      Nest End 
    X10:  (A-6  RedLight&Wave) ON 
    X10:  (C-7  Picture Light) ON 
  End 
    
  EVENT:  Visitor Mode OFF 
  If 
    XSEQ:( N-4 N-OFF ) Received within 4 seconds  
  Then 
    X10:  (A-6  RedLight&Wave) OFF 
    X10:  (C-7  Picture Light) OFF 
    X10:  (A-5  LivingRoom Light) OFF 
  End 
    
  EVENT:  Bedroom- #4 DSS in room ON 
  If 
    XSEQ:( B-8 B-ON ) Received within 3 seconds  
    " Users wants to watch DSS in " 
    " remote bedroom. " 
  Then 
     If 
       (IR PwrSense:StereoPower#1) is OFF 
     Then 
        If 
          (IR PwrSense:StereoPower#1) is OFF 
        Then 
          (IR:Pioneer Power ) play 1 time(s) [Emitter4] 
         Nest End 
       (F:multiroom-on)  SET 
       (IR:Set Bed TV 2Pio ) play 1 time(s) [Emitter4] 
       (IR:DSS PowerOn-Off ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
       (IR:Receiver-VCR2 ) play 1 time(s) [Emitter4] 
       (IR:Pioneer Vol Dwn ) play 17 time(s) [Emitter3] 
       (IR:Pioneer Vol Up ) play 13 time(s) [Emitter4] 
      Nest End 
  End 
    
  EVENT:  Bedroom- #4 DSS in room OFF 
  If 
    XSEQ:( B-8 B-OFF ) Received within 3 seconds  
    " Users wants to turn off DSS in " 
    " remote bedroom. " 
  Then 
     If 
       (F:multiroom-on) is SET 
     Then 
        If 
          (IR PwrSense:StereoPower#1) is ON 
          and  (IR PwrSense:TVPower#2) is OFF 
        Then 
          (IR:Pioneer Power ) play 1 time(s) [Emitter4] 
          (IR:DSS PowerOn-Off ) play 1 time(s) [Emitter3] 
         Nest End 
       (IR:Set Bed TV 2Pio ) play 1 time(s) [Emitter4] 
       (F:multiroom-on)  CLEAR 
      Nest End 
  End 
    
  EVENT:  LivingRoom TV only ON 
  If 
    " Other room is not ON. " 
    " So lets turn on needed equipment " 
    or  (F:multiroom-on) is CLEAR 
  Then 
     If 
       (F:TVpoweron) is CLEAR 
       and  (IR PwrSense:TVPower#2) Goes ON 
     Then 
       (IR:proscanVolDwn ) play 13 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
       (IR:tv ch0 ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
       (IR:tv ch7 ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
       (IR:proscanVolUp ) play 8 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
      Nest End 
  End 
    
  EVENT:  LivingRoom DSS ON 
  If 
    " User wants to watch DSS in " 
    " living room. Turn on equipment " 
    or  (F:multiroom-on) is CLEAR 
  Then 
     If 
       (IR PwrSense:StereoPower#1) Goes ON 
     Then 
       (F:TVpoweron)  SET 
        If 
          (IR PwrSense:TVPower#2) is OFF 
        Then 
          (IR:Proscan Power ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
         Nest End 
       (IR:DSS PowerOn-Off ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
       (IR:Pioneer Vol Dwn ) play 14 time(s) [Emitter3] 
       (IR:Pioneer Vol Up ) play 6 time(s) [Emitter3] 
       (IR:tv ch9 ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
       (IR:tv ch0 ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
      Nest End 
  End 
    
  EVENT:  LivingRoom DSS OFF 
  If 
    (F:multiroom-on) is CLEAR 
  Then 
     If 
       (IR PwrSense:StereoPower#1) Goes OFF 
     Then 
        If 
          (IR PwrSense:TVPower#2) is ON 
        Then 
          (F:TVpoweron)  CLEAR 
          (IR:Proscan Power ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
         Nest End 
       (IR:DSS PowerOn-Off ) play 1 time(s) [Emitter1,Emitter2,Emitter3,Emitter4] 
      Nest End 
  End 
    
  EVENT:  Living Room Light ON 
  If 
    XSEQ:( N-1 N-ON ) Received within 4 seconds  
  Then 
    X10:  (A-5  LivingRoom Light) PRE-Set Level  48 % 
  End 
    
  EVENT:  Living Room Lights - OFF 
  If 
    XSEQ:( N-1 N-OFF ) Received within 6 seconds  
  Then 
    X10:  (A-5  LivingRoom Light) OFF 
  End 
    
  EVENT:  Dining Room Light ON 
  If 
    XSEQ:( N-3 N-ON ) Received within 4 seconds  
  Then 
    X10:  (C-6  Dining Light) PRE-Set Level  48 % 
  End 
    
  EVENT:  Dining Room Light OFF 
  If 
    XSEQ:( N-3 N-OFF ) Received within 4 seconds  
  Then 
    X10:  (C-6  Dining Light) OFF 
  End 
    
  EVENT:  Kitchen Light ON 
  If 
    XSEQ:( N-2 N-ON ) Received within 4 seconds  
  Then 
    X10:  (C-5  Kitchen Light) PRE-Set Level  48 % 
  End 
    
  EVENT:  Kitchen Light OFF 
  If 
    XSEQ:( N-2 N-OFF ) Received within 6 seconds  
  Then 
    X10:  (C-5  Kitchen Light) OFF 
  End 
    
  EVENT:  Auto Night Time Entry Lighting 
  If 
    (DI:FlorSenOf=Op) Goes ON 
    and  After Sunset SMTWTFS 
    " If dark enough automatically " 
    " turn ON garage light. As garage  " 
    " door opens. " 
  Then 
    X10:  (D-5  Garage Light) ON 
     If 
       (DI:Alarm Status) Goes OFF 
     Then 
       X10:  (B-5  Main Bed Light) ON 
       X10:  (A-5  LivingRoom Light) ON 
       X10:  (E-5  BabyRoom Light) ON 
      Nest End 
  End 
    
  EVENT:  Attic Fan ON 
  If 
    (A/D:Attic Temp) >= 83 
    " Attic fan is controlled with a " 
    " Temp sensor that is located in " 
    " the attic. " 
  Then 
    X10:  (M-4  Attic Fan) ON 
    DELAY  0:20:00 
  End 
    
  EVENT:  Attic Fan OFF 
  If 
    (A/D:Attic Temp) <= 80 
  Then 
    X10:  (M-4  Attic Fan) OFF 
    DELAY  0:20:00 
  End 
    
  EVENT:  Front Pole Light ON 
  If 
    Time is (TL:After Sunset)  
    " Front yard pole control " 
  Then 
    X10:  (H-8  Front Pole/Light) ON 
  End 
    
  EVENT:  Front Pole Light OFF 
  If 
    Time is (TL:Before Sunrise)  
  Then 
    X10:  (H-8  Front Pole/Light) OFF 
  End 
    
  EVENT:  Control HVAC ON 
  If 
    " While at work lower AC " 
    and  Time is 6:30 AM .MTWTF. 
    and  (F:Day Off) is CLEAR 
  Then 
    (HVAC:HVAC)  COOL Mode 
    (HVAC:HVAC)  Set Temp to 78 degrees 
    (V:DoorBellRang)   CLEAR 
  End 
    
  EVENT:  Control HVAC OFF 
  If 
    " Cool House Prior to arriving " 
    and  Time is 4:45 PM .MTWTF. 
    and  (F:Day Off) is CLEAR 
  Then 
    (HVAC:HVAC)  AUTO Mode 
    (HVAC:HVAC)  Set Temp to 74 degrees 
  End 
    
  EVENT:  Automatic Sprinkler System 
  If 
    Time is 4:30 AM ..T...S 
    and  (DI:Rain-OFF=YES) is ON 
    " Turn ON sprinklers if it has NOT " 
    " Rained. Check rain sensor " 
  Then 
    X10:  (M-3  Sprinkler Pump) ON 
    DELAY  0:30:00 Re-Triggerable 
    X10:  (M-3  Sprinkler Pump) OFF 
    DELAY  0:00:10 
    X10:  (M-3  Sprinkler Pump) ON 
    DELAY  0:30:00 Re-Triggerable 
    X10:  (M-3  Sprinkler Pump) OFF 
  End 
    
  EVENT:  Garage door watch 
  If 
    (DI:FlorSenOf=Op) is OFF 
    " Keep light switch LED in sync " 
    " sensor OFF=door OPEN " 
    " with garage door status. " 
    " Light LED if door is open. " 
    " Turn off LED if door closed. " 
  Then 
    X10:  (B-15  Garage door stat) ON 
  Else 
    X10:  (B-15  Garage door stat) OFF 
  End 
    
  EVENT:  Melting Pot 
  If 
    TelePhone Seq:'*635' Received within 7 seconds  
  Then 
    TelePhone Out:'!3052798816' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  Chineze Food 
  If 
    TelePhone Seq:'*244' Received within 7 seconds  
  Then 
    TelePhone Out:'!3053881828' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  Cozolis Pizza 
  If 
    TelePhone Seq:'*269' Received within 7 seconds  
  Then 
    TelePhone Out:'!3053800069' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  Mig Beeper 
  If 
    TelePhone Seq:'#644' Received within 7 seconds  
  Then 
    TelePhone Out:'!3052377793' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  Migs House 
  If 
    TelePhone Seq:'*644' Received within 7 seconds  
  Then 
    TelePhone Out:'!3053833316' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  David Beeper 
  If 
    TelePhone Seq:'#328' Received within 7 seconds  
  Then 
    TelePhone Out:'!3058883341203' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  David House 
  If 
    TelePhone Seq:'*328' Received within 7 seconds  
  Then 
    TelePhone Out:'!3054081215' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  Little Alex Beeper 
  If 
    TelePhone Seq:'#548' Received within 7 seconds  
  Then 
    TelePhone Out:'!3052418699' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  Little Alex House 
  If 
    TelePhone Seq:'*548' Received within 7 seconds  
  Then 
    TelePhone Out:'!3053878704' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  Gisela House 
  If 
    TelePhone Seq:'*447' Received within 7 seconds  
  Then 
    TelePhone Out:'!3052359899' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  EVENT:  Gisela Work 
  If 
    TelePhone Seq:'#447' Received within 7 seconds  
  Then 
    TelePhone Out:'!3054433807' 
    Connect PHONE port to CO port 
    TelePhone Out:'+' 
  End 
    
  SCHEDULE END   
Device DataBase Listing
IF MACROS
IF Macro: Daylight 
  MACRO BEGIN   
  If 
    or  After Sunset SMTWTFS 
    or  Before Sunrise SMTWTFS 
  MACRO END 
IF Macro: BabySleepHRS 
  MACRO BEGIN   
  If 
    or  Time is After 7:00 PM SMTWTFS 
    or  Time is Before 7:00 AM SMTWTFS 
  MACRO END 

THEN MACROS
THEN Macro: Cool House 
  MACRO BEGIN   
    (HVAC:HVAC)  AUTO Mode 
    (HVAC:HVAC)  Set Temp to 74 degrees 
  MACRO END 
THEN Macro: Lower House Ac 
  MACRO BEGIN   
    X10:  (F-10  AC Booster Fan) ON 
    (HVAC:HVAC)  COOL Mode 
    (HVAC:HVAC)  Set Temp to 78 degrees 
  MACRO END 
THEN Macro: ReportInsideTemp 
  MACRO BEGIN   
    Voice:THE TEMPERAT IS HVAC Temperature DEGREES  [CO,ICM] SYNC 
  MACRO END 

X10 DEVICES
Name             H  U Location         Description                      Init Type F R P
---------------------------------------------------------------------------------------
                 A  1                                                   LAMP F    
                 A  2                                                   LAMP F    
                 A  3                                                   LAMP F    
                 A  4                                                   LAMP F    
LivingRoom Light A  5 Living Room                                       LAMP      
RedLight&Wave    A  6 Living Room                                       APPL      
                 A  7                                                   LAMP F    
                 A  8                                                   LAMP F    
                 A  9                                                   LAMP F    
                 A 10                                                   LAMP F    
                 A 11                                                   LAMP F    
                 A 12                                                   LAMP F    
                 A 13                                                   LAMP F    
                 A 14                                                   LAMP F    
                 A 15                                                   LAMP F    
                 A 16                                                   LAMP F    
                 B  1                                                   LAMP F    
                 B  2                                                   LAMP F    
                 B  3                                                   LAMP      
                 B  4                                                   LAMP F    
Main Bed Light   B  5 Master Bedroom                                    APPL      
Bath Light       B  6 Master Bedroom                                    LAMP      
                 B  7                                                   LAMP F    
Stereo On/Off    B  8                                                   LAMP      
                 B  9                                                   LAMP F    
                 B 10                                                   LAMP F    
                 B 11                                                   LAMP F    
                 B 12                                                   LAMP F    
RearFlood Bed#1  B 13 Master Wall Tx                                    REMT      
SPAcontrol Bed#2 B 14 Master Wall Tx                                    REMT      
Garage door stat B 15 Master Wall Tx                                    REMT      
LawnControlBed#4 B 16 Master Wall Tx                                    REMT      
                 C  1                                                   LAMP F    
                 C  2                                                   LAMP F    
                 C  3                                                   LAMP F    
                 C  4                                                   LAMP F    
Kitchen Light    C  5                                                   LAMP      
Dining Light     C  6                                                   LAMP      
Picture Light    C  7 Kitchen                                           APPL      
                 C  8                                                   LAMP F    
                 C  9                                                   LAMP F    
                 C 10                                                   LAMP F    
                 C 11                                                   LAMP F    
                 C 12                                                   LAMP F    
                 C 13                                                   LAMP F    
                 C 14                                                   LAMP F    
                 C 15                                                   LAMP F    
                 C 16                                                   LAMP F    
                 D  1                                                   LAMP F    
                 D  2                                                   LAMP F    
                 D  3                                                   LAMP F    
                 D  4                                                   LAMP F    
Garage Light     D  5                  Lights                           LAMP      
                 D  6                                                   LAMP F    
                 D  7                                                   LAMP F    
                 D  8                                                   LAMP F    
                 D  9                                                   LAMP F    
                 D 10                                                   LAMP F    
                 D 11                                                   LAMP F    
                 D 12                                                   LAMP F    
                 D 13                                                   LAMP F    
                 D 14                                                   LAMP F    
                 D 15                                                   LAMP F    
                 D 16                                                   LAMP F    
                 E  1                                                   LAMP F    
                 E  2                                                   LAMP F    
                 E  3                                                   LAMP F    
                 E  4                                                   LAMP F    
BabyRoom Light   E  5 Baby Room                                          OFF LAMP      
                 E  6                                                   LAMP F    
                 E  7                                                   LAMP F    
                 E  8                                                   LAMP F    
                 E  9                                                   LAMP F    
                 E 10                                                   LAMP F    
                 E 11                                                   LAMP F    
                 E 12                                                   LAMP F    
                 E 13                                                   LAMP F    
                 E 14                                                   LAMP F    
                 E 15                                                   LAMP F    
                 E 16                                                   LAMP F    
                 F  1                                                   LAMP F    
                 F  2                                                   LAMP F    
                 F  3                                                   LAMP F    
                 F  4                                                   LAMP F    
                 F  5                                                   LAMP F    
                 F  6                                                   LAMP F    
                 F  7                                                   LAMP F    
                 F  8                                                   LAMP F    
                 F  9                                                   LAMP F    
AC Booster Fan   F 10 Office                                            LAMP     P
                 F 11                                                   LAMP F    
                 F 12                                                   LAMP F    
                 F 13                                                   LAMP F    
                 F 14                                                   LAMP F    
                 F 15                                                   LAMP F    
                 F 16                                                   LAMP F    
                 G  1                                                   LAMP F    
                 G  2                                                   LAMP F    
                 G  3                                                   LAMP F    
                 G  4                                                   LAMP F    
Hall Bath Light  G  5                  Second Bathroom                   OFF LAMP      
                 G  6                                                   LAMP F    
                 G  7                                                   LAMP F    
                 G  8                                                   LAMP F    
                 G  9                                                   LAMP F    
                 G 10                                                   LAMP F    
                 G 11                                                   LAMP F    
                 G 12                                                   LAMP F    
                 G 13                                                   LAMP F    
                 G 14                                                   LAMP F    
                 G 15                                                   LAMP F    
                 G 16                                                   LAMP F    
                 H  1                                                   LAMP F    
                 H  2                                                   LAMP F    
                 H  3                                                   LAMP F    
                 H  4                                                   LAMP F    
                 H  5                                                   LAMP F    
                 H  6                                                   LAMP F    
                 H  7                                                   LAMP F    
Front Pole/Light H  8                                                   APPL     P
Front Floods g#1 H  9 Front 4b switch                                   REMT      
Rear Floods g#2  H 10 Front 4b switch                                   REMT      
Lawn Control g#3 H 11 Front 4b switch                                   REMT      
Spa Control g#4  H 12 Front 4b switch                                   REMT      
                 H 13                                                   LAMP F    
                 H 14                                                   LAMP F    
                 H 15                                                   LAMP F    
                 H 16                                                   LAMP F    
                 I  1                                                   LAMP F    
                 I  2                                                   LAMP F    
                 I  3                                                   LAMP F    
                 I  4                                                   LAMP F    
                 I  5                                                   LAMP F    
                 I  6                                                   LAMP F    
                 I  7                                                   LAMP F    
                 I  8                                                   LAMP F    
Rear Floods r#1  I  9 Rear 4b switch                                    APPL      
Lawn Control r#2 I 10 Rear 4b switch                                    APPL      
Pool Control r#3 I 11 Rear 4b switch                                    APPL      
SpaControl r#4   I 12                                                   LAMP F    
                 I 13                                                   LAMP F    
                 I 14                                                   LAMP F    
                 I 15                                                   LAMP F    
                 I 16                                                   LAMP F    
RCS HVAC         J  1                                                   LAMP      
                 J  2                                                   LAMP      
                 J  3                                                   LAMP      
                 J  4                                                   LAMP      
                 J  5                                                   LAMP      
                 J  6                                                   LAMP      
                 J  7                                                   LAMP      
                 J  8                                                   LAMP      
                 J  9                                                   LAMP      
                 J 10                                                   LAMP      
                 J 11                                                   LAMP      
                 J 12                                                   LAMP      
                 J 13                                                   LAMP      
                 J 14                                                   LAMP      
                 J 15                                                   LAMP      
                 J 16                                                   LAMP      
                 K  1                                                   LAMP F    
                 K  2                                                   LAMP F    
                 K  3                                                   LAMP F    
                 K  4                                                   LAMP F    
                 K  5                                                   LAMP F    
                 K  6                                                   LAMP F    
                 K  7                                                   LAMP F    
                 K  8                                                   LAMP F    
                 K  9                                                   LAMP F    
                 K 10                                                   LAMP F    
                 K 11                                                   LAMP F    
                 K 12                                                   LAMP F    
                 K 13                                                   LAMP F    
                 K 14                                                   LAMP F    
                 K 15                                                   LAMP F    
                 K 16                                                   LAMP F    
                 L  1                                                   LAMP F    
                 L  2                                                   LAMP F    
                 L  3                                                   LAMP F    
                 L  4                                                   LAMP F    
                 L  5                                                   LAMP F    
                 L  6                                                   LAMP F    
                 L  7                                                   LAMP F    
                 L  8                                                   LAMP F    
                 L  9                                                   LAMP F    
                 L 10                                                   LAMP F    
                 L 11                                                   LAMP F    
                 L 12                                                   LAMP F    
                 L 13                                                   LAMP F    
                 L 14                                                   LAMP F    
                 L 15                                                   LAMP F    
                 L 16                                                   LAMP F    
                 M  1                                                   APPL F   P
SPA              M  2 Rear Lawn                                         APPL      
Sprinkler Pump   M  3 Rear Lawn                                          OFF APPL      
Attic Fan        M  4 Attic                                             APPL      
                 M  5                                                   LAMP F    
                 M  6                                                   LAMP F    
                 M  7                                                   LAMP F    
                 M  8                                                   LAMP F    
                 M  9                                                   LAMP F    
                 M 10                                                   LAMP F    
                 M 11                                                   LAMP F    
                 M 12                                                   LAMP F    
                 M 13                                                   LAMP F    
                 M 14                                                   LAMP F    
                 M 15                                                   LAMP F    
                 M 16                                                   LAMP F    
LivingRoom Tx    N  1                                                   REMT      
                 N  2                                                   REMT F    
                 N  3                                                   REMT F    
                 N  4                                                   REMT F    
                 N  5                                                   REMT F    
                 N  6                                                   REMT F    
                 N  7                                                   REMT F    
                 N  8                                                   REMT F    
                 N  9                                                   REMT F    
                 N 10                                                   REMT F    
                 N 11                                                   REMT F    
                 N 12                                                   REMT F    
                 N 13                                                   REMT F    
                 N 14                                                   REMT F    
                 N 15                                                   REMT F    
                 N 16                                                   REMT F    
                 O  1                                                   LAMP F    
                 O  2                                                   LAMP F    
                 O  3                                                   LAMP F    
                 O  4                                                   LAMP F    
                 O  5                                                   LAMP F    
                 O  6                                                   LAMP F    
                 O  7                                                   LAMP F    
                 O  8                                                   LAMP F    
                 O  9                                                   LAMP F    
                 O 10                                                   LAMP F    
                 O 11                                                   LAMP F    
                 O 12                                                   LAMP F    
                 O 13                                                   LAMP F    
                 O 14                                                   LAMP F    
                 O 15                                                   LAMP F    
                 O 16                                                   LAMP F    
                 P  1                                                   LAMP F    
                 P  2                                                   LAMP F    
                 P  3                                                   LAMP F    
                 P  4                                                   LAMP F    
                 P  5                                                   LAMP F    
                 P  6                                                   LAMP F    
                 P  7                                                   LAMP F    
                 P  8                                                   LAMP F    
                 P  9                                                   LAMP F    
                 P 10                                                   LAMP F    
                 P 11                                                   LAMP F    
                 P 12                                                   LAMP F    
                 P 13                                                   LAMP F    
                 P 14                                                   LAMP F    
                 P 15                                                   LAMP F    
                 P 16                                                   LAMP F    
TIMERS
Name            Description 
----------------------------------------------- 
DIAL TONE        Tone Delay                       
Alarm Timer                                       
Time Labels 
----------------------------------------------- 
Name: Before Sunrise 
Description:  
Time Based on: Sunrise minus(-) 4:15 
Name: After Sunset 
Description:  
Time Based on: Sunset minus(-) 0:05 

Flag Devices
Name            Description                    Inital Value 
----------------------------------------------------------- 
AlarmOffByUser                                    CLEAR 
Multiroom                                         CLEAR 
PersonalVoiceMsg                                  CLEAR 
Day Off                                           CLEAR 
DoneItOnce!                                       CLEAR 
BypassCheck                                       CLEAR 
allowunknowncall                                  CLEAR 
TVpoweron                                         CLEAR 
multiroom-on                                      CLEAR 
GoodnightMode                                     CLEAR 
SpaTogleRemotely                                  CLEAR 
Variables
Name            Description                    Inital Value
----------------------------------------------------------- 
NumberOfTries    Keep track of garage re-tries        0 
DoorBellRang     Keep count of doorbell rings         0 
Ac temp                                               0 
TCM+
----------------------------------------------------------- 
Digitial In-1: Alarm Status     Digitial In- 9:                  Relay-1: DoorBellRela    
Digitial In-2: GarSens Secu     Digitial In-10:                  Relay-2: Garage OPEN     
Digitial In-3: DoorBellSW       Digitial In-11:                  Relay-3: Garage CLOSE    
Digitial In-4: Door Secure      Digitial In-12:                  Relay-4:                 
Digitial In-5: Alarm Triger     Digitial In-13:                  Relay-5:                 
Digitial In-6: Rain-OFF=YES     Digitial In-14:                  Relay-6:                 
Digitial In-7: FlorSenOf=Op     Digitial In-15:                  Relay-7:                 
Digitial In-8: SPAPower         Digitial In-16:                  Relay-8:                 
A/D-1: Office Temp      Gain = 1   Offset = 37
A/D-2: Attic Temp       Gain = 1   Offset = 37
A/D-3: Tank Temp-1      Gain = 1   Offset = 37
A/D-4: Tank Temp-2      Gain = 1   Offset