-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Michael Pechner edited this page Aug 11, 2018
·
8 revisions
Welcome to the Security-Camera wiki! After an odd incident at the house I decided on the need for a security camera. But I do not trust these companies not to leak passwords or have the photos leak. I don't walk around naked, not that ANYONE wants to see that, but I'm not 100% covered either.
I figure with a PIR sensor, a Raspbery Pi camera and using a private AWS S3 bucket, I capture the images.
The basic coding of sensing motion with a PIR motion sensor that triggers capturing images or videos with the camera is easy. Pushing the images to S3 is a nice add.
I will be testing both the basic and IR camera. Will test PIR as well as ultrasonic. Lidar would be fun, but those are a bit costly.
The basics for getting this going is simple.
- Prototyping setup
- AWS setup
- There are plenty of resources on how to this.
- Create your AWS root account. I would recommend if possible, an email different from the email used for shopping.
- Create an admin user. This is your primary user. You never use the root account.
- Create a user that only has S3 full access. For better security learn how to create a custom policy that allows write only access to an existing bucket. No console access required for this user.
- Create the PRIVATE bucket. Make sure you have at least AWS-256 at rest security. Add cloudtrail, object level monitoring. Use Cloudwatch if you want.
- For the console access accounts, load Authy or Google Authenticator and turn on 2FA.
- pir sensor setup
- Pi Camera
- Notification when image is pushed to S3
- https://docs.aws.amazon.com/AmazonS3/latest/dev/ways-to-add-notification-config-to-bucket.html
- This is quick and dirty if you are familiarly with AWS services. Took me under an hour to find the right page and get it set up.