I have a Raspberry 3 with its camera. I installed motion. When it detects motion, it saves 3-4 images in the target directory for pictures, but sends many emails, sometimes up to 20 or more.
I have configured it like this:
How can I limit the number of emails when motion is detected?
Code: Select all
on_motion_detected python /home/pi/motion/email_on_motion.py %f