![]() |
|
Scheduled Auto-arming when there no movement for 30 minutes - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Support (https://www.comfortforums.com/forum-2.html) +--- Forum: Questions on Programming Comfort (https://www.comfortforums.com/forum-83.html) +--- Thread: Scheduled Auto-arming when there no movement for 30 minutes (/thread-1922.html) Pages:
1
2
|
- peteryandeh - 07-26-2010 [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 - lwillerton - 03-28-2012 Hi All. I have just had a thought about autoarm and would be intrested in your thoughts. Same as above set and clear a flag via a time program. Run a time delay response that would auto arm on a PIR in the hall for example (guess you want the most active route to trigger this that is part of the entry exit). so the code I am testing will look somethink like this: Time Program 1 set flag 17:00 2 clear flag 23:29 PIR 1,2,3,4 as many as you want I guess Do nothing after 1800seconds using timer 2 Entry/exit PIR or contact switch Do autoarm after 2000 seconds AutoArm Response If timer 2 = 0 and flag 1 <>0 autoarm away else do AutoArm Response after x seconds I have a night mode set and unset between 23:30 and 8:30 everyday and an away mode set mon - friday 9:00 My weekness is between 17:00 - 23:30 weekdays and 8:30 - 23:30 weekends as I am likley to rush in and out without setting the alarm so autoarm would be great to cover this Regards Lee - lwillerton - 03-28-2012 Oh....Would the other way to get PIR\'s to simply stop the autoarm timer? - ident - 03-30-2012 When the exit contact/PIR is opened, after 2000 seconds it would arm to Night if there is motion and to away if no motion I am not sure if this is what you want? It also depends on whether it is Contact or PIR and where it is placed as to how practical it is If it is a motion sensor then you may trigger it even when you do not want to arm If it is an entry door opening then you need to check that the door closed as well so the timeer should start when the door open then close again - lwillerton - 06-04-2012 Hi All, I have a few auto arm settings which I have been trying to update. 1. At X time pm I have an auto arm to night mode. However, if we are not at home and the alarm state is away mode what I am finding is the system downgrades its state to night mode. The code is: If security = off or if security = day mode Do autoarm NightMode (which just is simply auto arm night mode) I want it to arm the system to night mode if no alarm is set. But I donââ¬â¢t want it to change to a low status if no-one is in. Two Questions here:[/i] Why does the system downgrade itââ¬â¢s status from away to night mode at 11:30?[/i] Why does the mode change to day mode after 11:30 if night mode is set? (see next item below)[/i] 2. Obviously this leads on to another problem, if we came in later than the timed program is set to run we would turn the alarm off and might go straight to bed without resetting. I have a trigger set against the lounge / master bed PIR that runs for x seconds then it sets the alarm, unless one of the other PIRââ¬â¢s in the house is triggered which stops the timer. This has been working fine for setting the system to day mode but I wanted to extend this to cover the late nights in. The way I set this up originally was to cover times when I sit in the lounge / master bedroom for a period the system armed to day mode. I have a command set against all other PIR so that when day mode is set they announce their zone name. The code is: Do auto arm after X second If hours >23 and <8 and security = off Do auto arm night mode Else Do auto arm day mode. Why is this arming as day mode rather than night mode during the 23 ââ¬â 8 period?[/i] If night mode has been set why does the system change to day mode?[/i] Cheers[/i] Lee[/i] - ident - 06-05-2012 There is an error in your logic which I remember has been mentioned before in another post elsewhere [font=\"Calibri\"][size=\"3\"]Do auto arm after X second[/size][/font] [font=\"Calibri\"][size=\"3\"]If hours >23 and <8 and security = off[/size][/font] [font=\"Calibri\"][size=\"3\"]Do auto arm night mode [/size][/font] [font=\"Calibri\"][size=\"3\"]Else [/size][/font] [font=\"Calibri\"][size=\"3\"]Do auto arm day mode.[/size][/font] End if [size=\"3\"][font=\"Calibri\"]Why is this arming as day mode rather than night mode during the 23 ââ¬â 8 period?[/font][/size] \"Hours\" is a number between 0 and 23 inclusive [font=\"Calibri\"][size=\"3\"]The statement If hours >23 and <8 [/size][/font]is never true If Hours is > 23 then it can never be < 8 Another problem is Hours cannot be > 23, because at midnight Hours is 0. Remember \"Hours\" is from 0 to 23 You can use Hours >= 23 for time later than 11 PM If you intend later than midnight then you can remove that condition completely as Hours is always > 0 If you need 11 PM to 8 PM the correct code is [font=\"Calibri\"][size=\"3\"]If hours >=23 OR hours <8 [/size][/font] For midnight to 8 PM the correct code is If Hours < 8 I hope this explains it better - lwillerton - 06-05-2012 Cheers Ident...... I am sure your right now I have seen your reply I remember posting a similar question before. Hopefully, I can get it to stick in my brain this time :-) |