Raspberry Pi – Security Camera
I’m the proud owner of several Raspberry Pi’s. I got them some while ago to learn more about IoT and Home Automation, as I think it would be incredibly neat to have a house that’s entirely self-operated. Since I moved in my new appartment I’ve been eagerly planning a bunch of projects that involve IoT.
One of these is the Raspberry Pi + MotionEyeOS Security Camera, originally from: https://pimylifeup.com/raspberry-pi-security-camera/
- Raspberry Pi 3 + Case
- Power Supply
- HD Webcam C920 (USB)
- 32gb MicroSD Card
- Ethernet Cable
- Installing MotionEyeOS
- Connecting to the Raspberry
- Configure MotionEyeOS
I’ve done my setup via my Ubuntu Linux , which is similar to Windows in that it’s very user friendly. I’d advice anybody using Windows that wants to do more with Tech to try it! For the original Windows install of MotionEyeOS, go to the original article via the link provided. You’ll notice that it’s much more steps.
MotionEyeOs is a really neat program you can use for your Security needs. It provides many, many cool features that enable you to set up exactly the kind of network you want. (PS: I also own a Lyric™ C1 Wi Fi Security Camera and Honeywell should be absolutely ASHAMED that they have produced such an APPALING device, especially when such good alternatives are available. Do not buy the Lyric Camera!!!!) Download & Format the SD Card
1. Download the Motion Pie SD Card Image from the Motion Pie GitHub repository.
2. You need to format the SD card before you can use it. With Ubuntu, just use ‘Disks’.
3. Double-click the image file and deploy it on the SD-card
Connecting to the Raspberry Pi Security Camera Platform
Alright, MotionEyeOS is installed. Insert the SD Card, the webcam, an Ethernet cord, and the power cord in the Raspberry. So now go ahead and boot the Pi up and then we can move onto getting it set up correctly. Wait a minute and login to your Router to get the IP address. You’ll find it under ‘Connected Devices’ with an associated IP address.
Type this address into your browser, such as Chrome (Normally it’s something like 192.168.1.5). You’ll be directed to the Login-page of the MotionEyeOS. Type ‘Admin’ as user and nothing for the password. Click login! And you’re in! You’re now in the central control station where you’ll be able to add the attached Webcams.
We can now work on getting the Camera to be wireless, to work on a schedule and to alert you via IFTTT or Email
In here you can set the administrator username and password. Be sure to enable ‘Advanced Settings’ to see all available settings.
Of course, a good security camera should be wireless. Here you can fill in the Network name and password. Click apply. If correct, you can now disconnect the Ether Cable!
Under this menu, you’re able to set certain settings regarding the Raspberry Pi camera device.
- Camera Name: Set this to whatever you would like the camera to be named. For example, the name kitchen would work well for a camera in a kitchen.
- Camera Device: You’re unable to edit this one, but this is the device name of the camera.
- Light Switch Detection: Enable this if you want sudden changes such as a light being switched on not to be treated as a motion. (This will help prevent false positives)
- Automatic Brightness: This will enable automatic software brightness, this means the camera software will make adjustments for the brightness. You don’t need to activate this if your camera already handles this. In here you change the brightness, contrast, and saturation of the video of the camera.
- Video Resolution: Here you can set the video resolution of the camera. The higher the resolution, the more room it will take up and the more bandwidth it will need to use to stream the footage. I set mine to 1280×800, and that seems to work perfectly fine.
- Video Rotation: You can rotate your video from the Raspberry Pi security if you’re finding that it is looking the wrong way.
- Frame Rate: This sets the number of frames that will be sent be every second. The higher this is, the smoother the video, but again this will increase the storage used and bandwidth.
Under this menu, you can specify where you would like the files stored for the Raspberry Pi security camera. You can also enable automatic upload to Google Drive or Dropbox. I absolutely advice that you enable this option!
In here you can set the text overlay on the output of the camera. By default, the left text reads the camera name and the right read the time stamp (Today’s date and current time).
In here you can activate the Raspberry Pi security camera motion detection that is included in the software. You can make adjustments to the settings here so that you can get better motion detection.
You’re able to set up email notifications, webhook notifications(for use with IFTTT) or even run a command whenever motion is detected. This option will allow you to be notified whenever activity is detected on the cameras, perfect if they are monitoring areas with low traffic.
Here you can set the days, and the hours of operation you would like the system to be monitoring (If you leave this off then it is 24/7). This option is perfect if you only need it running during specific hours.
Alright! That’s it! I hope you’ll be able to create a great Security Camera network with this setup!