I am trying to automate my Alarm system to Auto/Arm disarm depending on time of day and whether My wife and I are home. This seems to be working for the most part, however I cannot seem to get it to Arm when we both have left the house?
Thanks in advance for any assistance someone can provide.
Bear in mind that PLEG evaluates Conditions in order from the top down. When the value/state of a Condition changes, this will be reflected in expressions in lower (later) Conditions but it will not cause re-evaluation of earlier (previous) ones.
This may not be the only issue but I think you should move the Condition Away above where its value is used in other expressions.
I am trying to automate my Alarm system to Auto/Arm disarm depending on time of day and whether My wife and I are home. This seems to be working for the most part, however I cannot seem to get it to Arm when we both have left the house?
Thanks in advance for any assistance someone can provide.[/quote]
I agree with REX your problem appears to be that the bottom two conditions need to be switched. Rase the AWAY condition up one and you should be good to go.
I’m sure this is only a test but currently your condition “_AutoArmAway” instead of “AWAY” in the expression should be changed to “!Home” or “Not Home” (your choice) and then your whole “Away” condition can be deleted.
I removed the Away Condition and am just using the Home Virtual Switch for everything and that appears to work fine. I am however having issues with 2 different auto_disarm functions.
I would like it to automatically disarm the alarm any time a unlock code is enter on either door lock. Also have been trying far a while now to get it to auto disarm in the morning with the following variables, when Dining room motion is tripped(Not active in the evenings when in stay mode) and after 5:30 AM.
[quote=“cleight, post:4, topic:184879”]I removed the Away Condition and am just using the Home Virtual Switch for everything and that appears to work fine. I am however having issues with 2 different auto_disarm functions.
I would like it to automatically disarm the alarm any time a unlock code is enter on either door lock. Also have been trying far a while now to get it to auto disarm in the morning with the following variables, when Dining room motion is tripped(Not active in the evenings when in stay mode) and after 5:30 AM.
Thanks in advance.[/quote]
I see your “DoorUnlock” condition has never been true. This could be your problem or could be its new and you haven’t tried it yet. But anywho I personally wouldn’t use it for the same reason we already helped you out with.
Modify your "_AutoDisarm " condition to this instead and delete the “DoorUnlock” condition.
_AutoDisarm = (MorningDisarm AND !DiningMotion) or (FrontDoorUnlock or BackDoorUnlock)
I think he Just want’s the alarm to dis arm when he types in a unlock code on the front or rear door lock. or If its morning time and the dining room motion is tripped. Both should be an easy one.
I think he Just want’s the alarm to dis arm when he types in a unlock code on the front or rear door lock. or If its morning time and the dining room motion is tripped. Both should be an easy one.[/quote]
You are correct, I tried your suggestion. However when I put in my door code (*) the alarm does not disarm.
I think he Just want’s the alarm to dis arm when he types in a unlock code on the front or rear door lock. or If its morning time and the dining room motion is tripped. Both should be an easy one.[/quote]
You are correct, I tried your suggestion. However when I put in my door code (*) the alarm does not disarm.[/quote]
Post a current PDF again. Have you verified that the Door code (*) trigger is working? That would be the first thing. If the trigger doesn’t show true the problem is not in the Condition. If the trigger works properly then we need to look at the condition.
EDIT: Remember the last status report you posted also never showed the “DOORUNLOCK” condition to be true. But I wasn’t sure if you just haven’t saved, rebooted, refresh and tested the door unlock or if there really was a problem.
Ok so I made some changes to the schedule and as I can tell the system should disarm anytime between 5:30AM and 10:30AM once the dining room motion sensor is tripped correct?
Also The door locks still report false and never report a true for today? That doesn’t seem right for some reason. The weird part is that I have another PLEG that uses the same code and trigger name and it shows the result as being true. I have saved and refreshed through the browser multiple times already. I have attached the second PLEG (House Lighting) for reference.
[quote=“cleight, post:11, topic:184879”]Ok so I made some changes to the schedule and as I can tell the system should disarm anytime between 5:30AM and 10:30AM once the dining room motion sensor is tripped correct?
Also The door locks still report false and never report a true for today? That doesn’t seem right for some reason. The weird part is that I have another PLEG that uses the same code and trigger name and it shows the result as being true. I have saved and refreshed through the browser multiple times already. I have attached the second PLEG (House Lighting) for reference.[/quote]
Well I personally don’t use the pin code entry for anything. But if the trigger is not working right (which doesn’t seem to be) then no condition will work right with it. The other thing I noticed on your House lighting PLEG is that door pin stays true. That will also cause you problems. You might have to re think this or you might have to create a condition (once you get it to trigger right atleast) that will only stay true for an min. or so after the pin was entered.
[quote=“cleight, post:13, topic:184879”][quote=“integlikewhoa, post:12, topic:184879”]Also your “AlarmDisarmed” send alarm notification probably can also be deleted.
“SendAlarmNotification” = NightlyArmStay AND (AlarmStatus eq ‘Disarmed’)
Would be the update. Just combine and clean[/quote]
Any idea why my door locks are showing as false?[/quote]
Honestly No. All I can suggest is to remove the trigger and re install that one trigger. Also maybe experiment with a certain pin code rather then *. But I really don’t have any good ideas why it wont show true.
[quote=“integlikewhoa, post:15, topic:184879”][quote=“cleight, post:13, topic:184879”][quote=“integlikewhoa, post:12, topic:184879”]Also your “AlarmDisarmed” send alarm notification probably can also be deleted.
“SendAlarmNotification” = NightlyArmStay AND (AlarmStatus eq ‘Disarmed’)
Would be the update. Just combine and clean[/quote]
Any idea why my door locks are showing as false?[/quote]
Honestly No. All I can suggest is to remove the trigger and re install that one trigger. Also maybe experiment with a certain pin code rather then *. But I really don’t have any good ideas why it wont show true.[/quote]
I deleted them and re-added them also changed the _AutoDisarm to repeat as I did some research and it is normal for the door lock to always be in a true state. Will do some testing and report back my findings and once working will post the working status report for future reference.
Ok everyone, Things appear to be working for the most part with the exception of the auto disarm in the mornings. For some reason when 5:30AM comes around the system ignores the motion sensor value and automatically disarms.
Also for some reason I get a text every night at 11:30PM telling me the alarm didn’t arm when indeed it did, there is a 1 minute delay in the system arming so some how I need to account for that as well.
[quote=“cleight, post:19, topic:184879”]Ok everyone, Things appear to be working for the most part with the exception of the auto disarm in the mornings. For some reason when 5:30AM comes around the system ignores the motion sensor value and automatically disarms.[/quote] I don’t see any problem with it.
NightlyArmStay AND (_AlarmDisarmed; NOW > 1:00) This isn’t right. I think should be changed to
SendAlarmNotification = NightlyArmStay and (AlarmStatus eq ‘Disarmed’)
This will send notification if the system is not armed at 11:30
Maybe split up the timers you have. Make this one happen at 11:32 instead and name it something different.