Odd motion behaviour

Ask questions about Arch Linux ARM. Please search before making a new topic.

Odd motion behaviour

Postby g8jvm » Wed Jul 10, 2013 2:14 pm

Hi
no replies needed, just may help someone not pulling their hair out.
I've had motion running on the pogoplug V2 for several weeks before I went on vacation, with the webcam pointing out thru a window.
Worked fine, sent me an e-mail with an attached movie each time it was activated by outside movement.

Went on vacation, and turned the webcam toward the inside of the room.
and got a e-mail every 3 mins with a 70 kB attachment.
Not good for roaming with a smart fone in the USA with a UK sim card.
I thought at first it was the pendulum on a clock that was triggering motion, but after getting the clock removed it continued.

The item that was triggering Motion was a PIR sensor in the opposite corner of the room. !!!!
Best wishes
Richard
richard@g8jvm.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ham Call: G8JVM , QRA IO82SP38 interests weak signal propagation
VHF to microwave, http://www.g8jvm.com
g8jvm
 
Posts: 93
Joined: Mon Apr 22, 2013 4:40 pm
Location: United Kingdom

Re: Odd motion behaviour

Postby WarheadsSE » Wed Jul 10, 2013 3:54 pm

CMOS do see IR after all.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Odd motion behaviour

Postby permitivity » Sun Jul 21, 2013 4:35 am

g8jvm,
Two questions:

1) Do you see the IR when you view the camera feed? I'm actually interested in a USB IR sensitive camera that's also 720P instead of the standard resolution.

2) How did you get motion to send you email when it sees motion? Do you run a script on the <on_event_start> or <on_motion_detected>. I'd be interested in as much help as you can give me.

Thanks!
permitivity
 
Posts: 141
Joined: Mon Feb 18, 2013 3:08 am

Re: Odd motion behaviour

Postby g8jvm » Sun Jul 21, 2013 7:24 pm

in motion.conf
$this->bbcode_second_pass_code('', '############################################################

# Target base directory for pictures and films
# Recommended to use absolute path. (Default: current working directory)
target_dir /Files/motion-pics

# File path for snapshots (jpeg or ppm) relative to target_dir
# Default: %v-%Y%m%d%H%M%S-snapshot
# Default value is equivalent to legacy oldlayout option
# For Motion 3.0 compatible mode choose: %Y/%m/%d/%H/%M/%S-snapshot
# File extension .jpg or .ppm is automatically added so do not include this.
# Note: A symbolic link called lastsnap.jpg created in the target_dir will always
# point to the latest snapshot, unless snapshot_filename is exactly 'lastsnap'
snapshot_filename %v-%d-%m-%Y-%H%M%S-snapshot

# File path for motion triggered images (jpeg or ppm) relative to target_dir
# Default: %v-%Y%m%d%H%M%S-%q
# Default value is equivalent to legacy oldlayout option
# For Motion 3.0 compatible mode choose: %Y/%m/%d/%H/%M/%S-%q
# File extension .jpg or .ppm is automatically added so do not include this
# Set to 'preview' together with best-preview feature enables special naming
# convention for preview shots. See motion guide for details
jpeg_filename %d-%m-%Y_%H:%M:%S-%v-%q

# File path for motion triggered ffmpeg films (mpeg) relative to target_dir
# Default: %v-%Y%m%d%H%M%S
# Default value is equivalent to legacy oldlayout option
# For Motion 3.0 compatible mode choose: %Y/%m/%d/%H%M%S
# File extension .mpg or .avi is automatically added so do not include this
# This option was previously called ffmpeg_filename
movie_filename movies/%d-%m-%Y_%H:%M-%v

')

later
$this->bbcode_second_pass_code('', '# Command to be executed when a movie file (.mpg|.avi) is closed. (default: none)
# To give the filename as an argument to a command append it with %f
on_movie_end value echo "Camera detection" |mailx -s "Movement Detected %d/%m/%Y %H:%M:%S" -a %f /Files/motion-pics/movies/%d-%m-%Y_%H:%M-%v.avi richard@g8jvm.info
')

I haven't looked at the feed with a scope when IR is present, a waste of time to look visually :)
Best wishes
Richard
richard@g8jvm.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ham Call: G8JVM , QRA IO82SP38 interests weak signal propagation
VHF to microwave, http://www.g8jvm.com
g8jvm
 
Posts: 93
Joined: Mon Apr 22, 2013 4:40 pm
Location: United Kingdom


Return to User Questions

Who is online

Users browsing this forum: No registered users and 4 guests