Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
/ home Public archive

Home surveillance using a Raspberry Pi, a Raspberry Camera (or any other camera configured with Motion) and two temperature sensors DS18B20. Node.js

License

Notifications You must be signed in to change notification settings

michaeltroger/home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Home surveillance using a Raspberry Pi, a Raspberry Camera (or any other camera configured with Motion) and two temperature sensors DS18B20. Node.js

Topics

Resources

License

Stars

Watchers

Forks