polexian Posted November 21, 2011 Posted November 21, 2011 Is there a way to be able to tell the last state to current state of the elk? If elk was armed away and is changed to disarmed then turn on entrance lights..?? Sent from my iPhone using Tapatalk
apostolakisl Posted November 21, 2011 Posted November 21, 2011 You could do that using variables. Something like If Elk is armed away Then set variable x to 1 Else set variable x to 0 If Elk is disarmed And variable x is 1 Then turn on entrance lights As I at present can not get ISY to arm my Elk, I can't really test this. It depends on triggering. If ISY sees every change in Elk's armed/disarmed status as a trigger this works. Otherwise, you will need another program set the variable to 0 with all of the other possible armed/disarmed status' in the if setion. You mights also be able to do it like the "if a light is off and you turn it off" programs. You could try this way. If Elk Area 'Main House' 'Arm Up State' is Armed Fully And Elk Area 'Main House' 'Armed State' is Disarmed Then Set 'outside lights' On Else - No Actions - (To add one, press 'Action') My gut feeling is this second program won't work, but no harm in trying it.
asdfg11 Posted December 22, 2011 Posted December 22, 2011 I'm trying to setup a program to check the status of my Elk -- if it is armed in vacation mode then run the "then" statement to turn on and off lights at a time in the evening. So far -- it seems like my elk status is ignored. Any ideas? If Time is 6:08:20PM And Elk Area 'Home' 'Arm Up State' is Armed Fully Then Set 'Foyer Pots' On Wait 2 seconds Set 'Foyer Pots' Off Else - No Actions - (To add one, press 'Action')
apostolakisl Posted December 23, 2011 Posted December 23, 2011 I'm trying to setup a program to check the status of my Elk -- if it is armed in vacation mode then run the "then" statement to turn on and off lights at a time in the evening. So far -- it seems like my elk status is ignored. Any ideas? If Time is 6:08:20PM And Elk Area 'Home' 'Arm Up State' is Armed Fully Then Set 'Foyer Pots' On Wait 2 seconds Set 'Foyer Pots' Off Else - No Actions - (To add one, press 'Action') I would expect that this program should blink the lights at 6:08:02pm (I have to say, a bit odd time selection). The program should trigger to true at that time if the system is armed fully. What is actually happening at that time? Have you checked the program summary page? It should read "running then" for a couple seconds at that time if the system is armed and set the status as true. Anytime the armed up state changes, the program will also run but should be false and run the "else"clause.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.