RIght now I have it setup that if the dog walker unlocks the yale front door then the alarm is disarmed. I'm trying to figure out a way when they leave to rearm the alarm. Cavets - our house is big enough in that they might not know we are home and don't want the system rearming.
I was thinking about a true/false variables
when Alarm disarmed
set alarm to false
When Alarm arm stay
set alarm to true
When Alarm arm away
set alarm to true
#dog unlocks front door and alarm armed#
yale front door unlock equals dog
if alarm = true
disarm alarm (which will set alarm variable to false - temporarily see below)
set dog to true
set alarm to true (as we wanted to save the previous state before the door was unlocked)
if alarm = false (we are home or house was not armed)
end
#dog presses exit button on keypad#
if dog is true and alarm is true
arm alarm away
set dog to false (ie dog walker has left)
This is reliant on the dog walker pressing the exit button when leaving after picking up the dog and pressing it again when dropping off the dog
Anyone see an issue with this (I recognize the issue of saving an alarm disarm code in composer)
Question
ERDrPC
RIght now I have it setup that if the dog walker unlocks the yale front door then the alarm is disarmed. I'm trying to figure out a way when they leave to rearm the alarm. Cavets - our house is big enough in that they might not know we are home and don't want the system rearming.
I was thinking about a true/false variables
when Alarm disarmed
set alarm to false
When Alarm arm stay
set alarm to true
When Alarm arm away
set alarm to true
#dog unlocks front door and alarm armed#
yale front door unlock equals dog
if alarm = true
disarm alarm (which will set alarm variable to false - temporarily see below)
set dog to true
set alarm to true (as we wanted to save the previous state before the door was unlocked)
if alarm = false (we are home or house was not armed)
end
#dog presses exit button on keypad#
if dog is true and alarm is true
arm alarm away
set dog to false (ie dog walker has left)
This is reliant on the dog walker pressing the exit button when leaving after picking up the dog and pressing it again when dropping off the dog
Anyone see an issue with this (I recognize the issue of saving an alarm disarm code in composer)
10 answers to this question
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.