how to activate/deactivate alarm when I leave/enter my home

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
thomas1977
Posts: 17
Joined: Mon Oct 31, 2011 5:19 pm

how to activate/deactivate alarm when I leave/enter my home

Post by thomas1977 »

Hi,

I am new here and dont know where it would be right to place my question. I am also new to zoneminder and want to know if my project can be realized with zoneminder and what other hardware would be necessary.

I want to observe my entrace door from inside my home. When leaving the house I want to activate the alarm function in zoneminder and an email is being send to me when something moves. Coming home again I have to deactivate the alarm again. Lets say I need 3min to leave the house. I activate the alarm and the camera with motion detection can see that I am leaving, which doesnt trigger an alarm email. When coming home I need 2minutes to deactivate (however) the alarm function. If this is not happening I will get an email.

So who do I get this working? Is it possible? What hardware do I need? How to trigger the alarm? The best would be a small panel working with wifi wlan 2,4ghz where I can enter a code and which is saying : 2minutes 30secounds until alarm is ready! Maybe an app for android or iphone would work to.

All I got until now is a small debian home server without zoneminder running.


I am excited for you replies.

regards
thomas
Last edited by thomas1977 on Mon Oct 31, 2011 6:45 pm, edited 1 time in total.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: how to activate alarm

Post by PacoLM »

Have you created a filter to send the email?. ZM automatically does not send an email on alarm, the system should be configured.

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
thomas1977
Posts: 17
Joined: Mon Oct 31, 2011 5:19 pm

Re: how to activate alarm

Post by thomas1977 »

I know sending mail s is possible with zoneminder, that is not the question here.
The question is how to activate the system/alarm with a 3min timer and which hardware to use for it? Should be very easy my mom could use it! Or what else could be possible.

I dont have any hardware (except server) until now and am still planing what to buy.

EDIT: In zoneminders script section I found a "wake" option to wake up cameras. This could wake/sleep a camera (timer could be included in script). Maybe I write an app for ipod to start that script. Dont know how until now and hope someone did this before.
thomas1977
Posts: 17
Joined: Mon Oct 31, 2011 5:19 pm

Re: how to activate/deactivate alarm when I leave/enter my h

Post by thomas1977 »

Can anybody tell me if the project can be realized or not? Did anybody something like this?
hfraser
Posts: 4
Joined: Tue Apr 03, 2007 3:50 pm

Re: how to activate/deactivate alarm when I leave/enter my h

Post by hfraser »

You might try some x10 capabilities like the key fobs to activate a monitor remotely.
thomas1977
Posts: 17
Joined: Mon Oct 31, 2011 5:19 pm

Re: how to activate/deactivate alarm when I leave/enter my h

Post by thomas1977 »

Thanks for your reply. I read about X10 capabilities but didnt get the point. I am totally new to this. I would need some hardware atached to my server to control this? Dont I?

Would like to buy AXIS M1054 with alarm input/output find it here http://www.axis.com/products/cam_m1054/index.htm.

You know more about this or where to find?
hfraser
Posts: 4
Joined: Tue Apr 03, 2007 3:50 pm

Re: how to activate/deactivate alarm when I leave/enter my h

Post by hfraser »

You'd need to buy some additional hardware to enable the X10 features. My system has been running for several years now, and consists of the computer running Zoneminder connected through a serial port to an X10 interface called a CM11A, which can send/receive x10 signals over house wiring. I also have an X10 wireless transceiver that can talk with x10 wireless devices like the key fobs and relay the signals over house wiring to the x10 computer interface. So when a button is pressed on a key fob, it sends a signal to the wireless trasceiver, over the house wiring to the x10 interface, and through to Zoneminder which can be configured to activate or de-activate a monitor. You would be able to simply press a button on the keychain remote when you leave to activate a monitor for a camera to begin recording or watching for motion, and deactivate it the same way when you return. Naturally, there's a lot more you can do with this x10 stuff, but this addresses your immediate request.

The web site for x10 stuff is http://www.x10.com where you can find the transceiver for $12.99. Keychain remotes are $19.99 for a pair. The CM11A is no longer sold through x10.com, but is available at http://www.thex10shop.com/roduct/x10-ge ... -interface for $39.99.

As far as the M1054 is concerned, Zoneminder works with most network cameras as far as I know. Mine are all hard-wired, so I can't speak directly to this.
thomas1977
Posts: 17
Joined: Mon Oct 31, 2011 5:19 pm

Re: how to activate/deactivate alarm when I leave/enter my h

Post by thomas1977 »

Thank you I will look into it. Sounds pretty good!
kazy
Posts: 7
Joined: Mon Jan 23, 2012 1:42 pm

Re: how to activate/deactivate alarm when I leave/enter my h

Post by kazy »

Hi,

Maybe this other method come too late but there is maybe another way to do this with dropbox :)

look here (sorry it's a french URL):
http:
//blog.guiguiabloc.
fr/index.php/2012/01/06/dropbox-allume-vos-lumieres/


To resume Guiguiabloc open light in his garage with a small file paste in dropbox space.
With "INCRON" (apt-get install incron - sort of cron based on inotify lib) Guigui's server check change in dropbox mount drive and if a particular file is create or remove (for example a file call startalarm.txt or stopalarme.txt) a custom script start or stop.

It's maybe possible to use zmpkg.pl with incron too :)
with zmpkg.pl you can start/stop/restart zoneminder. You can also create custom script to set your monitor status (monitoring/modec/morec etc ...).
frankster
Posts: 8
Joined: Mon Apr 30, 2012 8:03 am

Re: how to activate/deactivate alarm when I leave/enter my h

Post by frankster »

I have been thinking about knocking something up to test whether my smartphone is connected to the house's wifi to enable/disable emailing alerts.
Flasheart
Posts: 342
Joined: Thu Jul 06, 2006 2:27 pm

Re: how to activate/deactivate alarm when I leave/enter my h

Post by Flasheart »

Yes - a script on the server that periodically tests for the presence of your phone's IP on the lan and then controls zm using zmpkg.pl or zmtrigger.pl should work provided you never turn your phone off.
frankster
Posts: 8
Joined: Mon Apr 30, 2012 8:03 am

Re: how to activate/deactivate alarm when I leave/enter my h

Post by frankster »

I have made a script that logs into my router and detects if my android or gf's iphone is connected to the wifi. Unfortunately it seems our devices aren't permanently connected to wifi when they're on for some reason.

Oh well, back to the drawing board!
BobS0327
Posts: 86
Joined: Mon Oct 16, 2006 6:22 pm

Re: how to activate/deactivate alarm when I leave/enter my h

Post by BobS0327 »

Just a FYI. I'm currently working on a Windows .Net project that will interface ZM with a HAI Omni Pro II security controller. http://www.homeauto.com/products/haisys ... 2_tech.asp HAI provides a .Net SDK for application development for its line of security controllers. I will be using that SDK to create my interface.

Currently, I'm at the point where I have the equivalent of James Wilson's Windows Live Viewer. I still have to implement the interface to the HAI security controller. My ultimate goal is to monitor all the exterior Passive Infra Red (PIR) motion detectors for activity via the security panel. If any of the PIR's are tripped, my app which is constantly monitoring the security panel will change the function of the camera in the PIR area from Monitor to Record and keep it in record mode until the PIR resets as indicated by the security panel

The HAI panel has both Android and iPhone apps available.
Post Reply