AD2PI Alarm event notification on motion

General Discussion

AD2PI Alarm event notification on motion

Postby skyslayer » Sat Apr 18, 2015 6:48 am

I have a AD2PI Is there a way to set up notification for motion after alarm event

I would like to get a second notification only after a alarm trigger if there is motion in the rooms with zone identification I did not see a way to do this via the web-app I am good with computers and devices but I am not a programmer

any ideas

Jim
skyslayer
newt
newt
 
Posts: 4
Joined: Sat Apr 18, 2015 6:37 am

Re: AD2PI Alarm event notification on motion

Postby kevin » Sat Apr 18, 2015 11:55 am

As long as the motion detectors are registered as a zone in the panel, you can choose to be notified on zone fault and it will by default tell you a zone has been faulted and which zone it is. We are working on a way to exclude zones from triggering so it becomes less spammy, but this would be what you are looking for.

If you are talking about RF Sensors etc, you will have to enable virtual relays or built-in relays to trigger a zone
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AD2PI Alarm event notification on motion

Postby skyslayer » Sun Apr 19, 2015 7:36 am

Thank you for your reply
Yes I have done that but it then sends faults even when the system is not armed it then creates many unwanted emails.
I am looking for a way to have it send only when the system is armed and or a alarm has triggered so I can tell if someone is still in the house even when a alarm has triggered and sounded it will help determine false alarms.

Think of this you are away and get a alarm trigger but are unsure if there is actually something in the house on first exterior door or window trigger, if you then get motion faults or other faults after the exterior alarm trigger you would know that the location is occupied and can respond as needed. It would also work the other way if a motion triggered but no other triggers more than likely we could blame a critter instead of human.

Again thank you for your help
skyslayer
newt
newt
 
Posts: 4
Joined: Sat Apr 18, 2015 6:37 am

Re: AD2PI Alarm event notification on motion

Postby kevin » Sun Apr 19, 2015 11:45 am

Unfortunately this is just how the alarm works and is why stay/away modes and different types of motion sensors were released for these, it's kind of a bummer - but we are working on ways in our software to emulate this as best as possible.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AD2PI Alarm event notification on motion

Postby skyslayer » Sun Apr 19, 2015 3:37 pm

Ok next question where is the code that watches the logs and sends the notification so I can have a look and see if I can make the required modifications.

Also is there a cron job like logrotate to zip archive and clear the log files if not where are the log files stored so I cam make a logrotate cron job to archive the logs. this question also applies the the first question

My idea would be to watch the logs with something like logwatch if the builtin log watcher can't do this, for a set of events and send notifications on the said events there are also some other log watching programs for Linux that my work with the system I may have a look at CSF/LFD and see if it will work with this OS I use it on all on my Linux servers for login failure watching I my be able to apply the rules to this.
skyslayer
newt
newt
 
Posts: 4
Joined: Sat Apr 18, 2015 6:37 am

Re: AD2PI Alarm event notification on motion

Postby kevin » Sun Apr 19, 2015 5:01 pm

There isn't a log stored and parsed, it is direct device communication - that said, critical events are stored in the database in /opt/alarmdecoder-webapp/instance - it is a sqlite database

The code for the notifications would be in /opt/alarmdecoder-webapp/ad2web/notifications/ and the thread for the notifications is in decoder.py in the parent directory.


You can also feel free to write your own code with the provided alarmdecoder library - it is in python - you can easily connect to a socketdevice if you have ser2sock sharing your device and do your own notifications there. (documentation for library here: http://alarmdecoder.readthedocs.org/en/latest/)


That all being said, there are already big changes coming to the notification system it is just taking time to implement everything we would like to. Some previews are: Pushover.net support, Growl server support, Prowl, Notify My Android, POSTing custom variables to a custom URL (urlencoded, json, or xml), eliminating zone spam notifications and more.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AD2PI Alarm event notification on motion

Postby skyslayer » Mon Apr 20, 2015 3:22 am

Thank You I will have a look see :)
skyslayer
newt
newt
 
Posts: 4
Joined: Sat Apr 18, 2015 6:37 am


Return to General

Who is online

Users browsing this forum: No registered users and 11 guests

cron