Mike
Did you get anywhere with this? I've been planning to head down the same route... experimenting with using my IP camera to generate events based on motion detection. Also still struggling a bit searching the wiki and forums to see if there is a "standard" way to do it.
James
James,
You can generate e-mail alerts using the respond to events Wizard. The basic gist of it is:
A sensor is tripped, what device equals your camera, when = Day, Night, or blank, What trigger state = tripped = 1.
You can then add commands using the advanced wizard.
Pick the General info Plugin on the core, and choose event Send Email. Fill in the blanks as listed. That will just send you an e-mail; no pictures attached. Presuming you're on 10.04, you'll need the package 'heirloom-mailx' installed; that is the mailx that modern Ubuntu's are using now. The Mailx template listed in the Wiki is no longer necessary, and probably should be removed from the wiki to prevent confusion.
It would be cool if the General Info plugin Send email function was extended to support directly adding attachments, and for allowing a script to be run which is then piped into the mailx command for e-mailing. The security plugin might need to be extended to transfer/transmit security and sensor data to the Send E-mail function. Just thoughts... I'm not volunteering you for anything
I'm looking at Kmotion2, but starting to think that integrating it might not be the best idea. It may be better to figure out how the masks and other advanced functionality is done, and add that directly into LMCE Web-Admin pages. Give me a couple of months to figure this out; I'll likely post interim measures along the way. I've done some PHP scripting in the past and fairly recently, so I'm a less intimidated by that than by C++ code.
Hope that helps!
/Mike
P.S. I found some folks who have configured their (non-LMCE) motion.conf to send e-mails with picture attachements.
on_picture_save mailx -s “Test mail” -a %f
email@gmail.com