Skip to content

roryl23/osss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Security System

Note: this is unstable and currently under development

Overview

This repository contains everything you need to configure a self-contained camera security system using open source software and the Raspberry Pi hardware platform.

Dependencies

Software

This build process has only been tested on Ubuntu 22.

Testing

Dependencies

Running the tests

The only comprehensive way to test this before building the RPi images and deploying to hardware is to have a development machine with two cameras.

Use ls /dev | grep video to find relevant device files for your system.

In camera directory, running bash build.sh 0 2 should result in two windows that contain the camera feed from the monitor application. If not, fiddle with the two camera numbers to get the right combo for your system.

You should see movements outlined in red on your two camera feeds.

Image Build

To build the software, follow these steps:

  • Install test dependencies: sudo apt-get install libcanberra-gtk-module
  • The monitor application needs to be built first: bash build_image.sh monitor
  • Followed by the camera application: bash build_image.sh camera

Hardware

For the monitor, you'll need:

  • RPi 400 or Model B
  • Screen, I used a touchscreen to simplify usage

For the camera, you'll need:

Development notes

  • If you make modifications to the pi-gen process, make sure that your code accounts for both starting from scratch, or resuming the image build from an arbitrary stage.

Future Development

  • Monitor: Add support for capturing video clips on the monitor and saving to a mounted USB drive. Issue

Releases

No releases published

Packages

No packages published