Skip to content

weworkweplay/raspeye-rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaspEye

Create a low-cost webcam with the Raspberry Pi and the default RPi Camera board. By default, it stores your pictures on its SD-card, but there's an option to set an API URL and have all images uploaded to your server.

We published an example server and front-end setup here.

Setup

  1. Download NOOBS to SD-card
  2. Install Raspbian
  3. Install Node (http://weworkweplay.com/play/raspberry-pi-nodejs/ - step 2)
  4. Install Forever ($ sudo -i npm install -g forever)
  5. Clone this repository onto your Raspberry Pi.
  6. Install dependencies ($ npm install)
  7. If you want to post the images to your server, edit the API-variable in camera.js
  8. To have it run on startup, open crontab configuration: $ crontab -u pi -e
  9. Add the following line: @reboot /usr/bin/sudo -u pi -H /usr/local/bin/forever start -a /home/pi/camera.js

Note that if you're using a Raspberry Pi A, you have no ethernet port and you'll have to go through some trouble to set up automatic WiFi-connecting via a dongle if you want to push to a server.

If you turn off image uploading, all images stay on the SD-card, the app will probably crash when the card is full.

When booting, the app goes in burst mode. It'll take an image as soon as the camera is ready during three minutes, so when you're looking through the livestream you can position your camera and adjust it easily. You can turn it off by changing the burstMode to false.

About

Raspberry Pi camera timelapsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published