07-26-2010, 09:46 AM
[user=1859]peteryandeh[/user] wrote: Please Quote this product
Quote:[user=1]slychiu[/user] wrote:Quote:That is a good example of the programmable power of Comfort
The attached cclx file shows how it can be done (and this is not the only way to do it)
Time Program 1 is set at 11:30 PM or any starting time that you want - it sets Flag 1
Time Program 2 is programmed at 6:00 AM or any time you prefer - it clears Flag 1. So Flag 1 is on between 11:30 PM and 6 AM
Time Program 1 Response = Set Flag Flag01
Time Progran 2 Response = Clear Flag Flag01
Zone 8 (or any zone you prefer) is programmed as a Night /Away Zone Type, with On Response which starts a Timer for 30 minutes or any interval you choose. Hence every time to PIR detects movement it starts a 30 minutes timer. At the end of the time, it calls another Response Autoarm to Night if Flag 1 is on AND Security is Off
Zone 8 Response:
Do AutoarmToNightIf After 1800 Seconds Using Timer10
Timer 10 is the timer used (out of 64 timers)
Autoarmto Night Response=
If Flag Flag01 <> 0 And SecurityMode = SecurityOff Then
AutoArm NightMode
End If
Hence whenever there is no motion at the zone for 30 minutes, the timed response checks a flag which determines if the time is between 11:30 PM and 6 AM and system is not armed, and auto-arms to Night Mode
This can be extended to check more than 1 zone for movement but I will leave that as anothr exercise

