Home surveillance using a Raspberry Pi, a Raspberry Camera (or any other camera configured with Motion) and two temperature sensors DS18B20. Node.js
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
public
views
.gitignore
LICENSE.md
README.md
home.png
index.js
package.json

README.md

Home surveillance with Node.js for Raspberry Pi

home

Necessary hardware:

  • Raspberry Pi
  • USB Webcam or Raspberry Camera configured with Motion (livestream has to be enabled)
  • 2x DS18B20 temperature sensors

Install dependencies: npm install

Create a file for handling your MongoDB database configuration called config/db_url with the following content (fill out your connection details):

var monodbUrl = 'mongodb://<user>:<password>@<server>:<port>/<database>';
module.exports = monodbUrl;

config/sensors.js enter here your temperature sensor ids

views/index.ejs set here the URL so that it points to your camera livestream by Motion

Launch: node index