imagamejunky Posted December 16, 2014 Posted December 16, 2014 Hi guys. I'm pulling my hair out trying to figure this one out. I'm hoping this is something simple that I missed. Here's the scenario I'm trying to accomplish. A family member opens an entry door during the evening hours. The entry light turns on and a recorded message plays while the entrance delay is active. Once the correct passcode is entered in the elk keypad then more lights turn on and a recorded greeting is played. I also want the same scenario minus the lights during the day hours. I have successfully programmed the first part. When the entry delay is active and the door is opened then the entry light turns on and the recording is played. The problem I am having is getting the second part to work. I thought I had this all figured out but I was wrong. I tried... IF From sunset To sunrise (next day) AND Elk Keypad 'KP1 Down' 'Access Code' is Valid THEN .... (LIGHTS, WORDS, ETC) ELSE -No Actions- It works like I want it to BUT it also causes the THEN statements to run when the system is armed in the away mode by pressing the exit button even though the access code is not being entered. I guess the system is seeing the access code even though it's only being armed by the exit button? So then I tried.. IF From sunset To sunrise (next day) AND Elk Area 'House' 'Armed State' is Disarmed THEN .... (LIGHTS, WORDS, ETC) ELSE -No Actions- This works also, but it causes the THEN statements to run everyday at sunset if I am already home and the system is already disarmed. I think the problem with this rule is the wording "IS Disarmed". If I could use the words "BECOMES Disarmed" then maybe that would work, but this isn't an option. Please help me out guys. Thanks, Nick
bmercier Posted December 17, 2014 Posted December 17, 2014 IF From sunset To sunrise (next day) AND Elk Area 'House' 'Armed State' is Disarmed THEN .... (LIGHTS, WORDS, ETC) ELSE -No Actions- This works also, but it causes the THEN statements to run everyday at sunset if I am already home and the system is already disarmed. I think the problem with this rule is the wording "IS Disarmed". If I could use the words "BECOMES Disarmed" then maybe that would work, but this isn't an option. To avoid the program being triggered at sunset or sunrise, you need to: - Create a folder which is active from sunset to sunrise - Have your program in that folder with the only condition being Elk Area 'House' 'Armed State' is Disarmed. Benoit
apostolakisl Posted December 17, 2014 Posted December 17, 2014 You can also use an Elk rule to do a "last user was" program. This can set a phantom output on the Elk. You write your ISY program to trigger on that phantom output turning on. In this fashion, you can customize the ISY response to whose passcode was entered. Elk Rule Whenever System is disarmed and Last User was whoever Then Set output 200 on for 1 second ISY If Elk output 200 turns on and Time is sunset to sunrise Then do your stuff Else blank This program will not run true at sunset, but it will run false at both sunrise and sunset. So you need to leave the else blank, or put it in folders as stated above. You can write multiple versions of this for different users using different phantom outputs to give a custom message to whoever's code is entered.
imagamejunky Posted December 17, 2014 Author Posted December 17, 2014 Thank you very much guys. I really appreciate it!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.