Go to advanced search

by nazargren
Tue Jun 16, 2015 10:53 pm
Forum: Python
Topic: python pir motion images
Replies: 3
Views: 768

Re: python pir motion images

I didn't like that tut, because it takes an image after motion is completed, not as soon as motion is detected.
by nazargren
Tue Jun 16, 2015 8:03 pm
Forum: Python
Topic: python pir motion images
Replies: 3
Views: 768

python pir motion images

How do I make a simple Python script on Raspbian OS to use a PIR sensor and as soon as motion is detected, it takes an image using the camera board. And if motion is continued to be detected for a minute, then it takes another image, I don't care if it overwrites the original image. Thank you.
by nazargren
Tue Jun 16, 2015 8:01 pm
Forum: Python
Topic: RPI motion PIR camera
Replies: 2
Views: 694

Re: RPI motion PIR camera

I tried your code, no errors, but nothing happened, not even the camera led turned on.
by nazargren
Fri Jun 12, 2015 3:30 am
Forum: Troubleshooting
Topic: mplayer doesn't load avi
Replies: 1
Views: 455

mplayer doesn't load avi

I'm running wheezy, I installed mplayer and mplayer-gui using sudo apt-get install command, then rebooted and attempted to play an avi. I opened the avi in mplayer and the gui loaded, but when I hit play it flashes a black screen in the mplayer gui, then it returns to the mplayer screen. the video s...
by nazargren
Tue Jun 09, 2015 7:28 am
Forum: Camera board
Topic: Motion floods sd card
Replies: 1
Views: 448

Motion floods sd card

I have motion mmal running on raspbian and taking images not videos, but it takes a lot of images, how do I set motion to take a single image and wait a minute even if motion is still being detected, before it takes another image?
by nazargren
Tue Jun 09, 2015 3:57 am
Forum: Python
Topic: RPI motion PIR camera
Replies: 2
Views: 694

RPI motion PIR camera

How do I make a simple Python script on Raspbian OS to use a PIR sensor and as soon as motion is detected, it takes an image using the camera board. And if motion is continued to be detected for a minute, then it takes another image, I don't care if it overwrites the original image. Thank you.
by nazargren
Thu Jun 04, 2015 3:44 am
Forum: Python
Topic: PIR Camera Board Script
Replies: 2
Views: 1088

PIR Camera Board Script

Hi y'all. I'm currently running Raspbian on my Pi. How would I code a python code that uses a PIR sensor and takes an image as soon as motion is detected and then waits a few seconds if motion is still detected to take another image? So far I can get my pi to take an image and in a separate script I...
by nazargren
Wed Oct 30, 2013 3:50 am
Forum: Python
Topic: Email Picture
Replies: 1
Views: 547

Email Picture

Using Python, how do I make a code that sends a picture from my /home/pi directory either through MMS or email?
by nazargren
Fri Aug 02, 2013 10:46 pm
Forum: Camera board
Topic: Motion Detecting Security Camera
Replies: 5
Views: 6340

Re: Motion Detecting Security Camera

That looks like it will work most of the time. I think there is a subtle timing problem though. You have in your .config file, a command to send the photo '%f' by email: on_picture_save mpack -s Alert %f YourUsername@gmail.com Meanwhile you have running all the time, a script 'rm.sh' to delete all ...
by nazargren
Fri Aug 02, 2013 4:56 am
Forum: Camera board
Topic: Motion Detecting Security Camera
Replies: 5
Views: 6340

Motion Detecting Security Camera

Hi everyone, I have been working hard (with the help of the forum and some other users) on a motion detecting security camera that notifies me with alerts through email with a snapshot attached. Below, I have a link to my blog for y'all to set one up for yourself. http://simpledev.webs.com/apps/blog/
by nazargren
Thu Aug 01, 2013 1:27 am
Forum: Camera board
Topic: target_dir Motion MMAL
Replies: 11
Views: 3784

Re: target_dir Motion MMAL

Sorry again sir if I'm not making myself clear. So in MMAL, I've edited the config to not save AVI's, like you've stated, and to only send JPG's to my email in the on_picture_save option. If I set output_pictures to off, then nothing is emailed. My problem is that I don't want to use up my SD card's...
by nazargren
Wed Jul 31, 2013 11:27 pm
Forum: Camera board
Topic: target_dir Motion MMAL
Replies: 11
Views: 3784

Re: target_dir Motion MMAL

Sorry, I should have stated that I only want JPG's.
by nazargren
Wed Jul 31, 2013 6:53 pm
Forum: Camera board
Topic: target_dir Motion MMAL
Replies: 11
Views: 3784

Re: target_dir Motion MMAL

jbeale wrote:mount a USB memory stick, or USB hard drive, and change the target directory to that instead?
Thanks for the reply! I'm trying to avoid that. Is there like a ghost directory that just nothing gets saved to?
by nazargren
Wed Jul 31, 2013 2:50 pm
Forum: Camera board
Topic: target_dir Motion MMAL
Replies: 11
Views: 3784

target_dir Motion MMAL

I'm running Wheezy. In Motion MMAL, my photos a filling up my SD card because of the target_dir, does anyone have a tutorial on how to fix this? Thanks!
by nazargren
Wed Jul 31, 2013 2:47 pm
Forum: Camera board
Topic: Dark Images
Replies: 6
Views: 3740

Re: Dark Images

upload a couple of images to http://imgur.com/ and give the command line you used to capture them I don't have any pictures, but here's my config. ############################################################ # Daemon ############################################################ # Start in daemon (ba...
by nazargren
Wed Jul 31, 2013 1:59 pm
Forum: Camera board
Topic: Dark Images
Replies: 6
Views: 3740

Re: Dark Images

I would suggest to include a bit more information... post the command you used and upload the picture that you got (or video). maybe post that you have done an apt-get update & upgrade and an rpi-update maybe tell us if it always happens or only under certaint lighting conditions, etc. right no...
by nazargren
Wed Jul 31, 2013 4:54 am
Forum: Other programming languages
Topic: Shell Script
Replies: 4
Views: 1869

Re: Shell Script

SirLagz wrote:What's not working ?
I just don't know how to get a loop to run rm *.jpg every 15 seconds.
by nazargren
Wed Jul 31, 2013 4:04 am
Forum: Other programming languages
Topic: Shell Script
Replies: 4
Views: 1869

Shell Script

I'm running Wheezy and I need help with getting a shell script that that runs rm *.jpg every 15 seconds. Thanks!
by nazargren
Wed Jul 31, 2013 4:02 am
Forum: Camera board
Topic: Dark Images
Replies: 6
Views: 3740

Dark Images

Hi guys. I'm running Wheezy. I'm using Motion MMAL and my pictures are showing up pretty dark. Can anyone help? Thanks!
by nazargren
Tue Jul 30, 2013 9:44 pm
Forum: Camera board
Topic: Motion MMAL Start on Boot
Replies: 3
Views: 2026

Re: Motion MMAL Start on Boot

dozencrows wrote:As if by magic... you might want to try what this post suggests: http://www.raspberrypi.org/phpBB3/viewt ... 16#p396016
I'll give it a shot and get back to you. Thanks again!
by nazargren
Sun Jul 28, 2013 9:33 pm
Forum: Camera board
Topic: Motion MMAL Start on Boot
Replies: 3
Views: 2026

Motion MMAL Start on Boot

I'm using Wheezy, I have Motion MMAL working correctly. I'm looking for a great tutorial to start Motion MMAL on boot. Thanks!
by nazargren
Sun Jul 28, 2013 3:04 pm
Forum: Camera board
Topic: Motion MMAL Email
Replies: 3
Views: 1418

Re: Motion MMAL Email

Hi nazargren - thanks for trying motion-mmal! A quick test shows that on_picture_save does work for motion-mmal; it is worth noting that even if you provide a command for this, a picture will still be saved to the directory specified in the target_dir setting. The command you set for on_picture_sav...
by nazargren
Sat Jul 27, 2013 8:03 pm
Forum: Camera board
Topic: Motion MMAL Email
Replies: 3
Views: 1418

Motion MMAL Email

I am running Wheezy. I have Motion MMAL, mpack, and ssmtp installed. My Pi camera board is running. and I want to know how to set up motion mmal to email me a snapshot. I changed on_picture_save mpack -s Alert %f myemail@bla.com and it still sends pictures to /home/pi. It worked with just motion and...
by nazargren
Thu Jul 18, 2013 3:17 pm
Forum: Camera board
Topic: Camera Board and Motion
Replies: 15
Views: 48286

Re: Camera Board and Motion

How do I set up Motion-mmal?
by nazargren
Thu Jul 18, 2013 4:58 am
Forum: Camera board
Topic: Camera Board and Motion
Replies: 15
Views: 48286

Camera Board and Motion

Hi everyone, I'm using Wheezy and have Motion working perfectly with a USB webcam, and I was wondering if there are any extra steps when configuring/connecting the Pi camera to motion as compared to the USB webcam, and if so, what are those steps? Thanks!

Go to advanced search