Go to advanced search

by Dubman
Sun Oct 20, 2019 5:17 pm
Forum: General discussion
Topic: Adding email video alerts to home security system
Replies: 3
Views: 156

Re: Adding email video alerts to home security system

Great! I have been checking this link: https://picamera.readthedocs.io/en/release-1.10/recipes1.html and I was wondering if you think this modification of my Python file might work? First, I omitted this: def capture_image(): global texte data= time.strftime("%Y-%b-%d_(%H%M%S)") texte= "picture take...
by Dubman
Sun Oct 20, 2019 2:55 pm
Forum: General discussion
Topic: Adding email video alerts to home security system
Replies: 3
Views: 156

Adding email video alerts to home security system

Hi, I'm currently using a python script, similar to the slightly adapted one below, which is from: https://codingyoda.com/Raspberry-Pi-Email-PIR-Sensor.php How would I go about adding video alerts, of say 10/15 seconds, instead of still images? Is it possible to implement this on my existing Raspbia...
by Dubman
Fri Sep 13, 2019 3:50 pm
Forum: General discussion
Topic: Combining PIR and normal motion detection?
Replies: 7
Views: 285

Re: Combining PIR and normal motion detection?

Thanks for those suggestions. Hopefully I might manage to implement one of them.
by Dubman
Fri Sep 13, 2019 11:08 am
Forum: General discussion
Topic: Combining PIR and normal motion detection?
Replies: 7
Views: 285

Re: Combining PIR and normal motion detection?

The thing is that it's so hard to avoid false alarms and I suspect even harder when relying on only "in camera" type detection - that's why I thought of combining both (PIR and "in camera") together. I know that it's possible to install a dual PIR plus microwave type detector, but I don't like the i...
by Dubman
Thu Sep 12, 2019 6:59 pm
Forum: General discussion
Topic: Combining PIR and normal motion detection?
Replies: 7
Views: 285

Re: Combining PIR and normal motion detection?

Yes, I am currently using a pir sensor, a bit like the one in the previous post. I was wondering if it may be possible to also add another "in camera" type sensor capable of detecting movement, with the objective of reducing false alerts. I'm using the Rpi camera module. Would motioneyeos be a solut...
by Dubman
Thu Sep 12, 2019 2:58 pm
Forum: General discussion
Topic: Combining PIR and normal motion detection?
Replies: 7
Views: 285

Combining PIR and normal motion detection?

Hi, I have a python script that includes code for PIR detection in a home security system, but I get too many false alerts, probably moreso on very warm sunny days. The sensor is in the open air. Is there a way l could add in a normal motion detection trigger that detects only movement? The idea bei...
by Dubman
Tue Jul 09, 2019 12:55 pm
Forum: General discussion
Topic: Adding second camera to Rpi 3?
Replies: 14
Views: 618

Re: Adding second camera to Rpi 3?

Thanks for the suggestions. I'm hoping to find the simplest possible solution.
by Dubman
Fri Jul 05, 2019 5:59 am
Forum: General discussion
Topic: Adding second camera to Rpi 3?
Replies: 14
Views: 618

Re: Adding second camera to Rpi 3?

I do have a second Rpi 3, but would it be complicated to get it working with the current system, which is a Rpi 3 plus PIR sensor that triggers email alerts on detection of intruders? I mean, would the one PIR sensor be sufficient? I assume I would need to connect the second Rpi and its camera modul...
by Dubman
Thu Jul 04, 2019 10:11 am
Forum: General discussion
Topic: Adding second camera to Rpi 3?
Replies: 14
Views: 618

Adding second camera to Rpi 3?

Hi, I have a python script working with the pi camera module (with Rpi 3 board) and a PIR sensor that triggers email alerts when an intruder is detected. But how would I go about adding a second camera to the same Rpi, in such a way that every time the (one) sensor triggers an alert, both cameras wo...
by Dubman
Mon May 06, 2019 7:50 am
Forum: General discussion
Topic: Out of resources error
Replies: 0
Views: 161

Out of resources error

Hi, I have my home security script up and running, and even though I was getting the error below, the python script continued to work normally. I was using a service script to start on boot up for 24/7 running, and then, thinking that the out of resources error below may be caused by 2 processes try...
by Dubman
Wed May 01, 2019 2:12 pm
Forum: General discussion
Topic: How can I add live streamimg to home security system?
Replies: 4
Views: 413

Re: How can I add live streamimg to home security system?

Thanks, I'll try Motioneyeos. But would this be the correct way to install it?
Install on the Rpi by means of sd card which is then inserted in the pi.
So does this means that I don't need, and can erase my current Raspbian os from the pi?
by Dubman
Wed May 01, 2019 12:59 pm
Forum: General discussion
Topic: How can I add live streamimg to home security system?
Replies: 4
Views: 413

How can I add live streamimg to home security system?

Hi, with the help of this forum, the python script below seems to be working very well for home.security using a pir sensor and email alerts, but now I would like to add live video streaming to my setup, so that I could also keep an eye on the house via live streaming. How would I go about that whil...
by Dubman
Sat Apr 20, 2019 7:37 am
Forum: General discussion
Topic: How to add images to this email alert script?
Replies: 13
Views: 503

Re: How to add images to this email alert script?

Great, thank you for being so helpful!
by Dubman
Fri Apr 19, 2019 9:37 pm
Forum: General discussion
Topic: How to add images to this email alert script?
Replies: 13
Views: 503

Re: How to add images to this email alert script?

That's great, it's working now when I place the lines here: server.quit() os.remove('%s.jpg'%data) print("File Removed!") exit() I think I had tried it here: print ("intruder") capture_image() os.remove('%s.jpg'%data) print("File Removed!") But now: [email protected]:~ $ sudo python alarm.py intruder F...
by Dubman
Fri Apr 19, 2019 8:05 pm
Forum: General discussion
Topic: How to add images to this email alert script?
Replies: 13
Views: 503

Re: How to add images to this email alert script?

oh yes, I see I no longer have the "moveto" line. I tried the os.remove('%s.jpg'%data) But I get this error : [email protected]:~ $ sudo python alarm.py intruder Traceback (most recent call last): File "alarm.py", line 74, in <module> os.remove('%s.jpg'%data) OSError: [Errno 2] No such file or director...
by Dubman
Fri Apr 19, 2019 7:13 pm
Forum: General discussion
Topic: How to add images to this email alert script?
Replies: 13
Views: 503

Re: How to add images to this email alert script?

ok, I see that using Ctrl&C is a cleaner way to close. One doubt about this part of the code: path = "/home/pi/" moveto = "/home/pi/Pictures/"` How can I edit the "moveto" line so that the image gets deleted after sending, instead of being sent to the sd card? Or perhaps another option is to add the...
by Dubman
Fri Apr 19, 2019 6:13 pm
Forum: General discussion
Topic: How to add images to this email alert script?
Replies: 13
Views: 503

Re: How to add images to this email alert script?

That's progress! Thanks Gordon, that last script you posted is sending me alerts with images, although when I do keyboard interrupt, I get the following errors: [email protected]:~ $ sudo python alarm.py intruder intruder intruder intruder intruder intruder intruder intruder intruder intruder ^CTraceba...
by Dubman
Fri Apr 19, 2019 4:49 pm
Forum: General discussion
Topic: How to add images to this email alert script?
Replies: 13
Views: 503

Re: How to add images to this email alert script?

Thanks, I looked at the link you posted and took some lines to add to the script from https://codingyoda.com/Raspberry-Pi-Email-PIR-Sensor.php, as below: #!/usr/bin/env python3 import RPi.GPIO as GPIO import picamera import time import shutil import smtplib from email.mime.multipart import MIMEMulti...
by Dubman
Fri Apr 19, 2019 1:21 pm
Forum: General discussion
Topic: How to add images to this email alert script?
Replies: 13
Views: 503

How to add images to this email alert script?

Hi, any idea how I could adapt this python script: https://codingyoda.com/Raspberry-Pi-Email-PIR-Sensor.php (see below) so that images triggered by the PIR sensor would be included with the email alerts? Thanks import RPi.GPIO as GPIO import time sensor = 4 GPIO.setmode(GPIO.BCM) GPIO.setup(sensor, ...
by Dubman
Tue Apr 02, 2019 6:48 pm
Forum: General discussion
Topic: Email alert images accumulating on sd card
Replies: 17
Views: 910

Re: Email alert images accumulating on sd card

Thanks for all the advice. Just now I'm looking into other alternatives - using an IP camera or maybe a webcam. I want to see if I can avoid having the Rpi in a plastic box outside the house, due to the short cable on the camera module. Thanks again.
by Dubman
Mon Apr 01, 2019 7:08 am
Forum: General discussion
Topic: using ip camera with Rpi as part of home security system?
Replies: 14
Views: 782

Re: using ip camera with Rpi as part of home security system?

Sorry, I'm a bit confused, and must have made some mistakes, about some of the Rpi ip addresses I have been trying, in order to open the Motioneye configuration page, So I have just looked closer at it: When I check ifconfig in RPi terminal, Wlan0 displays: 192.168.0.105, while eth0 displays 192.168...
by Dubman
Sun Mar 31, 2019 9:13 pm
Forum: General discussion
Topic: using ip camera with Rpi as part of home security system?
Replies: 14
Views: 782

Re: using ip camera with Rpi as part of home security system?

I checked the source code and it looks like the code of the correct site. The thing is that I can connect to the ip camera using another ip address, which opens the configuration page that the camera has always used. There, I can change brightness, contrast, etc and also configure motion detect, but...
by Dubman
Sun Mar 31, 2019 4:56 pm
Forum: General discussion
Topic: using ip camera with Rpi as part of home security system?
Replies: 14
Views: 782

Re: using ip camera with Rpi as part of home security system?

OK, not to worry. By the way that icon on top left corner of the screen looks like a a broken page icon.
by Dubman
Sun Mar 31, 2019 4:04 pm
Forum: General discussion
Topic: using ip camera with Rpi as part of home security system?
Replies: 14
Views: 782

Re: using ip camera with Rpi as part of home security system?

I installed motioneye in RPI terminal, but was unable to access the configuration screen. When I input the RPI IP address in the address bar, I get the screen in the attached inage, with a small icon in top left corner (next to cursor). Any ideas?
by Dubman
Sun Mar 31, 2019 8:05 am
Forum: General discussion
Topic: using ip camera with Rpi as part of home security system?
Replies: 14
Views: 782

Re: using ip camera with Rpi as part of home security system?

I should explain my setup a bit more: I have 2 cameras, both exterior and in somewhat difficult to access locations (just under the roof of a 2 storey house). One is a Rpi camera module along with a rpi inside a plastic box. The other is an ip camera, connected to the network router by ethernet cabl...

Go to advanced search