How to receive alerts by email ?

42 views
Skip to first unread message

arp...@gmail.com

unread,
Jul 23, 2013, 4:05:26 AM7/23/13
to kmotion...@googlegroups.com
Hi !
I would like to know if it's possible to set up kmotion in order to receive alerts via email when the cam detects something.. ?
Many thanks in advance !

Geoffrey Bulan

unread,
Jul 23, 2013, 5:09:39 AM7/23/13
to Kmotion support
yes it is possible with script in kmotion/event/event_start#number_camera
you should install nail for examples

#!/bin/sh
datum=`date '+%Y%m%d'`
heurum=`date '+%H%M%S'`
echo $datum
echo $heurum
sleep 3
nail -s "$datum/$heurum/$ligne" -a /kmotion/images_dbase/$datum/01/movie/$heurum.swf your...@adress.com < file.txt


2013/7/23 <arp...@gmail.com>
Hi !
I would like to know if it's possible to set up kmotion in order to receive alerts via email when the cam detects something.. ?
Many thanks in advance !

--
You received this message because you are subscribed to the Google Groups "Kmotion support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kmotion-suppo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Agir, c'est combattre
Se résigner, c'est survivre

Arnaud SCHITTLY

unread,
Jul 23, 2013, 5:32:19 AM7/23/13
to kmotion...@googlegroups.com
Hi,

Be careful with that, in case of your camera detects a lot of events you will be spammed.

If you really want to try, I used another method.
You can fire a script on 2 differents events in your core/motion_conf:
on_motion_detected
on_event_start

One is better than the other but I didn't remember which one.

Hope it will be helpful.





2013/7/23 Geoffrey Bulan <geoffre...@gmail.com>

arp...@gmail.com

unread,
Jul 23, 2013, 5:58:55 AM7/23/13
to kmotion...@googlegroups.com, arp...@gmail.com
Thanks Guys for your quick replies ! I'm very impressed !
Thank you for your script goeffrey; I am gonna try it ! 
Arnaud; could you give me more explanation about your method ?

To be clearer; I would like to be informed if my cam at home detects someone in order to be alerted and receive an email on my smartphone.

Arnaud SCHITTLY

unread,
Jul 23, 2013, 6:44:23 AM7/23/13
to kmotion...@googlegroups.com, arp...@gmail.com
Everyone would see this dream become a reality ;-)

In fact your camera will catch a lot of false alarms that's why you will be spammed if you send an email on every motion detection: brightness changes, birds, wind blowing through the trees...

To reduce false positives you should use more accurates settings for each camera (with areas, buffers, warmup frames...). However kmotion has only most commons motion detection settings.

If your camera is an indoor camera maybe kmotion should do what you want. But for an outdoor usage, I advise you to use another software, which one can even live stream your cams on your smartphone ;-)



arp...@gmail.com

unread,
Jul 23, 2013, 9:02:27 AM7/23/13
to kmotion...@googlegroups.com, arp...@gmail.com
I want to use it indoor and it would be in a room so only brightness or movement will wake up the cam (I have no pets... ;-)

Thanks for your reply ! 


On Tuesday, 23 July 2013 10:05:26 UTC+2, arp...@gmail.com wrote:

Arnaud SCHITTLY

unread,
Jul 24, 2013, 2:51:51 AM7/24/13
to kmotion...@googlegroups.com, Arnaud POUYADOU
Ok, so just try Geoffrey's script. It seems to be great.



2013/7/23 <arp...@gmail.com>
I want to use it indoor and it would be in a room so only brightness or movement will wake up the cam (I have no pets... ;-)
Reply all
Reply to author
Forward
0 new messages