C Martin Posted October 5, 2007 Posted October 5, 2007 Is this a good example of a "Timed Security" type of program? Security GoodNite Pgm If Time is 11:00:00PM Then Wait 20 minutes (Random) Set Scene 'Good Nite Scene' On Finally - No Actions - (To add one, press 'Action') I assume that the above program will trigger the "Good Nite Scene" somewhere between 11:00 PM and 11:20 PM. The idea is to get that "Lived In" random setting for security reasons. I could also see this being used with a "Sunset" trigger and an Offset setting. Security Sunset Pgm If Time is Sunset - 15 minutes Then Wait 20 minutes (Random) Set Scene 'Sunset Scene' On Finally - No Actions - (To add one, press 'Action') This should then trigger the Sunet Scene between 15 Minutes before Sunset and 5 Minutes after Sunset. Quote
Mark Sanctuary Posted October 5, 2007 Posted October 5, 2007 Yep that is a good example of how to used the random feature. Do they function ok? Quote
C Martin Posted October 5, 2007 Author Posted October 5, 2007 I ran my Goodnite Program last night nd it seems like it functioned OK. I am really interested in seeing the Sunset with random time work. Quote
Mark Sanctuary Posted October 5, 2007 Posted October 5, 2007 Great! The time stamps each day should be different showing the random part is working. The sunset one will be nice because the sunset is always changing and with it random it will be more natural. Hard part is on the days it’s cloudy you can be left in the dark and will have to do the unthinkable and push a button. Can you do a favor for me; edit your first post a put the two programs in code boxes, makes it easier to read. Thanks. Quote
C Martin Posted October 5, 2007 Author Posted October 5, 2007 Will do it this evening. Clarence Quote
sfhutchi Posted October 6, 2007 Posted October 6, 2007 I assume that the above program will trigger the "Good Nite Scene" somewhere between 11:00 PM and 11:20 PM. I thought that the 'random' selection would take the time you set (in this case 20 minutes) and do a +/- on it? But there is no setting for the +/-. The scenario that you mention is one way for this to work, but it wouldn't work for something where you say: If button A is pressed, wait 20 minutes (random), then turn on a light. What is the right answer? Quote
Sub-Routine Posted October 6, 2007 Posted October 6, 2007 I have to believe the Random is from start time to +X minutes. So if you want X/2 minutes before until X/2 minutes after set the start time X/2 minutes before and use a Random X. Personally, most of our lights are on the same schedule whether we are home or away. I suppose controlling some lights randomly might confuse some burglars, but I can't imagine anyone spending days analyzing our lights before breaking and entering. I wish I could have that problem. I just know never turn all the lights off. We love the dimmers because some lights are always on enough to find our way at night. Better than Random: Our only at home child is now 21, some lights change anytime of day or night. Random 1440 Rand Quote
Mark Sanctuary Posted October 6, 2007 Posted October 6, 2007 I have two boys; 2 year old and a 4 year old, the four year old likes to climb up on a chair that he has pulled over to the keypadlinc and make my whole house (1400 sq foot home with 26 devices), go on, then off, then on, then off, then on, then off, the neighbors must wonder about us at times. And the two year old will just giggle and giggle. I know its just a matter of time before they both are at each end of the house playing lighting wars. Quote
sfhutchi Posted October 6, 2007 Posted October 6, 2007 I don't know that I have a big need for 'random' either, but I would like to know how it works. Michel or Chris? Quote
Chris Jahn Posted October 6, 2007 Posted October 6, 2007 Random adds from 0 to the amount specified. eg. 'wait 60 seconds (Random)' This will wait from 0 to 60 seconds. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.