|
|
|
John Davis- Schedule Back to the Archive index 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) O |