A Raspberry Pi based baby monitor
A tool to allow monitoring of your baby, even at night. Based on a Raspberry Pi and the NoIR camera.
Assuming you have a NoIR camera and a Raspbery Pi, ensure that raspistill
is installed. Once your camera is attached and working, install the deb package.
Then connect to your pi using a browser on port 8888
. You should see images coming through within minutes.
To build a deb file:
git clone https://github.com/baby-tech/babymonitor.git
cd babymonitor/infra/vagrant
vagrant up
vagrant ssh
cd workspace/src/github.com/baby-tech/babymonitor
make package
This will output a suitable deb in debbuild
.
You can do development on or off the pi. Being on the pi allows you to develop every aspect of the babymonitor. Doing development on another machine means you cannot directly interact with the camera module. But fear not! The camera module can be stubbed out. Read on for instructions.
You'll need Vagrant working. Then do the following:
git clone https://github.com/baby-tech/babymonitor.git
cd babymonitor/infra/vagrant
vagrant up
vagrant ssh
cd workspace/src/github.com/baby-tech/babymonitor
make
./bin/babymonitor
At this point you'll have a the application running on http://localhost:8888/
serving a dummy image. Woohoo!