Stargate Resources Projects Contact US Polls Forums Quiz
 


 
 
 

John Davis- Schedule   

Schedule Name: BL030202.SCH
    
   1:   SCHEDULE START   
   2:     
   3:   EVENT:  Touchlinc Song <<|  &  |>> 
   4:   If 
   5:     (F:At Home) is SET 
   6:   Then 
   7:     |-If 
   8:     |  XSEQ:( F-6 ) Received within 2 seconds  
   9:     |Then 
  10:     |  (IR:ARQ Next Song ) play 1 time(s) [Emitter1] 
  11:     |- Nest End 
  12:     |-If 
  13:     |  XSEQ:( F-7 ) Received within 2 seconds  
  14:     |Then 
  15:     |  (IR:ARQ Prev Song ) play 1 time(s) [Emitter1] 
  16:     |- Nest End 
  17:   End 
  18:     
  19:   EVENT:  Pronto Dim Commands 
  20:   If 
  21:     IR Seq:' ' Received within 3 seconds  
  22:     and  (F:At Home) is SET 
  23:   Then 
  24:     |-If 
  25:     |  (V:) = 2 
  26:     |Then 
  27:     |  X10: B-DIM4 Steps  
  28:     |- Nest End 
  29:     |-If 
  30:     |  (V:) = 4 
  31:     |Then 
  32:     |  X10: D-DIM4 Steps  
  33:     |- Nest End 
  34:     |-If 
  35:     |  (V:) = 7 
  36:     |Then 
  37:     |  X10: G-DIM4 Steps  
  38:     |- Nest End 
  39:     |-If 
  40:     |  (V:) = 8 
  41:     |Then 
  42:     |  X10: H-DIM4 Steps  
  43:     |- Nest End 
  44:     |-If 
  45:     |  (V:) = 9 
  46:     |Then 
  47:     |  X10: I-DIM4 Steps  
  48:     |- Nest End 
  49:     |-If 
  50:     |  (V:) = 11 
  51:     |Then 
  52:     |  X10: K-DIM4 Steps  
  53:     |- Nest End 
  54:     |-If 
  55:     |  (V:) = 12 
  56:     |Then 
  57:     |  X10: L-DIM4 Steps  
  58:     |- Nest End 
  59:     |-If 
  60:     |  (V:) = 14 
  61:     |Then 
  62:     |  X10: N-DIM4 Steps  
  63:     |- Nest End 
  64:     |-If 
  65:     |  (V:) = 15 
  66:     |Then 
  67:     |  X10: O-DIM4 Steps  
  68:     |- Nest End 
  69:   End 
  70:     
  71:   EVENT:  Pronto Bright Commands 
  72:   If 
  73:     IR Seq:' ' Received within 5 seconds  
  74:     and  (F:At Home) is SET 
  75:   Then 
  76:     |-If 
  77:     |  (V:) = 2 
  78:     |Then 
  79:     |  X10: B-BRI4 Steps  
  80:     |- Nest End 
  81:     |-If 
  82:     |  (V:) = 4 
  83:     |Then 
  84:     |  X10: D-BRI4 Steps  
  85:     |- Nest End 
  86:     |-If 
  87:     |  (V:) = 7 
  88:     |Then 
  89:     |  X10: G-BRI4 Steps  
  90:     |- Nest End 
  91:     |-If 
  92:     |  (V:) = 8 
  93:     |Then 
  94:     |  X10: H-BRI4 Steps  
  95:     |- Nest End 
  96:     |-If 
  97:     |  (V:) = 9 
  98:     |Then 
  99:     |  X10: I-BRI4 Steps  
 100:     |- Nest End 
 101:     |-If 
 102:     |  (V:) = 11 
 103:     |Then 
 104:     |  X10: K-BRI4 Steps  
 105:     |- Nest End 
 106:     |-If 
 107:     |  (V:) = 12 
 108:     |Then 
 109:     |  X10: L-BRI4 Steps  
 110:     |- Nest End 
 111:     |-If 
 112:     |  (V:) = 14 
 113:     |Then 
 114:     |  X10: N-BRI4 Steps  
 115:     |- Nest End 
 116:     |-If 
 117:     |  (V:) = 15 
 118:     |Then 
 119:     |  X10: O-BRI4 Steps  
 120:     |- Nest End 
 121:   End 
 122:     
 123:   EVENT:  Pronto Main Floor Lights 
 124:   If 
 125:     (F:At Home) is SET 
 126:   Then 
 127:     |-If 
 128:     |  IR Seq:' ' Received within 3 seconds  
 129:     |Then 
 130:     |  (V:)  LOAD with 12 
 131:     |  |-If 
 132:     |  |  X10: (L-1  LR Recessed) is OFF  
 133:     |  |Then 
 134:     |  |  X10:  (L-1  LR Recessed) ON 
 135:     |  |Else 
 136:     |  |  X10:  (L-1  LR Recessed) OFF 
 137:     |  |- Nest End 
 138:     |- Nest End 
 139:     |-If 
 140:     |  IR Seq:' ' Received within 3 seconds  
 141:     |Then 
 142:     |  (V:)  LOAD with 12 
 143:     |  |-If 
 144:     |  |  X10: (L-2  LR Recessed/Bear) is OFF  
 145:     |  |Then 
 146:     |  |  X10:  (L-2  LR Recessed/Bear) ON 
 147:     |  |Else 
 148:     |  |  X10:  (L-2  LR Recessed/Bear) OFF 
 149:     |  |- Nest End 
 150:     |- Nest End 
 151:     |-If 
 152:     |  IR Seq:' ' Received within 3 seconds  
 153:     |Then 
 154:     |  (V:)  LOAD with 12 
 155:     |  |-If 
 156:     |  |  X10: (L-3  LR Lamps) is OFF  
 157:     |  |Then 
 158:     |  |  X10:  (L-3  LR Lamps) ON 
 159:     |  |Else 
 160:     |  |  X10:  (L-3  LR Lamps) OFF 
 161:     |  |- Nest End 
 162:     |- Nest End 
 163:     |-If 
 164:     |  IR Seq:' ' Received within 3 seconds  
 165:     |Then 
 166:     |  (V:)  LOAD with 12 
 167:     |  |-If 
 168:     |  |  X10: (L-4  LR Accent Lights) is OFF  
 169:     |  |Then 
 170:     |  |  X10:  (L-4  LR Accent Lights) ON 
 171:     |  |Else 
 172:     |  |  X10:  (L-4  LR Accent Lights) OFF 
 173:     |  |- Nest End 
 174:     |- Nest End 
 175:     |-If 
 176:     |  IR Seq:' ' Received within 3 seconds  
 177:     |Then 
 178:     |  (V:)  LOAD with 12 
 179:     |  |-If 
 180:     |  |  X10: (L-5  LR SR Recessed) is OFF  
 181:     |  |Then 
 182:     |  |  X10:  (L-5  LR SR Recessed) ON 
 183:     |  |Else 
 184:     |  |  X10:  (L-5  LR SR Recessed) OFF 
 185:     |  |- Nest End 
 186:     |- Nest End 
 187:     |-If 
 188:     |  IR Seq:' ' Received within 3 seconds  
 189:     |Then 
 190:     |  (V:)  LOAD with 8 
 191:     |  |-If 
 192:     |  |  X10: (H-3  Lower Hall Light) is OFF  
 193:     |  |Then 
 194:     |  |  X10:  (H-3  Lower Hall Light) ON 
 195:     |  |Else 
 196:     |  |  X10:  (H-3  Lower Hall Light) OFF 
 197:     |  |- Nest End 
 198:     |- Nest End 
 199:     |-If 
 200:     |  IR Seq:' ' Received within 3 seconds  
 201:     |Then 
 202:     |  (V:)  LOAD with 8 
 203:     |  |-If 
 204:     |  |  X10: (H-5  Powder Room) is OFF  
 205:     |  |Then 
 206:     |  |  X10:  (H-5  Powder Room) ON 
 207:     |  |Else 
 208:     |  |  X10:  (H-5  Powder Room) OFF 
 209:     |  |- Nest End 
 210:     |- Nest End 
 211:     |-If 
 212:     |  IR Seq:' ' Received within 3 seconds  
 213:     |Then 
 214:     |  (V:)  LOAD with 11 
 215:     |  |-If 
 216:     |  |  X10: (K-4  Kitchen Sink) is OFF  
 217:     |  |Then 
 218:     |  |  X10:  (K-4  Kitchen Sink) ON 
 219:     |  |Else 
 220:     |  |  X10:  (K-4  Kitchen Sink) OFF 
 221:     |  |- Nest End 
 222:     |- Nest End 
 223:     |-If 
 224:     |  IR Seq:' ' Received within 3 seconds  
 225:     |Then 
 226:     |  (V:)  LOAD with 11 
 227:     |  |-If 
 228:     |  |  X10: (K-3  Kitchen Cabinets) is OFF  
 229:     |  |Then 
 230:     |  |  X10:  (K-3  Kitchen Cabinets) ON 
 231:     |  |Else 
 232:     |  |  X10:  (K-3  Kitchen Cabinets) OFF 
 233:     |  |- Nest End 
 234:     |- Nest End 
 235:     |-If 
 236:     |  IR Seq:' ' Received within 3 seconds  
 237:     |Then 
 238:     |  (V:)  LOAD with 11 
 239:     |  |-If 
 240:     |  |  X10: (K-1  Kitchen Recessed) is OFF  
 241:     |  |Then 
 242:     |  |  X10:  (K-1  Kitchen Recessed) ON 
 243:     |  |Else 
 244:     |  |  X10:  (K-1  Kitchen Recessed) OFF 
 245:     |  |- Nest End 
 246:     |- Nest End 
 247:     |-If 
 248:     |  IR Seq:' ' Received within 3 seconds  
 249:     |Then 
 250:     |  (V:)  LOAD with 11 
 251:     |  |-If 
 252:     |  |  X10: (K-2  Kitchen Counter) is OFF  
 253:     |  |Then 
 254:     |  |  X10:  (K-2  Kitchen Counter) ON 
 255:     |  |Else 
 256:     |  |  X10:  (K-2  Kitchen Counter) OFF 
 257:     |  |- Nest End 
 258:     |- Nest End 
 259:   End 
 260:     
 261:   EVENT:  Pronto Bedroom & Hall 
 262:   If 
 263:     (F:At Home) is SET 
 264:   Then 
 265:     |-If 
 266:     |  IR Seq:' ' Received within 3 seconds  
 267:     |Then 
 268:     |  (V:)  LOAD with 2 
 269:     |  |-If 
 270:     |  |  X10: (B-3  BR Lamps) is OFF  
 271:     |  |Then 
 272:     |  |  X10:  (B-3  BR Lamps) ON 
 273:     |  |Else 
 274:     |  |  X10:  (B-3  BR Lamps) OFF 
 275:     |  |- Nest End 
 276:     |- Nest End 
 277:     |-If 
 278:     |  IR Seq:' ' Received within 3 seconds  
 279:     |Then 
 280:     |  (V:)  LOAD with 2 
 281:     |  |-If 
 282:     |  |  X10: (B-4  BR Accent) is OFF  
 283:     |  |Then 
 284:     |  |  X10:  (B-4  BR Accent) ON 
 285:     |  |Else 
 286:     |  |  X10:  (B-4  BR Accent) OFF 
 287:     |  |- Nest End 
 288:     |- Nest End 
 289:     |-If 
 290:     |  IR Seq:' ' Received within 3 seconds  
 291:     |Then 
 292:     |  (V:)  LOAD with 2 
 293:     |  |-If 
 294:     |  |  X10: (B-2  BR Chandelier) is OFF  
 295:     |  |Then 
 296:     |  |  X10:  (B-2  BR Chandelier) ON 
 297:     |  |Else 
 298:     |  |  X10:  (B-2  BR Chandelier) OFF 
 299:     |  |- Nest End 
 300:     |- Nest End 
 301:     |-If 
 302:     |  IR Seq:' ' Received within 3 seconds  
 303:     |Then 
 304:     |  (V:)  LOAD with 2 
 305:     |  |-If 
 306:     |  |  X10: (B-8  BR Bath Accent) is OFF  
 307:     |  |Then 
 308:     |  |  X10:  (B-8  BR Bath Accent) ON 
 309:     |  |Else 
 310:     |  |  X10:  (B-8  BR Bath Accent) OFF 
 311:     |  |- Nest End 
 312:     |- Nest End 
 313:     |-If 
 314:     |  IR Seq:' ' Received within 3 seconds  
 315:     |Then 
 316:     |  (V:)  LOAD with 2 
 317:     |  |-If 
 318:     |  |  X10: (B-12  ) is OFF  
 319:     |  |Then 
 320:     |  |  X10:  (B-12  ) ON 
 321:     |  |Else 
 322:     |  |  X10:  (B-12  ) OFF 
 323:     |  |- Nest End 
 324:     |- Nest End 
 325:     |-If 
 326:     |  IR Seq:' ' Received within 3 seconds  
 327:     |Then 
 328:     |  (V:)  LOAD with 2 
 329:     |  |-If 
 330:     |  |  X10: (B-13  ) is OFF  
 331:     |  |Then 
 332:     |  |  X10:  (B-13  ) ON 
 333:     |  |Else 
 334:     |  |  X10:  (B-13  ) OFF 
 335:     |  |- Nest End 
 336:     |- Nest End 
 337:     |-If 
 338:     |  IR Seq:' ' Received within 3 seconds  
 339:     |Then 
 340:     |  (V:)  LOAD with 2 
 341:     |  |-If 
 342:     |  |  X10: (B-6  BR Dressing) is OFF  
 343:     |  |Then 
 344:     |  |  X10:  (B-6  BR Dressing) ON 
 345:     |  |Else 
 346:     |  |  X10:  (B-6  BR Dressing) OFF 
 347:     |  |- Nest End 
 348:     |- Nest End 
 349:     |-If 
 350:     |  IR Seq:' ' Received within 3 seconds  
 351:     |Then 
 352:     |  (V:)  LOAD with 2 
 353:     |  |-If 
 354:     |  |  X10: (B-7  BR Bath) is OFF  
 355:     |  |Then 
 356:     |  |  X10:  (B-7  BR Bath) ON 
 357:     |  |Else 
 358:     |  |  X10:  (B-7  BR Bath) OFF 
 359:     |  |- Nest End 
 360:     |- Nest End 
 361:     |-If 
 362:     |  IR Seq:' ' Received within 3 seconds  
 363:     |Then 
 364:     |  (V:)  LOAD with 2 
 365:     |  |-If 
 366:     |  |  X10: (B-9  Center Hall Bath) is OFF  
 367:     |  |Then 
 368:     |  |  X10:  (B-9  Center Hall Bath) ON 
 369:     |  |Else 
 370:     |  |  X10:  (B-9  Center Hall Bath) OFF 
 371:     |  |- Nest End 
 372:     |- Nest End 
 373:   End 
 374:     
 375:   EVENT:  Pronto Den & Library 
 376:   If 
 377:     (F:At Home) is SET 
 378:   Then 
 379:     |-If 
 380:     |  IR Seq:' ' Received within 3 seconds  
 381:     |Then 
 382:     |  (V:)  LOAD with 7 
 383:     |  |-If 
 384:     |  |  X10: (G-3  Guest RM Lamps) is OFF  
 385:     |  |Then 
 386:     |  |  X10:  (G-3  Guest RM Lamps) ON 
 387:     |  |Else 
 388:     |  |  X10:  (G-3  Guest RM Lamps) OFF 
 389:     |  |- Nest End 
 390:     |- Nest End 
 391:     |-If 
 392:     |  IR Seq:' ' Received within 3 seconds  
 393:     |Then 
 394:     |  (V:)  LOAD with 7 
 395:     |  |-If 
 396:     |  |  X10: (G-4  Guest RM Accent) is OFF  
 397:     |  |Then 
 398:     |  |  X10:  (G-4  Guest RM Accent) ON 
 399:     |  |Else 
 400:     |  |  X10:  (G-4  Guest RM Accent) OFF 
 401:     |  |- Nest End 
 402:     |- Nest End 
 403:     |-If 
 404:     |  IR Seq:' ' Received within 3 seconds  
 405:     |Then 
 406:     |  (V:)  LOAD with 7 
 407:     |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  29 % 
 408:     |  X10:  (G-4  Guest RM Accent) PRE-Set Level  29 % 
 409:     |- Nest End 
 410:     |-If 
 411:     |  IR Seq:' ' Received within 3 seconds  
 412:     |Then 
 413:     |  (V:)  LOAD with 7 
 414:     |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  52 % 
 415:     |  X10:  (G-4  Guest RM Accent) PRE-Set Level  52 % 
 416:     |- Nest End 
 417:     |-If 
 418:     |  IR Seq:' ' Received within 3 seconds  
 419:     |Then 
 420:     |  (V:)  LOAD with 7 
 421:     |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  71 % 
 422:     |  X10:  (G-4  Guest RM Accent) PRE-Set Level  71 % 
 423:     |- Nest End 
 424:     |-If 
 425:     |  IR Seq:' ' Received within 3 seconds  
 426:     |Then 
 427:     |  (V:)  LOAD with 7 
 428:     |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  90 % 
 429:     |  X10:  (G-4  Guest RM Accent) PRE-Set Level  90 % 
 430:     |- Nest End 
 431:     |-If 
 432:     |  IR Seq:' ' Received within 3 seconds  
 433:     |Then 
 434:     |  (V:)  LOAD with 9 
 435:     |  |-If 
 436:     |  |  X10: (I-3  LIB Lamps) is OFF  
 437:     |  |Then 
 438:     |  |  X10:  (I-3  LIB Lamps) ON 
 439:     |  |Else 
 440:     |  |  X10:  (I-3  LIB Lamps) OFF 
 441:     |  |- Nest End 
 442:     |- Nest End 
 443:     |-If 
 444:     |  IR Seq:' ' Received within 3 seconds  
 445:     |Then 
 446:     |  (V:)  LOAD with 9 
 447:     |  |-If 
 448:     |  |  X10: (I-1  LIB Recessed) is OFF  
 449:     |  |Then 
 450:     |  |  X10:  (I-1  LIB Recessed) ON 
 451:     |  |Else 
 452:     |  |  X10:  (I-1  LIB Recessed) OFF 
 453:     |  |- Nest End 
 454:     |- Nest End 
 455:     |-If 
 456:     |  IR Seq:' ' Received within 3 seconds  
 457:     |Then 
 458:     |  (V:)  LOAD with 9 
 459:     |  |-If 
 460:     |  |  X10: (I-5  LIB Bookcase) is OFF  
 461:     |  |Then 
 462:     |  |  X10:  (I-5  LIB Bookcase) ON 
 463:     |  |  X10:  (I-5  LIB Bookcase) OFF 
 464:     |  |  X10:  (I-5  LIB Bookcase) ON 
 465:     |  |  X10:  (I-5  LIB Bookcase) OFF 
 466:     |  |  X10:  (I-5  LIB Bookcase) ON 
 467:     |  |  X10:  (I-5  LIB Bookcase) OFF 
 468:     |  |  X10:  (I-5  LIB Bookcase) ON 
 469:     |  |Else 
 470:     |  |  X10:  (I-5  LIB Bookcase) OFF 
 471:     |  |- Nest End 
 472:     |- Nest End 
 473:   End 
 474:     
 475:   EVENT:  Pronto Outdoor Lighting 
 476:   If 
 477:     (F:At Home) is SET 
 478:   Then 
 479:     |-If 
 480:     |  IR Seq:' ' Received within 3 seconds  
 481:     |Then 
 482:     |  (V:)  LOAD with 15 
 483:     |  |-If 
 484:     |  |  X10: (O-9  Deck Lights) is OFF  
 485:     |  |Then 
 486:     |  |  X10:  (O-9  Deck Lights) ON 
 487:     |  |Else 
 488:     |  |  X10:  (O-9  Deck Lights) OFF 
 489:     |  |- Nest End 
 490:     |- Nest End 
 491:     |-If 
 492:     |  IR Seq:' ' Received within 3 seconds  
 493:     |Then 
 494:     |  (V:)  LOAD with 15 
 495:     |  |-If 
 496:     |  |  X10: (O-2  Rear Deck Light) is OFF  
 497:     |  |Then 
 498:     |  |  X10:  (O-2  Rear Deck Light) ON 
 499:     |  |Else 
 500:     |  |  X10:  (O-2  Rear Deck Light) OFF 
 501:     |  |- Nest End 
 502:     |- Nest End 
 503:     |-If 
 504:     |  IR Seq:' ' Received within 3 seconds  
 505:     |Then 
 506:     |  (V:)  LOAD with 15 
 507:     |  |-If 
 508:     |  |  X10: (O-3  Rear Patio Light) is OFF  
 509:     |  |Then 
 510:     |  |  X10:  (O-3  Rear Patio Light) ON 
 511:     |  |Else 
 512:     |  |  X10:  (O-3  Rear Patio Light) OFF 
 513:     |  |- Nest End 
 514:     |- Nest End 
 515:     |-If 
 516:     |  IR Seq:' ' Received within 3 seconds  
 517:     |Then 
 518:     |  |-If 
 519:     |  |  X10: (O-11  Rear Garden Lts) is OFF  
 520:     |  |Then 
 521:     |  |  X10:  (O-11  Rear Garden Lts) ON 
 522:     |  |Else 
 523:     |  |  X10:  (O-11  Rear Garden Lts) OFF 
 524:     |  |- Nest End 
 525:     |- Nest End 
 526:     |-If 
 527:     |  IR Seq:' ' Received within 3 seconds  
 528:     |Then 
 529:     |  |-If 
 530:     |  |  X10: (O-7  R Outside Outlet) is OFF  
 531:     |  |Then 
 532:     |  |  X10:  (O-7  R Outside Outlet) ON 
 533:     |  |Else 
 534:     |  |  X10:  (O-7  R Outside Outlet) OFF 
 535:     |  |- Nest End 
 536:     |- Nest End 
 537:     |-If 
 538:     |  IR Seq:' ' Received within 3 seconds  
 539:     |Then 
 540:     |  |-If 
 541:     |  |  X10: (O-5  Stair Floods) is OFF  
 542:     |  |Then 
 543:     |  |  X10:  (O-5  Stair Floods) ON 
 544:     |  |Else 
 545:     |  |  X10:  (O-5  Stair Floods) OFF 
 546:     |  |- Nest End 
 547:     |- Nest End 
 548:     |-If 
 549:     |  IR Seq:' ' Received within 3 seconds  
 550:     |Then 
 551:     |  |-If 
 552:     |  |  X10: (O-7  R Outside Outlet) is OFF  
 553:     |  |Then 
 554:     |  |  X10:  (O-7  R Outside Outlet) ON 
 555:     |  |Else 
 556:     |  |  X10:  (O-7  R Outside Outlet) OFF 
 557:     |  |- Nest End 
 558:     |- Nest End 
 559:     |-If 
 560:     |  IR Seq:' ' Received within 3 seconds  
 561:     |Then 
 562:     |  |-If 
 563:     |  |  X10: (O-6  F Outside Outlet) is OFF  
 564:     |  |Then 
 565:     |  |  X10:  (O-6  F Outside Outlet) ON 
 566:     |  |Else 
 567:     |  |  X10:  (O-6  F Outside Outlet) OFF 
 568:     |  |- Nest End 
 569:     |- Nest End 
 570:     |-If 
 571:     |  IR Seq:' ' Received within 3 seconds  
 572:     |Then 
 573:     |  (V:)  LOAD with 15 
 574:     |  |-If 
 575:     |  |  X10: (O-1  Front Light) is OFF  
 576:     |  |Then 
 577:     |  |  X10:  (O-1  Front Light) ON 
 578:     |  |Else 
 579:     |  |  X10:  (O-1  Front Light) OFF 
 580:     |  |- Nest End 
 581:     |- Nest End 
 582:     |-If 
 583:     |  IR Seq:' ' Received within 3 seconds  
 584:     |  or  IR Seq:' ' Received within 3 seconds  
 585:     |  or  IR Seq:' ' Received within 5 seconds  
 586:     |Then 
 587:     |  |-If 
 588:     |  |  X10: (O-10  Front Garden Lts) is OFF  
 589:     |  |Then 
 590:     |  |  X10:  (O-10  Front Garden Lts) ON 
 591:     |  |Else 
 592:     |  |  X10:  (O-10  Front Garden Lts) OFF 
 593:     |  |- Nest End 
 594:     |- Nest End 
 595:   End 
 596:     
 597:   EVENT:  Doorbell Monitor 
 598:   If 
 599:     (DI:Doorbell) Goes ON 
 600:   Then 
 601:     (T:Doorbell) LOAD with 0:01:00 
 602:     (V:Doorbell)  INCREMENT 
 603:     |-If 
 604:     |  (T:Security Random) is Not Running 
 605:     |Then 
 606:     |  (V:Vaca Doorbell)  INCREMENT 
 607:     |- Nest End 
 608:     LOG 'Doorbell was rung' 
 609:     |-If 
 610:     |  (F:At Home) is SET 
 611:     |Then 
 612:     |  (THEN MACRO:Occupancy > Spkr) 
 613:     |  (THEN MACRO:Outdoor Spkr Off) 
 614:     |  (T:Speakers ON) LOAD with 0:00:10 
 615:     |  ASCII-Out:'@@DOORBELL.WAV' [COM1] 
 616:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
 617:     |  (IR:LCD 8 ) play 1 time(s) [Emitter1] 
 618:     |  X10: J - All Units OFF 
 619:     |  (T:LCD view) LOAD with 0:03:00 
 620:     |  (IR:LCD 8 ) play 1 time(s) [Emitter1] 
 621:     |- Nest End 
 622:     |-If 
 623:     |  Time is Before (TL:DAWN)  
 624:     |    -AND- 
 625:     |  X10: (O-1  Front Light) is not ON  
 626:     |Then 
 627:     |  X10:  (O-1  Front Light) PRE-Set Level  100% 
 628:     |  X10:  (O-1  Front Light) ON 
 629:     |  |-If 
 630:     |  |  X10: (O-10  Front Garden Lts) is not ON  
 631:     |  |Then 
 632:     |  |  X10:  (O-10  Front Garden Lts) ON 
 633:     |  |- Nest End 
 634:     |  (T:FR Security PIR) LOAD with 0:05:00 
 635:     |- Nest End 
 636:     |-If 
 637:     |  Time is After 8:00 AM SMTWTFS 
 638:     |  and  Time is Before 7:00 PM SMTWTFS 
 639:     |  and  CO: Is ON Hook 
 640:     |  and  (F:Away) is SET 
 641:     |Then 
 642:     |  TelePhone Out:'^13015454110' 
 643:     |  Voice:SILENCE2 SILENCE2 SILENCE2 SILENCE2 SILENCE2 SILENCE2
  [Spkr,Line] SYNC 
 644:     |  Voice:STAYONLN  [CO] SYNC 
 645:     |  Voice:VISITOR PRESS DOORBELL AT <hh:mm am/pm>SILENCE2 SILENCE2
 SILENCE2  [CO] SYNC 
 646:     |  Voice:STAYONLN SILENCE2 SILENCE2 SILENCE2  [CO] SYNC 
 647:     |  Voice:VISITOR PRESS DOORBELL AT <hh:mm am/pm>SILENCE2 SILENCE2
 SILENCE2  [CO] SYNC 
 648:     |  Voice:STAYONLN SILENCE2 SILENCE2 SILENCE2  [CO] SYNC 
 649:     |  Voice:VISITOR PRESS DOORBELL AT <hh:mm am/pm> [CO] SYNC 
 650:     |  TelePhone Out:'+' 
 651:     |  TelePhone Out:'+' 
 652:     |  LOG 'Office Notification Complete' 
 653:     |- Nest End 
 654:   End 
 655:     
 656:   EVENT:  Phone Ringing 
 657:   If 
 658:     CO: Ring 2 
 659:   Then 
 660:     |-If - Always 
 661:     |  (F:Bedtime) is Not SET 
 662:     |  and  (F:Candlelight) is Not SET 
 663:     |Then 
 664:     |  (THEN MACRO:Occupancy > Spkr) 
 665:     |  (T:Speakers ON) LOAD with 0:01:00 
 666:     |- Nest End 
 667:     (THEN MACRO:Caller ID Filter) 
 668:     (V:Telephone Calls)  INCREMENT 
 669:     (V:Vaca Telephone)  INCREMENT 
 670:     ASCII-Out:'<CID>' [COM1] 
 671:   End 
 672:     
 673:   EVENT:  TEMP Atrium PIR 
 674:   If 
 675:     (DI:UHall PIR) Toggles  
 676:   Then 
 677:     |-If 
 678:     |  (F:Away) is Not SET 
 679:     |Then 
 680:     |  |-If 
 681:     |  |  After Sunrise SMTWTFS 
 682:     |  |  and  Time is Before 11:59 PM SMTWTFS 
 683:     |  |  and  (T:Main Stairwy PIR) is Not Running 
 684:     |  |Then 
 685:     |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level  100% 
 686:     |  |- Nest End 
 687:     |  |-If 
 688:     |  |  (T:Main Stairwy PIR) is Running 
 689:     |  |Then 
 690:     |  |  X10:  (H-1  Hall Chandelier) ON 
 691:     |  |- Nest End 
 692:     |  (T:Main Stairwy PIR) LOAD with 0:45:00 
 693:     |- Nest End 
 694:   End 
 695:     
 696:   EVENT:  Main Stairway PIR's 
 697:   If 
 698:     (DI:LHall PIR) Toggles  
 699:    * Frozen *   or  (DI:UHall PIR) Toggles  
 700:   Then 
 701:     |-If 
 702:     |  (F:Away) is Not SET 
 703:     |Then 
 704:     |  (V:)  LOAD with 8 
 705:     |  |-If 
 706:     |  |  (F:Bedtime) is SET 
 707:     |  |  or  (F:Candlelight) is SET 
 708:     |  |Then 
 709:     |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level   3 % 
 710:     |  |- Nest End 
 711:     |  |-If 
 712:     |  |  (F:Bedtime) is Not SET 
 713:     |  |  and  (F:Candlelight) is Not SET 
 714:     |  |  and  (F:MovieTime!) is Not SET 
 715:     |  |  and  After Sunrise SMTWTFS 
 716:     |  |  and  Time is Before 10:00 PM SMTWTFS 
 717:     |  |  and  (T:Main Stairwy PIR) is Not Running 
 718:     |  |Then 
 719:     |  |  |-If 
 720:     |  |  |  (F:Morning) is SET 
 721:     |  |  |Then 
 722:     |  |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level  61 % 
 723:     |  |  |Else 
 724:     |  |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level  90 % 
 725:     |  |  |- Nest End 
 726:     |  |- Nest End 
 727:     |  |-If 
 728:     |  |  (F:Bedtime) is Not SET 
 729:     |  |  and  (F:Candlelight) is Not SET 
 730:     |  |  and  (F:MovieTime!) is Not SET 
 731:     |  |  and  (T:Main Stairwy PIR) is Not Running 
 732:     |  |Then 
 733:     |  |  |-If 
 734:     |  |  |  Time is After 10:00 PM SMTWTFS 
 735:     |  |  |  and  Time is Before 11:00 PM SMTWTFS 
 736:     |  |  |Then 
 737:     |  |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level  39 % 
 738:     |  |  |- Nest End 
 739:     |  |  |-If 
 740:     |  |  |  Time is After 11:00 PM SMTWTFS 
 741:     |  |  |    -OR- 
 742:     |  |  |  Before Sunrise SMTWTFS 
 743:     |  |  |Then 
 744:     |  |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level  26 % 
 745:     |  |  |- Nest End 
 746:     |  |- Nest End 
 747:     |  |-If 
 748:     |  |  (F:MovieTime!) is SET 
 749:     |  |Then 
 750:     |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level  26 % 
 751:     |  |- Nest End 
 752:     |  |-If 
 753:     |  |  (T:Main Stairwy PIR) is Running 
 754:     |  |Then 
 755:     |  |  X10:  (H-1  Hall Chandelier) ON 
 756:     |  |- Nest End 
 757:     |  (T:Main Stairwy PIR) LOAD with 0:00:30 
 758:     |Else 
 759:     |  (RELAY:Kitchen SP) ON  
 760:     |  (RELAY:Living Rm SP) ON  
 761:     |  (T:Speakers ON) LOAD with 0:01:00 
 762:     |  Voice:ACCESS DENIED DO NOT USE STAIRWAY  [Spkr,Line] SYNC 
 763:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
 764:     |- Nest End 
 765:   End 
 766:     
 767:   EVENT:  Main Stairway PIR Timer 
 768:   If 
 769:     (T:Main Stairwy PIR) is Not Running 
 770:     and  (F:FREEZE PIR TIMER) is Not SET 
 771:     and  (DI:LHall PIR) is ON 
 772:     and  (DI:UHall PIR) is ON 
 773:   Then 
 774:     X10:  (H-1  Hall Chandelier) OFF 
 775:     X10:  (H-1  Hall Chandelier) OFF 
 776:     |-If 
 777:     |  (F:Bedtime) is SET 
 778:     |  and  Time is Dark (after SunSet, before SunRise) 
 779:     |  and  XSEQ:( H-2 H-OFF ) Received within 4 seconds  
 780:     |Then 
 781:     |  X10:  (O-12  Christmas Railng) OFF 
 782:     |  X10:  (O-12  Christmas Railng) OFF 
 783:     |- Nest End 
 784:   End 
 785:     
 786:   EVENT:  Main Stairway > Nightlights 
 787:   If 
 788:     (F:Bedtime) is SET 
 789:     and  Time is Dark (after SunSet, before SunRise) 
 790:   Then 
 791:     |-If 
 792:     |  (DI:LHall PIR) Goes OFF 
 793:     |  and  (DI:UHall PIR) is OFF 
 794:     |Then 
 795:     |  X10:  (L-2  LR Recessed/Bear) PRE-Set Level   6 % 
 796:     |  X10:  (L-5  LR SR Recessed) PRE-Set Level   3 % 
 797:     |- Nest End 
 798:     |-If 
 799:     |  (DI:UHall PIR) Goes OFF 
 800:     |  and  (DI:LHall PIR) is OFF 
 801:     |Then 
 802:     |  X10:  (O-12  Christmas Railng) OFF 
 803:     |  X10:  (H-2  Hall Light) OFF 
 804:     |  X10:  (L-2  LR Recessed/Bear) OFF 
 805:     |  X10:  (L-5  LR SR Recessed) OFF 
 806:     |- Nest End 
 807:   End 
 808:     
 809:   FASTEVENT:  MBR (E) [ DI:MBR (E) PIR Goes OFF]  
 810:   Then 
 811:     |-If 
 812:     |  (F:Away) is Not SET 
 813:     |Then 
 814:     |  |-If 
 815:     |  |  (V:) != 2 
 816:     |  |Then 
 817:     |  |  (V:)  LOAD with 2 
 818:     |  |- Nest End 
 819:     |  (T:MBR OCCUPANCY) LOAD with 0:10:00 
 820:     |  |-If 
 821:     |  |  (F:Bedtime) is Not SET 
 822:     |  |  and  (F:Candlelight) is Not SET 
 823:     |  |  and  Time is After (TL:Pre-Sunset)  
 824:     |  |  and  Time is Before 9:00 PM SMTWTFS 
 825:     |  |Then 
 826:     |  |  |-If 
 827:     |  |  |  X10: (B-2  BR Chandelier) is not ON  
 828:     |  |  |Then 
 829:     |  |  |  X10:  (B-2  BR Chandelier) PRE-Set Level  48 % 
 830:     |  |  |  X10:  (B-3  BR Lamps) PRE-Set Level  68 % 
 831:     |  |  |  X10:  (B-4  BR Accent) PRE-Set Level  65 % 
 832:     |  |  |- Nest End 
 833:     |  |  (V:MBR Light Levels)  LOAD with 74 
 834:     |  |  (T:Master BR PIR) LOAD with 0:05:00 
 835:     |  |  X10:  (B-2  BR Chandelier) ON 
 836:     |  |  X10:  (B-3  BR Lamps) ON 
 837:     |  |  X10:  (B-4  BR Accent) ON 
 838:     |  |- Nest End 
 839:     |  |-If 
 840:     |  |  (F:Bedtime) is Not SET 
 841:     |  |  and  (F:Candlelight) is Not SET 
 842:     |  |  and  Time is After 9:00 PM SMTWTFS 
 843:     |  |  and  Time is Before 10:00 PM SMTWTFS 
 844:     |  |Then 
 845:     |  |  |-If 
 846:     |  |  |  (T:Master BR PIR) is Not Running 
 847:     |  |  |Then 
 848:     |  |  |  X10:  (B-2  BR Chandelier) PRE-Set Level  32 % 
 849:     |  |  |  X10:  (B-3  BR Lamps) PRE-Set Level  45 % 
 850:     |  |  |  X10:  (B-4  BR Accent) PRE-Set Level  42 % 
 851:     |  |  |- Nest End 
 852:     |  |  (V:MBR Light Levels)  LOAD with 55 
 853:     |  |  (T:Master BR PIR) LOAD with 0:05:00 
 854:     |  |  X10:  (B-2  BR Chandelier) ON 
 855:     |  |  X10:  (B-3  BR Lamps) ON 
 856:     |  |  X10:  (B-4  BR Accent) ON 
 857:     |  |- Nest End 
 858:     |  |-If 
 859:     |  |  (F:Bedtime) is Not SET 
 860:     |  |  and  (F:Candlelight) is Not SET 
 861:     |  |  and  Time is After 10:00 PM SMTWTFS 
 862:     |  |  and  Time is Before 10:30 PM SMTWTFS 
 863:     |  |Then 
 864:     |  |  |-If 
 865:     |  |  |  (T:Master BR PIR) is Not Running 
 866:     |  |  |Then 
 867:     |  |  |  X10:  (B-2  BR Chandelier) PRE-Set Level  19 % 
 868:     |  |  |  X10:  (B-3  BR Lamps) PRE-Set Level  32 % 
 869:     |  |  |  X10:  (B-4  BR Accent) PRE-Set Level  26 % 
 870:     |  |  |- Nest End 
 871:     |  |  (V:MBR Light Levels)  LOAD with 35 
 872:     |  |  (T:Master BR PIR) LOAD with 0:05:00 
 873:     |  |  X10:  (B-2  BR Chandelier) ON 
 874:     |  |  X10:  (B-3  BR Lamps) ON 
 875:     |  |  X10:  (B-4  BR Accent) ON 
 876:     |  |- Nest End 
 877:     |  |-If 
 878:     |  |  (F:Bedtime) is Not SET 
 879:     |  |  and  (F:Candlelight) is Not SET 
 880:     |  |  and  Time is After 10:30 PM SMTWTFS 
 881:     |  |    -OR- 
 882:     |  |  (F:Bedtime) is Not SET 
 883:     |  |  and  (F:Candlelight) is Not SET 
 884:     |  |  and  Time is Before (TL:DAWN)  
 885:     |  |Then 
 886:     |  |  |-If 
 887:     |  |  |  (T:Master BR PIR) is Not Running 
 888:     |  |  |Then 
 889:     |  |  |  X10:  (B-2  BR Chandelier) PRE-Set Level  13 % 
 890:     |  |  |  X10:  (B-3  BR Lamps) PRE-Set Level  16 % 
 891:     |  |  |- Nest End 
 892:     |  |  (V:MBR Light Levels)  LOAD with 16 
 893:     |  |  (T:Master BR PIR) LOAD with 0:05:00 
 894:     |  |  X10:  (B-2  BR Chandelier) ON 
 895:     |  |  X10:  (B-3  BR Lamps) ON 
 896:     |  |- Nest End 
 897:     |  |-If 
 898:     |  |  (F:Bedtime) is SET 
 899:     |  |Then 
 900:     |  |  |-If 
 901:     |  |  |  Date is After Dec  1 
 902:     |  |  |  or  Date is Before Feb  1 
 903:     |  |  |Then 
 904:     |  |  |  X10:  (O-12  Christmas Railng) PRE-Set Level  26 % 
 905:     |  |  |Else 
 906:     |  |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level   3 % 
 907:     |  |  |  (T:Main Stairwy PIR) LOAD with 0:00:30 
 908:     |  |  |- Nest End 
 909:     |  |- Nest End 
 910:     |  |-If 
 911:     |  |  " Turns Lights OFF during the day " 
 912:     |  |  and  (F:Bedtime) is Not SET 
 913:     |  |  and  (F:Candlelight) is Not SET 
 914:     |  |  and  After Sunrise SMTWTFS 
 915:     |  |  and  Time is Before (TL:Pre-Sunset)  
 916:     |  |Then 
 917:     |  |  (T:Master BR PIR) LOAD with 0:20:00 
 918:     |  |- Nest End 
 919:     |Else 
 920:     |  (RELAY:Bedroom SP) ON  
 921:     |  (T:Speakers ON) LOAD with 0:01:00 
 922:     |  Voice:ACCESS DENIED SILENCE1 LEAVE BEDROOM NOW!  [Spkr,Line] SYNC 
 923:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
 924:     |- Nest End 
 925:   End 
 926:     
 927:   EVENT:  Master Bedroom PIR 
 928:   If 
 929:     (DI:MBR /Bed PIR) Toggles  
 930:     or  (DI:MBR /Rec PIR) Toggles  
 931:       -AND- 
 932:     (F:At Home) is SET 
 933:   Then 
 934:     |-If 
 935:     |  (V:) != 2 
 936:     |Then 
 937:     |  (V:)  LOAD with 2 
 938:     |- Nest End 
 939:     (T:Master BR PIR) LOAD with 0:15:00 
 940:     (T:MBR OCCUPANCY) LOAD with 0:10:00 
 941:   End 
 942:     
 943:   EVENT:  Master Bedroom PIR Timer 
 944:   If 
 945:     (T:Master BR PIR) is Not Running 
 946:     and  (T:Master Bath PIR) is Not Running 
 947:     and  (T:Dressing RM PIR) is Not Running 
 948:     and  (F:FREEZE PIR TIMER) is Not SET 
 949:   Then 
 950:     (T:MBR OCCUPANCY)  CLEAR 
 951:     X10:  (B-2  BR Chandelier) OFF 
 952:     X10:  (B-3  BR Lamps) OFF 
 953:     X10:  (B-4  BR Accent) OFF 
 954:   End 
 955:     
 956:   FASTEVENT:  Dressing RM (E)  [ DI:Dress(E) PIR Goes OFF]  
 957:   Then 
 958:     |-If - Always 
 959:     |  (F:Away) is Not SET 
 960:     |Then 
 961:     |  |-If 
 962:     |  |  (V:) != 2 
 963:     |  |Then 
 964:     |  |  (V:)  LOAD with 2 
 965:     |  |- Nest End 
 966:     |  |-If 
 967:     |  |  (F:Bedtime) is SET 
 968:     |  |  or  (F:Candlelight) is SET 
 969:     |  |Then 
 970:     |  |  X10:  (B-7  BR Bath) PRE-Set Level   6 % 
 971:     |  |  X10:  (B-8  BR Bath Accent) PRE-Set Level   3 % 
 972:     |  |  X10:  (B-12  ) PRE-Set Level   6 % 
 973:     |  |  (T:Dressing RM PIR) LOAD with 0:05:00 
 974:     |  |  (T:MBR OCCUPANCY) LOAD with 0:08:00 
 975:     |  |- Nest End 
 976:     |  |-If 
 977:     |  |  (F:Bedtime) is Not SET 
 978:     |  |  and  (F:Candlelight) is Not SET 
 979:     |  |  and  Time is After (TL:Pre-Sunset)  
 980:     |  |  and  (T:Master Bath PIR) is Not Running 
 981:     |  |  and  (T:Dressing RM PIR) is Not Running 
 982:     |  |    -OR- 
 983:     |  |  (F:Bedtime) is Not SET 
 984:     |  |  and  (F:Candlelight) is Not SET 
 985:     |  |  and  Before Sunrise SMTWTFS 
 986:     |  |  and  (T:Master Bath PIR) is Not Running 
 987:     |  |  and  (T:Dressing RM PIR) is Not Running 
 988:     |  |Then 
 989:     |  |  (T:Dressing RM PIR) LOAD with 0:02:00 
 990:     |  |  (T:MBR OCCUPANCY) LOAD with 0:08:00 
 991:     |  |  |-If 
 992:     |  |  |  (V:MBR Light Levels) > 55 
 993:     |  |  |Then 
 994:     |  |  |  X10:  (B-6  BR Dressing) PRE-Set Level  74 % 
 995:     |  |  |  X10:  (B-7  BR Bath) PRE-Set Level  77 % 
 996:     |  |  |  X10:  (B-13  ) PRE-Set Level  65 % 
 997:     |  |  |  X10:  (B-8  BR Bath Accent) PRE-Set Level  71 % 
 998:     |  |  |  X10:  (B-12  ) PRE-Set Level  71 % 
 999:     |  |  |- Nest End 
1000:     |  |  |-If 
1001:     |  |  |  (V:MBR Light Levels) = 55 
1002:     |  |  |Then 
1003:     |  |  |  X10:  (B-6  BR Dressing) PRE-Set Level  52 % 
1004:     |  |  |  X10:  (B-7  BR Bath) PRE-Set Level  58 % 
1005:     |  |  |  X10:  (B-13  ) PRE-Set Level  55 % 
1006:     |  |  |  X10:  (B-8  BR Bath Accent) PRE-Set Level  55 % 
1007:     |  |  |  X10:  (B-12  ) PRE-Set Level  55 % 
1008:     |  |  |- Nest End 
1009:     |  |  |-If 
1010:     |  |  |  (V:MBR Light Levels) = 35 
1011:     |  |  |Then 
1012:     |  |  |  X10:  (B-6  BR Dressing) PRE-Set Level  23 % 
1013:     |  |  |  X10:  (B-7  BR Bath) PRE-Set Level  32 % 
1014:     |  |  |  X10:  (B-13  ) PRE-Set Level  23 % 
1015:     |  |  |  X10:  (B-8  BR Bath Accent) PRE-Set Level  23 % 
1016:     |  |  |  X10:  (B-12  ) PRE-Set Level  23 % 
1017:     |  |  |- Nest End 
1018:     |  |  |-If 
1019:     |  |  |  (V:MBR Light Levels) = 16 
1020:     |  |  |Then 
1021:     |  |  |  X10:  (B-6  BR Dressing) PRE-Set Level  10 % 
1022:     |  |  |  X10:  (B-7  BR Bath) PRE-Set Level  13 % 
1023:     |  |  |  X10:  (B-13  ) PRE-Set Level   6 % 
1024:     |  |  |  X10:  (B-8  BR Bath Accent) PRE-Set Level   6 % 
1025:     |  |  |  X10:  (B-12  ) PRE-Set Level   6 % 
1026:     |  |  |- Nest End 
1027:     |  |- Nest End 
1028:     |  |-If 
1029:     |  |  (F:Bedtime) is Not SET 
1030:     |  |  and  (F:Candlelight) is Not SET 
1031:     |  |  and  Time is After 5:00 PM SMTWTFS 
1032:     |  |  and  (T:Master Bath PIR) is Running 
1033:     |  |    -OR- 
1034:     |  |  (F:Bedtime) is Not SET 
1035:     |  |  and  (F:Candlelight) is Not SET 
1036:     |  |  and  Before Sunrise SMTWTFS 
1037:     |  |  and  (T:Master Bath PIR) is Running 
1038:     |  |    -OR- 
1039:     |  |  (F:Bedtime) is Not SET 
1040:     |  |  and  (F:Candlelight) is Not SET 
1041:     |  |  and  Time is After 5:00 PM SMTWTFS 
1042:     |  |  and  (T:Dressing RM PIR) is Running 
1043:     |  |    -OR- 
1044:     |  |  (F:Bedtime) is Not SET 
1045:     |  |  and  (F:Candlelight) is Not SET 
1046:     |  |  and  Before Sunrise SMTWTFS 
1047:     |  |  and  (T:Dressing RM PIR) is Running 
1048:     |  |Then 
1049:     |  |  X10:  (B-6  BR Dressing)  
1050:     |  |  X10:  (B-7  BR Bath)  
1051:     |  |  X10:  (B-13  )  
1052:     |  |  X10:  (B-8  BR Bath Accent)  
1053:     |  |  X10:  (B-12  )  
1054:     |  |  X10: B-ON 
1055:     |  |  (T:Dressing RM PIR) LOAD with 0:03:00 
1056:     |  |  (T:MBR OCCUPANCY) LOAD with 0:08:00 
1057:     |  |- Nest End 
1058:     |  |-If 
1059:     |  |  (F:Morning) is SET 
1060:     |  |  and  (T:Dressing RM PIR) is Not Running 
1061:     |  |Then 
1062:     |  |  |-If 
1063:     |  |  |  Time is Before 7:00 AM SMTWTFS 
1064:     |  |  |Then 
1065:     |  |  |  X10:  (B-6  BR Dressing) PRE-Set Level  10 % 
1066:     |  |  |  X10:  (B-7  BR Bath) PRE-Set Level  13 % 
1067:     |  |  |  X10:  (B-13  ) PRE-Set Level  13 % 
1068:     |  |  |Else 
1069:     |  |  |  X10:  (B-6  BR Dressing) PRE-Set Level  48 % 
1070:     |  |  |  X10:  (B-7  BR Bath) PRE-Set Level  65 % 
1071:     |  |  |  X10:  (B-13  ) PRE-Set Level  65 % 
1072:     |  |  |- Nest End 
1073:     |  |  X10:  (B-6  BR Dressing)  
1074:     |  |  X10:  (B-7  BR Bath)  
1075:     |  |  X10:  (B-13  )  
1076:     |  |  X10: B-ON 
1077:     |  |  (T:Dressing RM PIR) LOAD with 0:03:00 
1078:     |  |  (T:MBR OCCUPANCY) LOAD with 0:08:00 
1079:     |  |- Nest End 
1080:     |  |-If 
1081:     |  |  " Turns Lights OFF during the day " 
1082:     |  |  and  (F:Bedtime) is Not SET 
1083:     |  |  and  (F:Candlelight) is Not SET 
1084:     |  |  and  (F:Morning) is Not SET 
1085:     |  |  and  After Sunrise SMTWTFS 
1086:     |  |  and  Time is Before (TL:Pre-Sunset)  
1087:     |  |Then 
1088:     |  |  X10:  (B-6  BR Dressing) PRE-Set Level  100% 
1089:     |  |  X10:  (B-7  BR Bath) PRE-Set Level  100% 
1090:     |  |  X10:  (B-13  ) PRE-Set Level  100% 
1091:     |  |  X10:  (B-12  ) PRE-Set Level  100% 
1092:     |  |  X10:  (B-6  BR Dressing)  
1093:     |  |  X10:  (B-7  BR Bath)  
1094:     |  |  X10: B-ON 
1095:     |  |  (T:Dressing RM PIR) LOAD with 0:04:00 
1096:     |  |  (T:MBR OCCUPANCY) LOAD with 0:08:00 
1097:     |  |- Nest End 
1098:     |Else 
1099:     |  (RELAY:Bedroom SP) ON  
1100:     |  (T:Speakers ON) LOAD with 0:01:00 
1101:     |  Voice:DO NOT ENTER THE BATH AREA  [Spkr,Line] SYNC 
1102:     |  Voice:YOUR ACTIVITY IS ON VIDEO SILENCE2 SILENCE2 
               SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
1103:     |- Nest End 
1104:   End 
1105:     
1106:   EVENT:  Dressing Room PIR 
1107:   If - Always 
1108:     (DI:Dress PIR) is OFF 
1109:     or  (DI:Dress PIR) Toggles  
1110:   Then 
1111:     |-If - Always 
1112:     |  (F:Away) is Not SET 
1113:     |Then 
1114:     |  |-If 
1115:     |  |  (V:) != 2 
1116:     |  |Then 
1117:     |  |  (V:)  LOAD with 2 
1118:     |  |- Nest End 
1119:     |  |-If 
1120:     |  |  (F:Bedtime) is SET 
1121:     |  |  or  (F:Candlelight) is SET 
1122:     |  |Then 
1123:     |  |  X10:  (B-7  BR Bath)  
1124:     |  |  X10:  (B-8  BR Bath Accent)  
1125:     |  |  X10:  (B-12  )  
1126:     |  |  X10: B-ON 
1127:     |  |  (T:Dressing RM PIR) LOAD with 0:05:00 
1128:     |  |  (T:MBR OCCUPANCY) LOAD with 0:08:00 
1129:     |  |  DELAY  0:00:30 
1130:     |  |- Nest End 
1131:     |  |-If 
1132:     |  |  (F:Bedtime) is Not SET 
1133:     |  |  and  (F:Candlelight) is Not SET 
1134:     |  |  and  Time is After (TL:Pre-Sunset)  
1135:     |  |    -OR- 
1136:     |  |  (F:Bedtime) is Not SET 
1137:     |  |  and  (F:Candlelight) is Not SET 
1138:     |  |  and  Before Sunrise SMTWTFS 
1139:     |  |Then 
1140:     |  |  X10:  (B-6  BR Dressing)  
1141:     |  |  X10:  (B-7  BR Bath)  
1142:     |  |  X10:  (B-8  BR Bath Accent)  
1143:     |  |  X10:  (B-12  )  
1144:     |  |  X10:  (B-13  )  
1145:     |  |  X10: B-ON 
1146:     |  |  (T:Dressing RM PIR) LOAD with 0:03:00 
1147:     |  |  (T:MBR OCCUPANCY) LOAD with 0:08:00 
1148:     |  |  DELAY  0:01:30 
1149:     |  |- Nest End 
1150:     |  |-If 
1151:     |  |  (F:Morning) is SET 
1152:     |  |Then 
1153:     |  |  X10:  (B-6  BR Dressing) ON 
1154:     |  |  X10:  (B-7  BR Bath) ON 
1155:     |  |  (T:Dressing RM PIR) LOAD with 0:02:00 
1156:     |  |  (T:MBR OCCUPANCY) LOAD with 0:08:00 
1157:     |  |  DELAY  0:01:30 
1158:     |  |- Nest End 
1159:     |  |-If 
1160:     |  |  " Turns Lights OFF during the day " 
1161:     |  |  and  (F:Bedtime) is Not SET 
1162:     |  |  and  (F:Candlelight) is Not SET 
1163:     |  |  and  (F:Morning) is Not SET 
1164:     |  |  and  After Sunrise SMTWTFS 
1165:     |  |  and  Time is Before (TL:Pre-Sunset)  
1166:     |  |Then 
1167:     |  |  (T:Dressing RM PIR) LOAD with 0:03:00 
1168:     |  |  (T:MBR OCCUPANCY) LOAD with 0:08:00 
1169:     |  |  DELAY  0:01:30 
1170:     |  |- Nest End 
1171:     |Else 
1172:     |  (RELAY:Bedroom SP) ON  
1173:     |  (T:Speakers ON) LOAD with 0:01:00 
1174:     |  Voice:DO NOT ENTER THE BATH AREA  [Spkr,Line] SYNC 
1175:     |  Voice:YOUR ACTIVITY IS ON VIDEO SILENCE2 SILENCE2 SILENCE2
                 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
1176:     |- Nest End 
1177:   End 
1178:     
1179:   EVENT:  Master Bath PIR 
1180:   If 
1181:     (DI:Bubbles PIR) Toggles  
1182:   Then 
1183:     |-If 
1184:     |  (F:Away) is Not SET 
1185:     |Then 
1186:     |  (T:Master Bath PIR) LOAD with 0:30:00 
1187:     |  (T:MBR OCCUPANCY) LOAD with 0:30:00 
1188:     |  |-If 
1189:     |  |  (V:) != 2 
1190:     |  |Then 
1191:     |  |  (V:)  LOAD with 2 
1192:     |  |- Nest End 
1193:     |  |-If 
1194:     |  |  (F:Bedtime) is SET 
1195:     |  |  or  (F:Candlelight) is SET 
1196:     |  |Then 
1197:     |  |  X10:  (B-7  BR Bath) PRE-Set Level   6 % 
1198:     |  |  X10:  (B-8  BR Bath Accent) PRE-Set Level   3 % 
1199:     |  |  X10:  (B-12  ) PRE-Set Level   3 % 
1200:     |  |- Nest End 
1201:     |  |-If 
1202:     |  |  (F:Bedtime) is Not SET 
1203:     |  |  and  (F:Candlelight) is Not SET 
1204:     |  |  and  Time is After 5:00 PM SMTWTFS 
1205:     |  |    -OR- 
1206:     |  |  (F:Bedtime) is Not SET 
1207:     |  |  and  (F:Candlelight) is Not SET 
1208:     |  |  and  Before Sunrise SMTWTFS 
1209:     |  |Then 
1210:     |  |  (F:BubbleBath)  SET 
1211:     |  |  X10:  (B-6  BR Dressing)  
1212:     |  |  X10:  (B-7  BR Bath)  
1213:     |  |  X10:  (B-8  BR Bath Accent)  
1214:     |  |  X10: B-ON 
1215:     |  |- Nest End 
1216:     |  (F:BubbleBath)  SET 
1217:     |Else 
1218:     |  (RELAY:Bedroom SP) ON  
1219:     |  (T:Speakers ON) LOAD with 0:01:00 
1220:     |  Voice:LEAVE THE BATHROOM NOW!  [Spkr,Line] SYNC 
1221:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
1222:     |- Nest End 
1223:   End 
1224:     
1225:   EVENT:  Dressing Room PIR Timer 
1226:   If 
1227:     (T:Dressing RM PIR) is Not Running 
1228:     and  (F:BubbleBath) is Not SET 
1229:     and  (F:FREEZE PIR TIMER) is Not SET 
1230:     and  (DI:MBathDoorMRS) is OFF 
1231:   Then 
1232:     X10:  (B-6  BR Dressing)  
1233:     X10:  (B-7  BR Bath)  
1234:     X10:  (B-8  BR Bath Accent)  
1235:     X10:  (B-12  )  
1236:     X10:  (B-13  )  
1237:     X10: B-OFF 
1238:     (T:Master Bath PIR)  STOP  
1239:   End 
1240:     
1241:   EVENT:  Master Bath PIR Timer 
1242:   If 
1243:     (T:Master Bath PIR) is Not Running 
1244:     and  (T:Dressing RM PIR) is Not Running 
1245:     and  (F:FREEZE PIR TIMER) is Not SET 
1246:     and  (DI:MBathDoorMRS) is OFF 
1247:   Then 
1248:     X10:  (B-6  BR Dressing)  
1249:     X10:  (B-7  BR Bath)  
1250:     X10:  (B-8  BR Bath Accent)  
1251:     X10:  (B-12  )  
1252:     X10:  (B-13  )  
1253:     X10: B-OFF 
1254:     (F:BubbleBath)  CLEAR 
1255:   End 
1256:     
1257:   EVENT:  Master Bath / Dressing Flag 
1258:   If 
1259:     (DI:Dress(E) PIR) Goes OFF 
1260:     and  (F:BubbleBath) is SET 
1261:   Then 
1262:     (T:Master Bath PIR) LOAD with 0:01:00 
1263:     (F:BubbleBath)  CLEAR 
1264:   End 
1265:     
1266:   EVENT:  Center Hall Bath (E) PIR 
1267:   If 
1268:     (DI:HBath(E) PIR) is OFF 
1269:     or  (DI:HBath(E) PIR) Toggles  
1270:   Then 
1271:     |-If 
1272:     |  (F:Away) is Not SET 
1273:     |Then 
1274:     |  |-If 
1275:     |  |  (T:CtrHall Bath PIR) is Not Running 
1276:     |  |Then 
1277:     |  |  (T:CtrHall Bath PIR) LOAD with 0:00:30 
1278:     |  |  |-If 
1279:     |  |  |  (F:Bedtime) is SET 
1280:     |  |  |  and  (DI:HBathDoorMRS) is OFF 
1281:     |  |  |    -OR- 
1282:     |  |  |  (F:Candlelight) is SET 
1283:     |  |  |  and  (DI:HBathDoorMRS) is OFF 
1284:     |  |  |Then 
1285:     |  |  |  X10:  (B-9  Center Hall Bath) PRE-Set Level  10 % 
1286:     |  |  |- Nest End 
1287:     |  |  |-If 
1288:     |  |  |  After Sunrise SMTWTFS 
1289:     |  |  |  and  Time is Before 10:00 PM SMTWTFS 
1290:     |  |  |  and  (DI:HBathDoorMRS) is OFF 
1291:     |  |  |Then 
1292:     |  |  |  X10:  (B-9  Center Hall Bath) PRE-Set Level  100% 
1293:     |  |  |- Nest End 
1294:     |  |  |-If 
1295:     |  |  |  Time is After 10:00 PM SMTWTFS 
1296:     |  |  |  and  (F:Bedtime) is Not SET 
1297:     |  |  |  and  (F:Candlelight) is Not SET 
1298:     |  |  |  and  (DI:HBathDoorMRS) is OFF 
1299:     |  |  |    -OR- 
1300:     |  |  |  Before Sunrise SMTWTFS 
1301:     |  |  |  and  (F:Bedtime) is Not SET 
1302:     |  |  |  and  (F:Candlelight) is Not SET 
1303:     |  |  |  and  (DI:HBathDoorMRS) is OFF 
1304:     |  |  |Then 
1305:     |  |  |  X10:  (B-9  Center Hall Bath) PRE-Set Level  52 % 
1306:     |  |  |- Nest End 
1307:     |  |Else 
1308:     |  |  |-If 
1309:     |  |  |  (DI:HBathDoorMRS) is ON 
1310:     |  |  |Then 
1311:     |  |  |  X10:  (B-9  Center Hall Bath) ON 
1312:     |  |  |  (T:CtrHall Bath PIR) LOAD with 0:01:30 
1313:     |  |  |- Nest End 
1314:     |  |- Nest End 
1315:     |Else 
1316:     |  (RELAY:Library SP) ON  
1317:     |  (RELAY:Guest Rm SP) ON  
1318:     |  (T:Speakers ON) LOAD with 0:01:00 
1319:     |  Voice:LEAVE THE BATHROOM NOW!  [Spkr,Line] SYNC 
1320:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
1321:     |- Nest End 
1322:   End 
1323:     
1324:   EVENT:  Center Hall Bath PIR Timer 
1325:   If 
1326:     (T:CtrHall Bath PIR) is Not Running 
1327:     and  (F:FREEZE PIR TIMER) is Not SET 
1328:     and  (DI:HBathDoorMRS) is OFF 
1329:     and  (DI:HBath(E) PIR) is ON 
1330:   Then 
1331:     X10:  (B-9  Center Hall Bath) OFF 
1332:   End 
1333:     
1334:   FASTEVENT:  Library (E) [ DI:Lib (E) PIR Goes OFF]  
1335:   Then 
1336:     (T:LIB OCCUPANCY) LOAD with 0:20:00 
1337:     |-If 
1338:     |  (F:Away) is Not SET 
1339:     |Then 
1340:     |  |-If 
1341:     |  |  (V:) != 9 
1342:     |  |Then 
1343:     |  |  (V:)  LOAD with 9 
1344:     |  |- Nest End 
1345:     |  |-If 
1346:     |  |  (F:Bedtime) is Not SET 
1347:     |  |  and  (F:Candlelight) is Not SET 
1348:     |  |  and  (F:MovieTime!) is Not SET 
1349:     |  |  and  Time is After (TL:Pre-Sunset)  
1350:     |  |  and  Time is Before 9:00 PM SMTWTFS 
1351:     |  |Then 
1352:     |  |  |-If 
1353:     |  |  |  (T:Library PIR) is Not Running 
1354:     |  |  |  or  X10: (I-1  LIB Recessed) is not ON  
1355:     |  |  |Then 
1356:     |  |  |  X10:  (I-1  LIB Recessed) PRE-Set Level  100% 
1357:     |  |  |  X10:  (I-3  LIB Lamps) PRE-Set Level  100% 
1358:     |  |  |  X10:  (I-5  LIB Bookcase) ON 
1359:     |  |  |  X10:  (I-5  LIB Bookcase) OFF 
1360:     |  |  |  X10:  (I-5  LIB Bookcase) ON 
1361:     |  |  |  X10:  (I-5  LIB Bookcase) OFF 
1362:     |  |  |  X10:  (I-5  LIB Bookcase) ON 
1363:     |  |  |  X10:  (I-5  LIB Bookcase) OFF 
1364:     |  |  |  X10:  (I-5  LIB Bookcase) ON 
1365:     |  |  |  X10:  (I-1  LIB Recessed) ON 
1366:     |  |  |- Nest End 
1367:     |  |  (T:Library PIR) LOAD with 0:20:00 
1368:     |  |- Nest End 
1369:     |  |-If 
1370:     |  |  (F:Bedtime) is Not SET 
1371:     |  |  and  (F:Candlelight) is Not SET 
1372:     |  |  and  (F:MovieTime!) is Not SET 
1373:     |  |  and  Time is After 9:00 PM SMTWTFS 
1374:     |  |  and  Time is Before 10:00 PM SMTWTFS 
1375:     |  |Then 
1376:     |  |  |-If 
1377:     |  |  |  (T:Library PIR) is Not Running 
1378:     |  |  |  or  X10: (I-1  LIB Recessed) is not ON  
1379:     |  |  |Then 
1380:     |  |  |  X10:  (I-1  LIB Recessed) PRE-Set Level  77 % 
1381:     |  |  |  X10:  (I-3  LIB Lamps) PRE-Set Level  71 % 
1382:     |  |  |  X10:  (I-5  LIB Bookcase) ON 
1383:     |  |  |  X10:  (I-5  LIB Bookcase) OFF 
1384:     |  |  |  X10:  (I-5  LIB Bookcase) ON 
1385:     |  |  |  X10:  (I-5  LIB Bookcase) OFF 
1386:     |  |  |  X10:  (I-5  LIB Bookcase) ON 
1387:     |  |  |  X10:  (I-1  LIB Recessed) ON 
1388:     |  |  |- Nest End 
1389:     |  |  (T:Library PIR) LOAD with 0:20:00 
1390:     |  |- Nest End 
1391:     |  |-If 
1392:     |  |  (F:Bedtime) is Not SET 
1393:     |  |  and  (F:Candlelight) is Not SET 
1394:     |  |  and  (F:MovieTime!) is Not SET 
1395:     |  |  and  Time is After 10:00 PM SMTWTFS 
1396:     |  |    -OR- 
1397:     |  |  (F:Bedtime) is Not SET 
1398:     |  |  and  (F:Candlelight) is Not SET 
1399:     |  |  and  (F:MovieTime!) is Not SET 
1400:     |  |  and  Before Sunrise SMTWTFS 
1401:     |  |Then 
1402:     |  |  |-If 
1403:     |  |  |  X10: (I-1  LIB Recessed) is not ON  
1404:     |  |  |Then 
1405:     |  |  |  X10:  (I-1  LIB Recessed) PRE-Set Level  26 % 
1406:     |  |  |- Nest End 
1407:     |  |  X10:  (I-3  LIB Lamps) PRE-Set Level  32 % 
1408:     |  |  |-If 
1409:     |  |  |  X10: (I-5  LIB Bookcase) is not ON  
1410:     |  |  |Then 
1411:     |  |  |  X10:  (I-5  LIB Bookcase) ON 
1412:     |  |  |  X10:  (I-5  LIB Bookcase) OFF 
1413:     |  |  |  X10:  (I-5  LIB Bookcase) ON 
1414:     |  |  |- Nest End 
1415:     |  |  X10:  (I-1  LIB Recessed) ON 
1416:     |  |  X10:  (I-3  LIB Lamps) ON 
1417:     |  |  (T:Library PIR) LOAD with 0:10:00 
1418:     |  |- Nest End 
1419:     |  |-If 
1420:     |  |  " Turns Lights OFF during the day " 
1421:     |  |  and  (F:Bedtime) is Not SET 
1422:     |  |  and  (F:Candlelight) is Not SET 
1423:     |  |  and  After Sunrise SMTWTFS 
1424:     |  |  and  Time is Before (TL:Pre-Sunset)  
1425:     |  |Then 
1426:     |  |  (T:Library PIR) LOAD with 0:20:00 
1427:     |  |- Nest End 
1428:     |  |-If 
1429:     |  |  (F:Bedtime) is SET 
1430:     |  |  or  (F:Candlelight) is SET 
1431:     |  |Then 
1432:     |  |  |-If 
1433:     |  |  |  (T:Library PIR) is Not Running 
1434:     |  |  |  or  X10: (I-1  LIB Recessed) is not ON  
1435:     |  |  |Then 
1436:     |  |  |  X10:  (I-1  LIB Recessed) PRE-Set Level   6 % 
1437:     |  |  |  X10:  (I-3  LIB Lamps) PRE-Set Level   6 % 
1438:     |  |  |  X10:  (I-1  LIB Recessed) ON 
1439:     |  |  |- Nest End 
1440:     |  |  (T:Library PIR) LOAD with 0:05:00 
1441:     |  |- Nest End 
1442:     |  |-If 
1443:     |  |  (F:MovieTime!) is SET 
1444:     |  |Then 
1445:     |  |  X10:  (I-1  LIB Recessed) PRE-Set Level  16 % 
1446:     |  |  X10:  (I-1  LIB Recessed) ON 
1447:     |  |  (T:Library PIR) LOAD with 0:20:00 
1448:     |  |- Nest End 
1449:     |Else 
1450:     |  (RELAY:Library SP) ON  
1451:     |  (T:Speakers ON) LOAD with 0:01:00 
1452:     |  Voice:ACCESS DENIED SILENCE1 DO NOT ENTER LIBRARY  [Spkr,Line] SYNC 
1453:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
1454:     |- Nest End 
1455:   End 
1456:     
1457:   EVENT:  Library Fireplace 
1458:   If 
1459:     (T:Library PIR) is Running 
1460:     and  (F:At Home) is SET 
1461:   Then 
1462:     |-If 
1463:     |  XSEQ:( I-7 I-ON ) Received within 4 seconds [Receive Only] 
1464:     |Then 
1465:     |  (RELAY:Library F/ P) ON  
1466:     |- Nest End 
1467:     |-If 
1468:     |  XSEQ:( I-7 I-OFF ) Received within 4 seconds  
1469:     |Then 
1470:     |  (RELAY:Library F/ P) OFF  
1471:     |- Nest End 
1472:     |-If 
1473:     |  IR Seq:' ' Received within 3 seconds  
1474:     |Then 
1475:     |  |-If 
1476:     |  |  (RELAY:Library F/ P) is OFF 
1477:     |  |Then 
1478:     |  |  (RELAY:Library F/ P) ON  
1479:     |  |  X10:  (I-7  LIB Fireplace) Set State to ON 
1480:     |  |Else 
1481:     |  |  (RELAY:Library F/ P) OFF  
1482:     |  |  X10:  (I-7  LIB Fireplace) Set State to OFF 
1483:     |  |- Nest End 
1484:     |- Nest End 
1485:   End 
1486:     
1487:   EVENT:  Library Bookshelves 
1488:   If 
1489:     (T:Library PIR) is Running 
1490:     and  (F:At Home) is SET 
1491:   Then 
1492:     |-If 
1493:     |  XSEQ:( I-5 I-ON ) Received within 4 seconds [Receive Only] 
1494:     |Then 
1495:     |  X10:  (I-5  LIB Bookcase) ON 
1496:     |  X10:  (I-5  LIB Bookcase) OFF 
1497:     |  X10:  (I-5  LIB Bookcase) ON 
1498:     |- Nest End 
1499:   End 
1500:     
1501:   EVENT:  Library PIR 
1502:   If 
1503:     (DI:LIB PIR) Toggles  
1504:     " EVENT IS FOR "REFRESHER" PIR's " 
1505:   Then 
1506:     |-If 
1507:     |  (F:Away) is Not SET 
1508:     |Then 
1509:     |  |-If 
1510:     |  |  (V:) != 9 
1511:     |  |Then 
1512:     |  |  (V:)  LOAD with 9 
1513:     |  |- Nest End 
1514:     |  (T:LIB OCCUPANCY) LOAD with 0:20:00 
1515:     |  |-If 
1516:     |  |  (F:Bedtime) is Not SET 
1517:     |  |  and  (F:Candlelight) is Not SET 
1518:     |  |  and  Time is After (TL:Pre-Sunset)  
1519:     |  |  and  Time is Before 9:00 PM SMTWTFS 
1520:     |  |  and  (T:FR Security PIR) is Not Running 
1521:     |  |Then 
1522:     |  |  |-If 
1523:     |  |  |  X10: (I-1  LIB Recessed) is not ON  
1524:     |  |  |  and  (F:MovieTime!) is Not SET 
1525:     |  |  |Then 
1526:     |  |  |  X10:  (I-1  LIB Recessed) PRE-Set Level  100% 
1527:     |  |  |  X10:  (I-1  LIB Recessed) ON 
1528:     |  |  |- Nest End 
1529:     |  |  |-If 
1530:     |  |  |  X10: (I-3  LIB Lamps) is not ON  
1531:     |  |  |  and  (F:MovieTime!) is Not SET 
1532:     |  |  |Then 
1533:     |  |  |  X10:  (I-3  LIB Lamps) PRE-Set Level  100% 
1534:     |  |  |  X10:  (I-3  LIB Lamps) ON 
1535:     |  |  |- Nest End 
1536:     |  |  (T:Library PIR) LOAD with 0:20:00 
1537:     |  |- Nest End 
1538:     |  |-If 
1539:     |  |  (F:Bedtime) is Not SET 
1540:     |  |  and  (F:Candlelight) is Not SET 
1541:     |  |  and  Time is After 9:00 PM SMTWTFS 
1542:     |  |  and  Time is Before 10:00 PM SMTWTFS 
1543:     |  |Then 
1544:     |  |  |-If 
1545:     |  |  |  X10: (I-1  LIB Recessed) is not ON  
1546:     |  |  |  and  (F:MovieTime!) is Not SET 
1547:     |  |  |Then 
1548:     |  |  |  X10:  (I-1  LIB Recessed) PRE-Set Level  77 % 
1549:     |  |  |  X10:  (I-1  LIB Recessed) ON 
1550:     |  |  |- Nest End 
1551:     |  |  |-If 
1552:     |  |  |  X10: (I-3  LIB Lamps) is not ON  
1553:     |  |  |  and  (F:MovieTime!) is Not SET 
1554:     |  |  |Then 
1555:     |  |  |  X10:  (I-3  LIB Lamps) PRE-Set Level  71 % 
1556:     |  |  |  X10:  (I-3  LIB Lamps) ON 
1557:     |  |  |- Nest End 
1558:     |  |  (T:Library PIR) LOAD with 0:20:00 
1559:     |  |- Nest End 
1560:     |  |-If 
1561:     |  |  (F:Bedtime) is Not SET 
1562:     |  |  and  (F:Candlelight) is Not SET 
1563:     |  |  and  Time is After 10:00 PM SMTWTFS 
1564:     |  |    -OR- 
1565:     |  |  (F:Bedtime) is Not SET 
1566:     |  |  and  (F:Candlelight) is Not SET 
1567:     |  |  and  Before Sunrise SMTWTFS 
1568:     |  |Then 
1569:     |  |  (T:Library PIR) LOAD with 0:20:00 
1570:     |  |- Nest End 
1571:     |  |-If 
1572:     |  |  " Turns Lights OFF during the day " 
1573:     |  |  and  (F:Bedtime) is Not SET 
1574:     |  |  and  (F:Candlelight) is Not SET 
1575:     |  |  and  After Sunrise SMTWTFS 
1576:     |  |  and  Time is Before (TL:Pre-Sunset)  
1577:     |  |Then 
1578:     |  |  (T:Library PIR) LOAD with 0:20:00 
1579:     |  |- Nest End 
1580:     |  |-If 
1581:     |  |  (F:Bedtime) is SET 
1582:     |  |  or  (F:Candlelight) is SET 
1583:     |  |Then 
1584:     |  |  (T:Library PIR) LOAD with 0:05:00 
1585:     |  |- Nest End 
1586:     |Else 
1587:     |  (RELAY:Library SP) ON  
1588:     |  (T:Speakers ON) LOAD with 0:01:00 
1589:     |  Voice:ACCESS DENIED SILENCE1 DO NOT ENTER LIBRARY  [Spkr,Line] SYNC 
1590:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] 
1591:     |- Nest End 
1592:   End 
1593:     
1594:   EVENT:  Library PIR Timer 
1595:   If 
1596:     (T:Library PIR) is Not Running 
1597:     or  (T:Library PIR) is Stopped 
1598:       -AND- 
1599:     (F:FREEZE PIR TIMER) is Not SET 
1600:   Then 
1601:     (RELAY:Library F/ P) OFF  
1602:     (T:LIB OCCUPANCY)  CLEAR 
1603:     (THEN MACRO:LIB All Off) 
1604:     (F:MovieTime!)  CLEAR 
1605:     |-If 
1606:     |  (F:MovieTime!) is SET 
1607:     |Then 
1608:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
1609:     |  (IR:LCD 8 ) play 1 time(s) [Emitter1] 
1610:     |  X10: J - All Units OFF 
1611:     |  (IR:LCD 6 ) play 1 time(s) [Emitter1] 
1612:     |  (IR:ARQ PLAY ) play 1 time(s) [Emitter1] 
1613:     |  (F:MovieTime!)  CLEAR 
1614:     |  (F:MovieTime!)  CLEAR 
1615:     |  (V:)  LOAD with 0 
1616:     |  (IR:LCD VOL DOWN ) play 20 time(s) [Emitter1] 
1617:     |  (IR:LCD MUTE ) play 1 time(s) [Emitter1] 
1618:     |- Nest End 
1619:     (RELAY:Library F/ P) OFF  
1620:   End 
1621:     
1622:   FASTEVENT:  Guest Rm (E) [ DI:Guest(E) PIR Goes OFF]  
1623:   Then 
1624:     |-If 
1625:     |  (F:Away) is Not SET 
1626:     |Then 
1627:     |  |-If 
1628:     |  |  (V:) != 7 
1629:     |  |Then 
1630:     |  |  (V:)  LOAD with 7 
1631:     |  |- Nest End 
1632:     |  (T:GR OCCUPANCY) LOAD with 0:10:00 
1633:     |  |-If 
1634:     |  |  (F:Bedtime) is Not SET 
1635:     |  |  and  (F:Candlelight) is Not SET 
1636:     |  |  and  Time is After (TL:Pre-Sunset)  
1637:     |  |  and  Time is Before 9:00 PM SMTWTFS 
1638:     |  |  and  (T:FR Security PIR) is Not Running 
1639:     |  |Then 
1640:     |  |  |-If 
1641:     |  |  |  (T:Guest Room PIR) is Not Running 
1642:     |  |  |  or  X10: (G-3  Guest RM Lamps) is not ON  
1643:     |  |  |Then 
1644:     |  |  |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  100% 
1645:     |  |  |  X10:  (G-4  Guest RM Accent) PRE-Set Level  71 % 
1646:     |  |  |  X10:  (G-3  Guest RM Lamps) ON 
1647:     |  |  |  X10:  (G-4  Guest RM Accent) ON 
1648:     |  |  |- Nest End 
1649:     |  |  (T:Guest Room PIR) LOAD with 0:10:00 
1650:     |  |- Nest End 
1651:     |  |-If 
1652:     |  |  (F:Bedtime) is Not SET 
1653:     |  |  and  (F:Candlelight) is Not SET 
1654:     |  |  and  Time is After 9:00 PM SMTWTFS 
1655:     |  |  and  Time is Before 10:00 PM SMTWTFS 
1656:     |  |  and  (T:FR Security PIR) is Not Running 
1657:     |  |Then 
1658:     |  |  |-If 
1659:     |  |  |  (T:Guest Room PIR) is Not Running 
1660:     |  |  |  or  X10: (G-3  Guest RM Lamps) is not ON  
1661:     |  |  |Then 
1662:     |  |  |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  71 % 
1663:     |  |  |  X10:  (G-4  Guest RM Accent) PRE-Set Level  45 % 
1664:     |  |  |  X10:  (G-3  Guest RM Lamps) ON 
1665:     |  |  |  X10:  (G-4  Guest RM Accent) ON 
1666:     |  |  |- Nest End 
1667:     |  |  (T:Guest Room PIR) LOAD with 0:10:00 
1668:     |  |- Nest End 
1669:     |  |-If 
1670:     |  |  (F:Bedtime) is Not SET 
1671:     |  |  and  (F:Candlelight) is Not SET 
1672:     |  |  and  Before Sunrise SMTWTFS 
1673:     |  |  and  (T:FR Security PIR) is Not Running 
1674:     |  |    -OR- 
1675:     |  |  (F:Bedtime) is Not SET 
1676:     |  |  and  (F:Candlelight) is Not SET 
1677:     |  |  and  Time is After 10:00 PM SMTWTFS 
1678:     |  |  and  (T:FR Security PIR) is Not Running 
1679:     |  |Then 
1680:     |  |  |-If 
1681:     |  |  |  (T:Guest Room PIR) is Not Running 
1682:     |  |  |  or  X10: (G-3  Guest RM Lamps) is not ON  
1683:     |  |  |Then 
1684:     |  |  |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  42 % 
1685:     |  |  |  X10:  (G-4  Guest RM Accent) PRE-Set Level  23 % 
1686:     |  |  |  X10:  (G-3  Guest RM Lamps) ON 
1687:     |  |  |  X10:  (G-4  Guest RM Accent) ON 
1688:     |  |  |- Nest End 
1689:     |  |  (T:Guest Room PIR) LOAD with 0:10:00 
1690:     |  |- Nest End 
1691:     |  |-If 
1692:     |  |  (F:Bedtime) is SET 
1693:     |  |  or  (F:Candlelight) is SET 
1694:     |  |Then 
1695:     |  |  |-If 
1696:     |  |  |  (T:Guest Room PIR) is Not Running 
1697:     |  |  |  and  (T:FR Security PIR) is Not Running 
1698:     |  |  |Then 
1699:     |  |  |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  13 % 
1700:     |  |  |  X10:  (G-3  Guest RM Lamps) ON 
1701:     |  |  |- Nest End 
1702:     |  |  (T:Guest Room PIR) LOAD with 0:03:00 
1703:     |  |- Nest End 
1704:     |  |-If 
1705:     |  |  " Turns Lights OFF during the day " 
1706:     |  |  and  (F:Bedtime) is Not SET 
1707:     |  |  and  (F:Candlelight) is Not SET 
1708:     |  |  and  After Sunrise SMTWTFS 
1709:     |  |  and  Time is Before (TL:Pre-Sunset)  
1710:     |  |Then 
1711:     |  |  (T:Guest Room PIR) LOAD with 0:20:00 
1712:     |  |- Nest End 
1713:     |Else 
1714:     |  (RELAY:Guest Rm SP) ON  
1715:     |  (T:Speakers ON) LOAD with 0:01:00 
1716:     |  Voice:ACCESS DENIED SILENCE1 DO NOT ENTER THIS OFFICE  [Spkr,Line] SYNC 
1717:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
1718:     |- Nest End 
1719:   End 
1720:     
1721:   EVENT:  Guest Room PIR 
1722:   If 
1723:     (DI:GR 1 PIR) Toggles  
1724:     or  (DI:GR 2 PIR) Toggles  
1725:     " EVENT IS FOR "REFRESHER" PIR's " 
1726:   Then 
1727:     |-If 
1728:     |  (F:Away) is Not SET 
1729:     |Then 
1730:     |  |-If 
1731:     |  |  (V:) != 7 
1732:     |  |Then 
1733:     |  |  (V:)  LOAD with 7 
1734:     |  |- Nest End 
1735:     |  (T:GR OCCUPANCY) LOAD with 0:10:00 
1736:     |  |-If 
1737:     |  |  (F:Bedtime) is Not SET 
1738:     |  |  and  (F:Candlelight) is Not SET 
1739:     |  |  and  Time is After (TL:Pre-Sunset)  
1740:     |  |  and  Time is Before 9:00 PM SMTWTFS 
1741:     |  |Then 
1742:     |  |  |-If 
1743:     |  |  |  X10: (G-3  Guest RM Lamps) is not ON  
1744:     |  |  |Then 
1745:     |  |  |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  100% 
1746:     |  |  |  X10:  (G-4  Guest RM Accent) PRE-Set Level  71 % 
1747:     |  |  |  X10:  (G-3  Guest RM Lamps) ON 
1748:     |  |  |  X10:  (G-4  Guest RM Accent) ON 
1749:     |  |  |- Nest End 
1750:     |  |  (T:Guest Room PIR) LOAD with 0:10:00 
1751:     |  |- Nest End 
1752:     |  |-If 
1753:     |  |  (F:Bedtime) is Not SET 
1754:     |  |  and  (F:Candlelight) is Not SET 
1755:     |  |  and  Time is After 9:00 PM SMTWTFS 
1756:     |  |  and  Time is Before 10:00 PM SMTWTFS 
1757:     |  |Then 
1758:     |  |  (T:Guest Room PIR) LOAD with 0:10:00 
1759:     |  |- Nest End 
1760:     |  |-If 
1761:     |  |  (F:Bedtime) is Not SET 
1762:     |  |  and  (F:Candlelight) is Not SET 
1763:     |  |  and  Before Sunrise SMTWTFS 
1764:     |  |    -OR- 
1765:     |  |  (F:Bedtime) is Not SET 
1766:     |  |  and  (F:Candlelight) is Not SET 
1767:     |  |  and  Time is After 10:00 PM SMTWTFS 
1768:     |  |Then 
1769:     |  |  (T:Guest Room PIR) LOAD with 0:10:00 
1770:     |  |- Nest End 
1771:     |  |-If 
1772:     |  |  (F:Bedtime) is SET 
1773:     |  |Then 
1774:     |  |  (T:Guest Room PIR) LOAD with 0:05:00 
1775:     |  |- Nest End 
1776:     |  |-If 
1777:     |  |  " Turns Lights OFF during the day " 
1778:     |  |  and  (F:Bedtime) is Not SET 
1779:     |  |  and  (F:Candlelight) is Not SET 
1780:     |  |  and  After Sunrise SMTWTFS 
1781:     |  |  and  Time is Before (TL:Pre-Sunset)  
1782:     |  |Then 
1783:     |  |  (T:Guest Room PIR) LOAD with 0:20:00 
1784:     |  |- Nest End 
1785:     |Else 
1786:     |  (RELAY:Guest Rm SP) ON  
1787:     |  (T:Speakers ON) LOAD with 0:01:00 
1788:     |  Voice:ACCESS DENIED SILENCE1 DO NOT ENTER THIS OFFICE  [Spkr,Line] SYNC 
1789:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
1790:     |- Nest End 
1791:   End 
1792:     
1793:   EVENT:  Guest Room PIR Timer 
1794:   If 
1795:     (T:Guest Room PIR) is Not Running 
1796:     and  (F:FREEZE PIR TIMER) is Not SET 
1797:   Then 
1798:     X10: G - All Lights OFF 
1799:     (T:GR OCCUPANCY)  CLEAR 
1800:   End 
1801:     
1802:   FASTEVENT:  Fast Powder PIR [ DI:PowderRM PIR Goes OFF]  
1803:   Then 
1804:     |-If 
1805:     |  (F:Away) is Not SET 
1806:     |Then 
1807:     |  (T:KIT OCCUPANCY) LOAD with 0:03:00 
1808:     |  |-If 
1809:     |  |  (T:Powder Room PIR) is Not Running 
1810:     |  |Then 
1811:     |  |  (T:Powder Room PIR) LOAD with 0:02:00 
1812:     |  |  |-If 
1813:     |  |  |  (F:Bedtime) is SET 
1814:     |  |  |  or  (F:Candlelight) is SET 
1815:     |  |  |Then 
1816:     |  |  |  X10:  (H-5  Powder Room) PRE-Set Level  13 % 
1817:     |  |  |- Nest End 
1818:     |  |  |-If 
1819:     |  |  |  After Sunrise SMTWTFS 
1820:     |  |  |  and  Time is Before 10:00 PM SMTWTFS 
1821:     |  |  |Then 
1822:     |  |  |  X10:  (H-5  Powder Room) PRE-Set Level  77 % 
1823:     |  |  |- Nest End 
1824:     |  |  |-If 
1825:     |  |  |  Time is After 10:00 PM SMTWTFS 
1826:     |  |  |  and  (F:Bedtime) is Not SET 
1827:     |  |  |  and  (F:Candlelight) is Not SET 
1828:     |  |  |    -OR- 
1829:     |  |  |  Before Sunrise SMTWTFS 
1830:     |  |  |  and  (F:Bedtime) is Not SET 
1831:     |  |  |  and  (F:Candlelight) is Not SET 
1832:     |  |  |Then 
1833:     |  |  |  X10:  (H-5  Powder Room) PRE-Set Level  52 % 
1834:     |  |  |- Nest End 
1835:     |  |Else 
1836:     |  |  X10:  (H-5  Powder Room) ON 
1837:     |  |- Nest End 
1838:     |Else 
1839:     |  (RELAY:Kitchen SP) ON  
1840:     |  (RELAY:Living Rm SP) ON  
1841:     |  (T:Speakers ON) LOAD with 0:01:00 
1842:     |  Voice:LEAVE THE BATHROOM NOW!  [Spkr,Line] SYNC 
1843:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
1844:     |- Nest End 
1845:   End 
1846:     
1847:   EVENT:  Powder Room PIR Refresh 
1848:   If 
1849:     (DI:PowderRM PIR) Toggles  
1850:   Then 
1851:     (T:Powder Room PIR) LOAD with 0:02:00 
1852:   End 
1853:     
1854:   EVENT:  Powder Room PIR Timer 
1855:   If 
1856:     (T:Powder Room PIR) is Not Running 
1857:     and  (F:FREEZE PIR TIMER) is CLEAR 
1858:     and  (DI:PowderRM PIR) is ON 
1859:       -OR- 
1860:     (T:Powder Room PIR) is Expiring 
1861:     and  (F:FREEZE PIR TIMER) is CLEAR 
1862:     and  (DI:PowderRM PIR) is ON 
1863:   Then 
1864:     X10:  (H-5  Powder Room) OFF 
1865:   End 
1866:     
1867:   EVENT:  Living Room PIR 
1868:   If 
1869:     (DI:Living RM 1) Goes OFF 
1870:   Then 
1871:     |-If 
1872:     |  (F:Away) is Not SET 
1873:     |Then 
1874:     |  |-If 
1875:     |  |  (V:) != 12 
1876:     |  |Then 
1877:     |  |  (V:)  LOAD with 12 
1878:     |  |- Nest End 
1879:     |  |-If 
1880:     |  |  (F:Bedtime) is SET 
1881:     |  |  or  (F:Candlelight) is SET 
1882:     |  |    -AND- 
1883:     |  |  (F:Guests Visiting) is Not SET 
1884:     |  |Then 
1885:     |  |  |-If 
1886:     |  |  |  (T:Living Room PIR) is Not Running 
1887:     |  |  |Then 
1888:     |  |  |  X10:  (L-2  LR Recessed/Bear) PRE-Set Level  13 % 
1889:     |  |  |  X10:  (L-2  LR Recessed/Bear) ON 
1890:     |  |  |- Nest End 
1891:     |  |  (T:Living Room PIR) LOAD with 0:10:00 
1892:     |  |  (T:LR OCCUPANCY) LOAD with 0:10:00 
1893:     |  |- Nest End 
1894:     |  |-If 
1895:     |  |  Time is After (TL:Pre-Sunset)  
1896:     |  |  and  Time is Before 10:00 PM SMTWTFS 
1897:     |  |Then 
1898:     |  |  |-If 
1899:     |  |  |  (T:Living Room PIR) is Not Running 
1900:     |  |  |  or  X10: (L-2  LR Recessed/Bear) is not ON  
1901:     |  |  |Then 
1902:     |  |  |  X10:  (L-1  LR Recessed) PRE-Set Level  84 % 
1903:     |  |  |  X10:  (L-2  LR Recessed/Bear) PRE-Set Level  100% 
1904:     |  |  |  X10:  (L-3  LR Lamps) PRE-Set Level  87 % 
1905:     |  |  |  X10:  (L-4  LR Accent Lights) PRE-Set Level  84 % 
1906:     |  |  |  X10:  (L-5  LR SR Recessed) PRE-Set Level  74 % 
1907:     |  |  |  X10: L - All Lights ON 
1908:     |  |  |- Nest End 
1909:     |  |  (T:Living Room PIR) LOAD with 1:00:00 
1910:     |  |  (T:LR OCCUPANCY) LOAD with 1:00:00 
1911:     |  |- Nest End 
1912:     |  |-If 
1913:     |  |  Time is After 10:00 PM SMTWTFS 
1914:     |  |  and  (F:Bedtime) is Not SET 
1915:     |  |  and  (F:Candlelight) is Not SET 
1916:     |  |    -OR- 
1917:     |  |  Before Sunrise SMTWTFS 
1918:     |  |  and  (F:Bedtime) is Not SET 
1919:     |  |  and  (F:Candlelight) is Not SET 
1920:     |  |Then 
1921:     |  |  |-If 
1922:     |  |  |  (T:Living Room PIR) is Not Running 
1923:     |  |  |  or  X10: (L-2  LR Recessed/Bear) is not ON  
1924:     |  |  |Then 
1925:     |  |  |  X10:  (L-1  LR Recessed) PRE-Set Level  45 % 
1926:     |  |  |  X10:  (L-2  LR Recessed/Bear) PRE-Set Level  68 % 
1927:     |  |  |  X10:  (L-3  LR Lamps) PRE-Set Level  45 % 
1928:     |  |  |  X10:  (L-4  LR Accent Lights) PRE-Set Level  45 % 
1929:     |  |  |  X10:  (L-5  LR SR Recessed) PRE-Set Level  35 % 
1930:     |  |  |  X10: L - All Lights ON 
1931:     |  |  |- Nest End 
1932:     |  |  (T:Living Room PIR) LOAD with 1:00:00 
1933:     |  |  (T:LR OCCUPANCY) LOAD with 1:00:00 
1934:     |  |- Nest End 
1935:     |  |-If 
1936:     |  |  Time is Before (TL:Pre-Sunset)  
1937:     |  |  and  (F:Bedtime) is Not SET 
1938:     |  |  and  (F:Candlelight) is Not SET 
1939:     |  |Then 
1940:     |  |  (T:Living Room PIR) LOAD with 0:30:00 
1941:     |  |  (T:LR OCCUPANCY) LOAD with 0:30:00 
1942:     |  |- Nest End 
1943:     |Else 
1944:     |  (RELAY:Kitchen SP) ON  
1945:     |  (RELAY:Living Rm SP) ON  
1946:     |  (T:Speakers ON) LOAD with 0:01:00 
1947:     |  Voice:LEAVE THE LIVING ROOM NOW!  [Spkr,Line] SYNC 
1948:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
1949:     |- Nest End 
1950:   End 
1951:     
1952:   EVENT:  Living Room PIR Timer 
1953:   If 
1954:     (T:Living Room PIR) is Expiring 
1955:     and  (F:FREEZE PIR TIMER) is Not SET 
1956:       -OR- 
1957:     (T:Living Room PIR) is Not Running 
1958:     and  (F:FREEZE PIR TIMER) is Not SET 
1959:   Then 
1960:     X10: L - All Lights OFF 
1961:   End 
1962:     
1963:   FASTEVENT:  Kit Counter PIR [ DI:Kit Cntr PIR Goes OFF]  
1964:   Then 
1965:     |-If 
1966:     |  (F:Away) is Not SET 
1967:     |Then 
1968:     |  |-If 
1969:     |  |  (V:) != 11 
1970:     |  |Then 
1971:     |  |  (V:)  LOAD with 11 
1972:     |  |- Nest End 
1973:     |  (T:KIT OCCUPANCY) LOAD with 0:15:00 
1974:     |  |-If 
1975:     |  |  (F:Bedtime) is Not SET 
1976:     |  |  and  Time is Before 10:00 AM SMTWTFS 
1977:     |  |  and  X10: (K-2  Kitchen Counter) is not ON  
1978:     |  |Then 
1979:     |  |  X10:  (K-2  Kitchen Counter) PRE-Set Level  71 % 
1980:     |  |- Nest End 
1981:     |  |-If 
1982:     |  |  (F:Bedtime) is Not SET 
1983:     |  |  and  (F:Candlelight) is Not SET 
1984:     |  |  and  Time is After 10:00 AM SMTWTFS 
1985:     |  |  and  Time is Before 9:00 PM SMTWTFS 
1986:     |  |  and  X10: (K-2  Kitchen Counter) is not ON  
1987:     |  |Then 
1988:     |  |  X10:  (K-2  Kitchen Counter) PRE-Set Level  100% 
1989:     |  |- Nest End 
1990:     |  |-If 
1991:     |  |  (F:Bedtime) is Not SET 
1992:     |  |  and  (F:Candlelight) is Not SET 
1993:     |  |  and  Time is After 9:00 PM SMTWTFS 
1994:     |  |  and  Time is Before 10:00 PM SMTWTFS 
1995:     |  |  and  X10: (K-2  Kitchen Counter) is not ON  
1996:     |  |Then 
1997:     |  |  X10:  (K-2  Kitchen Counter) PRE-Set Level  77 % 
1998:     |  |- Nest End 
1999:     |  |-If 
2000:     |  |  (F:Bedtime) is Not SET 
2001:     |  |  and  (F:Candlelight) is Not SET 
2002:     |  |  and  Before Sunrise SMTWTFS 
2003:     |  |  and  X10: (K-2  Kitchen Counter) is not ON  
2004:     |  |    -OR- 
2005:     |  |  (F:Bedtime) is Not SET 
2006:     |  |  and  (F:Candlelight) is Not SET 
2007:     |  |  and  Time is After 10:00 PM SMTWTFS 
2008:     |  |  and  X10: (K-2  Kitchen Counter) is not ON  
2009:     |  |Then 
2010:     |  |  X10:  (K-2  Kitchen Counter) PRE-Set Level  55 % 
2011:     |  |- Nest End 
2012:     |  |-If 
2013:     |  |  (F:Bedtime) is SET 
2014:     |  |  and  X10: (K-2  Kitchen Counter) is not ON  
2015:     |  |Then 
2016:     |  |  X10:  (K-2  Kitchen Counter) PRE-Set Level   6 % 
2017:     |  |- Nest End 
2018:     |  |-If 
2019:     |  |  (F:Bedtime) is SET 
2020:     |  |Then 
2021:     |  |  (T:Kitchen PIR) LOAD with 0:02:00 
2022:     |  |Else 
2023:     |  |  (T:Kitchen PIR) LOAD with 0:11:00 
2024:     |  |- Nest End 
2025:     |  X10:  (K-2  Kitchen Counter) ON 
2026:     |Else 
2027:     |  (RELAY:Kitchen SP) ON  
2028:     |  (T:Speakers ON) LOAD with 0:01:00 
2029:     |  Voice:LEAVE THE KITCHEN NOW!  [Spkr,Line] SYNC 
2030:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
2031:     |- Nest End 
2032:   End 
2033:     
2034:   FASTEVENT:  Kit Entry/DR PIR [ DI:Kitchen1 PIR Goes OFF]  
2035:   Then 
2036:     |-If 
2037:     |  (F:Away) is Not SET 
2038:     |Then 
2039:     |  |-If 
2040:     |  |  (V:) != 11 
2041:     |  |Then 
2042:     |  |  (V:)  LOAD with 11 
2043:     |  |- Nest End 
2044:     |  (T:KIT OCCUPANCY) LOAD with 0:15:00 
2045:     |  |-If 
2046:     |  |  (F:Bedtime) is SET 
2047:     |  |  or  (F:Candlelight) is SET 
2048:     |  |Then 
2049:     |  |  |-If 
2050:     |  |  |  X10: (K-1  Kitchen Recessed) is not ON  
2051:     |  |  |Then 
2052:     |  |  |  X10:  (K-1  Kitchen Recessed) PRE-Set Level   6 % 
2053:     |  |  |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  23 % 
2054:     |  |  |  X10:  (K-4  Kitchen Sink) PRE-Set Level  23 % 
2055:     |  |  |- Nest End 
2056:     |  |- Nest End 
2057:     |  |-If 
2058:     |  |  After Sunrise SMTWTFS 
2059:     |  |  and  Time is Before 10:00 PM SMTWTFS 
2060:     |  |Then 
2061:     |  |  |-If 
2062:     |  |  |  X10: (K-1  Kitchen Recessed) is not ON  
2063:     |  |  |Then 
2064:     |  |  |  X10:  (K-1  Kitchen Recessed) PRE-Set Level  100% 
2065:     |  |  |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  100% 
2066:     |  |  |  X10:  (K-4  Kitchen Sink) PRE-Set Level  100% 
2067:     |  |  |- Nest End 
2068:     |  |- Nest End 
2069:     |  |-If 
2070:     |  |  Time is After 10:00 PM SMTWTFS 
2071:     |  |  and  (F:Bedtime) is Not SET 
2072:     |  |  and  (F:Candlelight) is Not SET 
2073:     |  |    -OR- 
2074:     |  |  Before Sunrise SMTWTFS 
2075:     |  |  and  (F:Bedtime) is Not SET 
2076:     |  |  and  (F:Candlelight) is Not SET 
2077:     |  |Then 
2078:     |  |  |-If 
2079:     |  |  |  X10: (K-1  Kitchen Recessed) is not ON  
2080:     |  |  |Then 
2081:     |  |  |  X10:  (K-1  Kitchen Recessed) PRE-Set Level  52 % 
2082:     |  |  |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  71 % 
2083:     |  |  |  X10:  (K-4  Kitchen Sink) PRE-Set Level  71 % 
2084:     |  |  |- Nest End 
2085:     |  |- Nest End 
2086:     |  |-If 
2087:     |  |  (F:Bedtime) is SET 
2088:     |  |Then 
2089:     |  |  (T:Kitchen PIR) LOAD with 0:02:00 
2090:     |  |Else 
2091:     |  |  (T:Kitchen PIR) LOAD with 0:11:00 
2092:     |  |- Nest End 
2093:     |  X10: K - All Lights ON 
2094:     |Else 
2095:     |  (RELAY:Kitchen SP) ON  
2096:     |  (RELAY:Living Rm SP) ON  
2097:     |  (T:Speakers ON) LOAD with 0:01:00 
2098:     |  Voice:LEAVE THE KITCHEN NOW!  [Spkr,Line] SYNC 
2099:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
2100:     |- Nest End 
2101:   End 
2102:     
2103:   EVENT:  Kitchen Sink PIR 
2104:   If 
2105:     (DI:Kit Sink PIR) Goes OFF 
2106:   Then 
2107:     |-If 
2108:     |  (V:) != 11 
2109:     |Then 
2110:     |  (V:)  LOAD with 11 
2111:     |- Nest End 
2112:     |-If 
2113:     |  Time is After 10:00 PM SMTWTFS 
2114:     |  and  (F:Bedtime) is Not SET 
2115:     |  and  (F:Candlelight) is Not SET 
2116:     |    -OR- 
2117:     |  Before Sunrise SMTWTFS 
2118:     |  and  (F:Bedtime) is Not SET 
2119:     |  and  (F:Candlelight) is Not SET 
2120:     |Then 
2121:     |  (T:Kitchen PIR) LOAD with 0:20:00 
2122:     |  X10:  (K-4  Kitchen Sink) PRE-Set Level  100% 
2123:     |  DELAY  0:01:00 
2124:     |  |-If 
2125:     |  |  (DI:Kit Sink PIR) is ON 
2126:     |  |Then 
2127:     |  |  X10:  (K-4  Kitchen Sink) PRE-Set Level  71 % 
2128:     |  |- Nest End 
2129:     |- Nest End 
2130:     |-If 
2131:     |  (F:Bedtime) is SET 
2132:     |  or  (F:Candlelight) is SET 
2133:     |Then 
2134:     |  (T:Kitchen PIR) LOAD with 0:04:00 
2135:     |  X10:  (K-4  Kitchen Sink) PRE-Set Level  48 % 
2136:     |  DELAY  0:01:00 
2137:     |  |-If 
2138:     |  |  (DI:Kit Sink PIR) is ON 
2139:     |  |Then 
2140:     |  |  X10:  (K-4  Kitchen Sink) PRE-Set Level  23 % 
2141:     |  |- Nest End 
2142:     |- Nest End 
2143:     |-If 
2144:     |  After Sunrise SMTWTFS 
2145:     |  and  Time is Before 10:00 PM SMTWTFS 
2146:     |Then 
2147:     |  (T:Kitchen PIR) LOAD with 0:20:00 
2148:     |- Nest End 
2149:   End 
2150:     
2151:   FASTEVENT:  Kit Entry/SR PIR [ DI:Kitchen2 PIR Goes OFF]  
2152:   Then 
2153:     |-If 
2154:     |  (F:Away) is Not SET 
2155:     |Then 
2156:     |  |-If 
2157:     |  |  (V:) != 11 
2158:     |  |Then 
2159:     |  |  (V:)  LOAD with 11 
2160:     |  |- Nest End 
2161:     |  (T:KIT OCCUPANCY) LOAD with 0:15:00 
2162:     |  |-If 
2163:     |  |  (F:Bedtime) is SET 
2164:     |  |  or  (F:Candlelight) is SET 
2165:     |  |Then 
2166:     |  |  |-If 
2167:     |  |  |  X10: (K-1  Kitchen Recessed) is not ON  
2168:     |  |  |Then 
2169:     |  |  |  X10:  (K-1  Kitchen Recessed) PRE-Set Level   6 % 
2170:     |  |  |  X10:  (K-2  Kitchen Counter) PRE-Set Level   6 % 
2171:     |  |  |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  23 % 
2172:     |  |  |  X10:  (K-4  Kitchen Sink) PRE-Set Level  23 % 
2173:     |  |  |- Nest End 
2174:     |  |- Nest End 
2175:     |  |-If 
2176:     |  |  After Sunrise SMTWTFS 
2177:     |  |  and  Time is Before 10:00 PM SMTWTFS 
2178:     |  |Then 
2179:     |  |  |-If 
2180:     |  |  |  X10: (K-1  Kitchen Recessed) is not ON  
2181:     |  |  |Then 
2182:     |  |  |  X10:  (K-1  Kitchen Recessed) PRE-Set Level  100% 
2183:     |  |  |  X10:  (K-2  Kitchen Counter) PRE-Set Level  100% 
2184:     |  |  |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  100% 
2185:     |  |  |  X10:  (K-4  Kitchen Sink) PRE-Set Level  100% 
2186:     |  |  |- Nest End 
2187:     |  |- Nest End 
2188:     |  |-If 
2189:     |  |  Time is After 10:00 PM SMTWTFS 
2190:     |  |  and  (F:Bedtime) is Not SET 
2191:     |  |  and  (F:Candlelight) is Not SET 
2192:     |  |    -OR- 
2193:     |  |  Before Sunrise SMTWTFS 
2194:     |  |  and  (F:Bedtime) is Not SET 
2195:     |  |  and  (F:Candlelight) is Not SET 
2196:     |  |Then 
2197:     |  |  |-If 
2198:     |  |  |  X10: (K-1  Kitchen Recessed) is not ON  
2199:     |  |  |Then 
2200:     |  |  |  X10:  (K-1  Kitchen Recessed) PRE-Set Level  52 % 
2201:     |  |  |  X10:  (K-2  Kitchen Counter) PRE-Set Level  61 % 
2202:     |  |  |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  71 % 
2203:     |  |  |  X10:  (K-4  Kitchen Sink) PRE-Set Level  71 % 
2204:     |  |  |- Nest End 
2205:     |  |- Nest End 
2206:     |  |-If 
2207:     |  |  (F:Bedtime) is SET 
2208:     |  |Then 
2209:     |  |  (T:Kitchen PIR) LOAD with 0:02:00 
2210:     |  |Else 
2211:     |  |  (T:Kitchen PIR) LOAD with 0:11:00 
2212:     |  |- Nest End 
2213:     |  X10: K - All Lights ON 
2214:     |Else 
2215:     |  (RELAY:Kitchen SP) ON  
2216:     |  (RELAY:Living Rm SP) ON  
2217:     |  (T:Speakers ON) LOAD with 0:01:00 
2218:     |  Voice:LEAVE THE KITCHEN NOW!  [Spkr,Line] SYNC 
2219:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
2220:     |- Nest End 
2221:   End 
2222:     
2223:   EVENT:  Kitchen PIR Timer 
2224:   If 
2225:     (T:Kitchen PIR) is Expiring 
2226:     and  (F:FREEZE PIR TIMER) is Not SET 
2227:       -OR- 
2228:     (T:Kitchen PIR) is Not Running 
2229:     and  (F:FREEZE PIR TIMER) is Not SET 
2230:   Then 
2231:     X10: K - All Units OFF 
2232:   End 
2233:     
2234:   EVENT:  Dining Room PIR 
2235:   If 
2236:     (DI:Dining RM) Goes OFF 
2237:   Then 
2238:     |-If 
2239:     |  (F:Away) is Not SET 
2240:     |Then 
2241:     |  |-If 
2242:     |  |  (V:) != 4 
2243:     |  |Then 
2244:     |  |  (V:)  LOAD with 4 
2245:     |  |- Nest End 
2246:     |  (T:KIT OCCUPANCY) LOAD with 0:10:00 
2247:     |  |-If 
2248:     |  |  (F:Bedtime) is SET 
2249:     |  |Then 
2250:     |  |  (T:Dining Room PIR) LOAD with 0:03:00 
2251:     |  |Else 
2252:     |  |  (T:Dining Room PIR) LOAD with 0:11:00 
2253:     |  |- Nest End 
2254:     |  |-If 
2255:     |  |  (F:Bedtime) is SET 
2256:     |  |  or  (F:Candlelight) is SET 
2257:     |  |Then 
2258:     |  |  |-If 
2259:     |  |  |  X10: (D-1  DR Chandelier) is not ON  
2260:     |  |  |Then 
2261:     |  |  |  X10:  (D-1  DR Chandelier) PRE-Set Level  13 % 
2262:     |  |  |- Nest End 
2263:     |  |  X10:  (D-1  DR Chandelier) ON 
2264:     |  |- Nest End 
2265:     |  |-If 
2266:     |  |  Time is After (TL:Pre-Sunset)  
2267:     |  |  and  Time is Before 10:00 PM SMTWTFS 
2268:     |  |Then 
2269:     |  |  |-If 
2270:     |  |  |  X10: (D-1  DR Chandelier) is not ON  
2271:     |  |  |Then 
2272:     |  |  |  X10:  (D-1  DR Chandelier) PRE-Set Level  100% 
2273:     |  |  |- Nest End 
2274:     |  |  X10:  (D-1  DR Chandelier) ON 
2275:     |  |- Nest End 
2276:     |  |-If 
2277:     |  |  Time is After 10:00 PM SMTWTFS 
2278:     |  |  and  (F:Bedtime) is Not SET 
2279:     |  |  and  (F:Candlelight) is Not SET 
2280:     |  |    -OR- 
2281:     |  |  Before Sunrise SMTWTFS 
2282:     |  |  and  (F:Bedtime) is Not SET 
2283:     |  |  and  (F:Candlelight) is Not SET 
2284:     |  |Then 
2285:     |  |  |-If 
2286:     |  |  |  X10: (D-1  DR Chandelier) is not ON  
2287:     |  |  |Then 
2288:     |  |  |  X10:  (D-1  DR Chandelier) PRE-Set Level  52 % 
2289:     |  |  |- Nest End 
2290:     |  |  X10:  (D-1  DR Chandelier) ON 
2291:     |  |- Nest End 
2292:     |Else 
2293:     |  (RELAY:Kitchen SP) ON  
2294:     |  (RELAY:Living Rm SP) ON  
2295:     |  (T:Speakers ON) LOAD with 0:01:00 
2296:     |  Voice:LEAVE THE DINING ROOM NOW!  [Spkr,Line] SYNC 
2297:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
2298:     |- Nest End 
2299:   End 
2300:     
2301:   EVENT:  Dining Room PIR Timer 
2302:   If 
2303:     (T:Dining Room PIR) is Expiring 
2304:     and  (DI:Dining RM) is ON 
2305:     and  (F:FREEZE PIR TIMER) is Not SET 
2306:       -OR- 
2307:     (T:Dining Room PIR) is Not Running 
2308:     and  (DI:Dining RM) is ON 
2309:     and  (F:FREEZE PIR TIMER) is Not SET 
2310:   Then 
2311:     X10: D - All Units OFF 
2312:     X10: D - All Units OFF 
2313:   End 
2314:     
2315:   EVENT:  Lower Stairway PIR's 
2316:   If 
2317:     (DI:LBMHall PIR) Toggles  
2318:     or  (DI:UBMHal PIR) Toggles  
2319:   Then 
2320:     |-If 
2321:     |  (F:Away) is Not SET 
2322:     |Then 
2323:     |  |-If 
2324:     |  |  (DI:UBMHal PIR) is OFF 
2325:     |  |  and  (DI:Security ARM) is ON 
2326:     |  |Then 
2327:     |  |  (THEN MACRO:Outdoor Spkr Off) 
2328:     |  |  (RELAY:Living Rm SP) ON  
2329:     |  |  (T:Speakers ON) LOAD with 0:00:05 
2330:     |  |  ASCII-Out:'@@whtdoing.wav' [COM1] 
2331:     |  |- Nest End 
2332:     |  |-If 
2333:     |  |  (F:Bedtime) is SET 
2334:     |  |  or  (F:Candlelight) is SET 
2335:     |  |    -AND- 
2336:     |  |  (DI:Security ARM) is OFF 
2337:     |  |Then 
2338:     |  |  X10:  (H-3  Lower Hall Light) PRE-Set Level  13 % 
2339:     |  |- Nest End 
2340:     |  |-If 
2341:     |  |  (F:Bedtime) is Not SET 
2342:     |  |  and  (F:Candlelight) is Not SET 
2343:     |  |  and  After Sunrise SMTWTFS 
2344:     |  |  and  Time is Before 10:00 PM SMTWTFS 
2345:     |  |  and  (T:Lwr Stairway PIR) is Not Running 
2346:     |  |  and  (DI:Security ARM) is OFF 
2347:     |  |Then 
2348:     |  |  |-If 
2349:     |  |  |  (F:Morning) is SET 
2350:     |  |  |Then 
2351:     |  |  |  X10:  (H-3  Lower Hall Light) PRE-Set Level  61 % 
2352:     |  |  |Else 
2353:     |  |  |  X10:  (H-3  Lower Hall Light) PRE-Set Level  100% 
2354:     |  |  |- Nest End 
2355:     |  |- Nest End 
2356:     |  |-If 
2357:     |  |  (F:Bedtime) is Not SET 
2358:     |  |  and  (F:Candlelight) is Not SET 
2359:     |  |  and  (T:Lwr Stairway PIR) is Not Running 
2360:     |  |  and  (DI:Security ARM) is OFF 
2361:     |  |Then 
2362:     |  |  |-If 
2363:     |  |  |  Time is After 10:00 PM SMTWTFS 
2364:     |  |  |  and  Time is Before 11:00 PM SMTWTFS 
2365:     |  |  |Then 
2366:     |  |  |  X10:  (H-3  Lower Hall Light) PRE-Set Level  48 % 
2367:     |  |  |- Nest End 
2368:     |  |  |-If 
2369:     |  |  |  Time is After 11:00 PM SMTWTFS 
2370:     |  |  |    -OR- 
2371:     |  |  |  Before Sunrise SMTWTFS 
2372:     |  |  |Then 
2373:     |  |  |  X10:  (H-3  Lower Hall Light) PRE-Set Level  26 % 
2374:     |  |  |- Nest End 
2375:     |  |- Nest End 
2376:     |  |-If 
2377:     |  |  (T:Lwr Stairway PIR) is Running 
2378:     |  |  and  (DI:Security ARM) is OFF 
2379:     |  |Then 
2380:     |  |  X10:  (H-3  Lower Hall Light) ON 
2381:     |  |- Nest End 
2382:     |  (T:Lwr Stairway PIR) LOAD with 0:00:30 
2383:     |Else 
2384:     |  (RELAY:Living Rm SP) ON  
2385:     |  (RELAY:Basement SP) ON  
2386:     |  (RELAY:UtilityRm SP) ON  
2387:     |  (T:Speakers ON) LOAD with 0:01:00 
2388:     |  Voice:ACCESS DENIED SILENCE1 DO NOT USE STAIRWAY  [Spkr,Line] SYNC 
2389:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
2390:     |- Nest End 
2391:   End 
2392:     
2393:   EVENT:  Lower Stairway PIR Timer 
2394:   If 
2395:     (T:Lwr Stairway PIR) is Expiring 
2396:     and  (DI:LBMHall PIR) is ON 
2397:     and  (DI:UBMHal PIR) is ON 
2398:     and  (F:FREEZE PIR TIMER) is Not SET 
2399:       -OR- 
2400:     (T:Lwr Stairway PIR) is Not Running 
2401:     and  (DI:LBMHall PIR) is ON 
2402:     and  (DI:UBMHal PIR) is ON 
2403:     and  (F:FREEZE PIR TIMER) is Not SET 
2404:   Then 
2405:     X10:  (H-3  Lower Hall Light) OFF 
2406:     X10:  (H-3  Lower Hall Light) OFF 
2407:   End 
2408:     
2409:   EVENT:  Lower Main Stair Lights > BMent 
2410:   If 
2411:     (DI:LBMHall PIR) Goes OFF 
2412:     and  (DI:UBMHal PIR) is OFF 
2413:   Then 
2414:     X10:  (N-1  BS Recessed 1-C) PRE-Set Level  100% 
2415:     (T:Basement PIR) LOAD with 0:07:00 
2416:   End 
2417:     
2418:   EVENT:  Basement PIR 
2419:   If 
2420:     (DI:BM /FP PIR) Toggles  
2421:     or  (DI:BM /Door PIR) Toggles  
2422:     " DI PIR "refresher"  " 
2423:   Then 
2424:     |-If 
2425:     |  (F:Away) is Not SET 
2426:     |Then 
2427:     |  (V:)  LOAD with 14 
2428:     |  (T:BM OCCUPANCY) LOAD with 0:10:00 
2429:     |  |-If 
2430:     |  |  X10: (N-3  BS Fireplace) is ON  
2431:     |  |Then 
2432:     |  |  (T:Basement PIR) LOAD with 0:10:00 
2433:     |  |- Nest End 
2434:     |  |-If 
2435:     |  |  X10: (N-3  BS Fireplace) is not ON  
2436:     |  |Then 
2437:     |  |  (T:Basement PIR) LOAD with 0:10:00 
2438:     |  |  X10:  (N-1  BS Recessed 1-C) PRE-Set Level  100% 
2439:     |  |  X10:  (N-2  BS Recessed 2-D) PRE-Set Level  100% 
2440:     |  |  X10:  (N-3  BS Fireplace) PRE-Set Level  100% 
2441:     |  |  X10:  (N-5  BS Railroad) PRE-Set Level  100% 
2442:     |  |  X10:  (N-3  BS Fireplace) ON 
2443:     |  |- Nest End 
2444:     |Else 
2445:     |  (RELAY:Basement SP) ON  
2446:     |  (RELAY:UtilityRm SP) ON  
2447:     |  (T:Speakers ON) LOAD with 0:01:00 
2448:     |  Voice:ACCESS DENIED SILENCE1 DO NOT ENTER BASEMENT  [Spkr,Line] SYNC 
2449:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
2450:     |- Nest End 
2451:   End 
2452:     
2453:   EVENT:  Basement PIR Timer 
2454:   If 
2455:     (T:Basement PIR) is Not Running 
2456:     and  (T:Utility Room PIR) is Not Running 
2457:     and  (T:Laundry Room PIR) is Not Running 
2458:     and  (F:FREEZE PIR TIMER) is Not SET 
2459:   Then 
2460:     X10: N - All Units OFF 
2461:     (T:BM OCCUPANCY)  CLEAR 
2462:     X10: N - All Units OFF 
2463:   End 
2464:     
2465:   EVENT:  Utility Room (E) PIR 
2466:   If - Always 
2467:     (DI:Utility PIR) Toggles  
2468:   Then 
2469:     X10:  (N-6  BS Utility Room) ON 
2470:     (T:BM OCCUPANCY) LOAD with 0:02:00 
2471:     (T:Utility Room PIR) LOAD with 0:02:00 
2472:     |-If 
2473:     |  (F:Away) is SET 
2474:     |Then 
2475:     |  (RELAY:Basement SP) ON  
2476:     |  (RELAY:UtilityRm SP) ON  
2477:     |  (T:Speakers ON) LOAD with 0:01:00 
2478:     |  Voice:ACCESS DENIED SILENCE1 DO NOT ENTER THIS ROOM  [Spkr,Line] SYNC 
2479:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
2480:     |- Nest End 
2481:   End 
2482:     
2483:   EVENT:  Utility Room PIR Timer 
2484:   If 
2485:     (T:Utility Room PIR) is Not Running 
2486:     or  (T:Utility Room PIR) is Expiring 
2487:       -AND- 
2488:     (F:FREEZE PIR TIMER) is Not SET 
2489:       -AND- 
2490:     (F:FREEZE UTIL PIR) is Not SET 
2491:   Then 
2492:     X10:  (N-6  BS Utility Room) OFF 
2493:     (T:BM OCCUPANCY)  CLEAR 
2494:   End 
2495:     
2496:   FASTEVENT:  Utility Room PIR [ X10: (N-14  ) Goes ON]  
2497:   Then 
2498:     |-If 
2499:     |  (F:Away) is Not SET 
2500:     |Then 
2501:     |  X10:  (N-6  BS Utility Room) ON 
2502:     |  (T:Utility Room PIR) LOAD with 0:15:00 
2503:     |  (T:BM OCCUPANCY) LOAD with 0:15:00 
2504:     |Else 
2505:     |  (RELAY:Basement SP) ON  
2506:     |  (RELAY:UtilityRm SP) ON  
2507:     |  (RELAY:Living Rm SP) ON  
2508:     |  (T:Speakers ON) LOAD with 0:01:00 
2509:     |  Voice:ACCESS DENIED  [Spkr,Line] SYNC 
2510:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
2511:     |- Nest End 
2512:   End 
2513:     
2514:   EVENT:  Laundry Room (E) PIR 
2515:   If 
2516:     (DI:Laundry PIR) Toggles  
2517:   Then 
2518:     |-If 
2519:     |  (F:Away) is Not SET 
2520:     |Then 
2521:     |  X10:  (N-7  BS Laundry Room) ON 
2522:     |  (T:BM OCCUPANCY) LOAD with 0:10:00 
2523:     |  (T:Laundry Room PIR) LOAD with 0:10:00 
2524:     |Else 
2525:     |  (RELAY:Basement SP) ON  
2526:     |  (RELAY:UtilityRm SP) ON  
2527:     |  (T:Speakers ON) LOAD with 0:01:00 
2528:     |  Voice:ACCESS DENIED SILENCE1 DO NOT ENTER THIS ROOM  [Spkr,Line] SYNC 
2529:     |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
2530:     |- Nest End 
2531:   End 
2532:     
2533:   EVENT:  Laundry Room PIR Timer 
2534:   If 
2535:     (T:Laundry Room PIR) is Not Running 
2536:     and  (F:FREEZE PIR TIMER) is Not SET 
2537:   Then 
2538:     X10:  (N-7  BS Laundry Room) OFF 
2539:     (T:BM OCCUPANCY)  CLEAR 
2540:   End 
2541:     
2542:   EVENT:  Weather Reports 
2543:   If 
2544:     IR Seq:' ' Received within 3 seconds  
2545:     or  XSEQ:( M-12 M-ON ) Received within 4 seconds  
2546:     " Bedroom Touchlinc Panel " 
2547:   Then 
2548:     |-If 
2549:     |  CO: Is ON Hook 
2550:     |Then 
2551:     |  X10:  (D-8  Weather MSG) ON 
2552:     |  (THEN MACRO:Occupancy > Spkr) 
2553:     |  X10:  (D-8  Weather MSG) ON 
2554:     |  (T:Speakers ON) LOAD with 0:01:25 
2555:     |  Voice:SILENCE1  [Spkr,Line] SYNC 
2556:     |  Voice:Please hold....  [Line] 
2557:     |  TelePhone Out:'^13019361212' 
2558:     |  Voice:SILENCE2 SILENCE2 SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
2559:     |  Audio:Connect CO In to Line Level Out 
2560:     |  DELAY  0:01:15 
2561:     |  Audio:Disconnect CO In to Line Level Out 
2562:     |  TelePhone Out:'+' 
2563:     |- Nest End 
2564:   End 
2565:     
2566:   EVENT:  HVAC Temperature Logging 
2567:   If 
2568:       (HVAC:HVAC-1 Temperature )   Changes Value 
2569:     or    (HVAC:HVAC-1 Setpoint )   Changes Value 
2570:   Then 
2571:     (V:HVAC Temp) Load with (HVAC:HVAC-1 Temperature ) 
2572:     (V:HVAC Setpoint) Load with (HVAC:HVAC-1 Setpoint ) 
2573:     Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
2574:     LOG 'HVAC Temperature is: <HVAC Temp>' 
2575:     LOG 'HVAC Setpoint is: <HVAC Setpoint>' 
2576:     ASCII-Out:'HVAC Temp: <HVAC Temp>' [COM1] 
2577:     ASCII-Out:'HVAC Setpoint: <HVAC Setpoint>' [COM1] 
2578:   End 
2579:     
2580:   EVENT:  Analog Temp Logging 
2581:   If 
2582:     (T:Analog Temp Log) is Expiring 
2583:     or  (T:Analog Temp Log) is Stopped 
2584:   Then 
2585:     |-If 
2586:     |  (A/D:Deck TEMP) > (V:Daily High Temp) 
2587:     |Then 
2588:     |  (V:Daily High Temp)  LOAD with (A/D:Deck TEMP) 
2589:     |- Nest End 
2590:     |-If 
2591:     |  (A/D:Deck TEMP) < (V:Daily Low Temp) 
2592:     |Then 
2593:     |  (V:Daily Low Temp)  LOAD with (A/D:Deck TEMP) 
2594:     |- Nest End 
2595:     |-If 
2596:     |  (A/D:Attic TEMP) > (V:Daily Attic High) 
2597:     |Then 
2598:     |  (V:Powder Room OCC)  LOAD with (A/D:Attic TEMP) 
2599:     |- Nest End 
2600:     (V:Outside Temp)  LOAD with (A/D:Deck TEMP) 
2601:     (V:Outside Temp)  LOAD with (A/D:Deck TEMP) 
2602:     LOG 'Hub TEMP: <Hub TEMP>' 
2603:     LOG 'Outside Temp:  <Deck TEMP>' 
2604:     ASCII-Out:'Hub TEMP: <Hub TEMP>' [COM1] 
2605:     (T:Analog Temp Log) LOAD with 0:15:00 
2606:   End 
2607:     
2608:   EVENT:  Daily High/Low Temp Logging 
2609:   If 
2610:     Time is 12:00 AM SMTWTFS 
2611:   Then 
2612:     ASCII-Out:'Daily Low: <Daily Low Temp>' [COM1] 
2613:     ASCII-Out:'Daily High: <Daily High Temp>' [COM1] 
2614:     ASCII-Out:'Daily High: <Daily Attic High>' [COM1] 
2615:     LOG 'Daily High Temp: <Daily High Temp>' 
2616:     LOG 'Daily Low Temp: <Daily Low Temp>' 
2617:     LOG 'Daily Attic High Temp: <Daily Attic High>' 
2618:   End 
2619:     
2620:   EVENT:  Daily High/Low Temp Reset 
2621:   If 
2622:     Time is 12:05 AM SMTWTFS 
2623:   Then 
2624:     (V:Daily High Temp)  LOAD with (A/D:Deck TEMP) 
2625:     (V:Daily Low Temp)  LOAD with (A/D:Deck TEMP) 
2626:   End 
2627:     
2628:   EVENT:  On Demand HVAC Temp/Set Call 
2629:   If 
2630:     XSEQ:( D-7 D-ON ) Received within 4 seconds  
2631:       -OR- 
2632:     IR Seq:' ' Received within 3 seconds  
2633:   Then 
2634:     (V:HVAC Setpoint) Load with (HVAC:HVAC-1 Setpoint ) 
2635:     (V:HVAC Temp) Load with (HVAC:HVAC-1 Temperature ) 
2636:     (THEN MACRO:Occupancy > Spkr) 
2637:     (T:Speakers ON) LOAD with 0:00:15 
2638:     Voice:SILENCE1  [Spkr,Line] SYNC 
2639:     |-If 
2640:     |  Time is After 9:00 AM SMTWTFS 
2641:     |  and  Time is Before 10:00 PM SMTWTFS 
2642:     |Then 
2643:     |  Voice:TEMPERAT  [Spkr,Line] SYNC 
2644:     |  Voice:FRONT YARD <Outside TEMP>SILENCE1  [Spkr,Line] SYNC 
2645:     |  Voice:BACK YARD <Deck TEMP>SILENCE1  [Spkr,Line] SYNC 
2646:     |  Voice:INSIDE HVAC-1 Temperature SILENCE1  [Spkr,Line] SYNC 
2647:     |  Voice:INSIDE SETTING HVAC-1 Setpoint SILENCE2  [Spkr,Line] SYNC 
2648:     |  Voice:LIVING ROOM <Bedroom TEMP>SILENCE2  [Spkr,Line] SYNC 
2649:     |  Voice:UPSTAIRS <2nd FL TEMP>SILENCE1  [Spkr,Line] SYNC 
2650:     |  Voice:BEDROOM <Kitchen TEMP>SILENCE2  [Spkr,Line] SYNC 
2651:     |  Voice:BASEMENT <>SILENCE1  [Spkr,Line] SYNC 
2652:     |  Voice:BASEMENT SYSTEM <Hub TEMP>SILENCEH  [Spkr,Line] SYNC 
2653:     |  Voice:ATTIC <Basemnt TEMP> [Spkr,Line] SYNC 
2654:     |  " normal volume " 
2655:     |Else 
2656:     |  Voice:TEMPERAT  [Spkr,Line] SYNC 
2657:     |  Voice:FRONT YARD <Outside TEMP>SILENCE1  [Spkr,Line] SYNC 
2658:     |  Voice:BACK YARD <Deck TEMP>SILENCE1  [Spkr,Line] SYNC 
2659:     |  Voice:INSIDE HVAC-1 Temperature SILENCE1  [Spkr,Line] SYNC 
2660:     |  Voice:INSIDE SETTING HVAC-1 Setpoint SILENCE2  [Spkr,Line] SYNC 
2661:     |  Voice:LIVING ROOM <Bedroom TEMP>SILENCE2  [Spkr,Line] SYNC 
2662:     |  Voice:UPSTAIRS <2nd FL TEMP>SILENCE1  [Spkr,Line] SYNC 
2663:     |  Voice:BEDROOM <Kitchen TEMP>SILENCE2  [Spkr,Line] SYNC 
2664:     |  Voice:BASEMENT <>SILENCE1  [Spkr,Line] SYNC 
2665:     |  Voice:BASEMENT SYSTEM <Hub TEMP>SILENCEH  [Spkr,Line] SYNC 
2666:     |  Voice:ATTIC <Basemnt TEMP> [Spkr,Line] SYNC 
2667:     |  " low volume " 
2668:     |- Nest End 
2669:     X10:  (D-7  HVAC Temp/Setp) OFF 
2670:   End 
2671:     
2672:   EVENT:  HVAC Decode Table Conversion 
2673:   If 
2674:     (F:At Home) is SET 
2675:   Then 
2676:     |-If 
2677:     |  XSEQ:( A-1 A-ON ) Received within 4 seconds  
2678:     |    -OR- 
2679:     |  IR Seq:' ' Received within 3 seconds  
2680:     |Then 
2681:     |  (HVAC:)  Set Temp to 65 degrees 
2682:     |- Nest End 
2683:     |-If 
2684:     |  XSEQ:( A-2 A-ON ) Received within 4 seconds  
2685:     |    -OR- 
2686:     |  IR Seq:' ' Received within 3 seconds  
2687:     |Then 
2688:     |  (HVAC:)  Set Temp to 66 degrees 
2689:     |- Nest End 
2690:     |-If 
2691:     |  XSEQ:( A-3 A-ON ) Received within 4 seconds  
2692:     |    -OR- 
2693:     |  IR Seq:' ' Received within 3 seconds  
2694:     |Then 
2695:     |  (HVAC:)  Set Temp to 67 degrees 
2696:     |- Nest End 
2697:     |-If 
2698:     |  XSEQ:( A-4 A-ON ) Received within 4 seconds  
2699:     |    -OR- 
2700:     |  IR Seq:' ' Received within 3 seconds  
2701:     |Then 
2702:     |  (HVAC:)  Set Temp to 68 degrees 
2703:     |- Nest End 
2704:     |-If 
2705:     |  XSEQ:( A-5 A-ON ) Received within 4 seconds  
2706:     |    -OR- 
2707:     |  IR Seq:' ' Received within 3 seconds  
2708:     |Then 
2709:     |  (HVAC:)  Set Temp to 69 degrees 
2710:     |- Nest End 
2711:     |-If 
2712:     |  XSEQ:( A-6 A-ON ) Received within 4 seconds  
2713:     |    -OR- 
2714:     |  IR Seq:' ' Received within 3 seconds  
2715:     |Then 
2716:     |  (HVAC:)  Set Temp to 70 degrees 
2717:     |- Nest End 
2718:     |-If 
2719:     |  XSEQ:( A-7 A-ON ) Received within 4 seconds  
2720:     |    -OR- 
2721:     |  IR Seq:' ' Received within 3 seconds  
2722:     |Then 
2723:     |  (HVAC:)  Set Temp to 71 degrees 
2724:     |- Nest End 
2725:     |-If 
2726:     |  XSEQ:( A-8 A-ON ) Received within 4 seconds  
2727:     |    -OR- 
2728:     |  IR Seq:' ' Received within 3 seconds  
2729:     |Then 
2730:     |  (HVAC:)  Set Temp to 72 degrees 
2731:     |- Nest End 
2732:     |-If 
2733:     |  XSEQ:( A-1 A-OFF ) Received within 4 seconds  
2734:     |    -OR- 
2735:     |  IR Seq:' ' Received within 3 seconds  
2736:     |Then 
2737:     |  (HVAC:)  Set Temp to 73 degrees 
2738:     |- Nest End 
2739:     |-If 
2740:     |  XSEQ:( A-2 A-OFF ) Received within 4 seconds  
2741:     |    -OR- 
2742:     |  IR Seq:' ' Received within 3 seconds  
2743:     |Then 
2744:     |  (HVAC:)  Set Temp to 74 degrees 
2745:     |- Nest End 
2746:     |-If 
2747:     |  XSEQ:( A-3 A-OFF ) Received within 4 seconds  
2748:     |Then 
2749:     |  (HVAC:)  Set Temp to 75 degrees 
2750:     |- Nest End 
2751:     |-If 
2752:     |  XSEQ:( A-4 A-OFF ) Received within 4 seconds  
2753:     |Then 
2754:     |  (HVAC:)  Set Temp to 76 degrees 
2755:     |- Nest End 
2756:     |-If 
2757:     |  XSEQ:( A-9 A-ON ) Received within 4 seconds  
2758:     |    -OR- 
2759:     |  IR Seq:' ' Received within 3 seconds  
2760:     |Then 
2761:     |  (HVAC:)  HEAT Mode 
2762:     |- Nest End 
2763:     |-If 
2764:     |  XSEQ:( A-10 A-ON ) Received within 4 seconds  
2765:     |    -OR- 
2766:     |  IR Seq:' ' Received within 3 seconds  
2767:     |Then 
2768:     |  (HVAC:)  COOL Mode 
2769:     |- Nest End 
2770:     |-If 
2771:     |  XSEQ:( A-11 A-ON ) Received within 4 seconds  
2772:     |    -OR- 
2773:     |  IR Seq:' ' Received within 3 seconds  
2774:     |Then 
2775:     |  (HVAC:)  AUTO Mode 
2776:     |- Nest End 
2777:     |-If 
2778:     |  XSEQ:( A-9 A-OFF ) Received within 4 seconds  
2779:     |  or  XSEQ:( A-10 A-OFF ) Received within 4 seconds  
2780:     |  or  XSEQ:( A-11 A-OFF ) Received within 4 seconds  
2781:     |  or  IR Seq:' ' Received within 3 seconds  
2782:     |Then 
2783:     |  (HVAC:)  OFF Mode 
2784:     |- Nest End 
2785:     |-If 
2786:     |  XSEQ:( A-12 A-ON ) Received within 4 seconds  
2787:     |    -OR- 
2788:     |  IR Seq:' ' Received within 3 seconds  
2789:     |Then 
2790:     |  (HVAC:)  Fan ON 
2791:     |- Nest End 
2792:     |-If 
2793:     |  XSEQ:( A-12 A-OFF ) Received within 4 seconds  
2794:     |    -OR- 
2795:     |  IR Seq:' ' Received within 3 seconds  
2796:     |Then 
2797:     |  (HVAC:)  Fan OFF 
2798:     |- Nest End 
2799:   End 
2800:     
2801:   EVENT:  HUB Temperature Modulation 
2802:   If 
2803:       (HVAC:HVAC-1  )   System mode is COOL 
2804:     or  X10: (A-4  on 68* / off 76*) PresetLevel = 3 (6 %) 
2805:     or  X10: (A-10  A/C On) is ON  
2806:   Then 
2807:     |-If 
2808:     |  (A/D:Hub TEMP) > 74 
2809:     |  and  X10: (H-15  HUB HVAC Booster) is not ON  
2810:     |  and  (RELAY:HUB DAMPER) is OFF 
2811:     |Then 
2812:     |  X10:  (H-15  HUB HVAC Booster) ON 
2813:     |- Nest End 
2814:   Else 
2815:     |-If 
2816:     |  (A/D:Hub TEMP) < 74 
2817:     |  and  X10: (H-15  HUB HVAC Booster) is not OFF  
2818:     |Then 
2819:     |  X10:  (H-15  HUB HVAC Booster) OFF 
2820:     |- Nest End 
2821:   End 
2822:     
2823:   EVENT:  HUB Booster/Damper Sync 
2824:   If 
2825:     (RELAY:HUB DAMPER) is ON 
2826:   Then 
2827:     X10:  (H-15  HUB HVAC Booster) OFF 
2828:   End 
2829:     
2830:   EVENT:  HUB Floor Blower 
2831:   If 
2832:     (A/D:Basemnt TEMP)   Changes Value 
2833:     and  (A/D:Basemnt TEMP) < 70 
2834:   Then 
2835:     |-If 
2836:     |  (A/D:Hub TEMP) > 74 
2837:     |  and  X10: (H-16  HUB Exhaust Blwr) is not ON  
2838:     |Then 
2839:     |  X10:  (H-16  HUB Exhaust Blwr) ON 
2840:     |- Nest End 
2841:   Else 
2842:     |-If 
2843:     |  (A/D:Hub TEMP) < 74 
2844:     |  and  X10: (H-16  HUB Exhaust Blwr) is not OFF  
2845:     |Then 
2846:     |  X10:  (H-16  HUB Exhaust Blwr) OFF 
2847:     |- Nest End 
2848:   End 
2849:     
2850:   EVENT:  HUB Ceiling Fans 
2851:   If 
2852:     X10: (H-16  HUB Exhaust Blwr) is ON  
2853:   Then 
2854:     (RELAY:HUB CEILING) ON  
2855:   Else 
2856:     (RELAY:HUB CEILING) OFF  
2857:   End 
2858:     
2859:   EVENT:  HUB Emergency Temp Warning 
2860:   If 
2861:     (F:At Home) is SET 
2862:     and  (A/D:Hub TEMP) > 78 
2863:     and  (F:Silence Annc) is Not SET 
2864:   Then 
2865:     |-If 
2866:     |  (A/D:Hub TEMP)   Changes Value 
2867:     |Then 
2868:     |  (THEN MACRO:Occupancy > Spkr) 
2869:     |  (T:Speakers ON) LOAD with 0:00:15 
2870:     |  Voice:ALERT3 SILENCE1 ALERT3 WARNING SILENCE1
              BASEMENT TEMPERAT IS <Hub TEMP> [Spkr,Line] SYNC 
2871:     |- Nest End 
2872:   End 
2873:     
2874:   EVENT:  Pre-Temp before Arrival - Spring 
2875:   If 
2876:     (F:Away) is SET 
2877:     and  Date is After Mar  1 
2878:     and  Date is Before Apr  1 
2879:     and  Time is 6:00 PM SMTWTFS 
2880:     and  (T:Security Random) is Running 
2881:   Then 
2882:     (HVAC:)  AUTO Mode 
2883:     (HVAC:)  Set Temp to 71 degrees 
2884:   End 
2885:     
2886:   EVENT:  Pre-Cool before Arrival - Summer 
2887:   If 
2888:     (F:Away) is SET 
2889:     and  Date is After Apr  1 
2890:     and  Date is Before Oct  31 
2891:     and  Time is 5:00 PM SMTWTFS 
2892:     and  (T:Security Random) is Running 
2893:   Then 
2894:     (HVAC:)  COOL Mode 
2895:     (HVAC:)  Set Temp to 73 degrees 
2896:   End 
2897:     
2898:   EVENT:  Pre-Heat before Arrival - Winter 
2899:   If 
2900:     (F:Away) is SET 
2901:     and  Date is After Oct  31 
2902:     and  Time is 5:40 PM SMTWTFS 
2903:     and  (T:Security Random) is Running 
2904:       -OR- 
2905:     (F:Away) is SET 
2906:     and  Date is Before Mar  1 
2907:     and  Time is 5:40 PM SMTWTFS 
2908:     and  (T:Security Random) is Running 
2909:   Then 
2910:     (HVAC:)  HEAT Mode 
2911:     (HVAC:)  Set Temp to 70 degrees 
2912:   End 
2913:     
2914:   EVENT:  Heating draw-down twrds Bedtime 
2915:   If 
2916:     (F:At Home) is SET 
2917:     and  Date is After Oct  31 
2918:     and  Time is 10:30 PM SMTWTFS 
2919:       -OR- 
2920:     (F:At Home) is SET 
2921:     and  Date is Before Mar  1 
2922:     and  Time is 10:30 PM SMTWTFS 
2923:   Then 
2924:     (HVAC:)  OFF Mode 
2925:   End 
2926:     
2927:   EVENT:  Eva gets cold... 
2928:   If 
2929:       (HVAC:HVAC-1 Temperature ) < 68 
2930:     and    (HVAC:HVAC-1 Temperature ) > 50 
2931:     and  (F:At Home) is SET 
2932:     and  (F:Bedtime) is Not SET 
2933:   Then 
2934:     (THEN MACRO:Outdoor Spkr Off) 
2935:     (THEN MACRO:Occupancy > Spkr) 
2936:     (T:Speakers ON) LOAD with 0:00:30 
2937:     ASCII-Out:'@@QCOLDHR.WAV' [COM1] 
2938:     Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
2939:     ASCII-Out:'@@HEATON.WAV' [COM1] 
2940:     (HVAC:)  HEAT Mode 
2941:     (HVAC:)  Set Temp to 70 degrees 
2942:   End 
2943:     
2944:   EVENT:  Eva gets hot flashes... 
2945:   If 
2946:       (HVAC:HVAC-1 Temperature ) > 74 
2947:     and  (F:At Home) is SET 
2948:     and  (F:Bedtime) is Not SET 
2949:   Then 
2950:     (THEN MACRO:Outdoor Spkr Off) 
2951:     (THEN MACRO:Occupancy > Spkr) 
2952:     (T:Speakers ON) LOAD with 0:00:30 
2953:     ASCII-Out:'@@QHOTHR.WAV' [COM1] 
2954:     Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
2955:     ASCII-Out:'@@ACON.WAV' [COM1] 
2956:     (HVAC:)  COOL Mode 
2957:     (HVAC:)  Set Temp to 72 degrees 
2958:   End 
2959:     
2960:   EVENT:  Bear's Morning Routine 
2961:   If 
2962:     (F:Away) is Not SET 
2963:     and  (F:Morning) is SET 
2964:     and  Time is Before 11:00 AM SMTWTFS 
2965:     and  (DI:LHall PIR) Goes OFF 
2966:   Then 
2967:     (THEN MACRO:Outdoor Spkr Off) 
2968:     |-If 
2969:     |  (V:Anna is about...) = 0 
2970:     |Then 
2971:     |  (IR:LCD POWER ) play 1 time(s) [Emitter1] 
2972:     |  (RELAY:Kitchen SP) ON  
2973:     |  (V:Anna is about...)  INCREMENT 
2974:     |  (IR:LCD 1 ) play 1 time(s) [Emitter1] 
2975:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
2976:     |  X10: J - All Units OFF 
2977:     |  (IR:LCD 2 ) play 1 time(s) [Emitter1] 
2978:     |  |-If 
2979:     |  |    (HVAC:HVAC-1 Temperature ) < 68 
2980:     |  |Then 
2981:     |  |  ASCII-Out:'@@MAKEWARM.WAV' [COM1] 
2982:     |  |- Nest End 
2983:     |  |-If 
2984:     |  |  Date is July  2 
2985:     |  |Then 
2986:     |  |  ASCII-Out:'@@BDAYANNA.WAV' [COM1] 
2987:     |  |- Nest End 
2988:     |  |-If 
2989:     |  |  (A/D:Deck TEMP) < 28 
2990:     |  |Then 
2991:     |  |  ASCII-Out:'@@BRRRCOLD.WAV' [COM1] 
2992:     |  |- Nest End 
2993:     |  |-If 
2994:     |  |  (V:Bear is away) = 3 
2995:     |  |  or  (V:Bear is away) = 7 
2996:     |  |Then 
2997:     |  |  DELAY  0:01:00 
2998:     |  |  ASCII-Out:'@@QWHNHOME.WAV' [COM1] 
2999:     |  |- Nest End 
3000:     |  |-If 
3001:     |  |  (V:Bear is away) = 5 
3002:     |  |  or  (V:Bear is away) = 10 
3003:     |  |Then 
3004:     |  |  DELAY  0:01:00 
3005:     |  |  ASCII-Out:'@@MISSJOHN.WAV' [COM1] 
3006:     |  |- Nest End 
3007:     |- Nest End 
3008:     Voice:SILENCE2 SILENCE2 SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3009:     |-If 
3010:     |  Date is July  2 
3011:     |  and  (V:Anna is about...) = 1 
3012:     |Then 
3013:     |  (RELAY:Kitchen SP) ON  
3014:     |  (T:Speakers ON) LOAD with 0:00:10 
3015:     |  ASCII-Out:'@@birthday.wav' [COM1] 
3016:     |  (V:Anna is about...)  INCREMENT 
3017:     |- Nest End 
3018:     |-If 
3019:     |  (IF MACRO:Anna-versaries!) 
3020:     |  and  (V:Anna is about...) = 1 
3021:     |  and  (F:Guests Visiting) is Not SET 
3022:     |Then 
3023:     |  (RELAY:Kitchen SP) ON  
3024:     |  (T:Speakers ON) LOAD with 0:00:10 
3025:     |  ASCII-Out:'@@annivers.wav' [COM1] 
3026:     |  (V:Anna is about...)  INCREMENT 
3027:     |- Nest End 
3028:     |-If 
3029:     |  Date is After Nov  25 
3030:     |  and  (F:Away) is Not SET 
3031:     |  and  (V:Christmas Tree) = 0 
3032:     |    -OR- 
3033:     |  Date is Before Jan  31 
3034:     |  and  (F:Away) is Not SET 
3035:     |  and  (V:Christmas Tree) = 0 
3036:     |Then 
3037:     |  X10:  (O-16  Christmas Tree) ON 
3038:     |  (V:Christmas Tree)  LOAD with 1 
3039:     |  X10:  (O-12  Christmas Railng) PRE-Set Level  100% 
3040:     |- Nest End 
3041:     (T:Speakers ON) LOAD with 0:00:10 
3042:   End 
3043:     
3044:   EVENT:  Eva's Bedtime ? 
3045:   If 
3046:     Time is 1:00 AM SMTWTFS   -Security Mode-  
3047:     and  (F:At Home) is SET 
3048:     and  (F:Bedtime) is Not SET 
3049:   Then 
3050:     (THEN MACRO:Outdoor Spkr Off) 
3051:     (THEN MACRO:Occupancy > Spkr) 
3052:     (T:Speakers ON) LOAD with 0:00:20 
3053:     Voice:SILENCE2  [Spkr,Line] SYNC 
3054:     ASCII-Out:'@@FEMYAWN.WAV' [COM1] 
3055:     ASCII-Out:'@@QBED4EVA.WAV' [COM1] 
3056:   End 
3057:     
3058:   EVENT:  Anna's Bedtime? 
3059:   If 
3060:     (F:Bear is Away...) is SET 
3061:     and  Time is After 11:00 PM SMTWTFS 
3062:     and  (F:Bedtime) is Not SET 
3063:     and  (T:Master BR PIR) is Not Running 
3064:     and  (T:LR OCCUPANCY) is Not Running 
3065:   Then 
3066:     (THEN MACRO:Outdoor Spkr Off) 
3067:     (RELAY:Living Rm SP) ON  
3068:     (T:Speakers ON) LOAD with 0:00:30 
3069:     Voice:SILENCE2  [Spkr,Line] SYNC 
3070:     ASCII-Out:'@@HELLO.WAV' [COM1] 
3071:     Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3072:     ASCII-Out:'@@QAHEARME.WAV' [COM1] 
3073:     Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3074:     ASCII-Out:'@@GOUP2BED.WAV' [COM1] 
3075:   End 
3076:     
3077:   EVENT:  Schedule Download Update 
3078:   If 
3079:     First pass through schedule 
3080:   Then 
3081:     (T:Analog Temp Log) LOAD with 0:01:00 
3082:     (F:At Home)  SET 
3083:     (F:SecurityDISARMED)  SET 
3084:     (F:Entertain)  CLEAR 
3085:     (F:Morning)  CLEAR 
3086:     (F:Away)  CLEAR 
3087:     (F:Candlelight)  CLEAR 
3088:     (F:Bedtime)  CLEAR 
3089:     (F:Security ARMED)  CLEAR 
3090:     (F:Deck via SGDoor)  CLEAR 
3091:     (F:Patio via SGDoor)  CLEAR 
3092:     (F:Silence Annc)  CLEAR 
3093:     X10: E - All Units OFF 
3094:     (RELAY:Library F/ P) OFF  
3095:     (THEN MACRO:All Speakers Off) 
3096:     |-If 
3097:     |  Time is Dark (after SunSet, before SunRise) 
3098:     |Then 
3099:     |  X10:  (O-10  Front Garden Lts) ON 
3100:     |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3101:     |  X10:  (O-11  Rear Garden Lts) ON 
3102:     |  X10:  (O-7  R Outside Outlet) ON 
3103:     |- Nest End 
3104:     |-If 
3105:     |  (V:Daily High Temp) = 0 
3106:     |  or  (V:Daily Low Temp) = 0 
3107:     |Then 
3108:     |  (V:Daily High Temp)  LOAD with (A/D:Deck TEMP) 
3109:     |  (V:Daily Low Temp)  LOAD with (A/D:Deck TEMP) 
3110:     |- Nest End 
3111:     (V:Outside Temp)  LOAD with (A/D:Deck TEMP) 
3112:     (V:Powder Room OCC)  LOAD with (A/D:Attic TEMP) 
3113:     (V:Unknown CIDCalls)  LOAD with 0 
3114:     (V:)  LOAD with 0 
3115:   End 
3116:     
3117:   EVENT:  Speaker Timer 
3118:   If 
3119:     (T:Speakers ON) is Expiring 
3120:     or  (T:Speakers ON) is Stopped 
3121:   Then 
3122:     (THEN MACRO:All Speakers Off) 
3123:     (THEN MACRO:All Speakers Off) 
3124:   End 
3125:     
3126:   EVENT:  FLAG: Bear is away... 
3127:   If 
3128:     (F:Bear is Away...) is Not SET 
3129:   Then 
3130:     (V:Bear is away)  LOAD with 0 
3131:   End 
3132:     
3133:   EVENT:  FLAG: Away SET 
3134:   If 
3135:     (F:Away) is SET 
3136:   Then 
3137:     (F:Morning)  CLEAR 
3138:     (F:At Home)  CLEAR 
3139:     (F:Candlelight)  CLEAR 
3140:     (F:Entertain)  CLEAR 
3141:   End 
3142:     
3143:   EVENT:  FLAG: At Home SET 
3144:   If 
3145:     (F:At Home) is SET 
3146:   Then 
3147:     (F:Away)  CLEAR 
3148:     |-If 
3149:     |  (F:Candlelight) is SET 
3150:     |Then 
3151:     |  (F:Morning)  CLEAR 
3152:     |  (F:Entertain)  CLEAR 
3153:     |  (F:Bedtime)  CLEAR 
3154:     |- Nest End 
3155:     |-If 
3156:     |  (F:Entertain) is SET 
3157:     |Then 
3158:     |  (F:Morning)  CLEAR 
3159:     |  (F:Candlelight)  CLEAR 
3160:     |  (F:Bedtime)  CLEAR 
3161:     |- Nest End 
3162:     |-If 
3163:     |  (F:Morning) is SET 
3164:     |Then 
3165:     |  (F:Candlelight)  CLEAR 
3166:     |  (F:Entertain)  CLEAR 
3167:     |  (F:Bedtime)  CLEAR 
3168:     |- Nest End 
3169:     |-If 
3170:     |  (F:Bedtime) is SET 
3171:     |Then 
3172:     |  (F:Morning)  CLEAR 
3173:     |  (F:Candlelight)  CLEAR 
3174:     |  (F:Entertain)  CLEAR 
3175:     |- Nest End 
3176:     |-If 
3177:     |  Time is 12:00 PM SMTWTFS 
3178:     |Then 
3179:     |  (F:Morning)  CLEAR 
3180:     |- Nest End 
3181:   End 
3182:     
3183:   EVENT:  FLAG: Security ARM 
3184:   If 
3185:     (F:Security ARMED) is SET 
3186:   Then 
3187:     (F:SecurityDISARMED)  CLEAR 
3188:     (RELAY:Laser Diodes) ON  
3189:   End 
3190:     
3191:   EVENT:  FLAG: Security DISARM 
3192:   If 
3193:     (F:SecurityDISARMED) is SET 
3194:   Then 
3195:     (F:Security ARMED)  CLEAR 
3196:     (RELAY:Laser Diodes) OFF  
3197:   End 
3198:     
3199:   EVENT:  Sunrise: Lights Off & Vaca reset 
3200:   If 
3201:     Sunrise SMTWTFS 
3202:   Then 
3203:     (THEN MACRO:All Lights Off) 
3204:     (F:Candlelight)  CLEAR 
3205:     (F:Entertain)  CLEAR 
3206:     X10: D - All Units OFF 
3207:     X10:  (C-2  Foyer: Outsd Lts) OFF 
3208:     X10: O - All Lights OFF 
3209:     X10:  (O-6  F Outside Outlet) OFF 
3210:     X10:  (O-7  R Outside Outlet) OFF 
3211:     X10:  (O-10  Front Garden Lts) OFF 
3212:     X10:  (O-11  Rear Garden Lts) OFF 
3213:     (RELAY:Deck SP) OFF  
3214:     (RELAY:FR Yard SP) OFF  
3215:     (RELAY:Side Yd SP) OFF  
3216:     (RELAY:Corner Yd SP) OFF  
3217:     |-If 
3218:     |  (F:Away) is SET 
3219:     |  and  (T:Security Random) is Stopped 
3220:     |Then 
3221:     |  |-If 
3222:     |  |  Season is Summer 
3223:     |  |Then 
3224:     |  |  (HVAC:)  COOL Mode 
3225:     |  |  (HVAC:)  Set Temp to 75 degrees 
3226:     |  |- Nest End 
3227:     |  |-If 
3228:     |  |  Season is Winter 
3229:     |  |Then 
3230:     |  |  (HVAC:)  HEAT Mode 
3231:     |  |  (HVAC:)  Set Temp to 66 degrees 
3232:     |  |- Nest End 
3233:     |  |-If 
3234:     |  |  Season is Spring 
3235:     |  |  and  Season is Fall 
3236:     |  |Then 
3237:     |  |  (HVAC:)  OFF Mode 
3238:     |  |  (HVAC:)  Set Temp to 71 degrees 
3239:     |  |- Nest End 
3240:     |- Nest End 
3241:   End 
3242:     
3243:   EVENT:  Lights on at Sunset when home 
3244:   If 
3245:     (F:At Home) is SET 
3246:     and  Time is (TL:Pre-Sunset)  
3247:   Then 
3248:     (THEN MACRO:Welcome Home) 
3249:     |-If 
3250:     |  (T:Guest Room PIR) is Running 
3251:     |Then 
3252:     |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  100% 
3253:     |  X10:  (G-4  Guest RM Accent) PRE-Set Level  71 % 
3254:     |  X10:  (G-3  Guest RM Lamps) ON 
3255:     |  X10:  (G-4  Guest RM Accent) ON 
3256:     |- Nest End 
3257:     |-If 
3258:     |  (T:Library PIR) is Running 
3259:     |Then 
3260:     |  |-If 
3261:     |  |  X10: (I-1  LIB Recessed) is not ON  
3262:     |  |Then 
3263:     |  |  X10:  (I-1  LIB Recessed) PRE-Set Level  100% 
3264:     |  |- Nest End 
3265:     |  X10:  (I-3  LIB Lamps) PRE-Set Level  77 % 
3266:     |  X10:  (I-1  LIB Recessed) ON 
3267:     |  X10:  (I-3  LIB Lamps) ON 
3268:     |- Nest End 
3269:     |-If 
3270:     |  (T:Master BR PIR) is Running 
3271:     |Then 
3272:     |  X10:  (B-2  BR Chandelier) PRE-Set Level  65 % 
3273:     |  X10:  (B-3  BR Lamps) PRE-Set Level  77 % 
3274:     |  X10:  (B-4  BR Accent) PRE-Set Level  71 % 
3275:     |  (V:MBR Light Levels)  LOAD with 74 
3276:     |  (T:Master BR PIR) LOAD with 0:05:00 
3277:     |  X10:  (B-2  BR Chandelier) ON 
3278:     |  X10:  (B-3  BR Lamps) ON 
3279:     |  X10:  (B-4  BR Accent) ON 
3280:     |- Nest End 
3281:     (IR:LCD 1 ) play 1 time(s) [Emitter1] 
3282:     (IR:LCD 0 ) play 1 time(s) [Emitter1] 
3283:     (IR:LCD 6 ) play 1 time(s) [Emitter1] 
3284:     |- * Frozen * If 
3285:     | * Frozen *   Season is Winter 
3286:     | * Frozen * Then 
3287:     | * Frozen *   (IR:Turret 2 ) play 1 time(s) [Emitter1] 
3288:     | * Frozen *   (IR:Turret 2 ) play 1 time(s) [Emitter1] 
3289:     | * Frozen *   (IR:Turret 5 ) play 1 time(s) [Emitter1] 
3290:     | * Frozen *   Voice:SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3291:     | * Frozen *   (IR:Turret 2 ) play 1 time(s) [Emitter1] 
3292:     | * Frozen *   (IR:Turret 2 ) play 1 time(s) [Emitter1] 
3293:     | * Frozen *   (IR:Turret 5 ) play 1 time(s) [Emitter1] 
3294:     | * Frozen * Else 
3295:     | * Frozen *   (IR:Turret 2 ) play 1 time(s) [Emitter1] 
3296:     | * Frozen *   (IR:Turret 5 ) play 1 time(s) [Emitter1] 
3297:     | * Frozen *   (IR:Turret 5 ) play 1 time(s) [Emitter1] 
3298:     | * Frozen *   Voice:SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3299:     | * Frozen *   (IR:Turret 2 ) play 1 time(s) [Emitter1] 
3300:     | * Frozen *   (IR:Turret 5 ) play 1 time(s) [Emitter1] 
3301:     | * Frozen *   (IR:Turret 5 ) play 1 time(s) [Emitter1] 
3302:     |- * Frozen *  Nest End 
3303:   End 
3304:     
3305:   EVENT:  Christmas Signal Relay 
3306:   If 
3307:     Date is After Nov  25 
3308:       -OR- 
3309:     Date is Before Jan  31 
3310:   Then 
3311:     |-If 
3312:     |  XSEQ:( O-13 O-ON ) Received within 4 seconds  
3313:     |Then 
3314:     |  X10:  (O-6  F Outside Outlet) ON 
3315:     |- Nest End 
3316:     |-If 
3317:     |  XSEQ:( O-13 O-OFF ) Received within 4 seconds  
3318:     |Then 
3319:     |  X10:  (O-6  F Outside Outlet) OFF 
3320:     |- Nest End 
3321:     |-If 
3322:     |  XSEQ:( O-14 O-ON ) Received within 4 seconds  
3323:     |Then 
3324:     |  X10:  (O-7  R Outside Outlet) ON 
3325:     |- Nest End 
3326:     |-If 
3327:     |  XSEQ:( O-14 O-OFF ) Received within 4 seconds  
3328:     |Then 
3329:     |  X10:  (O-7  R Outside Outlet) OFF 
3330:     |- Nest End 
3331:   End 
3332:     
3333:   EVENT:  Christmas Lights to welcome... 
3334:   If 
3335:     (F:Away) is SET 
3336:     and  Date is After Nov  25 
3337:     and  Sunset SMTWTFS 
3338:     and  (T:Security Random) is Running 
3339:       -OR- 
3340:     (F:Away) is SET 
3341:     and  Date is Before Jan  31 
3342:     and  Sunset SMTWTFS 
3343:     and  (T:Security Random) is Running 
3344:       -OR- 
3345:     (F:At Home) is SET 
3346:     and  Date is After Nov  25 
3347:     and  Sunset SMTWTFS 
3348:       -OR- 
3349:     (F:At Home) is SET 
3350:     and  Date is Before Jan  31 
3351:     and  Sunset SMTWTFS 
3352:   Then 
3353:     X10:  (O-13  Christmas (Frnt)) ON 
3354:     X10:  (O-14  Christmas (Deck)) ON 
3355:     |-If 
3356:     |  Date is After Nov  25 
3357:     |  and  Date is Before Dec  1 
3358:     |Then 
3359:     |  (THEN MACRO:Occupancy > Spkr) 
3360:     |  (T:Speakers ON) LOAD with 0:00:10 
3361:     |  ASCII-Out:'@@QXMSTREE.WAV' [COM1] 
3362:     |- Nest End 
3363:   End 
3364:     
3365:   EVENT:  Front Garden Lights 
3366:   If 
3367:     XSEQ:( O-10 O-ON ) Received within 4 seconds  
3368:   Then 
3369:     (RELAY:LL FR Tree) ON  
3370:     DELAY  0:00:01 
3371:     (RELAY:LL FR Left) ON  
3372:     DELAY  0:00:01 
3373:     (RELAY:LL FR Right) ON  
3374:   End 
3375:     
3376:   EVENT:  Front Garden Lights OFF 
3377:   If 
3378:     XSEQ:( O-10 O-OFF ) Received within 4 seconds  
3379:   Then 
3380:     (RELAY:LL FR Tree) OFF  
3381:     DELAY  0:00:01 
3382:     (RELAY:LL FR Left) OFF  
3383:     DELAY  0:00:01 
3384:     (RELAY:LL FR Right) OFF  
3385:   End 
3386:     
3387:   EVENT:  Rear Garden Lights 
3388:   If 
3389:     XSEQ:( O-11 O-ON ) Received within 4 seconds  
3390:   Then 
3391:     (RELAY:LL RR Patio1) ON  
3392:     DELAY  0:00:01 
3393:     (RELAY:LL RR Patio2) ON  
3394:   End 
3395:     
3396:   EVENT:  Rear Garden Lights OFF 
3397:   If 
3398:     XSEQ:( O-11 O-OFF ) Received within 4 seconds  
3399:   Then 
3400:     (RELAY:LL RR Patio1) OFF  
3401:     DELAY  0:00:01 
3402:     (RELAY:LL RR Patio2) OFF  
3403:   End 
3404:     
3405:   EVENT:  Outside Lights on at Dark 
3406:   If 
3407:     Time is Dark (after SunSet, before SunRise) 
3408:   Then 
3409:     |-If 
3410:     |  After Sunset SMTWTFS 
3411:     |  and  Time is Before 10:59 PM SMTWTFS 
3412:     |Then 
3413:     |  |-If 
3414:     |  |  (T:Security Random) is Running 
3415:     |  |  or  (F:At Home) is SET 
3416:     |  |Then 
3417:     |  |  X10:  (O-10  Front Garden Lts) ON 
3418:     |  |  DELAY  0:00:05 
3419:     |  |  X10:  (O-11  Rear Garden Lts) ON 
3420:     |  |  X10:  (O-7  R Outside Outlet) ON 
3421:     |  |- Nest End 
3422:     |  X10:  (O-9  Deck Lights) PRE-Set Level  100% 
3423:     |  X10:  (O-9  Deck Lights) ON 
3424:     |- Nest End 
3425:     |-If 
3426:     |  Before Sunrise SMTWTFS 
3427:     |    -OR- 
3428:     |  Time is After 11:00 PM SMTWTFS 
3429:     |Then 
3430:     |  X10:  (O-3  Rear Patio Light) PRE-Set Level  23 % 
3431:     |  X10:  (O-3  Rear Patio Light) ON 
3432:     |  |-If 
3433:     |  |  (F:At Home) is SET 
3434:     |  |Then 
3435:     |  |  X10:  (O-9  Deck Lights) PRE-Set Level  55 % 
3436:     |  |  X10:  (O-9  Deck Lights) ON 
3437:     |  |- Nest End 
3438:     |- Nest End 
3439:   Else 
3440:     X10:  (O-1  Front Light) OFF 
3441:     X10:  (O-2  Rear Deck Light) OFF 
3442:     X10:  (O-3  Rear Patio Light) OFF 
3443:   End 
3444:     
3445:   EVENT:  TL & Remote Macro: Bedtime 
3446:   If 
3447:     XSEQ:( M-3 M-ON ) Received within 4 seconds  
3448:     or  IR Seq:' ' Received within 3 seconds  
3449:       -AND- 
3450:     (F:Away) is Not SET 
3451:   Then 
3452:     (THEN MACRO:Outdoor Spkr Off) 
3453:     |-If 
3454:     |  (F:Security ARMED) is Not SET 
3455:     |Then 
3456:     |  X10:  (D-14  Bedtime/S MSG) ON 
3457:     |  ASCII-Out:'@@need2arm.wav' [COM1] 
3458:     |- Nest End 
3459:     |-If 
3460:     |  (F:Security ARMED) is SET 
3461:     |Then 
3462:     |  X10:  (D-13  Bedtime MSG) ON 
3463:     |- Nest End 
3464:     (THEN MACRO:Bedtime) 
3465:     (T:Bedtime Dim) LOAD with 0:04:00 
3466:   End 
3467:     
3468:   EVENT:  TL & Remote Macro: Gd Morning 
3469:   If 
3470:     XSEQ:( B-1 B-ON ) Received within 4 seconds  
3471:     or  XSEQ:( B-5 B-ON ) Received within 4 seconds  
3472:     or  XSEQ:( M-2 M-ON ) Received within 6 seconds  
3473:       -AND- 
3474:     (F:Away) is Not SET 
3475:   Then 
3476:     (THEN MACRO:Good Morning) 
3477:     X10:  (M-2  Good Morning) Set State to IDLE 
3478:     X10:  (B-1  BR Alarm Clock) Set State to IDLE 
3479:     X10:  (B-5  BR Alarm Clock 2) Set State to IDLE 
3480:   End 
3481:     
3482:   EVENT:  TL & Remote Macro: Welc Home 
3483:   If 
3484:     XSEQ:( M-1 M-ON ) Received within 4 seconds  
3485:     or  XSEQ:( C-1 C-ON ) Received within 4 seconds  
3486:     or  IR Seq:' ' Received within 3 seconds  
3487:       -AND- 
3488:     (F:Away) is Not SET 
3489:   Then 
3490:     |-If 
3491:     |  (F:Bedtime) is Not SET 
3492:     |Then 
3493:     |  X10:  (H-2  Hall Light) PRE-Set Level  100% 
3494:     |  (IR:ARQ PLAY ) play 2 time(s) [Emitter1] 
3495:     |  (THEN MACRO:Welcome Home) 
3496:     |  (T:Foyer Light) LOAD with 0:05:00 
3497:     |- Nest End 
3498:     |-If 
3499:     |  (F:Bedtime) is SET 
3500:     |Then 
3501:     |  X10:  (H-2  Hall Light) PRE-Set Level  23 % 
3502:     |  X10:  (D-16  Welcome MSG) ON 
3503:     |  X10:  (L-7  LR Scene 50/30%) OFF 
3504:     |  (T:Foyer Light) LOAD with 0:05:00 
3505:     |- Nest End 
3506:     X10:  (M-1  Welcome Home) Set State to IDLE 
3507:     X10:  (C-1  Foyer: Welc/Away) Set State to IDLE 
3508:   End 
3509:     
3510:   EVENT:  Movietime Macro 
3511:   If 
3512:     IR Seq:' ' Received within 3 seconds  
3513:     and  (F:Away) is Not SET 
3514:     and  Time is Dark (after SunSet, before SunRise) 
3515:   Then 
3516:     X10:  (I-1  LIB Recessed) PRE-Set Level  16 % 
3517:     X10:  (I-3  LIB Lamps) OFF 
3518:     (THEN MACRO:Outdoor Spkr Off) 
3519:     (THEN MACRO:Occupancy > Spkr) 
3520:     (T:Speakers ON) LOAD with 0:00:15 
3521:     X10:  (I-5  LIB Bookcase) OFF 
3522:     (F:MovieTime!)  SET 
3523:     ASCII-Out:'@@QMOVTIME.WAV' [COM1] 
3524:     (F:MovieTime!)  SET 
3525:     X10:  (G-3  Guest RM Lamps) OFF 
3526:     X10:  (G-4  Guest RM Accent) OFF 
3527:     (IR:LCD VOL DOWN ) play 20 time(s) [Emitter1] 
3528:   End 
3529:     
3530:   EVENT:  Movietime Macro: VCR 
3531:   If 
3532:     IR Seq:'  ' Received within 5 seconds  
3533:     and  (F:Away) is Not SET 
3534:     and  Time is Dark (after SunSet, before SunRise) 
3535:   Then 
3536:     (THEN MACRO:Outdoor Spkr Off) 
3537:     |-If 
3538:     |  (F:MovieTime!) is Not SET 
3539:     |Then 
3540:     |  (THEN MACRO:Occupancy > Spkr) 
3541:     |  (T:Speakers ON) LOAD with 0:00:15 
3542:     |  ASCII-Out:'@@QMOVTIME.WAV' [COM1] 
3543:     |- Nest End 
3544:     (IR:ARQ Stop ) play 1 time(s) [Emitter1] 
3545:     X10:  (I-1  LIB Recessed) PRE-Set Level  16 % 
3546:     X10:  (I-3  LIB Lamps) OFF 
3547:     X10:  (I-5  LIB Bookcase) OFF 
3548:     (F:MovieTime!)  SET 
3549:     X10:  (G-3  Guest RM Lamps) OFF 
3550:     X10:  (G-4  Guest RM Accent) OFF 
3551:     (IR:LCD 0 ) play 1 time(s) [Emitter1] 
3552:     (IR:LCD 7 ) play 1 time(s) [Emitter1] 
3553:     (IR:LCD 6 ) play 1 time(s) [Emitter1] 
3554:     (F:MovieTime!)  SET 
3555:     (IR:LCD VOL DOWN ) play 20 time(s) [Emitter1] 
3556:   End 
3557:     
3558:   EVENT:  Movietime Macro: DVD 
3559:   If 
3560:     IR Seq:' ' Received within 3 seconds  
3561:     and  (F:Away) is Not SET 
3562:     and  Time is Dark (after SunSet, before SunRise) 
3563:   Then 
3564:     (THEN MACRO:Outdoor Spkr Off) 
3565:     |-If 
3566:     |  (F:MovieTime!) is Not SET 
3567:     |Then 
3568:     |  (THEN MACRO:Occupancy > Spkr) 
3569:     |  (T:Speakers ON) LOAD with 0:00:15 
3570:     |  ASCII-Out:'@@QMOVTIME.WAV' [COM1] 
3571:     |- Nest End 
3572:     (IR:ARQ Stop ) play 1 time(s) [Emitter1] 
3573:     X10:  (I-1  LIB Recessed) PRE-Set Level  16 % 
3574:     X10:  (I-3  LIB Lamps) OFF 
3575:     X10:  (I-5  LIB Bookcase) OFF 
3576:     (F:MovieTime!)  SET 
3577:     X10:  (G-3  Guest RM Lamps) OFF 
3578:     X10:  (G-4  Guest RM Accent) OFF 
3579:     (IR:LCD 0 ) play 1 time(s) [Emitter1] 
3580:     (IR:LCD 7 ) play 1 time(s) [Emitter1] 
3581:     (IR:LCD 4 ) play 1 time(s) [Emitter1] 
3582:     (F:MovieTime!)  SET 
3583:     (IR:LCD VOL DOWN ) play 20 time(s) [Emitter1] 
3584:   End 
3585:     
3586:   EVENT:  Movietime Whole-House Audio 
3587:   If 
3588:     (F:MovieTime!) is SET 
3589:     and  (DI:LHall PIR) Goes OFF 
3590:     and  (V:) = 0 
3591:   Then 
3592:     (IR:LCD VOL UP ) play 14 time(s) [Emitter1] 
3593:     (V:)  INCREMENT 
3594:   End 
3595:     
3596:   EVENT:  Holiday Sounds @ Front Door 
3597:   If 
3598:     XSEQ:( E-9 E-ON ) Received within 4 seconds  
3599:     and  (F:SecurityDISARMED) is SET 
3600:   Then 
3601:     (THEN MACRO:Outdoor Spkr Off) 
3602:     |-If 
3603:     |  (T:Doorbell) is Running 
3604:     |Then 
3605:     |  Voice:SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3606:     |  (RELAY:Kitchen SP) ON  
3607:     |  (RELAY:Living Rm SP) ON  
3608:     |  (T:Speakers ON) LOAD with 0:00:10 
3609:     |  ASCII-Out:'@@QWHOWITH.WAV' [COM1] 
3610:     |Else 
3611:     |  Voice:SILENCE1  [Spkr,Line] SYNC 
3612:     |  (THEN MACRO:Holiday Sounds) 
3613:     |- Nest End 
3614:   End 
3615:     
3616:   FASTEVENT:  Welcome Home [ X10: (E-9  S-Front Door) Goes ON]  
3617:   Then 
3618:     (RELAY:FR Yard SP) OFF  
3619:     (RELAY:Deck SP) OFF  
3620:     (RELAY:Side Yd SP) OFF  
3621:     (RELAY:Corner Yd SP) OFF  
3622:     |-If 
3623:     |  (F:Away) is SET 
3624:     |Then 
3625:     |  X10:  (H-2  Hall Light) PRE-Set Level  100% 
3626:     |  (T:Foyer Light) LOAD with 0:03:00 
3627:     |- Nest End 
3628:     |-If 
3629:     |  (F:Bedtime) is SET 
3630:     |Then 
3631:     |  X10:  (H-2  Hall Light) PRE-Set Level  23 % 
3632:     |  (T:Foyer Light) LOAD with 0:02:00 
3633:     |- Nest End 
3634:     |-If 
3635:     |  (F:At Home) is SET 
3636:     |  and  (F:Bedtime) is Not SET 
3637:     |Then 
3638:     |  |-If 
3639:     |  |  Time is After 6:00 AM SMTWTFS 
3640:     |  |  and  Time is Before 11:00 PM SMTWTFS 
3641:     |  |Then 
3642:     |  |  X10:  (H-2  Hall Light) PRE-Set Level  100% 
3643:     |  |  (T:Foyer Light) LOAD with 0:07:00 
3644:     |  |Else 
3645:     |  |  X10:  (H-2  Hall Light) PRE-Set Level  26 % 
3646:     |  |  (T:Foyer Light) LOAD with 0:02:00 
3647:     |  |- Nest End 
3648:     | * Frozen *   Voice:SILENCE2 SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3649:     |  |- * Frozen * If 
3650:     |  | * Frozen *   (T:Doorbell) is Running 
3651:     |  | * Frozen *   or  (T:FR Security PIR) is Running 
3652:     |  | * Frozen *     -AND- 
3653:     |  | * Frozen *   (F:Misc Company) is SET 
3654:     |  | * Frozen * Then 
3655:     |  | * Frozen *   (T:Speakers ON) LOAD with 0:00:20 
3656:     |  | * Frozen *   (RELAY:Kitchen SP) ON  
3657:     |  | * Frozen *   (RELAY:Living Rm SP) ON  
3658:     |  | * Frozen *   ASCII-Out:'@@WHOSTHIS.WAV' [COM1] 
3659:     |  | * Frozen *   DELAY  0:00:07 
3660:     |  | * Frozen *   ASCII-Out:'@@OH.WAV' [COM1] 
3661:     |  | * Frozen *   ASCII-Out:'@@HELLO.WAV' [COM1] 
3662:     |  |- * Frozen *  Nest End 
3663:     |  |- * Frozen * If 
3664:     |  | * Frozen *   (F:MA & PA Visit) is SET 
3665:     |  | * Frozen *   and  (T:FR Security PIR) is Running 
3666:     |  | * Frozen *   and  (V:Visitor Count) = 0 
3667:     |  | * Frozen * Then 
3668:     |  | * Frozen *   (RELAY:Kitchen SP) ON  
3669:     |  | * Frozen *   (RELAY:Living Rm SP) ON  
3670:     |  | * Frozen *   (V:Visitor Count)  INCREMENT 
3671:     |  | * Frozen *   ASCII-Out:'@@QMAPA.WAV' [COM1] 
3672:     |  | * Frozen *   DELAY  0:00:07 
3673:     |  | * Frozen *   ASCII-Out:'@@OH.WAV' [COM1] 
3674:     |  | * Frozen *   ASCII-Out:'@@HELLO.WAV' [COM1] 
3675:     |  | * Frozen *   (T:Speakers ON) LOAD with 0:00:10 
3676:     |  |- * Frozen *  Nest End 
3677:     |  |- * Frozen * If 
3678:     |  | * Frozen *   (F:Doug/Kathy Visit) is SET 
3679:     |  | * Frozen *   and  (T:FR Security PIR) is Running 
3680:     |  | * Frozen *   and  (V:Visitor Count) = 0 
3681:     |  | * Frozen * Then 
3682:     |  | * Frozen *   (RELAY:Kitchen SP) ON  
3683:     |  | * Frozen *   (RELAY:Living Rm SP) ON  
3684:     |  | * Frozen *   (V:Visitor Count)  INCREMENT 
3685:     |  | * Frozen *   ASCII-Out:'@@QDUGKATH.WAV' [COM1] 
3686:     |  | * Frozen *   DELAY  0:00:07 
3687:     |  | * Frozen *   ASCII-Out:'@@OH.WAV' [COM1] 
3688:     |  | * Frozen *   ASCII-Out:'@@HELLO.WAV' [COM1] 
3689:     |  | * Frozen *   (T:Speakers ON) LOAD with 0:00:10 
3690:     |  |- * Frozen *  Nest End 
3691:     |  |- * Frozen * If 
3692:     |  | * Frozen *   (F:Anna's Mom Visit) is SET 
3693:     |  | * Frozen *   and  (T:FR Security PIR) is Running 
3694:     |  | * Frozen *   and  (V:Visitor Count) = 0 
3695:     |  | * Frozen * Then 
3696:     |  | * Frozen *   (RELAY:Kitchen SP) ON  
3697:     |  | * Frozen *   (RELAY:Living Rm SP) ON  
3698:     |  | * Frozen *   (V:Visitor Count)  INCREMENT 
3699:     |  | * Frozen *   ASCII-Out:'@@QANAMOM.WAV' [COM1] 
3700:     |  | * Frozen *   DELAY  0:00:07 
3701:     |  | * Frozen *   ASCII-Out:'@@OH.WAV' [COM1] 
3702:     |  | * Frozen *   ASCII-Out:'@@HELLO.WAV' [COM1] 
3703:     |  | * Frozen *   (T:Speakers ON) LOAD with 0:00:10 
3704:     |  |- * Frozen *  Nest End 
3705:     |  |- * Frozen * If 
3706:     |  | * Frozen *   (F:Darlene Visit) is SET 
3707:     |  | * Frozen *   and  (T:FR Security PIR) is Running 
3708:     |  | * Frozen *   and  (V:Visitor Count) = 0 
3709:     |  | * Frozen * Then 
3710:     |  | * Frozen *   (RELAY:Kitchen SP) ON  
3711:     |  | * Frozen *   (RELAY:Living Rm SP) ON  
3712:     |  | * Frozen *   (V:Visitor Count)  INCREMENT 
3713:     |  | * Frozen *   ASCII-Out:'@@QJOHNSIS.WAV' [COM1] 
3714:     |  | * Frozen *   DELAY  0:00:07 
3715:     |  | * Frozen *   ASCII-Out:'@@OH.WAV' [COM1] 
3716:     |  | * Frozen *   ASCII-Out:'@@HELLO.WAV' [COM1] 
3717:     |  | * Frozen *   (T:Speakers ON) LOAD with 0:00:10 
3718:     |  |- * Frozen *  Nest End 
3719:     |- Nest End 
3720:   End 
3721:     
3722:   EVENT:  Foyer Light Timer 
3723:   If 
3724:     (T:Foyer Light) is Expiring 
3725:     or  (T:Foyer Light) is Not Running 
3726:   Then 
3727:     X10:  (H-2  Hall Light) OFF 
3728:     X10:  (H-2  Hall Light) OFF 
3729:   End 
3730:     
3731:   FASTEVENT:  SEC: DISARM [ DI:Security ARM Goes OFF]  
3732:   Then 
3733:     (F:SecurityDISARMED)  SET 
3734:     (F:SecurityDISARMED)  SET 
3735:     (F:Security ARMED)  CLEAR 
3736:     (T:BURG ALARM !!)  STOP  
3737:     (T:BURG ALARM !!)  CLEAR 
3738:     (THEN MACRO:Outdoor Spkr Off) 
3739:     (THEN MACRO:Occupancy > Spkr) 
3740:     (T:Speakers ON) LOAD with 0:00:30 
3741:     |-If 
3742:     |  Time is After 11:00 AM SMTWTFS 
3743:     |Then 
3744:     |  (IR:ARQ PLAY ) play 1 time(s) [Emitter1] 
3745:     |  (IR:ARQ PLAY ) play 1 time(s) [Emitter1] 
3746:     |- Nest End 
3747:     |-If 
3748:     |  (A/D:Deck TEMP) < 26 
3749:     |Then 
3750:     |  (RELAY:Kitchen SP) ON  
3751:     |  (RELAY:Living Rm SP) ON  
3752:     |  ASCII-Out:'@@BRRRCOLD.WAV' [COM1] 
3753:     |- Nest End 
3754:     |-If 
3755:     |  (A/D:Deck TEMP) > 92 
3756:     |Then 
3757:     |  (RELAY:Kitchen SP) ON  
3758:     |  (RELAY:Living Rm SP) ON  
3759:     |  ASCII-Out:'@@WOWHOT.WAV' [COM1] 
3760:     |- Nest End 
3761:     |-If 
3762:     |  (F:Away) is SET 
3763:     |  and  (F:Bedtime) is Not SET 
3764:     |Then 
3765:     |  (F:At Home)  SET 
3766:     |  (IR:LCD POWER ) play 1 time(s) [Emitter1] 
3767:     |  (F:At Home)  SET 
3768:     |  (RELAY:Kitchen SP) ON  
3769:     |  (RELAY:Living Rm SP) ON  
3770:     |  (T:Speakers ON) LOAD with 0:02:00 
3771:     |  |-If 
3772:     |  |  Time is After 9:00 PM SMTWTFS 
3773:     |  |  and  Time is Before 12:00 AM SMTWTFS 
3774:     |  |Then 
3775:     |  |  ASCII-Out:'@@QWHRBEEN.WAV' [COM1] 
3776:     |  |  Voice:SILENCE2 SILENCE1  [Spkr,Line] SYNC 
3777:     |  |  ASCII-Out:'@@NXTMCALL.WAV' [COM1] 
3778:     |  |- Nest End 
3779:     |  |-If 
3780:     |  |  Time is After 12:00 AM SMTWTFS 
3781:     |  |  and  Time is Before 4:00 AM SMTWTFS 
3782:     |  |    -OR- 
3783:     |  |  (T:Security Random) is Stopped 
3784:     |  |Then 
3785:     |  |  ASCII-Out:'@@IWORRIED.WAV' [COM1] 
3786:     |  |- Nest End 
3787:     |  |-If 
3788:     |  |  (T:Security Random) is Stopped 
3789:     |  |Then 
3790:     |  |  |-If 
3791:     |  |  |  (V:Vaca Doorbell) > 0 
3792:     |  |  |Then 
3793:     |  |  |  ASCII-Out:'@@DOORBELL.WAV' [COM1] 
3794:     |  |  |  Voice:SILENCE2  [Spkr,Line] SYNC 
3795:     |  |  |  Voice:<Vaca Doorbell> DOORBELL MESSAGES  [Spkr,Line] SYNC 
3796:     |  |  |  (V:Vaca Doorbell)  LOAD with 0 
3797:     |  |  |- Nest End 
3798:     |  |  |-If 
3799:     |  |  |  (V:Vaca Telephone) > 0 
3800:     |  |  |Then 
3801:     |  |  |  Voice:<Vaca Telephone> PHONE CALL  [Spkr,Line] SYNC 
3802:     |  |  |  (V:Vaca Telephone)  LOAD with 0 
3803:     |  |  |- Nest End 
3804:     |  |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3805:     |  |- Nest End 
3806:     |  (THEN MACRO:Welcome Home) 
3807:     |  |-If 
3808:     |  |  (V:Welcome Random) <= 35 
3809:     |  |Then 
3810:     |  |  |-If 
3811:     |  |  |  (F:Bear is Away...) is SET 
3812:     |  |  |Then 
3813:     |  |  |  ASCII-Out:'@@hianna.wav' [COM1] 
3814:     |  |  |Else 
3815:     |  |  |  ASCII-Out:'@@WELHOMEB.WAV' [COM1] 
3816:     |  |  |- Nest End 
3817:     |  |- Nest End 
3818:     |  |-If 
3819:     |  |  (V:Welcome Random) >= 36 
3820:     |  |  and  (V:Welcome Random) <= 65 
3821:     |  |Then 
3822:     |  |  ASCII-Out:'@@hianna.wav' [COM1] 
3823:     |  |  |-If 
3824:     |  |  |  (F:Bear is Away...) is Not SET 
3825:     |  |  |Then 
3826:     |  |  |  ASCII-Out:'@@hijohn.wav' [COM1] 
3827:     |  |  |- Nest End 
3828:     |  |- Nest End 
3829:     |  |-If 
3830:     |  |  (V:Welcome Random) >= 66 
3831:     |  |  and  (V:Welcome Random) <= 100 
3832:     |  |Then 
3833:     |  |  ASCII-Out:'@@HPDYWELL.WAV' [COM1] 
3834:     |  |- Nest End 
3835:     |  |-If 
3836:     |  |  (V:Welcome Random) >= 101 
3837:     |  |  and  (V:Welcome Random) <= 150 
3838:     |  |Then 
3839:     |  |  ASCII-Out:'@@IMISSEDU.WAV' [COM1] 
3840:     |  |- Nest End 
3841:     |  |-If 
3842:     |  |  (V:Welcome Random) >= 151 
3843:     |  |  and  (V:Welcome Random) <= 255 
3844:     |  |Then 
3845:     |  |  ASCII-Out:'@@YRHOME.WAV' [COM1] 
3846:     |  |- Nest End 
3847:     |  |-If 
3848:     |  |  (F:Bear is Away...) is SET 
3849:     |  |Then 
3850:     |  |  |-If 
3851:     |  |  |  (V:Bear is away) = 0 
3852:     |  |  |Then 
3853:     |  |  |  (V:Bear is away)  LOAD with 1 
3854:     |  |  |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3855:     |  |  |  ASCII-Out:'@@QWHRJOHN.WAV' [COM1] 
3856:     |  |  |  Voice:SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3857:     |  |  |  ASCII-Out:'@@IPROTECT.WAV' [COM1] 
3858:     |  |  |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3859:     |  |  |  ASCII-Out:'@@BEARFINE.WAV' [COM1] 
3860:     |  |  |  Voice:SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3861:     |  |  |Else 
3862:     |  |  |  Voice:SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3863:     |  |  |  ASCII-Out:'@@WELHOMEA.WAV' [COM1] 
3864:     |  |  |- Nest End 
3865:     |  |- Nest End 
3866:     |  (F:At Home)  SET 
3867:     |  Voice:SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3868:     |  |-If 
3869:     |  |  (V:Anna's Mom Call) > 0 
3870:     |  |Then 
3871:     |  |  ASCII-Out:'@@CALLAMOM.WAV' [COM1] 
3872:     |  |  (V:Anna's Mom Call)  LOAD with 0 
3873:     |  |  Voice:SILENCE1  [Spkr,Line] SYNC 
3874:     |  |- Nest End 
3875:     |  |-If 
3876:     |  |  (V:Doug/Kathy Call) > 0 
3877:     |  |Then 
3878:     |  |  ASCII-Out:'@@CALLDK.WAV' [COM1] 
3879:     |  |  (V:Doug/Kathy Call)  LOAD with 0 
3880:     |  |  Voice:SILENCE1  [Spkr,Line] SYNC 
3881:     |  |- Nest End 
3882:     |  |-If 
3883:     |  |  (V:Ma/Pa Call) > 0 
3884:     |  |Then 
3885:     |  |  ASCII-Out:'@@CALLMAPA.WAV' [COM1] 
3886:     |  |  (V:Ma/Pa Call)  LOAD with 0 
3887:     |  |  Voice:SILENCE1  [Spkr,Line] SYNC 
3888:     |  |- Nest End 
3889:     |  |-If 
3890:     |  |  (V:Darlene Call) > 0 
3891:     |  |Then 
3892:     |  |  ASCII-Out:'@@CALLDARL.WAV' [COM1] 
3893:     |  |  (V:Darlene Call)  LOAD with 0 
3894:     |  |  Voice:SILENCE1  [Spkr,Line] SYNC 
3895:     |  |- Nest End 
3896:     |  |-If 
3897:     |  |  (V:Deck Motion) > 0 
3898:     |  |Then 
3899:     |  |  Voice:SILENCE1 MOVEMENT DETECTED UPSTAIRS <Deck Motion>  [Line] SYNC 
3900:     |  |  (V:Deck Motion)  LOAD with 0 
3901:     |  |- Nest End 
3902:     |  |-If 
3903:     |  |  (V:Patio Motion) > 0 
3904:     |  |Then 
3905:     |  |  Voice:SILENCE1 MOVEMENT DETECTED DOWNSTAI 
ON THE PORCH <Patio Motion>  [Line] SYNC 
3906:     |  |  (V:Patio Motion)  LOAD with 0 
3907:     |  |- Nest End 
3908:     |  |-If 
3909:     |  |  (V:Front Yd Motion) > 2 
3910:     |  |Then 
3911:     |  |  Voice:SILENCE1 MOTION DETECTED IN FRONT YARD
 <Front Yd Motion>  [Line] SYNC 
3912:     |  |  (V:Front Yd Motion)  LOAD with 0 
3913:     |  |- Nest End 
3914:     |  (IR:ARQ PLAY ) play 3 time(s) [Emitter1] 
3915:     |  Voice:SILENCE2 SILENCE2  [Spkr,Line] SYNC 
3916:     |  |-If 
3917:     |  |  (V:Daily Low Temp) > 75 
3918:     |  |  and  (V:Daily High Temp) < 100 
3919:     |  |Then 
3920:     |  |  ASCII-Out:'@@BUTFLDAY.WAV' [COM1] 
3921:     |  |- Nest End 
3922:     |  (V:MBR Light Levels)  LOAD with 74 
3923:     |- Nest End 
3924:     |-If 
3925:     |  (F:Bedtime) is SET 
3926:     |  and  Time is After 5:00 AM SMTWTFS 
3927:     |  and  Time is Before 11:59 AM SMTWTFS 
3928:     |Then 
3929:     |  (THEN MACRO:Good Morning) 
3930:     |- Nest End 
3931:     |-If 
3932:     |  (F:Bedtime) is SET 
3933:     |  and  Time is After 12:00 AM SMTWTFS 
3934:     |  and  Time is Before 5:00 AM SMTWTFS 
3935:     |Then 
3936:     |  X10:  (D-16  Welcome MSG) ON 
3937:     |  X10:  (L-7  LR Scene 50/30%) OFF 
3938:     |- Nest End 
3939:   End 
3940:     
3941:   FASTEVENT:  SEC: ARM [ DI:Security ARM Goes ON]  
3942:   Then 
3943:     X10:  (D-11  Security MSG) ON 
3944:     (F:Security ARMED)  SET 
3945:     (F:Deck via SGDoor)  CLEAR 
3946:     (F:Patio via SGDoor)  CLEAR 
3947:     (V:Doorbell)  LOAD with 0 
3948:     (V:Telephone Calls)  LOAD with 0 
3949:     (V:Vaca Doorbell)  LOAD with 0 
3950:     (V:Vaca Telephone)  LOAD with 0 
3951:     (V:Front Yd Motion)  LOAD with 0 
3952:     (V:)  LOAD with 0 
3953:     (V:)  LOAD with 0 
3954:     (V:Deck Motion)  LOAD with 0 
3955:     (V:Patio Motion)  LOAD with 0 
3956:     (V:Unknown CIDCalls)  LOAD with 0 
3957:     (V:Anna's Mom Call)  LOAD with 0 
3958:     (V:Doug/Kathy Call)  LOAD with 0 
3959:     (V:Ma/Pa Call)  LOAD with 0 
3960:     (V:Darlene Call)  LOAD with 0 
3961:     (V:Visitor Count)  LOAD with 0 
3962:     (V:Welcome Random)   load with random number 
3963:     (V:Spider)  LOAD with 0 
3964:     X10: N - All Units OFF 
3965:   End 
3966:     
3967:   EVENT:  MANUAL AWAY MODE 
3968:   If 
3969:     XSEQ:( C-1 C-OFF ) Received within 4 seconds  
3970:     or  X10: (M-5  Away) is ON  
3971:   Then 
3972:     (THEN MACRO:Away) 
3973:     (THEN MACRO:All Lights Off) 
3974:     X10:  (M-5  Away) IDLE 
3975:     X10:  (C-1  Foyer: Welc/Away) IDLE 
3976:   End 
3977:     
3978:   EVENT:  SEC: ARMING / AWAY MODE 
3979:   If 
3980:     (DI:Security ARM) is ON 
3981:     and  (F:At Home) is SET 
3982:     and  XSEQ:( E-9 ) Received within 4 seconds  
3983:     and  Time is After 5:00 AM SMTWTFS 
3984:     and  Time is Before 11:30 PM SMTWTFS 
3985:     " -times distinguish burg & exit- " 
3986:   Then 
3987:     (THEN MACRO:Away) 
3988:     (THEN MACRO:All Lights Off) 
3989:     X10:  (M-5  Away) IDLE 
3990:     X10:  (C-1  Foyer: Welc/Away) IDLE 
3991:     DELAY  0:02:00 
3992:     |-If 
3993:     |  (F:Away) is SET 
3994:     |Then 
3995:     |  (THEN MACRO:All Lights Off) 
3996:     |- Nest End 
3997:   End 
3998:     
3999:   EVENT:  Outdoor Security Tamper Triggers 
4000:   If 
4001:     (DI:Deck (TAMP)) Goes OFF 
4002:       -OR- 
4003:     (DI:Patio (TAMP)) Goes OFF 
4004:       -OR- 
4005:     (DI:Fr Yd (TAMP)) Goes OFF 
4006:       -OR- 
4007:     (DI:Sd Yd (TAMP)) Goes OFF 
4008:   Then 
4009:     (IR:Turret 1 ) play 1 time(s) [Emitter1] 
4010:     (IR:Turret 6 ) play 1 time(s) [Emitter1] 
4011:     (IR:Turret 0 ) play 1 time(s) [Emitter1] 
4012:     X10:  (O-5  Stair Floods) ON 
4013:     ASCII-Out:'Outdoor PIR Tamper!!!' [COM1] 
4014:     LOG 'Outdoor PIR Tamper !!!' 
4015:     (RELAY:Deck SP) ON  
4016:     (RELAY:FR Yard SP) ON  
4017:     (RELAY:Side Yd SP) ON  
4018:     (RELAY:Corner Yd SP) ON  
4019:     (T:Speakers ON) LOAD with 0:00:15 
4020:     Voice:ACCESS DENIED  [Spkr,Line] SYNC 
4021:     X10:  (D-10  ALARM!! MSG) ON 
4022:     X10: L - All Lights ON 
4023:     X10: N - All Lights ON 
4024:     Voice:ACCESS DENIED  [Spkr,Line] SYNC 
4025:     X10:  (O-10  Front Garden Lts) ON 
4026:     Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
4027:     X10:  (O-11  Rear Garden Lts) ON 
4028:     (T:BURG ALARM !!) LOAD with 0:30:00 
4029:     X10:  (O-7  R Outside Outlet) ON 
4030:     X10:  (O-1  Front Light) PRE-Set Level  100% 
4031:     X10:  (O-2  Rear Deck Light) PRE-Set Level  100% 
4032:     X10:  (O-3  Rear Patio Light) PRE-Set Level  100% 
4033:   End 
4034:     
4035:   EVENT:  Flag: Deck Door 
4036:   If 
4037:     (F:At Home) is SET 
4038:       -AND- 
4039:     XSEQ:( E-11 E-ON ) Received within 4 seconds  
4040:     or  XSEQ:( E-11 E-OFF ) Received within 4 seconds  
4041:   Then 
4042:     (F:Deck via SGDoor)  SET 
4043:     (F:Deck via SGDoor)  SET 
4044:     |-If 
4045:     |  Time is Light (after SunRise, before SunSet) 
4046:     |Then 
4047:     |  (T:RR Security PIR) LOAD with 1:30:00 
4048:     |Else 
4049:     |  (T:RR Security PIR) LOAD with 0:45:00 
4050:     |- Nest End 
4051:   End 
4052:     
4053:   EVENT:  Deck Door Backup Event 
4054:   If 
4055:     (F:At Home) is SET 
4056:     and  X10: (E-11  S-LR Door) is ON  
4057:   Then 
4058:     (F:Deck via SGDoor)  SET 
4059:     |-If 
4060:     |  Time is Light (after SunRise, before SunSet) 
4061:     |Then 
4062:     |  (T:RR Security PIR) LOAD with 1:30:00 
4063:     |Else 
4064:     |  (T:RR Security PIR) LOAD with 0:45:00 
4065:     |- Nest End 
4066:   End 
4067:     
4068:   EVENT:  Deck PIR 
4069:   If 
4070:     (DI:Deck PIR) Goes OFF 
4071:   Then 
4072:     |-If 
4073:     |  (F:Bedtime) is SET 
4074:     |  and  (T:LCD view) is Not Running 
4075:     |Then 
4076:     |  (IR:LCD POWER ) play 1 time(s) [Emitter1] 
4077:     |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
4078:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4079:     |  (IR:LCD 9 ) play 1 time(s) [Emitter1] 
4080:     |  X10: J - All Units OFF 
4081:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4082:     |- Nest End 
4083:     |-If 
4084:     |  (T:LCD view) is Not Running 
4085:     |  or  (F:Video_Deck) is Not SET 
4086:     |Then 
4087:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4088:     |  (IR:LCD 9 ) play 1 time(s) [Emitter1] 
4089:     |  X10: J - All Units OFF 
4090:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4091:     |  (F:Video_Deck)  SET 
4092:     |- Nest End 
4093:     (T:LCD view) LOAD with 0:03:00 
4094:     |-If 
4095:     |  (F:At Home) is SET 
4096:     |  and  (F:Security ARMED) is SET 
4097:     |Then 
4098:     |  (V:Deck Motion)  INCREMENT 
4099:     |  ASCII-Out:'Deck Motion Detected' [COM1] 
4100:     |  LOG 'Deck Motion Detected' 
4101:     |  X10:  (O-2  Rear Deck Light) PRE-Set Level  100% 
4102:     |  X10:  (O-2  Rear Deck Light) ON 
4103:     |  (THEN MACRO:Outdoor Spkr Off) 
4104:     |  (THEN MACRO:Occupancy > Spkr) 
4105:     |  (T:Speakers ON) LOAD with 0:00:20 
4106:     |  |-If 
4107:     |  |  Time is After 6:00 AM SMTWTFS 
4108:     |  |  and  Time is Before 12:00 PM SMTWTFS 
4109:     |  |Then 
4110:     |  |  (RELAY:Bedroom SP) OFF  
4111:     |  |- Nest End 
4112:     |  |-If 
4113:     |  |  (T:RR Security PIR) is Not Running 
4114:     |  |Then 
4115:     |  |  X10:  (D-9  MotionSensor MSG) ON 
4116:     |  |  ASCII-Out:'@@MOTDECK.WAV' [COM1] 
4117:     |  |  X10:  (D-9  MotionSensor MSG) ON 
4118:     |  |- Nest End 
4119:     |  (T:RR Security PIR) LOAD with 0:15:00 
4120:     |- Nest End 
4121:     |-If 
4122:     |  (F:At Home) is SET 
4123:     |  and  (F:SecurityDISARMED) is SET 
4124:     |  and  (F:Deck via SGDoor) is Not SET 
4125:     |Then 
4126:     |  |-If 
4127:     |  |  Time is Dark (after SunSet, before SunRise) 
4128:     |  |Then 
4129:     |  |  X10:  (O-2  Rear Deck Light) PRE-Set Level  100% 
4130:     |  |  X10:  (O-2  Rear Deck Light) ON 
4131:     |  |- Nest End 
4132:     |  ASCII-Out:'Deck Motion Detected' [COM1] 
4133:     |  LOG 'Deck Motion Detected' 
4134:     |  (THEN MACRO:Outdoor Spkr Off) 
4135:     |  (THEN MACRO:Occupancy > Spkr) 
4136:     |  (T:Speakers ON) LOAD with 0:00:20 
4137:     |  |-If 
4138:     |  |  Time is After 6:00 AM SMTWTFS 
4139:     |  |  and  Time is Before 12:00 PM SMTWTFS 
4140:     |  |Then 
4141:     |  |  (RELAY:Bedroom SP) OFF  
4142:     |  |- Nest End 
4143:     |  |-If 
4144:     |  |  (T:RR Security PIR) is Not Running 
4145:     |  |Then 
4146:     |  |  X10:  (D-9  MotionSensor MSG) ON 
4147:     |  |  ASCII-Out:'@@MOTDECK.WAV' [COM1] 
4148:     |  |  X10:  (D-9  MotionSensor MSG) ON 
4149:     |  |- Nest End 
4150:     |  (T:RR Security PIR) LOAD with 0:15:00 
4151:     |- Nest End 
4152:     |-If 
4153:     |  (F:Away) is SET 
4154:     |Then 
4155:     |  (V:Deck Motion)  INCREMENT 
4156:     |  ASCII-Out:'Deck Motion Detected' [COM1] 
4157:     |  LOG 'Deck Motion Detected' 
4158:     |  X10:  (O-2  Rear Deck Light) PRE-Set Level  100% 
4159:     |  X10:  (O-2  Rear Deck Light) ON 
4160:     |  |-If 
4161:     |  |  Time is Dark (after SunSet, before SunRise) 
4162:     |  |Then 
4163:     |  |  DELAY  0:00:15 
4164:     |  |  X10:  (B-2  BR Chandelier) PRE-Set Level  100% 
4165:     |  |  X10:  (H-2  Hall Light) PRE-Set Level  100% 
4166:     |  |  DELAY  0:10:00 
4167:     |  |  X10:  (H-2  Hall Light) OFF 
4168:     |  |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
4169:     |  |  X10:  (B-2  BR Chandelier) OFF 
4170:     |  |- Nest End 
4171:     |  (T:RR Security PIR) LOAD with 0:30:00 
4172:     |- Nest End 
4173:     |-If 
4174:     |  Time is After 12:00 AM SMTWTFS 
4175:     |  and  Time is Before 6:00 AM SMTWTFS 
4176:     |  and  (F:Security ARMED) is SET 
4177:     |Then 
4178:     |  X10:  (O-11  Rear Garden Lts) ON 
4179:     |  |-If 
4180:     |  |  (V:Deck Motion) > 3 
4181:     |  |Then 
4182:     |  |  X10:  (O-5  Stair Floods) ON 
4183:     |  |  (RELAY:Deck SP) ON  
4184:     |  |  (T:Speakers ON) LOAD with 0:00:20 
4185:     |  |  Voice:ACCESS DENIED SILENCE1 LEAVE NOW!  [Spkr,Line] SYNC 
4186:     |  |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
4187:     |  |  DELAY  0:00:15 
4188:     |  |Else 
4189:     |  |  (RELAY:Deck SP) ON  
4190:     |  |  (T:Speakers ON) LOAD with 0:00:20 
4191:     |  |  Voice:MOVEMENT DETECTED  [Line] SYNC 
4192:     |  |  DELAY  0:00:15 
4193:     |  |- Nest End 
4194:     |  (T:RR Security PIR) LOAD with 0:05:00 
4195:     |- Nest End 
4196:   End 
4197:     
4198:   EVENT:  Flag: Patio Sliding Glass Door 
4199:   If 
4200:     (F:At Home) is SET 
4201:       -AND- 
4202:     XSEQ:( E-1 E-ON ) Received within 4 seconds  
4203:     or  XSEQ:( E-1 E-OFF ) Received within 4 seconds  
4204:   Then 
4205:     (F:Patio via SGDoor)  SET 
4206:     |-If 
4207:     |  Time is Light (after SunRise, before SunSet) 
4208:     |Then 
4209:     |  (T:RR Security PIR) LOAD with 1:30:00 
4210:     |Else 
4211:     |  (T:RR Security PIR) LOAD with 0:10:00 
4212:     |- Nest End 
4213:   End 
4214:     
4215:   EVENT:  Patio Door Backup Event 
4216:   If 
4217:     (F:At Home) is SET 
4218:     and  X10: (E-1  S-Basement Door) is ON  
4219:   Then 
4220:     (F:Patio via SGDoor)  SET 
4221:     |-If 
4222:     |  Time is Light (after SunRise, before SunSet) 
4223:     |Then 
4224:     |  (T:RR Security PIR) LOAD with 1:30:00 
4225:     |Else 
4226:     |  (T:RR Security PIR) LOAD with 0:45:00 
4227:     |- Nest End 
4228:   End 
4229:     
4230:   EVENT:  Patio PIR 
4231:   If 
4232:     (DI:Patio PIR) Goes OFF 
4233:   Then 
4234:     |-If 
4235:     |  (F:Bedtime) is SET 
4236:     |  and  (T:LCD view) is Not Running 
4237:     |Then 
4238:     |  (IR:LCD POWER ) play 1 time(s) [Emitter1] 
4239:     |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
4240:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4241:     |  (IR:LCD 9 ) play 1 time(s) [Emitter1] 
4242:     |  X10: J - All Units OFF 
4243:     |  (IR:LCD 2 ) play 1 time(s) [Emitter1] 
4244:     |- Nest End 
4245:     |-If 
4246:     |  (T:LCD view) is Not Running 
4247:     |  or  (F:Video_Patio) is Not SET 
4248:     |Then 
4249:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4250:     |  (IR:LCD 9 ) play 1 time(s) [Emitter1] 
4251:     |  X10: J - All Units OFF 
4252:     |  (IR:LCD 2 ) play 1 time(s) [Emitter1] 
4253:     |  (F:Video_Patio)  SET 
4254:     |- Nest End 
4255:     (T:LCD view) LOAD with 0:03:00 
4256:     |-If 
4257:     |  (F:At Home) is SET 
4258:     |  and  (F:Security ARMED) is SET 
4259:     |Then 
4260:     |  (V:Patio Motion)  INCREMENT 
4261:     |  ASCII-Out:'Patio Motion Detected' [COM1] 
4262:     |  LOG 'Patio Motion Detected' 
4263:     |  X10:  (O-3  Rear Patio Light) PRE-Set Level  100% 
4264:     |  X10:  (O-3  Rear Patio Light) ON 
4265:     |  (IR:Turret 1 ) play 1 time(s) [Emitter1] 
4266:     |  (IR:Turret 0 ) play 1 time(s) [Emitter1] 
4267:     |  (IR:Turret 4 ) play 1 time(s) [Emitter1] 
4268:     |  |-If 
4269:     |  |  Time is After 12:00 AM SMTWTFS 
4270:     |  |  and  Time is Before 6:00 AM SMTWTFS 
4271:     |  |  and  (V:Patio Motion) = 3 
4272:     |  |Then 
4273:     |  |  (THEN MACRO:Outdoor Spkr Off) 
4274:     |  |  (THEN MACRO:Occupancy > Spkr) 
4275:     |  |  (T:Speakers ON) LOAD with 0:00:20 
4276:     |  |  X10:  (D-9  MotionSensor MSG) ON 
4277:     |  |  ASCII-Out:'@@MOTPATIO.WAV' [COM1] 
4278:     |  |  X10:  (O-5  Stair Floods) ON 
4279:     |  |- Nest End 
4280:     |  (T:RR Security PIR) LOAD with 0:15:00 
4281:     |- Nest End 
4282:     |-If 
4283:     |  (F:At Home) is SET 
4284:     |  and  (F:SecurityDISARMED) is SET 
4285:     |  and  (F:Patio via SGDoor) is Not SET 
4286:     |Then 
4287:     |  ASCII-Out:'Patio Motion Detected' [COM1] 
4288:     |  LOG 'Patio Motion Detected' 
4289:     |  |-If 
4290:     |  |  Time is Dark (after SunSet, before SunRise) 
4291:     |  |Then 
4292:     |  |  X10:  (O-3  Rear Patio Light) PRE-Set Level  100% 
4293:     |  |  X10:  (O-3  Rear Patio Light) ON 
4294:     |  |- Nest End 
4295:     |  |-If 
4296:     |  |  Time is After 6:00 AM SMTWTFS 
4297:     |  |  and  Time is Before 12:00 PM SMTWTFS 
4298:     |  |Then 
4299:     |  |  (RELAY:Bedroom SP) OFF  
4300:     |  |- Nest End 
4301:     |  |-If 
4302:     |  |  (T:RR Security PIR) is Not Running 
4303:     |  |Then 
4304:     |  |  (THEN MACRO:Outdoor Spkr Off) 
4305:     |  |  (THEN MACRO:Occupancy > Spkr) 
4306:     |  |  (T:Speakers ON) LOAD with 0:00:20 
4307:     |  |  X10:  (D-9  MotionSensor MSG) ON 
4308:     |  |  ASCII-Out:'@@MOTPATIO.WAV' [COM1] 
4309:     |  |- Nest End 
4310:     |  (T:RR Security PIR) LOAD with 0:15:00 
4311:     |- Nest End 
4312:     |-If 
4313:     |  (F:Away) is SET 
4314:     |Then 
4315:     |  (V:Patio Motion)  INCREMENT 
4316:     |  ASCII-Out:'Patio Motion Detected' [COM1] 
4317:     |  LOG 'Patio Motion Detected' 
4318:     |  (T:RR Security PIR) LOAD with 0:30:00 
4319:     |  X10:  (O-3  Rear Patio Light) PRE-Set Level  100% 
4320:     |  X10:  (O-3  Rear Patio Light) ON 
4321:     |  |-If 
4322:     |  |  Time is Dark (after SunSet, before SunRise) 
4323:     |  |Then 
4324:     |  |  DELAY  0:00:15 
4325:     |  |  X10:  (M-10  All On/Off Base) ON 
4326:     |  |  DELAY  0:10:00 
4327:     |  |  X10:  (M-10  All On/Off Base) OFF 
4328:     |  |- Nest End 
4329:     |- Nest End 
4330:     |-If 
4331:     |  Time is After 12:00 AM SMTWTFS 
4332:     |  and  Time is Before 6:00 AM SMTWTFS 
4333:     |  and  (F:Security ARMED) is SET 
4334:     |Then 
4335:     |  X10:  (O-11  Rear Garden Lts) ON 
4336:     |  |-If - Always 
4337:     |  |  (V:Patio Motion) > 4 
4338:     |  |Then 
4339:     |  |  (RELAY:Deck SP) ON  
4340:     |  |  X10:  (O-5  Stair Floods) ON 
4341:     |  |  (T:Speakers ON) LOAD with 0:00:40 
4342:     |  |  Voice:ACCESS DENIED SILENCE1 LEAVE NOW!
  [Spkr,Line] SYNC 
4343:     |  |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
4344:     |  |  Voice:SILENCE2 SILENCE2 ACCESS DENIED SILENCE1
 LEAVE NOW!  [Spkr,Line] SYNC 
4345:     |  |  Voice:YOUR ACTIVITY IS ON VIDEO  [Spkr,Line] SYNC 
4346:     |  |  Voice:SILENCE2 SILENCE2 SILENCE2 SILENCE2 SILENCE2
  [Spkr,Line] SYNC 
4347:     |  |Else 
4348:     |  |  (RELAY:Deck SP) ON  
4349:     |  |  (T:Speakers ON) LOAD with 0:00:20 
4350:     |  |  Voice:MOVEMENT DETECTED  [Spkr,Line] SYNC 
4351:     |  |  Voice:SILENCE2 SILENCE2 SILENCE2 SILENCE2 SILENCE2
  [Spkr,Line] SYNC 
4352:     |  |- Nest End 
4353:     |- Nest End 
4354:   End 
4355:     
4356:   EVENT:  Side Yard PIR 
4357:   If 
4358:     (DI:Sd Yd PIR) Goes OFF 
4359:   Then 
4360:     (V:)  INCREMENT 
4361:     |-If 
4362:     |  (F:Bedtime) is SET 
4363:     |  and  (T:LCD view) is Not Running 
4364:     |Then 
4365:     |  (IR:LCD POWER ) play 1 time(s) [Emitter1] 
4366:     |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
4367:     |  (IR:LCD 1 ) play 1 time(s) [Emitter1] 
4368:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4369:     |  (IR:LCD 2 ) play 1 time(s) [Emitter1] 
4370:     |- Nest End 
4371:     |-If 
4372:     |  (T:LCD view) is Not Running 
4373:     |  or  (F:Video_Side) is Not SET 
4374:     |Then 
4375:     |  (IR:LCD 1 ) play 1 time(s) [Emitter1] 
4376:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4377:     |  (IR:LCD 2 ) play 1 time(s) [Emitter1] 
4378:     |  (F:Video_Side)  SET 
4379:     |- Nest End 
4380:     (T:LCD view) LOAD with 0:03:00 
4381:     |-If 
4382:     |  Time is After 12:00 AM SMTWTFS 
4383:     |  and  Time is Before 5:30 AM SMTWTFS 
4384:     |  and  (F:Security ARMED) is SET 
4385:     |Then 
4386:     |  (T:Speakers ON) LOAD with 0:00:01 
4387:     |  LOG 'Side Yard Motion Detected' 
4388:     |  X10:  (O-11  Rear Garden Lts) ON 
4389:     |  X10:  (O-7  R Outside Outlet) ON 
4390:     |  |-If 
4391:     |  |  (V:) > 2 
4392:     |  |Then 
4393:     |  |  (T:Speakers ON) LOAD with 0:01:00 
4394:     |  |  (RELAY:Side Yd SP) ON  
4395:     |  |  DELAY  0:00:04 
4396:     |  |  X10:  (O-5  Stair Floods) ON 
4397:     |  |  Voice:SILENCE1  [Spkr,Line] SYNC 
4398:     |  |  ASCII-Out:'@@leaves1L.wav' [COM1] 
4399:     |  |  ASCII-Out:'@@dog.wav' [COM1] 
4400:     |  |- Nest End 
4401:     |  (T:RR Security PIR) LOAD with 0:02:00 
4402:     |- Nest End 
4403:   End 
4404:     
4405:   EVENT:  Corner Yard PIR 
4406:   If 
4407:     (DI:CornerYd PIR) Goes OFF 
4408:   Then 
4409:     (V:)  INCREMENT 
4410:     |-If 
4411:     |  (F:Bedtime) is SET 
4412:     |  and  (T:LCD view) is Not Running 
4413:     |Then 
4414:     |  (IR:LCD POWER ) play 1 time(s) [Emitter1] 
4415:     |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
4416:     |  (IR:LCD 9 ) play 1 time(s) [Emitter1] 
4417:     |  (IR:LCD 4 ) play 1 time(s) [Emitter1] 
4418:     |- Nest End 
4419:     |-If 
4420:     |  (T:LCD view) is Not Running 
4421:     |  or  (F:Video_Corner) is Not SET 
4422:     |Then 
4423:     |  (IR:LCD 9 ) play 1 time(s) [Emitter1] 
4424:     |  (IR:LCD 4 ) play 1 time(s) [Emitter1] 
4425:     |  (F:Video_Corner)  SET 
4426:     |- Nest End 
4427:     (T:LCD view) LOAD with 0:03:00 
4428:     |-If 
4429:     |  Time is After 12:00 AM SMTWTFS 
4430:     |  and  Time is Before 5:30 AM SMTWTFS 
4431:     |  and  (F:Security ARMED) is SET 
4432:     |Then 
4433:     |  (T:Speakers ON) LOAD with 0:00:01 
4434:     |  LOG 'Corner Yard Motion Detected' 
4435:     |  X10:  (O-10  Front Garden Lts) ON 
4436:     |  X10:  (O-11  Rear Garden Lts) ON 
4437:     |  X10:  (O-7  R Outside Outlet) ON 
4438:     |  |-If 
4439:     |  |  (V:) > 2 
4440:     |  |Then 
4441:     |  |  (T:Speakers ON) LOAD with 0:01:00 
4442:     |  |  (RELAY:Corner Yd SP) ON  
4443:     |  |  DELAY  0:00:04 
4444:     |  |  X10:  (O-5  Stair Floods) ON 
4445:     |  |  Voice:SILENCE1  [Spkr,Line] SYNC 
4446:     |  |  ASCII-Out:'@@dog.wav' [COM1] 
4447:     |  |  ASCII-Out:'@@beargrwl.wav' [COM1] 
4448:     |  |- Nest End 
4449:     |  (T:RR Security PIR) LOAD with 0:02:00 
4450:     |- Nest End 
4451:   End 
4452:     
4453:   EVENT:  RR Security PIR Timer 
4454:   If 
4455:     (T:RR Security PIR) is Expiring 
4456:     or  (T:RR Security PIR) is Stopped 
4457:   Then 
4458:     (T:Speakers ON) LOAD with 0:00:02 
4459:     (F:Deck via SGDoor)  CLEAR 
4460:     (F:Patio via SGDoor)  CLEAR 
4461:     X10:  (O-2  Rear Deck Light) OFF 
4462:     X10:  (O-3  Rear Patio Light) OFF 
4463:     X10:  (O-5  Stair Floods) OFF 
4464:     |-If 
4465:     |  Time is After 12:00 AM SMTWTFS 
4466:     |  and  Time is Before 6:00 AM SMTWTFS 
4467:     |  and  (F:Bedtime) is SET 
4468:     |    -OR- 
4469:     |  Time is After 12:00 AM SMTWTFS 
4470:     |  and  Time is Before 6:00 AM SMTWTFS 
4471:     |  and  (F:Away) is SET 
4472:     |Then 
4473:     |  X10:  (O-11  Rear Garden Lts) OFF 
4474:     |  X10:  (O-10  Front Garden Lts) OFF 
4475:     |  X10:  (O-7  R Outside Outlet) OFF 
4476:     |- Nest End 
4477:   End 
4478:     
4479:   EVENT:  Front Yard PIR 
4480:   If 
4481:     (DI:Fr Yd PIR) Goes OFF 
4482:   Then 
4483:     |-If 
4484:     |  (F:Bedtime) is SET 
4485:     |  and  (T:LCD view) is Not Running 
4486:     |Then 
4487:     |  (IR:LCD POWER ) play 1 time(s) [Emitter1] 
4488:     |  Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
4489:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4490:     |  (IR:LCD 8 ) play 1 time(s) [Emitter1] 
4491:     |  X10: J - All Units OFF 
4492:     |  (IR:LCD 8 ) play 1 time(s) [Emitter1] 
4493:     |- Nest End 
4494:     |-If 
4495:     |  (T:LCD view) is Not Running 
4496:     |  or  (F:Video_Front) is Not SET 
4497:     |Then 
4498:     |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4499:     |  (IR:LCD 8 ) play 1 time(s) [Emitter1] 
4500:     |  X10: J - All Units OFF 
4501:     |  (IR:LCD 8 ) play 1 time(s) [Emitter1] 
4502:     |  (F:Video_Front)  SET 
4503:     |- Nest End 
4504:     (T:LCD view) LOAD with 0:03:00 
4505:     |-If 
4506:     |  (F:At Home) is SET 
4507:     |  and  (F:Security ARMED) is SET 
4508:     |  and  (V:Fr Yd PIR Count) = 0 
4509:     |Then 
4510:     |  |-If 
4511:     |  |  Time is Dark (after SunSet, before SunRise) 
4512:     |  |Then 
4513:     |  |  X10:  (O-1  Front Light) PRE-Set Level  100% 
4514:     |  |  X10:  (O-1  Front Light) ON 
4515:     |  |- Nest End 
4516:     |  (THEN MACRO:Outdoor Spkr Off) 
4517:     |  (THEN MACRO:Occupancy > Spkr) 
4518:     |  (T:Speakers ON) LOAD with 0:00:15 
4519:     |  (T:FR Security PIR) LOAD with 0:10:00 
4520:     |  X10:  (D-9  MotionSensor MSG) ON 
4521:     |  |-If 
4522:     |  |  (F:Bedtime) is SET 
4523:     |  |  or  (F:Morning) is SET 
4524:     |  |Then 
4525:     |  |  ASCII-Out:'@@QMOTFYRD.WAV' [COM1] 
4526:     |  |Else 
4527:     |  |  ASCII-Out:'@@MOTFYARD.WAV' [COM1] 
4528:     |  |- Nest End 
4529:     |  ASCII-Out:'Front Yard Motion Detected' [COM1] 
4530:     |  LOG 'Front Yard Motion Detected' 
4531:     |- Nest End 
4532:     |-If 
4533:     |  (F:At Home) is SET 
4534:     |  and  (F:SecurityDISARMED) is SET 
4535:     |  and  (T:Foyer Light) is Not Running 
4536:     |  and  (V:Fr Yd PIR Count) = 0 
4537:     |Then 
4538:     |  (T:FR Security PIR) LOAD with 0:05:00 
4539:     |  |-If 
4540:     |  |  Time is Dark (after SunSet, before SunRise) 
4541:     |  |Then 
4542:     |  |  X10:  (O-1  Front Light) PRE-Set Level  100% 
4543:     |  |  X10:  (O-1  Front Light) ON 
4544:     |  |- Nest End 
4545:     |  (THEN MACRO:Outdoor Spkr Off) 
4546:     |  (THEN MACRO:Occupancy > Spkr) 
4547:     |  (T:Speakers ON) LOAD with 0:00:20 
4548:     |  X10:  (D-9  MotionSensor MSG) ON 
4549:     |  |-If 
4550:     |  |  (F:Bedtime) is SET 
4551:     |  |  or  (F:Morning) is SET 
4552:     |  |Then 
4553:     |  |  ASCII-Out:'@@QMOTFYRD.WAV' [COM1] 
4554:     |  |Else 
4555:     |  |  ASCII-Out:'@@MOTFYARD.WAV' [COM1] 
4556:     |  |- Nest End 
4557:     |  ASCII-Out:'Front Yard Motion Detected' [COM1] 
4558:     |  LOG 'Front Yard Motion Detected' 
4559:     |  (T:FR Security PIR) LOAD with 0:05:00 
4560:     |- Nest End 
4561:     |-If 
4562:     |  (F:Away) is SET 
4563:     |Then 
4564:     |  |-If 
4565:     |  |  Time is After (TL:Pre-Sunset)  
4566:     |  |  or  Time is Before (TL:DAWN)  
4567:     |  |Then 
4568:     |  |  (T:FR Security PIR) LOAD with 0:05:00 
4569:     |  |  X10:  (O-1  Front Light) PRE-Set Level  100% 
4570:     |  |  X10:  (O-1  Front Light) ON 
4571:     |  |- Nest End 
4572:     |  (V:Front Yd Motion)  INCREMENT 
4573:     |  ASCII-Out:'Front Yard Motion Detected' [COM1] 
4574:     |  LOG 'Front Yard Motion Detected' 
4575:     |- Nest End 
4576:     |-If 
4577:     |  Time is After 12:00 AM SMTWTFS 
4578:     |  and  Time is Before 5:30 AM SMTWTFS 
4579:     |  and  (F:Security ARMED) is SET 
4580:     |Then 
4581:     |  (T:Speakers ON) LOAD with 0:00:01 
4582:     |  X10:  (O-10  Front Garden Lts) ON 
4583:     |  DELAY  0:00:04 
4584:     |  (T:Speakers ON) LOAD with 0:01:00 
4585:     |  (RELAY:FR Yard SP) ON  
4586:     |  Voice:SILENCE1  [Spkr,Line] SYNC 
4587:     |  ASCII-Out:'@@leaves1L.wav' [COM1] 
4588:     |- Nest End 
4589:     (V:Fr Yd PIR Count)  INCREMENT 
4590:   End 
4591:     
4592:   EVENT:  FR Security PIR Timer 
4593:   If 
4594:     (T:FR Security PIR) is Expiring 
4595:     or  (T:FR Security PIR) is Stopped 
4596:   Then 
4597:     X10:  (O-1  Front Light) OFF 
4598:     |-If 
4599:     |  Time is After 12:00 AM SMTWTFS 
4600:     |  and  Time is Before 6:00 AM SMTWTFS 
4601:     |  and  (F:Bedtime) is SET 
4602:     |    -OR- 
4603:     |  Time is After 12:00 AM SMTWTFS 
4604:     |  and  Time is Before 6:00 AM SMTWTFS 
4605:     |  and  (F:Away) is SET 
4606:     |Then 
4607:     |  X10:  (O-10  Front Garden Lts) OFF 
4608:     |- Nest End 
4609:   End 
4610:     
4611:   EVENT:  FR YD PIR Count Reset 
4612:   If 
4613:     XSEQ:( O-1 O-OFF ) Received within 4 seconds  
4614:     or  XSEQ:( H-2 H-OFF ) Received within 4 seconds  
4615:   Then 
4616:     (V:Fr Yd PIR Count)  LOAD with 0 
4617:   End 
4618:     
4619:   EVENT:  Anti-Deer Test Event 
4620:   If 
4621:     (F:Deer Test) is SET 
4622:   Then 
4623:     |-If 
4624:     |  (DI:CornerYd PIR) Goes OFF 
4625:     |Then 
4626:     |  (T:Speakers ON) LOAD with 0:00:01 
4627:     |  DELAY  0:00:04 
4628:     |  (T:Speakers ON) LOAD with 0:01:00 
4629:     |  (RELAY:Side Yd SP) ON  
4630:     |  (RELAY:Corner Yd SP) ON  
4631:     |  ASCII-Out:'@@leaves2.wav' [COM1] 
4632:     |  ASCII-Out:'@@beargrwl.wav' [COM1] 
4633:     |- Nest End 
4634:     |-If 
4635:     |  (DI:Fr Yd PIR) Goes OFF 
4636:     |Then 
4637:     |  (T:Speakers ON) LOAD with 0:00:01 
4638:     |  DELAY  0:00:04 
4639:     |  (T:Speakers ON) LOAD with 0:01:00 
4640:     |  (RELAY:FR Yard SP) ON  
4641:     |  ASCII-Out:'@@leaves1L.wav' [COM1] 
4642:     |  ASCII-Out:'@@dog.wav' [COM1] 
4643:     |- Nest End 
4644:   End 
4645:     
4646:    * Frozen * EVENT:  Anti-Deer Noise Control 
4647:    * Frozen * If 
4648:    * Frozen *   (F:At Home) is SET 
4649:    * Frozen * Then 
4650:     |- * Frozen * If 
4651:     | * Frozen *   IR Seq:' ' Received within 3 seconds  
4652:     | * Frozen * Then 
4653:     | * Frozen *   (RELAY:FR Yard SP) ON  
4654:     | * Frozen *   ASCII-Out:'@@leaves1L.wav' [COM1] 
4655:     |- * Frozen *  Nest End 
4656:     |- * Frozen * If 
4657:     | * Frozen *   IR Seq:' ' Received within 3 seconds  
4658:     | * Frozen * Then 
4659:     | * Frozen *   (RELAY:Side Yd SP) ON  
4660:     | * Frozen *   (RELAY:Corner Yd SP) ON  
4661:     | * Frozen *   ASCII-Out:'@@leaves2.wav' [COM1] 
4662:     |- * Frozen *  Nest End 
4663:     |- * Frozen * If 
4664:     | * Frozen *   IR Seq:' ' Received within 3 seconds  
4665:     | * Frozen * Then 
4666:     | * Frozen *   (RELAY:Deck SP) ON  
4667:     | * Frozen *   ASCII-Out:'@@leaves2.wav' [COM1] 
4668:     |- * Frozen *  Nest End 
4669:    * Frozen *   (T:Speakers ON) LOAD with 0:01:00 
4670:    * Frozen * End 
4671:     
4672:   EVENT:  LCD View Reset 
4673:   If 
4674:     (T:LCD view) is Expiring 
4675:   Then 
4676:     (F:Video_Music)  SET 
4677:     |-If 
4678:     |  (F:MovieTime!) is Not SET 
4679:     |  and  (F:Bedtime) is Not SET 
4680:     |Then 
4681:     |  |-If 
4682:     |  |  After Sunset SMTWTFS 
4683:     |  |  and  Time is Before (TL:Post-Sunset)  
4684:     |  |Then 
4685:     |  |  (IR:LCD 1 ) play 1 time(s) [Emitter1] 
4686:     |  |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4687:     |  |  (IR:LCD 6 ) play 1 time(s) [Emitter1] 
4688:     |  |Else 
4689:     |  |  (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4690:     |  |  (IR:LCD 8 ) play 1 time(s) [Emitter1] 
4691:     |  |  X10: J - All Units OFF 
4692:     |  |  (IR:LCD 6 ) play 1 time(s) [Emitter1] 
4693:     |  |- Nest End 
4694:     |- Nest End 
4695:     |-If 
4696:     |  (F:Bedtime) is SET 
4697:     |Then 
4698:     |  (IR:LCD POWER ) play 1 time(s) [Emitter1] 
4699:     |- Nest End 
4700:   End 
4701:     
4702:   EVENT:  Post-Sunset LCD Reset 
4703:   If 
4704:     Time is (TL:Post-Sunset)  
4705:     or  Time is After (TL:Post-Sunset)  
4706:   Then 
4707:     (IR:LCD 0 ) play 1 time(s) [Emitter1] 
4708:     (IR:LCD 8 ) play 1 time(s) [Emitter1] 
4709:     X10: J - All Units OFF 
4710:     (IR:LCD 6 ) play 1 time(s) [Emitter1] 
4711:   End 
4712:     
4713:   EVENT:  Video Flag Reset 
4714:   If 
4715:     (F:Video_Music) is SET 
4716:   Then 
4717:     (F:Video_Front)  CLEAR 
4718:     (F:Video_Deck)  CLEAR 
4719:     (F:Video_Patio)  CLEAR 
4720:     (F:Video_Side)  CLEAR 
4721:     (F:Video_Corner)  CLEAR 
4722:   End 
4723:     
4724:   EVENT:  Front Video Flag 
4725:   If 
4726:     (F:Video_Front) is SET 
4727:   Then 
4728:     (F:Video_Deck)  CLEAR 
4729:     (F:Video_Patio)  CLEAR 
4730:     (F:Video_Side)  CLEAR 
4731:     (F:Video_Music)  CLEAR 
4732:     (F:Video_Corner)  CLEAR 
4733:   End 
4734:     
4735:   EVENT:  Corner Video Flag 
4736:   If 
4737:     (F:Video_Corner) is SET 
4738:   Then 
4739:     (F:Video_Front)  CLEAR 
4740:     (F:Video_Deck)  CLEAR 
4741:     (F:Video_Patio)  CLEAR 
4742:     (F:Video_Music)  CLEAR 
4743:     (F:Video_Side)  CLEAR 
4744:   End 
4745:     
4746:   EVENT:  Deck Video Flag 
4747:   If 
4748:     (F:Video_Deck) is SET 
4749:   Then 
4750:     (F:Video_Front)  CLEAR 
4751:     (F:Video_Patio)  CLEAR 
4752:     (F:Video_Side)  CLEAR 
4753:     (F:Video_Music)  CLEAR 
4754:     (F:Video_Corner)  CLEAR 
4755:   End 
4756:     
4757:   EVENT:  Side Video Flag 
4758:   If 
4759:     (F:Video_Side) is SET 
4760:   Then 
4761:     (F:Video_Front)  CLEAR 
4762:     (F:Video_Deck)  CLEAR 
4763:     (F:Video_Patio)  CLEAR 
4764:     (F:Video_Music)  CLEAR 
4765:     (F:Video_Corner)  CLEAR 
4766:   End 
4767:     
4768:   EVENT:  Patio Video Flag 
4769:   If 
4770:     (F:Video_Patio) is SET 
4771:   Then 
4772:     (F:Video_Front)  CLEAR 
4773:     (F:Video_Deck)  CLEAR 
4774:     (F:Video_Side)  CLEAR 
4775:     (F:Video_Music)  CLEAR 
4776:     (F:Video_Corner)  CLEAR 
4777:   End 
4778:     
4779:   EVENT:  BURGLARY ALARM STATE!! 
4780:   If 
4781:     (DI:! BURGLARY !) Goes ON 
4782:    * Frozen *     -OR- 
4783:     " (TEST SEQUENCE) " 
4784:    * Frozen *   and  XSEQ:( F-15 F-ON F-15 F-ON ) Received
 within 6 seconds [Transmit Only] 
4785:   Then 
4786:     X10:  (D-10  ALARM!! MSG) ON 
4787:     X10: L - All Lights ON 
4788:     X10: N - All Lights ON 
4789:     X10: G - All Lights ON 
4790:     X10: H - All Lights ON 
4791:     X10: I - All Lights ON 
4792:     (T:BURG ALARM !!) LOAD with 0:30:00 
4793:     X10:  (O-1  Front Light) PRE-Set Level  100% 
4794:     X10:  (O-2  Rear Deck Light) PRE-Set Level  100% 
4795:     X10:  (O-3  Rear Patio Light) PRE-Set Level  100% 
4796:     (THEN MACRO:BURGLARY AUDIO) 
4797:   End 
4798:     
4799:   EVENT:  BURG ALARM WARNNG LTS 
4800:   If - Always 
4801:     (T:BURG ALARM !!) is Running 
4802:   Then 
4803:     X10:  (D-10  ALARM!! MSG) ON 
4804:     X10: O - All Lights ON 
4805:     Voice:SILENCE2 SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
4806:     X10: O - All Units OFF 
4807:   End 
4808:     
4809:   EVENT:  FIRE ALARM STATE!! 
4810:   If 
4811:     (DI:!! FIRE !!) Goes ON 
4812:    * Frozen *     -OR- 
4813:     " (TEST SEQUENCE) " 
4814:    * Frozen *   and  XSEQ:( F-16 F-ON F-16 F-ON ) Received within
 6 seconds [Transmit Only] 
4815:   Then 
4816:     X10:  (D-10  ALARM!! MSG) ON 
4817:     (T:FIRE ALARM !!) LOAD with 0:20:00 
4818:     (RELAY:Bedroom SP) ON  
4819:     (RELAY:Library SP) ON  
4820:     (RELAY:Living Rm SP) ON  
4821:     (RELAY:Kitchen SP) ON  
4822:     (RELAY:Basement SP) ON  
4823:     (RELAY:UtilityRm SP) ON  
4824:     (RELAY:Bedroom SP) ON  
4825:     ASCII-Out:'@@fire.wav' [COM1] 
4826:     ASCII-Out:'@@fire.wav' [COM1] 
4827:     (THEN MACRO:All Lights On) 
4828:     X10:  (A-11  Auto On) OFF 
4829:     ASCII-Out:'@@fem-get.wav' [COM1] 
4830:     ASCII-Out:'@@fem-get.wav' [COM1] 
4831:     X10:  (O-1  Front Light) PRE-Set Level  100% 
4832:     X10:  (O-2  Rear Deck Light) PRE-Set Level  100% 
4833:     X10:  (O-3  Rear Patio Light) PRE-Set Level  100% 
4834:   End 
4835:     
4836:   EVENT:  FIRE ALARM WARNING AUDIO 
4837:   If - Always 
4838:     (T:FIRE ALARM !!) is Running 
4839:   Then 
4840:     X10:  (D-10  ALARM!! MSG) ON 
4841:     X10: O - All Lights ON 
4842:     Voice:SILENCE2 SILENCE2 SILENCE2  [Spkr,Line] SYNC 
4843:     X10: O - All Units OFF 
4844:     Voice:FIRE FIRE LEAVE NOW!  [Line] SYNC 
4845:     Voice:FIRE FIRE LEAVE NOW!  [Line] SYNC 
4846:   End 
4847:     
4848:    * Frozen * EVENT:  END FIRE/BURG TEST 
4849:    * Frozen * If 
4850:    * Frozen *   XSEQ:( F-15 F-OFF ) Received within 4 seconds [Transmit Only] 
4851:    * Frozen *   or  XSEQ:( F-16 F-OFF ) Received within 4 seconds [Transmit Only] 
4852:    * Frozen * Then 
4853:    * Frozen *   (T:FIRE ALARM !!)  STOP  
4854:    * Frozen *   (T:BURG ALARM !!)  STOP  
4855:    * Frozen * End 
4856:     
4857:   EVENT:  TIMER: Bedtime Dimming Scene 
4858:   If - Always 
4859:     (T:Bedtime Dim) is Running 
4860:     and  X10: (B-3  BR Lamps) is ON  
4861:   Then 
4862:     (THEN MACRO:Bedtime Dimming) 
4863:   End 
4864:     
4865:   EVENT:  TIMER: Bedtime Dim Expires 
4866:   If 
4867:     (T:Bedtime Dim) is Expiring 
4868:   Then 
4869:     (THEN MACRO:Bedtime Dim End) 
4870:   End 
4871:     
4872:   EVENT:  Scenes: 1st Floor / Living Room 
4873:   If 
4874:     (F:Away) is Not SET 
4875:   Then 
4876:     |-If 
4877:     | * Frozen *   XSEQ:( L-6 L-ON ) Received within 4 seconds  
4878:     |  or  IR Seq:' ' Received within 3 seconds  
4879:     |Then 
4880:     |  (V:)  LOAD with 12 
4881:     |  (THEN MACRO:LR Predim 80%) 
4882:     |- Nest End 
4883:     |-If 
4884:     | * Frozen *   XSEQ:( L-6 L-OFF ) Received within 4 seconds  
4885:     |  or  IR Seq:' ' Received within 3 seconds  
4886:     |Then 
4887:     |  (V:)  LOAD with 12 
4888:     |  (THEN MACRO:LR Predim 70%) 
4889:     |- Nest End 
4890:     |-If 
4891:     | * Frozen *   XSEQ:( L-7 L-ON ) Received within 4 seconds  
4892:     |  or  IR Seq:' ' Received within 3 seconds  
4893:     |Then 
4894:     |  (V:)  LOAD with 12 
4895:     |  (THEN MACRO:LR Predim 50%) 
4896:     |- Nest End 
4897:     |-If 
4898:     | * Frozen *   XSEQ:( L-7 L-OFF ) Received within 4 seconds  
4899:     |  or  IR Seq:' ' Received within 3 seconds  
4900:     |Then 
4901:     |  (V:)  LOAD with 12 
4902:     |  (THEN MACRO:LR Predim 30%) 
4903:     |  |-If 
4904:     |  |  Date is Dec  24 
4905:     |  |  and  Time is After 9:00 PM SMTWTFS 
4906:     |  |    -OR- 
4907:     |  |  Date is Dec  25 
4908:     |  |  and  Time is Before 6:00 AM SMTWTFS 
4909:     |  |Then 
4910:     |  |  (RELAY:Living Rm SP) ON  
4911:     |  |  (RELAY:Kitchen SP) ON  
4912:     |  |  (T:Speakers ON) LOAD with 0:01:00 
4913:     |  |  ASCII-Out:'@@ntb4xmas.wav' [COM1] 
4914:     |  |- Nest End 
4915:     |- Nest End 
4916:     |-If 
4917:     | * Frozen *   XSEQ:( M-8 M-ON ) Received within 4 seconds  
4918:     |  or  IR Seq:' ' Received within 3 seconds  
4919:     |Then 
4920:     |  (V:)  LOAD with 12 
4921:     |  X10: L - All Lights ON 
4922:     |- Nest End 
4923:     |-If 
4924:     | * Frozen *   XSEQ:( M-8 M-OFF ) Received within 4 seconds  
4925:     |  or  IR Seq:' ' Received within 3 seconds  
4926:     |Then 
4927:     |  (V:)  LOAD with 12 
4928:     |  X10: L - All Lights OFF 
4929:     |- Nest End 
4930:     |-If 
4931:     |  IR Seq:' ' Received within 3 seconds  
4932:     |Then 
4933:     |  (V:)  LOAD with 4 
4934:     |  |-If 
4935:     |  |  X10: (D-1  DR Chandelier) is OFF  
4936:     |  |Then 
4937:     |  |  |-If 
4938:     |  |  |  Time is Before 10:30 PM SMTWTFS 
4939:     |  |  |Then 
4940:     |  |  |  X10:  (D-1  DR Chandelier) PRE-Set Level  84 % 
4941:     |  |  |  X10:  (D-1  DR Chandelier) ON 
4942:     |  |  |- Nest End 
4943:     |  |  |-If 
4944:     |  |  |  Time is After 10:30 PM SMTWTFS 
4945:     |  |  |  or  Before Sunrise SMTWTFS 
4946:     |  |  |Then 
4947:     |  |  |  X10:  (D-1  DR Chandelier) PRE-Set Level  45 % 
4948:     |  |  |  X10:  (D-1  DR Chandelier) ON 
4949:     |  |  |- Nest End 
4950:     |  |Else 
4951:     |  |  X10:  (D-1  DR Chandelier) OFF 
4952:     |  |- Nest End 
4953:     |- Nest End 
4954:     |-If 
4955:     |  IR Seq:' ' Received within 3 seconds  
4956:     |Then 
4957:     |  (V:)  LOAD with 11 
4958:     |  X10:  (K-1  Kitchen Recessed) PRE-Set Level  90 % 
4959:     |  X10:  (K-2  Kitchen Counter) PRE-Set Level  87 % 
4960:     |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  90 % 
4961:     |  X10:  (K-4  Kitchen Sink) PRE-Set Level  100% 
4962:     |- Nest End 
4963:     |-If 
4964:     |  IR Seq:' ' Received within 3 seconds  
4965:     |Then 
4966:     |  (V:)  LOAD with 11 
4967:     |  X10:  (K-1  Kitchen Recessed) PRE-Set Level  68 % 
4968:     |  X10:  (K-2  Kitchen Counter) PRE-Set Level  68 % 
4969:     |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  71 % 
4970:     |  X10:  (K-4  Kitchen Sink) PRE-Set Level  90 % 
4971:     |- Nest End 
4972:     |-If 
4973:     |  IR Seq:' ' Received within 3 seconds  
4974:     |Then 
4975:     |  (V:)  LOAD with 11 
4976:     |  X10:  (K-1  Kitchen Recessed) PRE-Set Level  52 % 
4977:     |  X10:  (K-2  Kitchen Counter) PRE-Set Level  52 % 
4978:     |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  55 % 
4979:     |  X10:  (K-4  Kitchen Sink) PRE-Set Level  61 % 
4980:     |- Nest End 
4981:     |-If 
4982:     |  IR Seq:' ' Received within 3 seconds  
4983:     |Then 
4984:     |  (V:)  LOAD with 11 
4985:     |  X10:  (K-1  Kitchen Recessed) PRE-Set Level  32 % 
4986:     |  X10:  (K-2  Kitchen Counter) PRE-Set Level  29 % 
4987:     |  X10:  (K-3  Kitchen Cabinets) PRE-Set Level  39 % 
4988:     |  X10:  (K-4  Kitchen Sink) PRE-Set Level  45 % 
4989:     |- Nest End 
4990:   End 
4991:     
4992:   EVENT:  Scenes: Bedroom 
4993:   If 
4994:     (F:Away) is Not SET 
4995:   Then 
4996:     |-If 
4997:     |  XSEQ:( B-10 B-ON ) Received within 4 seconds  
4998:     |  or  IR Seq:' ' Received within 3 seconds  
4999:     |Then 
5000:     |  (V:)  LOAD with 2 
5001:     |  (THEN MACRO:BR Predim 80%) 
5002:     |- Nest End 
5003:     |-If 
5004:     |  XSEQ:( B-10 B-OFF ) Received within 4 seconds  
5005:     |  or  IR Seq:' ' Received within 3 seconds  
5006:     |Then 
5007:     |  (V:)  LOAD with 2 
5008:     |  (THEN MACRO:BR Predim 70%) 
5009:     |- Nest End 
5010:     |-If 
5011:     |  XSEQ:( B-11 B-ON ) Received within 4 seconds  
5012:     |  or  IR Seq:' ' Received within 3 seconds  
5013:     |Then 
5014:     |  (V:)  LOAD with 2 
5015:     |  (THEN MACRO:BR Predim 50%) 
5016:     |- Nest End 
5017:     |-If 
5018:     |  XSEQ:( B-11 B-OFF ) Received within 4 seconds  
5019:     |  or  IR Seq:' ' Received within 3 seconds  
5020:     |Then 
5021:     |  (V:)  LOAD with 2 
5022:     |  (THEN MACRO:BR Predim 30%) 
5023:     |- Nest End 
5024:     |-If 
5025:     |  XSEQ:( M-9 M-ON ) Received within 4 seconds  
5026:     |  or  IR Seq:' ' Received within 3 seconds  
5027:     |Then 
5028:     |  (V:)  LOAD with 2 
5029:     |  X10:  (B-2  BR Chandelier)  
5030:     |  X10:  (B-3  BR Lamps)  
5031:     |  X10:  (B-4  BR Accent)  
5032:     |  X10: B-ON 
5033:     |- Nest End 
5034:     |-If 
5035:     |  XSEQ:( M-9 M-OFF ) Received within 4 seconds  
5036:     | * Frozen *   or  XSEQ:( C-3 C-OFF ) Received within 4 seconds  
5037:     |  or  IR Seq:' ' Received within 3 seconds  
5038:     |Then 
5039:     |  (V:)  LOAD with 2 
5040:     |  X10:  (B-2  BR Chandelier)  
5041:     |  X10:  (B-3  BR Lamps)  
5042:     |  X10:  (B-4  BR Accent)  
5043:     |  X10: B-OFF 
5044:     |- Nest End 
5045:   End 
5046:     
5047:   EVENT:  Scenes: Hallway 
5048:   If 
5049:     (F:Away) is Not SET 
5050:   Then 
5051:     |-If 
5052:     |  IR Seq:' ' Received within 3 seconds  
5053:     |Then 
5054:     |  (V:)  LOAD with 8 
5055:     |  |-If 
5056:     |  |  X10: (H-1  Hall Chandelier) is OFF  
5057:     |  |Then 
5058:     |  |  |-If 
5059:     |  |  |  Time is Before 11:00 PM SMTWTFS 
5060:     |  |  |  and  (F:Bedtime) is Not SET 
5061:     |  |  |Then 
5062:     |  |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level  87 % 
5063:     |  |  |  X10:  (H-1  Hall Chandelier) ON 
5064:     |  |  |- Nest End 
5065:     |  |  |-If 
5066:     |  |  |  Time is After 11:00 PM SMTWTFS 
5067:     |  |  |  or  Before Sunrise SMTWTFS 
5068:     |  |  |    -AND- 
5069:     |  |  |  (F:Bedtime) is Not SET 
5070:     |  |  |Then 
5071:     |  |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level  42 % 
5072:     |  |  |  X10:  (H-1  Hall Chandelier) ON 
5073:     |  |  |- Nest End 
5074:     |  |  |-If 
5075:     |  |  |  (F:Bedtime) is SET 
5076:     |  |  |Then 
5077:     |  |  |  X10:  (H-1  Hall Chandelier) PRE-Set Level  10 % 
5078:     |  |  |  X10:  (H-1  Hall Chandelier) ON 
5079:     |  |  |- Nest End 
5080:     |  |Else 
5081:     |  |  X10:  (H-1  Hall Chandelier) OFF 
5082:     |  |- Nest End 
5083:     |- Nest End 
5084:   End 
5085:     
5086:   EVENT:  Scenes: Guest Room 
5087:   If 
5088:     (F:Away) is Not SET 
5089:   Then 
5090:     |-If 
5091:     |  XSEQ:( G-5 G-ON ) Received within 4 seconds  
5092:     |Then 
5093:     |  |-If 
5094:     |  |  (F:Bedtime) is Not SET 
5095:     |  |  and  (F:Candlelight) is Not SET 
5096:     |  |Then 
5097:     |  |  |-If 
5098:     |  |  |  Time is After (TL:Pre-Sunset)  
5099:     |  |  |  and  Time is Before 9:00 PM SMTWTFS 
5100:     |  |  |Then 
5101:     |  |  |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  100% 
5102:     |  |  |  X10:  (G-4  Guest RM Accent) PRE-Set Level  71 % 
5103:     |  |  |  (T:Guest Room PIR) LOAD with 0:10:00 
5104:     |  |  |- Nest End 
5105:     |  |  |-If 
5106:     |  |  |  Time is After 9:00 PM SMTWTFS 
5107:     |  |  |  and  Time is Before 10:00 PM SMTWTFS 
5108:     |  |  |Then 
5109:     |  |  |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  71 % 
5110:     |  |  |  X10:  (G-4  Guest RM Accent) PRE-Set Level  45 % 
5111:     |  |  |  (T:Guest Room PIR) LOAD with 0:10:00 
5112:     |  |  |- Nest End 
5113:     |  |  |-If 
5114:     |  |  |  Time is After 10:00 PM SMTWTFS 
5115:     |  |  |    -OR- 
5116:     |  |  |  Before Sunrise SMTWTFS 
5117:     |  |  |Then 
5118:     |  |  |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  55 % 
5119:     |  |  |  X10:  (G-4  Guest RM Accent) PRE-Set Level  32 % 
5120:     |  |  |  (T:Guest Room PIR) LOAD with 0:10:00 
5121:     |  |  |- Nest End 
5122:     |  |  X10: G - All Lights ON 
5123:     |  |Else 
5124:     |  |  |-If 
5125:     |  |  |  (F:Bedtime) is SET 
5126:     |  |  |  or  (F:Candlelight) is SET 
5127:     |  |  |Then 
5128:     |  |  |  X10:  (G-3  Guest RM Lamps) PRE-Set Level  16 % 
5129:     |  |  |  X10:  (G-3  Guest RM Lamps) ON 
5130:     |  |  |  (T:Guest Room PIR) LOAD with 0:05:00 
5131:     |  |  |- Nest End 
5132:     |  |- Nest End 
5133:     |- Nest End 
5134:     |-If 
5135:     |  XSEQ:( G-5 G-OFF ) Received within 4 seconds  
5136:     |Then 
5137:     |  (T:Guest Room PIR)  STOP  
5138:     |- Nest End 
5139:   End 
5140:     
5141:   EVENT:  Scenes: Library 
5142:   If 
5143:     (F:Away) is Not SET 
5144:   Then 
5145:     |-If 
5146:     | * Frozen *   XSEQ:( I-10 I-ON ) Received within 4 seconds  
5147:     |  or  IR Seq:' ' Received within 3 seconds  
5148:     |Then 
5149:     |  (V:)  LOAD with 9 
5150:     |  (THEN MACRO:LIB Predim 80%) 
5151:     |- Nest End 
5152:     |-If 
5153:     | * Frozen *   XSEQ:( I-10 I-OFF ) Received within 4 seconds  
5154:     |  or  IR Seq:' ' Received within 3 seconds  
5155:     |Then 
5156:     |  (V:)  LOAD with 9 
5157:     |  (THEN MACRO:LIB Predim 70%) 
5158:     |- Nest End 
5159:     |-If 
5160:     | * Frozen *   XSEQ:( I-11 I-ON ) Received within 4 seconds  
5161:     |  or  IR Seq:' ' Received within 3 seconds  
5162:     |Then 
5163:     |  (V:)  LOAD with 9 
5164:     |  (THEN MACRO:LIB Predim 50%) 
5165:     |- Nest End 
5166:     |-If 
5167:     | * Frozen *   XSEQ:( I-11 I-OFF ) Received within 4 seconds  
5168:     |  or  IR Seq:' ' Received within 3 seconds  
5169:     |Then 
5170:     |  (V:)  LOAD with 9 
5171:     |  (THEN MACRO:LIB Predim 30%) 
5172:     |- Nest End 
5173:     |-If 
5174:     |  XSEQ:( M-11 M-ON ) Received within 4 seconds  
5175:     |Then 
5176:     |  (V:)  LOAD with 9 
5177:     |  (THEN MACRO:LIB All On) 
5178:     |- Nest End 
5179:     |-If 
5180:     |  XSEQ:( M-11 M-OFF ) Received within 4 seconds  
5181:     |Then 
5182:     |  (V:)  LOAD with 9 
5183:     |  (THEN MACRO:LIB All Off) 
5184:     |- Nest End 
5185:   End 
5186:     
5187:   EVENT:  Scenes: Basement 
5188:   If 
5189:     (F:Away) is Not SET 
5190:   Then 
5191:     |-If 
5192:     |  XSEQ:( M-10 M-OFF ) Received within 4 seconds  
5193:     |Then 
5194:     |  X10: N - All Lights OFF 
5195:     |- Nest End 
5196:     |-If 
5197:     |  XSEQ:( M-10 M-ON ) Received within 4 seconds  
5198:     |Then 
5199:     |  X10:  (N-1  BS Recessed 1-C) PRE-Set Level  94 % 
5200:     |  X10:  (N-2  BS Recessed 2-D) PRE-Set Level  97 % 
5201:     |  X10:  (N-3  BS Fireplace) PRE-Set Level  97 % 
5202:     |  X10:  (N-4  BS Accent Lights) Set Level  80 % 
5203:     |- Nest End 
5204:     |- * Frozen * If 
5205:     | * Frozen *   XSEQ:( N-10 N-ON ) Received within 4 seconds  
5206:     | * Frozen * Then 
5207:     | * Frozen *   (THEN MACRO:BM Predim 80%) 
5208:     |- * Frozen *  Nest End 
5209:     |- * Frozen * If 
5210:     | * Frozen *   XSEQ:( N-10 N-OFF ) Received within 4 seconds  
5211:     | * Frozen * Then 
5212:     | * Frozen *   (THEN MACRO:BM Predim 70%) 
5213:     |- * Frozen *  Nest End 
5214:     |- * Frozen * If 
5215:     | * Frozen *   XSEQ:( N-11 N-ON ) Received within 4 seconds  
5216:     | * Frozen * Then 
5217:     | * Frozen *   (THEN MACRO:BM Predim 50%) 
5218:     |- * Frozen *  Nest End 
5219:     |- * Frozen * If 
5220:     | * Frozen *   XSEQ:( N-11 N-OFF ) Received within 4 seconds  
5221:     | * Frozen * Then 
5222:     | * Frozen *   (THEN MACRO:BM Predim 30%) 
5223:     |- * Frozen *  Nest End 
5224:   End 
5225:     
5226:   EVENT:  Outside Lights All On 
5227:   If 
5228:     XSEQ:( O-8 O-ON ) Received within 4 seconds  
5229:     or  XSEQ:( C-2 C-ON ) Received within 4 seconds  
5230:   Then 
5231:     X10: O - All Lights ON 
5232:   End 
5233:     
5234:   EVENT:  Outside Lights All Off 
5235:   If 
5236:     XSEQ:( O-8 O-OFF ) Received within 4 seconds  
5237:     or  XSEQ:( C-2 C-OFF ) Received within 4 seconds  
5238:   Then 
5239:     X10: O - All Lights OFF 
5240:   End 
5241:     
5242:   EVENT:  Security Random Log File 
5243:   If 
5244:     Time is 11:00 PM SMTWTFS 
5245:     and  (F:At Home) is SET 
5246:   Then 
5247:     LOG 'Daily Motion Count: Front Yard = <Front Yd Motion>' 
5248:     LOG 'Daily Motion Count: Deck = <Deck Motion>' 
5249:     LOG 'Daily Motion Count: Patio = <Patio Motion>' 
5250:     LOG 'Daily Doorbell Count = <Doorbell>' 
5251:     LOG 'Daily Phone Count = <Telephone Calls>' 
5252:   End 
5253:     
5254:   EVENT:  Security Random Log File 2 
5255:   If 
5256:     Time is 11:03 PM SMTWTFS 
5257:     and  (F:At Home) is SET 
5258:   Then 
5259:     ASCII-Out:'<$d> Fr Yard <Front Yd Motion>' [COM1] 
5260:     ASCII-Out:'<$d> Deck <Deck Motion>' [COM1] 
5261:     ASCII-Out:'<$d> Patio <Patio Motion>' [COM1] 
5262:     ASCII-Out:'<$d> Doorbell <Doorbell>' [COM1] 
5263:     ASCII-Out:'<$d> PhoneCall <Telephone Calls' [COM1] 
5264:   End 
5265:     
5266:   EVENT:  Security Random Var Reset 
5267:   If 
5268:     (F:Away) is SET 
5269:     and  (T:Security Random) is Stopped 
5270:     and  Time is 11:06 PM SMTWTFS 
5271:   Then 
5272:     (V:Front Yd Motion)  LOAD with 0 
5273:     (V:)  LOAD with 0 
5274:     (V:Deck Motion)  LOAD with 0 
5275:     (V:Patio Motion)  LOAD with 0 
5276:     (V:Doorbell)  LOAD with 0 
5277:     (V:Telephone Calls)  LOAD with 0 
5278:   End 
5279:     
5280:   EVENT:  Security Random Timer Lights 
5281:   If 
5282:     (F:Away) is SET 
5283:     and  (T:Security Random) is Stopped 
5284:   Then 
5285:     |-If 
5286:     |  Time is 8:00 PM SMTWTFS   -Security Mode-  
5287:     |Then 
5288:     |  X10:  (D-1  DR Chandelier) PRE-Set Level  81 % 
5289:     |  X10:  (L-1  LR Recessed) PRE-Set Level  77 % 
5290:     |- Nest End 
5291:     |-If 
5292:     |  Time is 8:45 PM SMTWTFS   -Security Mode-  
5293:     |Then 
5294:     |  X10:  (H-1  Hall Chandelier) PRE-Set Level  87 % 
5295:     |  X10:  (I-1  LIB Recessed) PRE-Set Level  74 % 
5296:     |  (T:Main Stairwy PIR) LOAD with 0:01:00 
5297:     |  X10:  (H-1  Hall Chandelier) OFF 
5298:     |- Nest End 
5299:     |-If 
5300:     |  Time is 9:20 PM SMTWTFS   -Security Mode-  
5301:     |Then 
5302:     |  X10:  (B-2  BR Chandelier) PRE-Set Level  77 % 
5303:     |  X10:  (B-7  BR Bath) PRE-Set Level  74 % 
5304:     |  X10:  (D-1  DR Chandelier) OFF 
5305:     |  (T:Living Room PIR) LOAD with 0:10:00 
5306:     |  X10:  (L-1  LR Recessed) OFF 
5307:     |- Nest End 
5308:     |-If 
5309:     |  Time is 10:25 PM SMTWTFS   -Security Mode-  
5310:     |Then 
5311:     |  X10:  (B-7  BR Bath) OFF 
5312:     |  (T:Master BR PIR) LOAD with 0:15:00 
5313:     |  X10:  (B-2  BR Chandelier) OFF 
5314:     |- Nest End 
5315:     |-If 
5316:     |  Time is 11:00 PM SMTWTFS   -Security Mode-  
5317:     |Then 
5318:     |  X10:  (I-1  LIB Recessed) OFF 
5319:     |- Nest End 
5320:     |-If 
5321:     |  Time is 11:40 PM SMTWTFS   -Security Mode-  
5322:     |Then 
5323:     |  X10:  (H-1  Hall Chandelier) PRE-Set Level  52 % 
5324:     |  X10:  (D-1  DR Chandelier) PRE-Set Level  19 % 
5325:     |  X10:  (H-1  Hall Chandelier) OFF 
5326:     |  X10:  (L-5  LR SR Recessed) PRE-Set Level  13 % 
5327:     |  (T:Living Room PIR) LOAD with 0:01:00 
5328:     |  (T:Dining Room PIR) LOAD with 0:01:00 
5329:     |  X10:  (L-5  LR SR Recessed) OFF 
5330:     |  X10:  (D-1  DR Chandelier) OFF 
5331:     |  X10:  (H-1  Hall Chandelier) PRE-Set Level  52 % 
5332:     |  (T:Main Stairwy PIR) LOAD with 0:01:00 
5333:     |  X10:  (H-1  Hall Chandelier) OFF 
5334:     |- Nest End 
5335:     |-If 
5336:     |  Time is 12:40 AM SMTWTFS   -Security Mode-  
5337:     |Then 
5338:     |  X10: B - All Lights OFF 
5339:     |  X10: L - All Lights OFF 
5340:     |  X10: I - All Lights OFF 
5341:     |  X10: G - All Lights OFF 
5342:     |- Nest End 
5343:   End 
5344:     
5345:   SCHEDULE END   
Device DataBase Listing
IF MACROS
IF Macro: Anna-versaries! 
    |MACRO BEGIN   
  If 
    or  Date is Jan  11 
    or  Date is Feb  11 
    or  Date is Mar  11 
    or  Date is Apr  11 
    or  Date is May  11 
    or  Date is June  11 
    or  Date is July  11 
    or  Date is Aug  11 
    or  Date is Sept  11 
    or  Date is Oct  11 
    or  Date is Nov  11 
    or  Date is Dec  11 
    or  Date is May  7 
  MACRO END 

THEN MACROS
THEN Macro: Bedtime Dimming 
  MACRO BEGIN   
    X10:  (B-2  BR Chandelier)  
    X10:  (B-3  BR Lamps)  
    X10:  (B-6  BR Dressing)  
    X10:  (B-7  BR Bath)  
    X10:  (B-8  BR Bath Accent)  
    X10: B-DIM1 Steps  
    |-If 
    |X10: (B-4  BR Accent) is ON  
    |Then 
    |  X10:  (B-4  BR Accent)  
    |  X10: B-DIM1 Steps  
    |- Nest End 
   * Frozen *   X10:  (B-3  BR Lamps) DIM 1 Steps  
   * Frozen *   X10:  (B-4  BR Accent) DIM 1 Steps  
   * Frozen *   X10:  (B-6  BR Dressing) DIM 1 Steps  
   * Frozen *   X10:  (B-7  BR Bath) DIM 1 Steps  
   * Frozen *   X10:  (B-8  BR Bath Accent) DIM 1 Steps  
    |-If 
    |X10: (H-1  Hall Chandelier) is ON  
    |Then 
    |  X10:  (H-1  Hall Chandelier) DIM 1 Steps  
    |- Nest End 
    DELAY  0:00:30 
  MACRO END 
THEN Macro: Bedtime Dim End 
  MACRO BEGIN   
    X10:  (B-2  BR Chandelier) OFF 
    X10:  (B-3  BR Lamps) OFF 
    X10:  (B-4  BR Accent) OFF 
    X10:  (B-6  BR Dressing) OFF 
    X10:  (B-7  BR Bath) OFF 
    X10:  (B-8  BR Bath Accent) OFF 
    X10:  (H-1  Hall Chandelier) OFF 
    (T:Master BR PIR)  CLEAR 
  MACRO END 
THEN Macro: SYSTEM STATUS 
  MACRO BEGIN   
    |-If 
    |(DI:!! FIRE !!) is ON 
    |Then 
    |  Voice:FIRE FIRE  [Spkr,CO,ICM] SYNC 
    |- Nest End 
    |-If 
    |(DI:! BURGLARY !) is ON 
    |Then 
    |  Voice:ALARM ALARM  [Spkr,CO,ICM] SYNC 
    |  |-If 
    |  |X10: (E-1  S-Basement Door) is ON  
    |  |Then 
    |  |  Voice:BASEMENT DOOR SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-2  S-Basement Win) is ON  
    |  |Then 
    |  |  Voice:BASEMENT WINDOW SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-3  S-Basement GBS) is ON  
    |  |Then 
    |  |  Voice:BASEMENT DIGITAL SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-4  S-Basement PIR) is ON  
    |  |Then 
    |  |  Voice:BASEMENT MOTION SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-5  S-LR Rear Win) is ON  
    |  |Then 
    |  |  Voice:LIVING ROOM WINDOW SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-6  S-LR Side Win) is ON  
    |  |Then 
    |  |  Voice:SETTING ROOM WINDOW SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-9  S-Front Door) is ON  
    |  |Then 
    |  |  Voice:FRONT DOOR SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-10  S-Foyer PIR) is ON  
    |  |Then 
    |  |  Voice:ENTRY MOTION SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-11  S-LR Door) is ON  
    |  |Then 
    |  |  Voice:LIVING ROOM DOOR SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-12  S-LR GBS) is ON  
    |  |Then 
    |  |  Voice:LIVING ROOM DIGITAL SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-13  S-Kitchen Win) is ON  
    |  |Then 
    |  |  Voice:KITCHEN WINDOW SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |  |-If 
    |  |X10: (E-14  S-Kitchen GBS) is ON  
    |  |Then 
    |  |  Voice:KITCHEN DIGITAL SENSOR  [Spkr,CO,ICM] SYNC 
    |  |- Nest End 
    |- Nest End 
    Voice:SYSSTATS  [Spkr,CO,ICM] SYNC 
    Voice:<hh:mm am/pm> [Spkr,CO,ICM] SYNC 
    DELAY  0:00:01 
    Voice:TEMPERAT HVAC-1 Temperature DEGREES SILENCE1 SETTING
 IS HVAC-1 Setpoint  [Spkr,CO,ICM] SYNC 
    DELAY  0:00:01 
    Voice:<Doorbell> DOORBELL CALL SILENCEH <Telephone Calls>
 PHONE CALL  [Spkr,CO,ICM] SYNC 
    DELAY  0:00:01 
    |-If 
    |(F:Away) is SET 
    |Then 
    |  Voice:AWAY FLAG SET  [Spkr,CO,ICM] SYNC 
    |Else 
    |  Voice:AWAY FLAG NOT SET  [Spkr,CO,ICM] SYNC 
    |- Nest End 
    |-If 
    |(DI:Security ARM) is ON 
    |Then 
    |  Voice:SECSYS ARMED  [Spkr,CO,ICM] SYNC 
    |Else 
    |  Voice:SECSYS DISARMED  [Spkr,CO,ICM] SYNC 
    |- Nest End 
    |-If 
    |  (HVAC:HVAC-1  )   System mode is COOL 
    |Then 
    |  Voice:AIR ON COOL  [Spkr,CO,ICM] SYNC 
    |- Nest End 
    |-If 
    |  (HVAC:HVAC-1  )   System mode is HEAT 
    |Then 
    |  Voice:AIR ON HEATING  [Spkr,CO,ICM] SYNC 
    |- Nest End 
    |-If 
    |  (HVAC:HVAC-1  )   System mode is AUTO 
    |Then 
    |  Voice:AIR ON AUTOMATI  [Spkr,CO,ICM] SYNC 
    |- Nest End 
    DELAY  0:00:02 
    Voice:GOODBYE  [Spkr,CO,ICM] SYNC 
    (V:Doorbell)  LOAD with 0 
    (V:Telephone Calls)  LOAD with 0 
  MACRO END 
THEN Macro: Welcome Home 
  MACRO BEGIN   
    (F:At Home)  SET 
    X10:  (D-16  Welcome MSG) ON 
    |-If 
    |Time is (TL:DUSK)  
    |Time is After (TL:DUSK)  
    |Before Sunrise SMTWTFS 
    |    -AND- 
    |(F:Bedtime) is Not SET 
    |Then 
    |  X10:  (D-1  DR Chandelier) PRE-Set Level  71 % 
    |  X10:  (L-1  LR Recessed) PRE-Set Level  87 % 
    |  X10:  (L-2  LR Recessed/Bear) PRE-Set Level  97 % 
    |  X10:  (L-3  LR Lamps) PRE-Set Level  90 % 
    |  X10:  (L-4  LR Accent Lights) PRE-Set Level  71 % 
    |  X10:  (L-5  LR SR Recessed) PRE-Set Level  68 % 
    |  X10:  (O-9  Deck Lights) PRE-Set Level  100% 
    |  X10:  (D-1  DR Chandelier) ON 
    |  X10:  (L-1  LR Recessed) ON 
    |  X10:  (L-2  LR Recessed/Bear) ON 
    |  X10:  (L-3  LR Lamps) ON 
    |  X10:  (L-4  LR Accent Lights) ON 
    |  X10:  (L-5  LR SR Recessed) ON 
    |  X10:  (O-9  Deck Lights) ON 
    |- Nest End 
    |-If 
    |Date is After Nov  25 
    |Time is After (TL:DUSK)  
    |    -OR- 
    |Date is After Nov  25 
    |Time is (TL:DUSK)  
    |    -OR- 
    |Date is After Nov  25 
    |Before Sunrise SMTWTFS 
    |    -OR- 
    |Date is Before Jan  31 
    |Time is After (TL:DUSK)  
    |    -OR- 
    |Date is Before Jan  31 
    |Time is (TL:DUSK)  
    |    -OR- 
    |Date is Before Jan  31 
    |Before Sunrise SMTWTFS 
    |Then 
    |  X10:  (O-12  Christmas Railng) PRE-Set Level  100% 
    |  X10:  (O-15  Christmas Lights) ON 
    |  X10:  (O-16  Christmas Tree) ON 
    |- Nest End 
    |-If 
    |Season is Spring 
    |    -OR- 
    |Season is Summer 
    |Then 
    |  (HVAC:)  AUTO Mode 
    |  (HVAC:)  Set Temp to 73 degrees 
    |- Nest End 
    |-If 
    |Season is Winter 
    |Then 
    |  (HVAC:)  HEAT Mode 
    |  (HVAC:)  Set Temp to 71 degrees 
    |- Nest End 
    |-If 
    |Season is Fall 
    |Then 
    |  (HVAC:)  AUTO Mode 
    |  (HVAC:)  Set Temp to 71 degrees 
    |- Nest End 
    (T:Security Random)  STOP  
    (T:Security Random)  CLEAR 
    (T:Security Random)  STOP  
    (T:Security Random)  CLEAR 
    |-If 
    |Date is July  2 
    |Then 
    |  (RELAY:Kitchen SP) ON  
    |  (RELAY:Living Rm SP) ON  
    |  ASCII-Out:'@@birthday.wav' [COM1] 
    |  ASCII-Out:'@@hurray.wav' [COM1] 
    |  (T:Speakers ON) LOAD with 0:00:20 
    |- Nest End 
    |-If 
    |(IF MACRO:Anna-versaries!) 
    |Then 
    |  (RELAY:Kitchen SP) ON  
    |  (RELAY:Living Rm SP) ON  
    |  ASCII-Out:'@@annivers.wav' [COM1] 
    |  (T:Speakers ON) LOAD with 0:00:20 
    |- Nest End 
  MACRO END 
THEN Macro: Bedtime 
  MACRO BEGIN   
    VM:Incoming Call Monitor - Disabled 
    (F:Morning)  CLEAR 
    (F:Entertain)  CLEAR 
    (RELAY:Bedroom SP) ON  
    (T:Speakers ON) LOAD with 0:01:00 
    (F:Bedtime)  SET 
   * Frozen *   Voice:Yawn  [Spkr,Line] SYNC 
    ASCII-Out:'@@femyawn.wav' [COM1] 
    (V:Goodnight Random)   load with random number 
    (V:Birdies... cute?)   load with random number 
    (V:Departures)  LOAD with 0 
    (V:Goodmorn Random)   load with random number 
    DELAY  0:00:05 
    |-If 
    |Date is After May  1 
    |Date is Before Oct  2 
    |Then 
    |  (HVAC:)  COOL Mode 
    |  (HVAC:)  Set Temp to 70 degrees 
    |- Nest End 
    |-If 
    |Date is After Mar  14 
    |Date is Before May  2 
    |    -OR- 
    |Date is After Oct  1 
    |Date is Before Nov  2 
    |Then 
    |  (HVAC:)  AUTO Mode 
    |  (HVAC:)  Set Temp to 70 degrees 
    |- Nest End 
    |-If 
    |Date is After Nov  1 
    |Date is Before Dec  31 
    |    -OR- 
    |Date is Dec  31 
    |    -OR- 
    |Date is Jan  1 
    |    -OR- 
    |Date is After Jan  1 
    |Date is Before Mar  15 
    |Then 
    |  (HVAC:)  HEAT Mode 
    |  (HVAC:)  Set Temp to 68 degrees 
    |- Nest End 
    |-If 
    |Time is Dark (after SunSet, before SunRise) 
    |Then 
    |  (F:Bedtime)  SET 
    |  X10: D - All Units OFF 
    |  X10: L - All Units OFF 
    |  X10: H - All Units OFF 
    |  X10: G - All Units OFF 
    |  X10: H - All Units OFF 
    |  X10: I - All Units OFF 
    |  X10: K - All Units OFF 
    |  X10: N - All Units OFF 
    |  X10:  (O-10  Front Garden Lts) OFF 
    |  X10:  (O-11  Rear Garden Lts) OFF 
    |- Nest End 
    |-If 
    |(T:CtrHall Bath PIR) is Not Running 
    |Then 
    |  X10:  (B-9  Center Hall Bath) OFF 
    |- Nest End 
    |-If 
    |(T:Powder Room PIR) is Not Running 
    |Then 
    |  X10:  (H-5  Powder Room) OFF 
    |- Nest End 
    |-If - Always 
    |Date is July  2 
    |Then 
    |  ASCII-Out:'@@birthday.wav' [COM1] 
    |- Nest End 
    |-If - Always 
    |(IF MACRO:Anna-versaries!) 
    |Then 
    |  |-If 
    |  |Time is Daytime (6AM-5:59PM) 
    |  |Then 
    |  |  ASCII-Out:'@@onlyyou.wav' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |Time is Nighttime (6PM-5:59AM) 
    |  |Then 
    |  |  ASCII-Out:'@@unchmel.wav' [COM1] 
    |  |- Nest End 
    |  ASCII-Out:'@@annivers.wav' [COM1] 
    |- Nest End 
    |-If 
    |Date is Dec  24 
    |Time is After 10:00 PM SMTWTFS 
    |    -OR- 
    |Date is Dec  25 
    |Time is Before 6:00 AM SMTWTFS 
    |Then 
    |  ASCII-Out:'@@ntb4xmas.wav' [COM1] 
    |- Nest End 
    |-If 
    |(F:Bear is Away...) is SET 
    |Then 
    |  (V:Bear is away)  INCREMENT 
    |  |-If 
    |  |Time is Before 11:00 PM SMTWTFS 
    |  |Then 
    |  |  ASCII-Out:'@@GNANNA.WAV' [COM1] 
    |  |Else 
    |  |  ASCII-Out:'@@GNANNA2.WAV' [COM1] 
    |  |- Nest End 
    |Else 
    |  |-If 
    |  |(V:Goodnight Random) <= 85 
    |  |Then 
    |  |  ASCII-Out:'@@SLPWELL.WAV' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |(V:Goodnight Random) >= 86 
    |  |(V:Goodnight Random) <= 174 
    |  |Then 
    |  |  ASCII-Out:'@@SWTDRMS.WAV' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |(V:Goodnight Random) >= 175 
    |  |Then 
    |  |  ASCII-Out:'@@NITENITE.WAV' [COM1] 
    |  |- Nest End 
    |  DELAY  0:00:05 
    |  Voice:Goodnight Bears  [Spkr,Line] SYNC 
    |- Nest End 
    (T:Speakers ON) LOAD with 0:00:05 
    DELAY  0:00:10 
    X10:  (O-12  Christmas Railng) PRE-Set Level  48 % 
    ASCII-Out:'@@contyawn.wav' [COM1] 
    DELAY  0:30:00 
    X10:  (C-6  CD Changer) OFF 
    ASCII-Out:'@@bearlove.wav' [COM1] 
    X10:  (O-12  Christmas Railng) OFF 
    X10:  (O-13  Christmas (Frnt)) OFF 
    X10:  (O-14  Christmas (Deck)) OFF 
    X10:  (O-15  Christmas Lights) OFF 
    X10:  (O-16  Christmas Tree) OFF 
    X10:  (O-16  Christmas Tree) OFF 
    (V:Christmas Tree)  LOAD with 0 
    (V:Anna is about...)  LOAD with 0 
    (V:Weather Report)  LOAD with 0 
  MACRO END 
THEN Macro: Good Morning 
  MACRO BEGIN   
    (F:Morning)  SET 
    |-If - Always 
    |Time is Before 7:30 AM SMTWTFS 
    |Then 
    |  ASCII-Out:'@@birds1.wav' [COM1] 
    |  ASCII-Out:'@@birds2.wav' [COM1] 
    |  ASCII-Out:'@@birds1.wav' [COM1] 
    |  ASCII-Out:'@@birds2.wav' [COM1] 
    |  |-If 
    |  |(V:Birdies... cute?) >= 50 
    |  |(V:Birdies... cute?) <= 65 
    |  |Then 
    |  |  DELAY  0:00:02 
    |  |  ASCII-Out:'@@BIRDCUTE.WAV' [COM1] 
    |  |- Nest End 
    |- Nest End 
    |-If - Always 
    |Time is Before 12:00 PM SMTWTFS 
    |Then 
    |  X10:  (D-15  Good Morning MSG) ON 
    |  DELAY  0:00:05 
    |  X10:  (D-15  Good Morning MSG) ON 
    |- Nest End 
    |-If - Always 
    |Season is Summer 
    |Then 
    |  (HVAC:)  COOL Mode 
    |  (HVAC:)  Set Temp to 71 degrees 
    |- Nest End 
    |-If - Always 
    |Season is Winter 
    |Then 
    |  |-If 
    |  |Date is After Mar  1 
    |  |Then 
    |  |  (HVAC:)  AUTO Mode 
    |  |  (HVAC:)  Set Temp to 71 degrees 
    |  |Else 
    |  |  (HVAC:)  HEAT Mode 
    |  |  (HVAC:)  Set Temp to 71 degrees 
    |  |- Nest End 
    |- Nest End 
    |-If - Always 
    |Season is Fall 
    |Season is Spring 
    |Then 
    |  (HVAC:)  AUTO Mode 
    |  (HVAC:)  Set Temp to 71 degrees 
    |- Nest End 
    |-If - Always 
    |Time is After 11:00 AM SMTWTFS 
    |Then 
    |  X10:  (C-6  CD Changer) ON 
    |- Nest End 
    DELAY  0:00:15 
    (F:Morning)  SET 
    |-If 
    |(T:LIB OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Library SP) ON  
    |- Nest End 
    |-If 
    |(T:GR OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Guest Rm SP) ON  
    |- Nest End 
    |-If 
    |(T:LR OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Living Rm SP) ON  
    |- Nest End 
    |-If 
    |(T:KIT OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Kitchen SP) ON  
    |- Nest End 
    |-If 
    |(T:BM OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Basement SP) ON  
    |- Nest End 
    (T:Speakers ON) LOAD with 0:01:00 
    |-If - Always 
    |Time is After 11:00 AM SMTWTFS 
    |Then 
    |  ASCII-Out:'@@goodmorn.wav' [COM1] 
    |Else 
    |  ASCII-Out:'@@morning.wav' [COM1] 
    |- Nest End 
    |-If 
    |Date is Dec  25 
    |Then 
    |  |-If 
    |  |(T:MBR OCCUPANCY) is Running 
    |  |Then 
    |  |  (RELAY:Bedroom SP) ON  
    |  |- Nest End 
    |  ASCII-Out:'@@xmas1.wav' [COM1] 
    |  DELAY  0:00:05 
    |- Nest End 
  MACRO END 
THEN Macro: Entertain 
  MACRO BEGIN   
    (F:Entertain)  SET 
    X10:  (B-2  BR Chandelier) PRE-Set Level  84 % 
    X10:  (B-3  BR Lamps) Set Level  80 % 
    X10:  (B-4  BR Accent) Set Level  70 % 
    X10:  (B-6  BR Dressing) PRE-Set Level  65 % 
    X10:  (B-7  BR Bath) PRE-Set Level  65 % 
    X10:  (B-8  BR Bath Accent) PRE-Set Level  58 % 
    X10:  (K-1  Kitchen Recessed) PRE-Set Level  100% 
    X10:  (K-2  Kitchen Counter) PRE-Set Level  100% 
    X10:  (K-3  Kitchen Cabinets) PRE-Set Level  100% 
    X10:  (K-4  Kitchen Sink) PRE-Set Level  100% 
    X10:  (D-1  DR Chandelier) PRE-Set Level  87 % 
    X10:  (I-1  LIB Recessed) PRE-Set Level  100% 
    X10:  (I-3  LIB Lamps) Set Level  90 % 
   * Frozen *   X10:  (I-4  LIB Accent) Set Level  80 % 
    X10:  (I-5  LIB Bookcase) PRE-Set Level  94 % 
    X10:  (L-1  LR Recessed) PRE-Set Level  100% 
    X10:  (L-2  LR Recessed/Bear) PRE-Set Level  100% 
    X10:  (L-3  LR Lamps) Set Level  90 % 
    X10:  (L-4  LR Accent Lights) Set Level  70 % 
    X10:  (L-5  LR SR Recessed) PRE-Set Level  90 % 
    X10:  (B-16  ) ON 
    X10:  (D-1  DR Chandelier) ON 
    X10:  (L-1  LR Recessed) ON 
    X10:  (L-2  LR Recessed/Bear) ON 
    X10:  (L-5  LR SR Recessed) ON 
    X10:  (I-3  LIB Lamps) ON 
    X10: K - All Lights ON 
   * Frozen *   X10:  (I-4  LIB Accent) ON 
    X10:  (B-2  BR Chandelier) ON 
    X10:  (B-3  BR Lamps) ON 
    X10:  (B-6  BR Dressing) ON 
    X10:  (B-7  BR Bath) ON 
    X10:  (B-8  BR Bath Accent) ON 
  MACRO END 
THEN Macro: Away 
  MACRO BEGIN   
    (RELAY:Library F/ P) OFF  
    X10:  (B-15  Bear's a.m Radio) OFF 
    (V:Departures)  INCREMENT 
    |-If 
    |Date is After Apr  1 
    |Date is Before June  1 
    |Then 
    |  (HVAC:)  COOL Mode 
    |  (HVAC:)  Set Temp to 74 degrees 
    |- Nest End 
    |-If 
    |Date is After June  1 
    |Date is Before Oct  1 
    |Then 
    |  (HVAC:)  COOL Mode 
    |  (HVAC:)  Set Temp to 73 degrees 
    |- Nest End 
    |-If 
    |Date is Before Apr  1 
    |Date is After Oct  1 
    |Then 
    |  (HVAC:)  HEAT Mode 
    |  (HVAC:)  Set Temp to 66 degrees 
    |- Nest End 
    (F:Morning)  CLEAR 
    (F:At Home)  CLEAR 
    (F:Away)  SET 
    (RELAY:Kitchen SP) ON  
    (RELAY:Living Rm SP) ON  
    (T:Speakers ON) LOAD with 0:01:00 
    |-If 
    |(V:Departures) > 3 
    |Then 
    |  ASCII-Out:'@@QLVAGAIN.WAV' [COM1] 
    |Else 
    |  |-If 
    |  |(V:Departures) = 2 
    |  |Then 
    |  |  ASCII-Out:'@@QWHRGOIN.WAV' [COM1] 
    |  |  DELAY  0:00:04 
    |  |- Nest End 
    |  |-If 
    |  |Time is Before 8:00 AM SMTWTFS 
    |  |Then 
    |  |  ASCII-Out:'@@scottbye.wav' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |Time is After 8:00 AM SMTWTFS 
    |  |Time is Before 10:00 AM SMTWTFS 
    |  |Then 
    |  |  ASCII-Out:'@@gbanna.wav' [COM1] 
    |  |  ASCII-Out:'@@gbjohn.wav' [COM1] 
    |  | * Frozen *   ASCII-Out:'@@NICEDAY.WAV' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |Time is After 10:00 AM SMTWTFS 
    |  |Time is Before 12:00 PM SMTWTFS 
    |  |Then 
    |  |  ASCII-Out:'@@goodbyef.wav' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |Time is After 12:00 PM SMTWTFS 
    |  |Then 
    |  |  ASCII-Out:'@@gbye.wav' [COM1] 
    |  |- Nest End 
    |- Nest End 
    |- * Frozen * If 
    |Time is After 8:00 AM SMTWTFS 
    |Time is Before 8:30 AM SMTWTFS 
    | * Frozen * Then 
    | * Frozen *   ASCII-Out:'@@soul-bye.wav' [COM1] 
    |- * Frozen *  Nest End 
    |- * Frozen * If 
    |Time is After 8:30 AM SMTWTFS 
    |Time is Before 8:50 AM SMTWTFS 
    | * Frozen * Then 
    | * Frozen *   ASCII-Out:'@@whinebye.wav' [COM1] 
    |- * Frozen *  Nest End 
    |- * Frozen * If 
    |Time is After 8:50 AM SMTWTFS 
    |Time is Before 9:00 AM SMTWTFS 
    | * Frozen * Then 
    | * Frozen *   ASCII-Out:'@@irismove.wav' [COM1] 
    |- * Frozen *  Nest End 
    |- * Frozen * If 
    |Time is After 9:00 AM .MTWTF. 
    | * Frozen * Then 
    |  |- * Frozen * If 
    |  |Today is an Even Day of the Month 
    |  | * Frozen * Then 
    |  | * Frozen *   ASCII-Out:'@@chinmove.wav' [COM1] 
    |  |- * Frozen *  Nest End 
    |  |- * Frozen * If 
    |  |Today is an Odd Day of the Month 
    |  | * Frozen * Then 
    |  | * Frozen *   ASCII-Out:'@@scotmove.wav' [COM1] 
    |  |- * Frozen *  Nest End 
    |- * Frozen *  Nest End 
    DELAY  0:00:05 
    Voice:Don't gwy mad..  [Spkr,Line] SYNC 
   * Frozen *   ASCII-Out:'@@goawymad.wav' [COM1] 
    DELAY  0:00:10 
    ASCII-Out:'@@hurry.wav' [COM1] 
    DELAY  0:00:05 
    |-If 
    |Date is After Apr  1 
    |Date is Before June  1 
    |Then 
    |  (HVAC:)  COOL Mode 
    |  (HVAC:)  Set Temp to 74 degrees 
    |- Nest End 
    |-If 
    |Date is After June  1 
    |Date is Before Oct  1 
    |Then 
    |  (HVAC:)  COOL Mode 
    |  (HVAC:)  Set Temp to 73 degrees 
    |- Nest End 
    |-If 
    |Date is Before Apr  1 
    |Date is After Oct  1 
    |Then 
    |  (HVAC:)  HEAT Mode 
    |  (HVAC:)  Set Temp to 66 degrees 
    |- Nest End 
    X10:  (C-6  CD Changer) OFF 
    DELAY  0:00:05 
    (F:Morning)  CLEAR 
    (F:At Home)  CLEAR 
    (F:Away)  SET 
    VM:Incoming Call Monitor - Disabled 
    (T:Security Random) LOAD with 18:00:00 
    (T:Security Random) LOAD with 18:00:00 
  MACRO END 
THEN Macro: All Lights Off 
  MACRO BEGIN   
    |-If 
    |(V:Anna is about...) = 0 
    |(F:Away) is SET 
    |Then 
    |  X10:  (O-12  Christmas Railng) OFF 
    |  X10:  (O-15  Christmas Lights) OFF 
    |  X10:  (O-16  Christmas Tree) OFF 
    |- Nest End 
    X10: B - All Lights OFF 
   * Frozen *   X10:  (B-2  BR Chandelier) OFF 
   * Frozen *   X10:  (B-3  BR Lamps) OFF 
   * Frozen *   X10:  (B-4  BR Accent) OFF 
   * Frozen *   X10:  (B-6  BR Dressing) OFF 
   * Frozen *   X10:  (B-7  BR Bath) OFF 
   * Frozen *   X10:  (B-8  BR Bath Accent) OFF 
   * Frozen *   X10:  (B-9  Center Hall Bath) OFF 
    |-If 
    |(V:Anna is about...) = 0 
    |(F:Away) is SET 
    |Then 
    |  X10:  (D-1  DR Chandelier) OFF 
    |  X10:  (H-4  ) OFF 
    |- Nest End 
   * Frozen *   X10:  (G-3  Guest RM Lamps) OFF 
   * Frozen *   X10:  (G-4  Guest RM Accent) OFF 
    X10: G - All Units OFF 
    X10:  (H-1  Hall Chandelier) OFF 
    X10:  (H-2  Hall Light) OFF 
    X10:  (H-3  Lower Hall Light) OFF 
   * Frozen *   X10:  (I-1  LIB Recessed) OFF 
   * Frozen *   X10:  (I-3  LIB Lamps) OFF 
   * Frozen *   X10:  (I-4  LIB Accent) OFF 
   * Frozen *   X10:  (I-5  LIB Bookcase) OFF 
    X10: I - All Units OFF 
    X10: K - All Lights OFF 
    (RELAY:Library F/ P) OFF  
   * Frozen *   X10:  (L-1  LR Recessed) OFF 
   * Frozen *   X10:  (L-2  LR Recessed/Bear) OFF 
   * Frozen *   X10:  (L-3  LR Lamps) OFF 
   * Frozen *   X10:  (L-4  LR Accent Lights) OFF 
   * Frozen *   X10:  (L-5  LR SR Recessed) OFF 
    X10: L - All Units OFF 
   * Frozen *   X10:  (N-1  BS Recessed 1-C) OFF 
   * Frozen *   X10:  (N-2  BS Recessed 2-D) OFF 
   * Frozen *   X10:  (N-3  BS Fireplace) OFF 
   * Frozen *   X10:  (N-4  BS Accent Lights) OFF 
   * Frozen *   X10:  (N-5  BS Railroad) OFF 
    X10: N - All Units OFF 
    |-If 
    |(V:Anna is about...) = 0 
    |(F:Away) is SET 
    |Then 
    |  X10:  (O-12  Christmas Railng) OFF 
    |  X10:  (O-15  Christmas Lights) OFF 
    |  X10:  (O-16  Christmas Tree) OFF 
    |- Nest End 
  MACRO END 
THEN Macro: All Lights On 
  MACRO BEGIN   
    X10:  (B-2  BR Chandelier) PRE-Set Level  100% 
    X10:  (B-3  BR Lamps) PRE-Set Level  100% 
    X10:  (B-4  BR Accent) PRE-Set Level  100% 
    X10:  (B-6  BR Dressing) PRE-Set Level  90 % 
    X10:  (B-7  BR Bath) PRE-Set Level  87 % 
    X10:  (B-8  BR Bath Accent) PRE-Set Level  84 % 
    X10:  (D-1  DR Chandelier) PRE-Set Level  100% 
    X10:  (G-3  Guest RM Lamps) PRE-Set Level  100% 
    X10:  (G-4  Guest RM Accent) PRE-Set Level  100% 
    X10:  (H-1  Hall Chandelier) PRE-Set Level  100% 
    X10:  (H-2  Hall Light) PRE-Set Level  100% 
    X10:  (H-3  Lower Hall Light) PRE-Set Level  100% 
    X10:  (I-1  LIB Recessed) PRE-Set Level  100% 
    X10:  (I-3  LIB Lamps) PRE-Set Level  100% 
    X10:  (I-4  LIB Accent) PRE-Set Level  100% 
    X10:  (K-1  Kitchen Recessed) PRE-Set Level  100% 
    X10:  (K-2  Kitchen Counter) PRE-Set Level  100% 
    X10:  (K-3  Kitchen Cabinets) PRE-Set Level  100% 
    X10:  (K-4  Kitchen Sink) PRE-Set Level  100% 
    X10:  (L-1  LR Recessed) PRE-Set Level  100% 
    X10:  (L-2  LR Recessed/Bear) PRE-Set Level  100% 
    X10:  (L-3  LR Lamps) PRE-Set Level  100% 
    X10:  (L-4  LR Accent Lights) PRE-Set Level  100% 
    X10:  (L-5  LR SR Recessed) PRE-Set Level  100% 
    X10:  (N-1  BS Recessed 1-C) PRE-Set Level  100% 
    X10:  (N-2  BS Recessed 2-D) PRE-Set Level  100% 
    X10:  (N-3  BS Fireplace) PRE-Set Level  100% 
    X10:  (N-4  BS Accent Lights) PRE-Set Level  100% 
    X10:  (N-5  BS Railroad) PRE-Set Level  100% 
    X10:  (D-1  DR Chandelier) ON 
    X10: B - All Lights ON 
    X10: G - All Lights ON 
    X10: H - All Lights ON 
    X10: I - All Lights ON 
    X10: K - All Lights ON 
    X10: L - All Lights ON 
    X10: N - All Lights ON 
  MACRO END 
THEN Macro: Caller ID Filter 
  MACRO BEGIN   
    |-If 
    |CallerID: 2026162196 
    |CallerID: 3013409268 
    |CallerID: 3014241966 
    |CallerID: 3015879770 
    |CallerID: 3015981657 
    |CallerID: 305357???? 
    |CallerID: 3055396000 
    |CallerID: 3126307970 
    |CallerID: 3126495565 
    |CallerID: 3126499213 
    |CallerID: 4107966375 
    |CallerID: 41085073?? 
    |CallerID: 4106846837 
    |CallerID: 4807560930 
    |CallerID: 6177205214 
    |CallerID: 8042704284 
    |CallerID: 954??????? 
    |  " FAX MACHINE JUNK MAIL " 
    |Then 
    |  Go OFF Hook 
    |  Go ON Hook 
    |  Go ON Hook 
    | * Frozen * Else 
    |  |- * Frozen * If 
    |  |CallerID: 301??????? 
    |  |CallerID: 410??????? 
    |  |CallerID: 703??????? 
    |  |CallerID: 202??????? 
    |  | * Frozen * Then 
    |  |  |- * Frozen * If 
    |  |  |Time is After 9:00 AM SMTWTFS 
    |  |  |Time is Before 10:00 PM SMTWTFS 
    |  |  | * Frozen * Then 
    |  |  | * Frozen *   Voice:ALERT3  [Spkr,Line] SYNC 
    |  |  | * Frozen *   DELAY  0:00:01 
    |  |  | * Frozen *   Voice:ALERT3  [Spkr,Line] SYNC 
    |  |  | * Frozen *   DELAY  0:00:01 
    |  |  | * Frozen *   Voice:ALERT3  [Spkr,Line] SYNC 
    |  |  |- * Frozen *  Nest End 
    |  |- * Frozen *  Nest End 
    |- Nest End 
    |-If 
    |CallerID: Unknown Number 
    |CallerID: Private Number 
    |Then 
    |  (V:Unknown CIDCalls)  INCREMENT 
    |- Nest End 
  MACRO END 
THEN Macro: Holiday Sounds 
  MACRO BEGIN   
    |-If - Always 
    |Date is After Dec  1 
    |(F:Away) is Not SET 
    |Then 
    |  (RELAY:Kitchen SP) ON  
    |  (RELAY:Living Rm SP) ON  
    |  (T:Speakers ON) LOAD with 0:03:00 
    |  |-If 
    |  |(V:Holiday Sounds) = 0 
    |  |Then 
    |  |  ASCII-Out:'@@xmasjing.wav' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |(V:Holiday Sounds) = 1 
    |  |Then 
    |  |  ASCII-Out:'@@dogxmas2.wav' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |(V:Holiday Sounds) = 2 
    |  |Then 
    |  |  ASCII-Out:'@@xmasmed.wav' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |(V:Holiday Sounds) = 3 
    |  |Then 
    |  |  ASCII-Out:'@@holiday1.wav' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |(V:Holiday Sounds) = 4 
    |  |Then 
    |  |  ASCII-Out:'@@dogxmas1.wav' [COM1] 
    |  |- Nest End 
    |  |-If 
    |  |(V:Holiday Sounds) = 5 
    |  |Then 
    |  |  ASCII-Out:'@@xmasbell.wav' [COM1] 
    |  |- Nest End 
    |  (V:Holiday Sounds)  INCREMENT 
    |  |-If 
    |  |(V:Holiday Sounds) > 5 
    |  |Then 
    |  |  (V:Holiday Sounds)  LOAD with 0 
    |  |- Nest End 
    |- Nest End 
    |-If - Always 
    |Date is Oct  31 
    |Time is After 5:00 PM SMTWTFS 
    |Time is Before 9:00 PM SMTWTFS 
    |(F:Away) is Not SET 
    |Then 
    |  (RELAY:FR Yard SP) ON  
    |  (RELAY:Kitchen SP) ON  
    |  (RELAY:Living Rm SP) ON  
    |  (T:Speakers ON) LOAD with 0:01:00 
    |  Voice:SILENCE1 GHOST GHOST  [Line] SYNC 
    |- Nest End 
    |-If - Always 
    |Date is Apr  1 
    |Then 
    |  (RELAY:Kitchen SP) ON  
    |  ASCII-Out:'@@bunnybox.wav' [COM1] 
    |  (T:Speakers ON) LOAD with 0:01:00 
    |- Nest End 
  MACRO END 
THEN Macro: Candlelight 
  MACRO BEGIN   
    (F:Candlelight)  SET 
    X10:  (H-1  Hall Chandelier) OFF 
    X10:  (H-2  Hall Light) OFF 
    X10:  (H-3  Lower Hall Light) OFF 
    X10:  (H-4  ) OFF 
    X10:  (B-2  BR Chandelier) PRE-Set Level  10 % 
    X10:  (B-3  BR Lamps) Set Level  20 % 
    X10:  (B-4  BR Accent) PRE-Set Level  19 % 
    X10:  (B-6  BR Dressing) PRE-Set Level   3 % 
    X10:  (B-7  BR Bath) PRE-Set Level  10 % 
    X10:  (B-8  BR Bath Accent) PRE-Set Level   6 % 
    X10:  (I-11  LIB Scene 50/30%) OFF 
    X10:  (N-11  BS Scene 50/30%) OFF 
    X10:  (D-1  DR Chandelier) PRE-Set Level  10 % 
    X10:  (L-1  LR Recessed) PRE-Set Level  16 % 
    X10:  (L-2  LR Recessed/Bear) PRE-Set Level  19 % 
    X10:  (L-3  LR Lamps) Set Level  20 % 
    X10:  (L-4  LR Accent Lights) Set Level  20 % 
    X10:  (L-5  LR SR Recessed) PRE-Set Level  13 % 
    X10:  (D-1  DR Chandelier) ON 
    X10:  (L-1  LR Recessed) ON 
    X10:  (L-2  LR Recessed/Bear) ON 
    X10:  (L-5  LR SR Recessed) ON 
    X10:  (I-3  LIB Lamps) ON 
    X10:  (I-4  LIB Accent) ON 
    X10:  (B-2  BR Chandelier) ON 
    X10:  (B-3  BR Lamps) ON 
    X10:  (B-6  BR Dressing) ON 
    X10:  (B-7  BR Bath) ON 
    X10:  (B-8  BR Bath Accent) ON 
    ASCII-Out:'@@bearlove.wav' [COM1] 
    (F:Candlelight)  SET 
  MACRO END 
THEN Macro: BR Predim 80% 
  MACRO BEGIN   
    X10:  (B-2  BR Chandelier) PRE-Set Level  77 % 
    (V:MBR Light Levels)  LOAD with 74 
    X10:  (B-3  BR Lamps) PRE-Set Level  77 % 
    X10:  (B-4  BR Accent) PRE-Set Level  71 % 
    X10:  (B-6  BR Dressing) PRE-Set Level  74 % 
    X10:  (B-7  BR Bath) PRE-Set Level  77 % 
    X10:  (B-8  BR Bath Accent) PRE-Set Level  71 % 
    X10:  (B-2  BR Chandelier) ON 
    X10:  (B-3  BR Lamps) ON 
    X10:  (B-4  BR Accent) ON 
    X10:  (B-6  BR Dressing) ON 
    X10:  (B-7  BR Bath) ON 
    X10:  (B-8  BR Bath Accent) ON 
  MACRO END 
THEN Macro: BR Predim 70% 
  MACRO BEGIN   
    X10:  (B-2  BR Chandelier) PRE-Set Level  58 % 
    (V:MBR Light Levels)  LOAD with 55 
    X10:  (B-3  BR Lamps) PRE-Set Level  68 % 
    X10:  (B-4  BR Accent) PRE-Set Level  61 % 
    X10:  (B-6  BR Dressing) PRE-Set Level  52 % 
    X10:  (B-7  BR Bath) PRE-Set Level  58 % 
    X10:  (B-8  BR Bath Accent) PRE-Set Level  55 % 
    X10:  (B-2  BR Chandelier) ON 
    X10:  (B-3  BR Lamps) ON 
    X10:  (B-4  BR Accent) ON 
    X10:  (B-6  BR Dressing) ON 
    X10:  (B-7  BR Bath) ON 
    X10:  (B-8  BR Bath Accent) ON 
  MACRO END 
THEN Macro: BR Predim 50% 
  MACRO BEGIN   
    X10:  (B-2  BR Chandelier) PRE-Set Level  35 % 
    (V:MBR Light Levels)  LOAD with 35 
    X10:  (B-3  BR Lamps) PRE-Set Level  45 % 
    X10:  (B-4  BR Accent) PRE-Set Level  42 % 
    X10:  (B-6  BR Dressing) PRE-Set Level  29 % 
    X10:  (B-7  BR Bath) PRE-Set Level  39 % 
    X10:  (B-8  BR Bath Accent) PRE-Set Level  29 % 
    X10:  (B-2  BR Chandelier) ON 
    X10:  (B-3  BR Lamps) ON 
    X10:  (B-4  BR Accent) ON 
    X10:  (B-6  BR Dressing) ON 
    X10:  (B-7  BR Bath) ON 
    X10:  (B-8  BR Bath Accent) ON 
  MACRO END 
THEN Macro: BR Predim 30% 
  MACRO BEGIN   
    X10:  (B-2  BR Chandelier) PRE-Set Level  16 % 
    (V:MBR Light Levels)  LOAD with 16 
    X10:  (B-3  BR Lamps) PRE-Set Level  19 % 
    X10:  (B-4  BR Accent) PRE-Set Level  16 % 
    X10:  (B-6  BR Dressing) PRE-Set Level   3 % 
    X10:  (B-7  BR Bath) PRE-Set Level   6 % 
    X10:  (B-8  BR Bath Accent) PRE-Set Level   3 % 
    X10:  (B-2  BR Chandelier) ON 
    X10:  (B-3  BR Lamps) ON 
    X10:  (B-4  BR Accent) ON 
    X10:  (B-6  BR Dressing) ON 
    X10:  (B-7  BR Bath) ON 
    X10:  (B-8  BR Bath Accent) ON 
  MACRO END 
THEN Macro: BR All On 
  MACRO BEGIN   
    X10:  (B-2  BR Chandelier) ON 
    X10:  (B-3  BR Lamps) ON 
    X10:  (B-4  BR Accent) ON 
    X10:  (B-6  BR Dressing) ON 
    X10:  (B-7  BR Bath) ON 
    X10:  (B-8  BR Bath Accent) ON 
  MACRO END 
THEN Macro: BR All Off 
  MACRO BEGIN   
    X10:  (B-2  BR Chandelier) OFF 
    X10:  (B-3  BR Lamps) OFF 
    X10:  (B-4  BR Accent) OFF 
    X10:  (B-6  BR Dressing) OFF 
    X10:  (B-7  BR Bath) OFF 
    X10:  (B-8  BR Bath Accent) OFF 
  MACRO END 
THEN Macro: LR Predim 80% 
  MACRO BEGIN   
    X10:  (L-1  LR Recessed) PRE-Set Level  84 % 
    X10:  (L-2  LR Recessed/Bear) PRE-Set Level  100% 
    X10:  (L-3  LR Lamps) PRE-Set Level  87 % 
    X10:  (L-4  LR Accent Lights) PRE-Set Level  84 % 
    X10:  (L-5  LR SR Recessed) PRE-Set Level  74 % 
    X10:  (L-1  LR Recessed) ON 
    X10:  (L-2  LR Recessed/Bear) ON 
    X10:  (L-3  LR Lamps) ON 
    X10:  (L-4  LR Accent Lights) ON 
    X10:  (L-5  LR SR Recessed) ON 
  MACRO END 
THEN Macro: LR Predim 70% 
  MACRO BEGIN   
    X10:  (L-1  LR Recessed) PRE-Set Level  68 % 
    X10:  (L-2  LR Recessed/Bear) PRE-Set Level  87 % 
    X10:  (L-3  LR Lamps) PRE-Set Level  71 % 
    X10:  (L-4  LR Accent Lights) PRE-Set Level  65 % 
    X10:  (L-5  LR SR Recessed) PRE-Set Level  52 % 
    X10:  (L-1  LR Recessed) ON 
    X10:  (L-2  LR Recessed/Bear) ON 
    X10:  (L-3  LR Lamps) ON 
    X10:  (L-4  LR Accent Lights) ON 
    X10:  (L-5  LR SR Recessed) ON 
  MACRO END 
THEN Macro: LR Predim 50% 
  MACRO BEGIN   
    X10:  (L-1  LR Recessed) PRE-Set Level  45 % 
    X10:  (L-2  LR Recessed/Bear) PRE-Set Level  68 % 
    X10:  (L-3  LR Lamps) PRE-Set Level  45 % 
    X10:  (L-4  LR Accent Lights) PRE-Set Level  45 % 
    X10:  (L-5  LR SR Recessed) PRE-Set Level  35 % 
    X10:  (L-1  LR Recessed) ON 
    X10:  (L-2  LR Recessed/Bear) ON 
    X10:  (L-3  LR Lamps) ON 
    X10:  (L-4  LR Accent Lights) ON 
    X10:  (L-5  LR SR Recessed) ON 
  MACRO END 
THEN Macro: LR Predim 30% 
  MACRO BEGIN   
    X10:  (L-1  LR Recessed) PRE-Set Level  13 % 
    X10:  (L-2  LR Recessed/Bear) PRE-Set Level  29 % 
    X10:  (L-3  LR Lamps) PRE-Set Level  26 % 
    X10:  (L-4  LR Accent Lights) PRE-Set Level  23 % 
    X10:  (L-5  LR SR Recessed) PRE-Set Level  10 % 
    X10:  (L-1  LR Recessed) ON 
    X10:  (L-2  LR Recessed/Bear) ON 
    X10:  (L-3  LR Lamps) ON 
    X10:  (L-4  LR Accent Lights) ON 
    X10:  (L-5  LR SR Recessed) ON 
  MACRO END 
THEN Macro: LR All On 
  MACRO BEGIN   
    X10:  (L-1  LR Recessed) ON 
    X10:  (L-2  LR Recessed/Bear) ON 
    X10:  (L-3  LR Lamps) ON 
    X10:  (L-4  LR Accent Lights) ON 
    X10:  (L-5  LR SR Recessed) ON 
  MACRO END 
THEN Macro: LR All Off 
  MACRO BEGIN   
    X10:  (L-1  LR Recessed)  
    X10:  (L-2  LR Recessed/Bear)  
    X10:  (L-3  LR Lamps)  
    X10:  (L-4  LR Accent Lights)  
    X10:  (L-5  LR SR Recessed)  
    X10: L-OFF 
  MACRO END 
THEN Macro: LIB Predim 80% 
  MACRO BEGIN   
    X10:  (I-1  LIB Recessed) PRE-Set Level  100% 
    |-If 
    |X10: (I-5  LIB Bookcase) is not ON  
    |Then 
    |  X10:  (I-5  LIB Bookcase) ON 
    |  X10:  (I-5  LIB Bookcase) OFF 
    |  X10:  (I-5  LIB Bookcase) ON 
    |  X10:  (I-5  LIB Bookcase) OFF 
    |  X10:  (I-5  LIB Bookcase) ON 
    |  X10:  (I-5  LIB Bookcase) OFF 
    |  X10:  (I-5  LIB Bookcase) ON 
    |- Nest End 
    X10:  (I-3  LIB Lamps) PRE-Set Level  81 % 
    X10:  (I-4  LIB Accent) PRE-Set Level  71 % 
    X10:  (I-1  LIB Recessed) ON 
    X10:  (I-3  LIB Lamps) ON 
    X10:  (I-4  LIB Accent) ON 
  MACRO END 
THEN Macro: LIB Predim 70% 
  MACRO BEGIN   
    X10:  (I-1  LIB Recessed) PRE-Set Level  77 % 
    |-If 
    |X10: (I-5  LIB Bookcase) is not ON  
    |Then 
    |  X10:  (I-5  LIB Bookcase) ON 
    |  X10:  (I-5  LIB Bookcase) OFF 
    |  X10:  (I-5  LIB Bookcase) ON 
    |  X10:  (I-5  LIB Bookcase) OFF 
    |  X10:  (I-5  LIB Bookcase) ON 
    |- Nest End 
    X10:  (I-3  LIB Lamps) PRE-Set Level  71 % 
    X10:  (I-4  LIB Accent) PRE-Set Level  71 % 
    X10:  (I-1  LIB Recessed) ON 
    X10:  (I-3  LIB Lamps) ON 
    X10:  (I-4  LIB Accent) ON 
  MACRO END 
THEN Macro: LIB Predim 50% 
  MACRO BEGIN   
    X10:  (I-1  LIB Recessed) PRE-Set Level  55 % 
    |-If 
    |X10: (I-5  LIB Bookcase) is not ON  
    |Then 
    |  X10:  (I-5  LIB Bookcase) ON 
    |  X10:  (I-5  LIB Bookcase) OFF 
    |  X10:  (I-5  LIB Bookcase) ON 
    |- Nest End 
    X10:  (I-3  LIB Lamps) PRE-Set Level  52 % 
    X10:  (I-4  LIB Accent) PRE-Set Level  52 % 
    X10:  (I-1  LIB Recessed) ON 
    X10:  (I-3  LIB Lamps) ON 
    X10:  (I-4  LIB Accent) ON 
  MACRO END 
THEN Macro: LIB Predim 30% 
  MACRO BEGIN   
    X10:  (I-1  LIB Recessed) PRE-Set Level  19 % 
    |-If 
    |X10: (I-5  LIB Bookcase) is not ON  
    |Then 
    |  X10:  (I-5  LIB Bookcase) ON 
    |  X10:  (I-5  LIB Bookcase) OFF 
    |  X10:  (I-5  LIB Bookcase) ON 
    |- Nest End 
    X10:  (I-3  LIB Lamps) PRE-Set Level  23 % 
    X10:  (I-4  LIB Accent) PRE-Set Level  19 % 
    X10:  (I-1  LIB Recessed) ON 
    X10:  (I-3  LIB Lamps) ON 
    X10:  (I-4  LIB Accent) ON 
  MACRO END 
THEN Macro: LIB All On 
  MACRO BEGIN   
    X10:  (I-1  LIB Recessed) ON 
    X10:  (I-3  LIB Lamps) ON 
    X10:  (I-4  LIB Accent) ON 
    X10:  (I-5  LIB Bookcase) ON 
  MACRO END 
THEN Macro: LIB All Off 
  MACRO BEGIN   
    X10:  (I-1  LIB Recessed) OFF 
    X10:  (I-3  LIB Lamps) OFF 
    X10:  (I-4  LIB Accent) OFF 
    X10:  (I-5  LIB Bookcase) OFF 
  MACRO END 
THEN Macro: BM Predim 80% 
  MACRO BEGIN   
    X10:  (N-1  BS Recessed 1-C) PRE-Set Level  81 % 
    X10:  (N-2  BS Recessed 2-D) PRE-Set Level  81 % 
    X10:  (N-3  BS Fireplace) PRE-Set Level  81 % 
    X10:  (N-4  BS Accent Lights) Set Level  80 % 
    X10:  (N-5  BS Railroad) PRE-Set Level  81 % 
    X10:  (N-1  BS Recessed 1-C) ON 
    X10:  (N-2  BS Recessed 2-D) ON 
    X10:  (N-3  BS Fireplace) ON 
    X10:  (N-5  BS Railroad) ON 
  MACRO END 
THEN Macro: BM Predim 70% 
  MACRO BEGIN   
    X10:  (N-1  BS Recessed 1-C) PRE-Set Level  68 % 
    X10:  (N-2  BS Recessed 2-D) PRE-Set Level  68 % 
    X10:  (N-3  BS Fireplace) PRE-Set Level  68 % 
    X10:  (N-4  BS Accent Lights) Set Level  60 % 
    X10:  (N-5  BS Railroad) PRE-Set Level  68 % 
    X10:  (N-1  BS Recessed 1-C) ON 
    X10:  (N-2  BS Recessed 2-D) ON 
    X10:  (N-3  BS Fireplace) ON 
    X10:  (N-5  BS Railroad) ON 
  MACRO END 
THEN Macro: BM Predim 50% 
  MACRO BEGIN   
    X10:  (N-1  BS Recessed 1-C) PRE-Set Level  48 % 
    X10:  (N-2  BS Recessed 2-D) PRE-Set Level  48 % 
    X10:  (N-3  BS Fireplace) PRE-Set Level  48 % 
    X10:  (N-4  BS Accent Lights) Set Level  40 % 
    X10:  (N-5  BS Railroad) PRE-Set Level  48 % 
    X10:  (N-1  BS Recessed 1-C) ON 
    X10:  (N-2  BS Recessed 2-D) ON 
    X10:  (N-3  BS Fireplace) ON 
    X10:  (N-5  BS Railroad) ON 
  MACRO END 
THEN Macro: BM Predim 30% 
  MACRO BEGIN   
    X10:  (N-1  BS Recessed 1-C) PRE-Set Level  29 % 
    X10:  (N-2  BS Recessed 2-D) PRE-Set Level  29 % 
    X10:  (N-3  BS Fireplace) PRE-Set Level  29 % 
    X10:  (N-4  BS Accent Lights) Set Level  30 % 
    X10:  (N-5  BS Railroad) PRE-Set Level  29 % 
    X10:  (N-1  BS Recessed 1-C) ON 
    X10:  (N-2  BS Recessed 2-D) ON 
    X10:  (N-3  BS Fireplace) ON 
    X10:  (N-5  BS Railroad) ON 
  MACRO END 
THEN Macro: GR All On 
  MACRO BEGIN   
    X10:  (G-3  Guest RM Lamps) ON 
    X10:  (G-4  Guest RM Accent) ON 
  MACRO END 
THEN Macro: GR All Off 
  MACRO BEGIN   
    X10:  (G-3  Guest RM Lamps) OFF 
    X10:  (G-4  Guest RM Accent) OFF 
  MACRO END 
THEN Macro: BURGLARY AUDIO 
  MACRO BEGIN   
    (RELAY:Kitchen SP) ON  
    (RELAY:Basement SP) ON  
    ASCII-Out:'@@airraid.wav' [COM1] 
    ASCII-Out:'@@airraid.wav' [COM1] 
    Voice:ACTIVATD VIDEO CAMERA  [Line] SYNC 
    Voice:AUXILIAR SYSTEM STARTED  [Line] SYNC 
    DELAY  0:00:05 
    Voice:POLICE ASSISTNC ENROUTE  [Line] SYNC 
    DELAY  0:00:05 
    Voice:POLICE ASSISTNC ENROUTE  [Line] SYNC 
    DELAY  0:00:05 
    ASCII-Out:'@@getout.wav' [COM1] 
    DELAY  0:00:30 
    ASCII-Out:'@@playgrnd.wav' [COM1] 
    DELAY  0:00:15 
    ASCII-Out:'@@beargrwl.wav' [COM1] 
    ASCII-Out:'@@beargrwl.wav' [COM1] 
  MACRO END 
THEN Macro: Occupancy > Spkr 
  MACRO BEGIN   
    |-If 
    |(T:MBR OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Bedroom SP) ON  
    |- Nest End 
    |-If 
    |(T:LIB OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Library SP) ON  
    |- Nest End 
    |-If 
    |(T:GR OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Guest Rm SP) ON  
    |- Nest End 
    |-If 
    |(T:LR OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Living Rm SP) ON  
    |- Nest End 
    |-If 
    |(T:KIT OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Kitchen SP) ON  
    |- Nest End 
    |-If 
    |(T:BM OCCUPANCY) is Running 
    |Then 
    |  (RELAY:Basement SP) ON  
    |- Nest End 
  MACRO END 
THEN Macro: All Speakers Off 
  MACRO BEGIN   
    (RELAY:Basement SP) OFF  
    (RELAY:Kitchen SP) OFF  
    (RELAY:Living Rm SP) OFF  
    (RELAY:Bedroom SP) OFF  
    (RELAY:Library SP) OFF  
    (RELAY:Guest Rm SP) OFF  
    (RELAY:Deck SP) OFF  
    (RELAY:FR Yard SP) OFF  
  MACRO END 

X10 DEVICES
Name             H  U Location         Description                      Init Type F R P
---------------------------------------------------------------------------------------
on 65* / off 73* A  1 HVAC             Send Setpoint                    REMT     P
on 66* / off 74* A  2 HVAC             Send Setpoint                    REMT     P
on 67* / off 75* A  3 HVAC             Send Setpoint                    REMT     P
on 68* / off 76* A  4 HVAC             Send Setpoint                    REMT     P
on 69* / off 77* A  5 HVAC             Send Setpoint                    REMT     P
on 70* / off 78* A  6 HVAC             Send Setpoint                    REMT     P
on 71* / off 79* A  7 HVAC             Send Setpoint                    REMT     P
on 72* / off 80* A  8 HVAC             Send Setpoint                    REMT     P
Heat On          A  9 HVAC             Heat on / System off             REMT     P
A/C On           A 10 HVAC             A/C on / System off              REMT     P
Auto On          A 11 HVAC             Auto on / System off             REMT     P
Fan On           A 12 HVAC             Fan on / Fan off                 REMT     P
Setback 8*/Off   A 13 HVAC             Setback: 8* Heat(-) AC(+)  /OFF  REMT      
Setback 6*/12*   A 14 HVAC             Setback: 6*/12* Heat(-) AC(+)    REMT      
Setback 8*/14*   A 15 HVAC             Setback: 8*/14* Heat(-) AC(+)    REMT      
Setback 10*/16*  A 16 HVAC             Setback: 10*/16* Heat(-) AC(+)   REMT      
BR Alarm Clock   B  1 Bear Bedroom     Bear Bedroom Alarm Clock Trigger LAMP     P
BR Chandelier    B  2 Bear Bedroom     Bear Bedroom Chandelier              P
BR Lamps         B  3 Bear Bedroom     Bear Bedroom Lamps                   P
BR Accent        B  4 Bear Bedroom     Bear Bedroom Accent Lamps            P
BR Alarm Clock 2 B  5                                                   LAMP     P
BR Dressing      B  6 Bear Dressing Rm Bear Dressing Room Spots             P
BR Bath          B  7 Bear Bathroom    Bear Bathroom Sconce Lamps           P
BR Bath Accent   B  8 Bear Bathroom    Bear Bathroom Frieze Spots           P
Center Hall Bath B  9 Upstairs CtrBath Center Hallway Bathroom            R P
BR Scene 80/70%  B 10 TouchLinc Macro  Bedroom Scene Dim                APPL      
BR Scene 50/30%  B 11 TouchLinc Macro  Bedroom Scene Dim 2              APPL      
                 B 12                                                   LAMP      
                 B 13                                                   LAMP      
                 B 14                                                   APPL      
Bear's a.m Radio B 15 Kitchen          Anna's kitchen radio             APPL     P
                 B 16                                                   LAMP F    
Foyer: Welc/Away C  1 Foyer Mini Cont. Foyer Welcome / Away             REMT     P
Foyer: Outsd Lts C  2 Foyer Mini Cont. Foyer: All Outside on / off      REMT     P
MBR: Lights/Off  C  3 MBR Mini Cont.   MBR: Light Scenes(seq) / Off     REMT     P
MBR: Candle/Bed  C  4 MBR Mini Cont.   MBR: Candlelight / Bedtime       REMT     P
                 C  5                                                   REMT F    
CD Changer       C  6 Audio Source     CD Changer #1                    APPL     P
Smack EVA        C  7 Touchlinc Panel  Resets the House when EVA freaks REMT     P
                 C  8                                                   REMT      
                 C  9                                                   REMT      
                 C 10                                                   REMT      
VM Monitor       C 11 Voice-Mail       Toggles Monitor On / Off         REMT      
VM DELETE        C 12 Voice-Mail       Macro DELETES current msg        REMT      
VM FFWD / REW    C 13 Voice-Mail       Toggles 5 sec Fwd / Rev          REMT      
VM Next / Replay C 14 Voice-Mail       Toggles Next msg / Replay msg    REMT      
VM Play New/All  C 15 Voice-Mail       Toggles play New / All msgs      REMT      
VM #msg / CID ?  C 16 Voice-Mail       Toggles # of Msgs & CID info?    REMT      
DR Chandelier    D  1 Dining Room      Dining Room Chandelier               P
                 D  2                                                   LAMP      
                 D  3                                                   LAMP      
                 D  4                                                   LAMP      
                 D  5                                                   LAMP      
                 D  6                                                   LAMP      
HVAC Temp/Setp   D  7 Touchlinc Panel  HVAC Temp & Setpoint request     IDLE APPL      
Weather MSG      D  8 Touchlinc Panel  Weather Call Pictogram           IDLE APPL      
MotionSensor MSG D  9 Touchlinc Panel  Motion Detected Message          IDLE APPL      
ALARM!! MSG      D 10 Touchlinc Panel  ALARM CONDITION Message          IDLE APPL      
Security MSG     D 11 Touchlinc Panel  Security Armed                   IDLE APPL      
Security/BP MSG  D 12 Touchlinc Panel  Security Armed - Interior Bypass IDLE APPL      
Bedtime MSG      D 13 Touchlinc Panel  Bedtime Display Message          IDLE APPL      
Bedtime/S MSG    D 14 Touchlinc Panel  Bedtime Display - NOT ARMED Msg. IDLE APPL      
Good Morning MSG D 15 Touchlinc Panel  Good Morning Display Message     IDLE APPL      
Welcome MSG      D 16 Touchlinc Panel  Welcome Home Display Message     IDLE APPL      
S-Basement Door  E  1 Security Panel                                    IDLE APPL     P
S-Basement Win   E  2 Security Panel                                    IDLE APPL     P
S-Basement GBS   E  3 Security Panel                                    IDLE APPL     P
S-Basement PIR   E  4 Security Panel                                    IDLE APPL     P
S-LR Rear Win    E  5 Security Panel                                    IDLE APPL     P
S-LR Side Win    E  6 Security Panel                                    IDLE APPL     P
S-Basement SDet  E  7 Security Panel                                    IDLE APPL     P
S-Hall SDet      E  8 Security Panel                                    IDLE APPL     P
S-Front Door     E  9 Security Panel                                    IDLE APPL     P
S-Foyer PIR      E 10 Security Panel   <not activated due to timing>    IDLE APPL     P
S-LR Door        E 11 Security Panel                                    IDLE APPL     P
S-LR GBS         E 12 Security Panel                                    IDLE APPL     P
S-Kitchen Win    E 13 Security Panel                                    IDLE APPL     P
S-Kitchen GBS    E 14 Security Panel                                    IDLE APPL     P
S-ARM  /  DISARM E 15 Security Panel                                     OFF APPL     P
  NOT USED       E 16 Security Panel                                    IDLE APPL      
                 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    
                 F 10                                                   LAMP F    
                 F 11                                                   LAMP F    
                 F 12                                                   LAMP F    
                 F 13                                                   LAMP F    
                 F 14                                                   LAMP F    
BURG ALARM TEST  F 15                  BURGULARY ALARM EVENT TEST SEQ.  APPL      
FIRE ALARM TEST  F 16                  FIRE ALARM EVENT TEST SEQUENCE   APPL      
                 G  1                                                   LAMP F    
                 G  2                                                   LAMP F    
Guest RM Lamps   G  3 Guest Room       Guest Room Lamps                     P
Guest RM Accent  G  4 Guest Room       Guest Room Accent Lights             P
Guest RM Macro   G  5 Guest Room       Guest Room Macro Trigger         REMT      
                 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    
Hall Chandelier  H  1 Upstairs Hallway Upstairs Hallway Chandelier       OFF     P
Hall Light       H  2 Entrance Foyer   Entryway Chandelier               OFF     P
Lower Hall Light H  3 Downstairs Hall  Downstairs Hallway Chandelier     OFF     P
                 H  4                                                   LAMP F    
Powder Room      H  5 Powder Room      Foyer Powder Room                    P
                 H  6                                                   LAMP F    
                 H  7                                                   LAMP F    
                 H  8                                                   LAMP F    
                 H  9                                                   LAMP F    
                 H 10                                                   LAMP F    
                 H 11                                                   LAMP F    
                 H 12                                                   LAMP F    
                 H 13                                                   LAMP F    
                 H 14                                                   LAMP F    
HUB HVAC Booster H 15 HUB              HUB HVAC (A/C) Booster Fan       APPL     P
HUB Exhaust Blwr H 16 HUB              HUB heat Exhaust Venting Blower  APPL     P
LIB Recessed     I  1 Library          Library Recessed Lighting            P
                 I  2                                                   LAMP F    
LIB Lamps        I  3 Library          Library Lamps                        P
LIB Accent       I  4 Library          Library Accent Lights                P
LIB Bookcase     I  5 Library          Library Bookcase                 APPL     P
                 I  6                                                   LAMP      
LIB Fireplace    I  7 Library          Library Fireplace Relay           OFF APPL   R P
                 I  8                                                   LAMP      
                 I  9                                                   LAMP      
LIB Scene 80/70% I 10 TouchLinc Macro  LIB Scene Dim Preset             APPL      
LIB Scene 50/30% I 11 TouchLinc Macro  LIB Scene Dim Preset 2           APPL      
                 I 12                                                   LAMP      
                 I 13                                                   LAMP      
                 I 14                                                   LAMP      
                 I 15                                                        
                 I 16                                                   LAMP      
Send SP 4*-35*   J  1 HVAC             Send Setpoint 4*-35*                  
Send SP 36*-67*  J  2 HVAC             Send Setpoint 36*-67*                 
Send SP 68*-99*  J  3 HVAC             Send Setpoint 68*-99*                 
Send Command     J  4 HVAC             OFF/HEAT/COOL/AUTO/FAN...             
Request Status   J  5 HVAC             Temp/SP/Mode/Fan/SB mode & delta      
Report Status    J  6 HVAC             Off/Heat/Cool/Auto/Fan/SB/ * CHG      
                 J  7                                                        
                 J  8                                                        
Send SP 100-127* J  9 HVAC             Send Setpoint 100*-127*               
ECHO             J 10 HVAC             ECHO                                  
Report -60 -29*  J 11 HVAC                                                   
Report -28 - 3*  J 12 HVAC                                                   
Report 4-35*     J 13 HVAC                                                   
Report 36-67*    J 14 HVAC                                                   
Report 68-99*    J 15 HVAC                                                   
Report 100-131*  J 16 HVAC                                                   
Kitchen Recessed K  1 Kitchen          Main Recessed Lighting               P
Kitchen Counter  K  2 Kitchen          Island pendants                      P
Kitchen Cabinets K  3 Kitchen          Undercabinet lighting                P
Kitchen Sink     K  4 Kitchen          Undercabinet lighting - sink         P
                 K  5                                                   REMT F    
                 K  6                                                   REMT F    
                 K  7                                                   REMT F    
                 K  8                                                   REMT F    
                 K  9                                                   REMT F    
                 K 10                                                   REMT F    
                 K 11                                                   REMT F    
                 K 12                                                   REMT F    
                 K 13                                                   REMT F    
                 K 14                                                   REMT F    
                 K 15                                                   REMT F    
                 K 16                                                   REMT F    
LR Recessed      L  1 Living Room      Living Room Recessed Lighting        P
LR Recessed/Bear L  2 Living Room      Molly's Recessed Light               P
LR Lamps         L  3 Living Room      Living Room Lamps                    P
LR Accent Lights L  4 Living Room      Living Room Up-Lights                P
LR SR Recessed   L  5 Living Room      LR Sitting Room Recessed Lights      P
LR Scene 80/70%  L  6 TouchLinc Macro  LR Scene Dim Preset              APPL      
LR Scene 50/30%  L  7 TouchLinc Macro  LR Scene Dim Preset 2            APPL      
LR REM Bedtime   L  8 LR Remote        LR Remote Bedtime Macro          LAMP      
                 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                                                   REMT F    
Welcome Home     M  1 Touchlinc Panel  Welcome Home Macro               APPL     P
Good Morning     M  2 Touchlinc Panel  Good Morning Macro               APPL     P
Bedtime          M  3 Touchlinc Panel  Bedtime Macro                    APPL     P
Candlelight      M  4 Touchlinc Panel  Candlelight Macro                APPL     P
Away             M  5 Touchlinc Panel  Away Macro                       APPL     P
SECURITY         M  6 Touchlinc Panel  Security Macro                   APPL     P
Entertain        M  7 Touchlinc Panel  Entertain Macro                  APPL     P
All On/Off 1stFL M  8 Touchlinc Panel  All On / Off Macro - 1st Floor   APPL      
All On/Off MBR   M  9 Touchlinc Panel  All On / Off Macro - Bedroom     APPL      
All On/Off Base  M 10 Touchlinc Panel  All On / Off Macro - Basement    APPL      
All On/Off Lib   M 11 Touchlinc Panel  All On / Off Macro - Library     APPL      
Wthr BRonLIBoff  M 12 Touchlinc Panel  Calls Weather to BR -or-LIB      APPL      
Wthr LRonBMoff   M 13 Touchlinc Panel  Calls Weather to LR -or- BM      APPL      
PIR Timer Freeze M 14 Touchlinc Panel  Freezes / Unfreezes PIR Timers   APPL      
System Status    M 15 Touchlinc Panel  Plays System Status Macro        APPL      
Movietime !!     M 16 Touchlinc Panel  Movietime Scene Macro            APPL      
BS Recessed 1-C  N  1 Touchlinc Panel  Basement Recessed Corners            P
BS Recessed 2-D  N  2 Touchlinc Panel  Basement Recessed Diamond            P
BS Fireplace     N  3 Touchlinc Panel  Basement Fireplace Lighting          P
BS Accent Lights N  4 Touchlinc Panel  Basement Accent Lights           LAMP     P
BS Railroad      N  5 Touchlinc Panel  Railroad Lighting                    P
BS Utility Room  N  6 Basement         Basement Utility Room            APPL     P
BS Laundry Room  N  7 Basement         Basement Laundry                 APPL     P
                 N  8                                                   LAMP F    
                 N  9                                                   LAMP F    
BS Scene 80/70%  N 10 Touchlinc Panel  Basement Scene Dim               APPL      
BS Scene 50/30%  N 11 Touchlinc Panel  Basement Scene Dim 2             APPL      
                 N 12                                                   LAMP F    
                 N 13                                                   LAMP F    
                 N 14                                                   LAMP      
                 N 15                                                   LAMP F    
                 N 16                                                   LAMP F    
Front Light      O  1 Front Door       Front Entryway Outside Light         P
Rear Deck Light  O  2 Deck             Deck Entryway Outside Lights         P
Rear Patio Light O  3 Patio            Patio Entryway Outside Light         P
Patio Floods     O  4 Patio            Patio Security Floodlights       LAMP     P
Stair Floods     O  5 Stair            Stair Security Foodlights        LAMP     P
F Outside Outlet O  6 Front Porch      Front Outdoor Outlet             APPL     P
R Outside Outlet O  7 Deck & Patio     Rear Outdoor Outlets/ Deck&Patio APPL     P
ALLOutsideOn/Off O  8                                                   APPL      
Deck Lights      O  9 Deck             Deck Accent Lighting                 P
Front Garden Lts O 10 Front Garden     Garden Nightlighting             APPL   R P
Rear Garden Lts  O 11 Rear/Side Garden Garden Nightlighting             APPL   R P
Christmas Railng O 12 Main Stairway    Christmas Railing on Stairway        P
Christmas (Frnt) O 13 Tree / Bushes    Christmas Lights -Front of House APPL     P
Christmas (Deck) O 14 Deck Railings    Christmas Lights -Rear of House  APPL     P
Christmas Lights O 15 TBD              To Be Defined                    APPL     P
Christmas Tree   O 16 Christmas Tree   Christmas Tree Lights            APPL     P
L1R: LR 90%/70%  P  1                  Level 1 remote: LR scenes        REMT      
L1R: LR 50%/30%  P  2                  Level 1 remote: LR scenes        REMT      
L1R: LR On/Off   P  3                  Level 1 remote: LR all on / off  REMT      
L1R: Dining Rm   P  4                  Level 1 remote: Dining room      REMT      
L1R: Outside     P  5                  Level 1 remote: Outside Lights   REMT      
L1R: Foyer       P  6                  Level 1 remote: Foyer Light      REMT      
L1R: ENT/Candle- P  7                  Level 1 remote: Entertain/Candle REMT      
L1R: PANIC/welc  P  8                  Level 1 remote: Panic/Welcome    REMT      
L2R: BR 90%/70%  P  9                  Level 2 remote: BR scenes        REMT      
L2R: BR 50%/30%  P 10                  Level 2 remote: BR scenes        REMT      
L2R: BR On/Off   P 11                  Level 2 remote: BR all on / off  REMT      
L2R: LIB 70%/50% P 12                  Level 2 remote: Library scenes   REMT      
L2R: Outside     P 13                  Level 2 remote: Oustside Lights  REMT      
L2R: Hall Chand. P 14                  Level 2 remote: Hall Chandelier  REMT      
L2R: ENT/Candle- P 15                  Level 2 remote: Entertain/Candle REMT      
L2R: PANIC/welc  P 16                  Level 2 remote: Panic/Welcome    REMT      
TIMERS
Name            Description 
----------------------------------------------- 
Library PIR      PIR timer for Library            
Living Room PIR  PIR timer for Living Room        
Main Stairwy PIR PIR timer for Main Stairway      
Master BR PIR    PIR timer for Master Bedroom     
Dressing RM PIR  PIR timer for Dressing Room      
Master Bath PIR  PIR timer for Master Bath        
Powder Room PIR  PIR timer for Powder Room        
Powder Rm PIR BU PIR timer BACKUP for Powder Room 
Guest Room PIR   PIR timer for Guest Room         
Lwr Stairway PIR PIR timer for Lower Stairway     
Laundry Room PIR PIR timer for Laundry Room       
Utility Room PIR PIR timer for Utility Room       
CtrHall Bath PIR PIR timer for center hall bath   
Basement PIR     PIR timer for Basement           
Kitchen PIR      PIR timer for Kitchen            
Dining Room PIR  PIR timer for Dining Room        
FR Security PIR  PIR timer for front yard & beam  
RR Security PIR  PIR timer for deck/patio & beam  
LIB OCCUPANCY    Short-term Occupancy Detection S 
GR OCCUPANCY     Short-term Occupancy Detection S 
LR OCCUPANCY     Short-term Occupancy Detection S 
KIT OCCUPANCY    Short-term Occupancy Detection S 
BM OCCUPANCY     Short-term Occupancy Detection S 
MBR OCCUPANCY    Short-term Occupancy Detection S 
Bedtime Dim      Slowly Dims Bedtime Lights       
Security Random  Random Security Delay Timer      
Powder Room OCC  Powder Room Occupancy Var.       
Speakers ON      Turns speakers off when expiring 
Foyer Light      Foyer Light Timer                
Doorbell         Doorbell Response Timer          
FIRE ALARM !!    Fire Alarm Timer                 
BURG ALARM !!    Burglary Alarm Timer             
Time Labels 
----------------------------------------------- 
Name: DUSK 
Description: 45 Minutes Before Sunset 
Time Based on: Sunset minus(-) 0:45 
Name: DAWN 
Description: 1 Hour 15 Mins Before Sunrise 
Time Based on: Sunrise minus(-) 1:15 

Flag Devices
Name            Description                    Inital Value 
----------------------------------------------------------- 
Bedtime                                           CLEAR 
Security ARMED                                    CLEAR 
Morning                                           CLEAR 
SecurityDISARMED                                  SET 
Away                                              CLEAR 
At Home                                           CLEAR 
Candlelight                                       CLEAR 
Entertain                                         CLEAR 
BubbleBath                                        CLEAR 
Powder Rm Occup-                                  CLEAR 
INTERCOM                                          CLEAR 
CO PAGING                                         CLEAR 
FREEZE PIR TIMER                                  CLEAR 
KNOWN CID #                                       CLEAR 
Ctr Bath Shower                                   CLEAR 
CO >spkr connect                                  CLEAR 
Unknown CID #                                     CLEAR 
MovieTime!                                        CLEAR 
Deck via SGDoor                                   CLEAR 
Patio via SGDoor                                  CLEAR 
Bear is Away...                                   CLEAR 
Misc Company                                      CLEAR 
MA & PA Visit                                     CLEAR 
Doug/Kathy Visit                                  CLEAR 
Darlene Visit                                     CLEAR 
Anna's Mom Visit                                  CLEAR 
FREEZE UTIL PIR                                   CLEAR 
Variables
Name            Description                    Inital Value
----------------------------------------------------------- 
Bedroom Lights   Master Bedroom Light Scene (seq)     0 
MBR Light Levels                                      0 
Weather Report   Weather Report Playback Status       0 
Christmas Tree   Christmas Tree verify variable       0 
Anna is about... Anna is awake & about the house      0 
Main Stairwy OCC Main Stairway Occupancy Var.         0 
Lwr Stairwy OCC  Lower Stairway Occupancy Var.        0 
Powder Room OCC  Powder Room Occupancy Var.           0 
CtrHall Bath OCC Center Hall Bath Occupancy Var.      0 
Sunset Msg Play                                       0 
Doorbell         Counts Dailly Doorbell Inputs        0 
Telephone Calls  Counts Daily Telephone Calls         0 
HVAC Setpoint    Loads value of HVAC Setpoint         0 
HVAC Temp        Loads value of HVAC Temp             0 
Front Yd Motion  Counts Daily Front Yd Motion Evt     0 
Deck Motion      Counts Daily Deck Motion Events      0 
Patio Motion     Counts Daily Patio Motion Events     0 
Vaca Doorbell    Counts Total Doorbell Inputs         0 
Vaca Telephone   Counts Total Telephone Calls         0 
Daily High Temp  Logs daily high temperature          0 
Daily Low Temp   Logs daily low temperature           0 
Outside Temp     Outside Temperature                  0 
Unknown CIDCalls Counts Unknown Calls each day        0 
Anna's Mom Call  Counts when Anna's Mom calls         0 
Doug/Kathy Call  Counts when Doug & Kathy call        0 
Ma/Pa Call       Counts when Ma & Pa call             0 
Darlene Call     Counts when Darlene calls            0 
Goodnight Random Random Goodnight Messages            0 
Welcome Random   Random Welcome Home Messages         0 
Departures       Counts Daily Departures (Arming)     0 
Bear is away     Bear is away - one-time messages     0 
Goodmorn Random  Random Good Morning Messages         0 
Birdies... cute? Random "birdies... how cute"         0 
Spider           Counts "Itsy bitsy spider" plays     0 
Holiday Sounds   Rotates among Holiday sounds         0 
Visitor Count    Counts Custom Greeting for Guest     0 
Fr Yd PIR Count  Keeps E frm reacting to thermals     0 
TCM+
----------------------------------------------------------- 
Digitial In-1: PowderRM PIR     Digitial In- 9: Dress(E) PIR     Relay-1: Library F/ P    
Digitial In-2: LBMHall PIR      Digitial In-10: Kit Cntr PIR     Relay-2: FR Yard SP      
Digitial In-3: UBMHal PIR       Digitial In-11: Kit Sink PIR     Relay-3: Basement SP     
Digitial In-4: LHall PIR        Digitial In-12: Kitchen1 PIR     Relay-4: Kitchen SP      
Digitial In-5: UHall PIR        Digitial In-13: Kitchen2 PIR     Relay-5: Living Rm SP    
Digitial In-6: Guest(E) PIR     Digitial In-14: !! FIRE !!       Relay-6: Bedroom SP      
Digitial In-7: Lib (E) PIR      Digitial In-15: Security ARM     Relay-7: Library SP      
Digitial In-8: MBR (E) PIR      Digitial In-16: ! BURGLARY !     Relay-8: Guest Rm SP     
A/D-1: Bedroom TEMP     Gain = 44   Offset = 0
A/D-2: Kitchen TEMP     Gain = 44   Offset = 0
A/D-3: Basemnt TEMP     Gain = 44   Offset = 0
A/D-4: Deck TEMP        Gain = 44   Offset = 0
A/D-6: 2nd FL TEMP      Gain = 2   Offset = 0
A/D-7: Outside TEMP     Gain = 2   Offset = 0
A/D-8: Hub TEMP         Gain = 2   Offset = 0
IO-Xpander-1
----------------------------------------------------------- 
Digitial In-1: Laundry PIR      Digitial In- 9: GR 2 PIR         Relay-1: LL FR Left      
Digitial In-2: LIB PIR          Digitial In-10: Dress PIR        Relay-2: LL FR Right     
Digitial In-3: LIB2 PIR?        Digitial In-11: Bubbles PIR      Relay-3: LL FR Tree      
Digitial In-4: ------------     Digitial In-12: MBR /Rec PIR     Relay-4: LL RR Patio     
Digitial In-5: Utility PIR      Digitial In-13: MBR /Bed PIR     Relay-5:                 
Digitial In-6: BM /FP PIR       Digitial In-14: HBath(E) PIR     Relay-6: LL Side         
Digitial In-7: BM /Door PIR     Digitial In-15: HBathDoorMRS     Relay-7:                 
Digitial In-8: GR 1 PIR         Digitial In-16: MBathDoorMRS     Relay-8: Deck SP         

IO-Xpander-2
----------------------------------------------------------- 
Digitial In-1:                  Digitial In- 9: Fr Yd PIR        Relay-1: HUB HVAC        
Digitial In-2: Deck PIR         Digitial In-10: Fr Yd (TAMP)     Relay-2:                 
Digitial In-3: Deck (TAMP)      Digitial In-11: Living RM 1      Relay-3:                 
Digitial In-4: Patio PIR        Digitial In-12: Living RM 2      Relay-4:                 
Digitial In-5: Patio (TAMP)     Digitial In-13: Dining RM        Relay-5:                 
Digitial In-6: Beam Sensor?     Digitial In-14:                  Relay-6:                 
Digitial In-7: Beam (TAMP)?     Digitial In-15:                  Relay-7:                 
Digitial In-8: Doorbell         Digitial In-16:                  Relay-8:                 

IO-Xpander-3
----------------------------------------------------------- 
Digitial In-1:                  Digitial In- 9:                  Relay-1:                 
Digitial In-2:                  Digitial In-10:                  Relay-2:                 
Digitial In-3:                  Digitial In-11:                  Relay-3:                 
Digitial In-4:                  Digitial In-12:                  Relay-4:                 
Digitial In-5:                  Digitial In-13:                  Relay-5:                 
Digitial In-6:                  Digitial In-14:                  Relay-6:                 
Digitial In-7:                  Digitial In-15:                  Relay-7:                 
Digitial In-8:                  Digitial In-16:                  Relay-8:                 

IO-Xpander-4
----------------------------------------------------------- 
Digitial In-1:                  Digitial In- 9:                  Relay-1:                 
Digitial In-2:                  Digitial In-10:                  Relay-2:                 
Digitial In-3:                  Digitial In-11:                  Relay-3:                 
Digitial In-4:                  Digitial In-12:                  Relay-4:                 
Digitial In-5:                  Digitial In-13:                  Relay-5:                 
Digitial In-6:                  Digitial In-14:                  Relay-6:                 
Digitial In-7:                  Digitial In-15:                  Relay-7:                 
Digitial In-8:                  Digitial In-16:                  Relay-8:                 

DI-Xpander-1
----------------------------------------------------------- 
DI-Xpander-2
----------------------------------------------------------- 
DI-Xpander-3
----------------------------------------------------------- 
DI-Xpander-4
----------------------------------------------------------- 
RO-Xpander-1
----------------------------------------------------------- 
RO-Xpander-2
----------------------------------------------------------- 
RO-Xpander-3
----------------------------------------------------------- 
RO-Xpander-4
-----------------------------------------------------------