Goal
The purpose of this project is to monitor a camera using web interface from anywhere. The quality of this is the live and minimum delay of transferring the video.
In my testing environment, The project ran on a raspberry pi2 connected to a wifi dongle and logitec camera.
Requirements
- nodejs
- npm
- raspberry pi with raspian linux 4.4.13-v7+
- Logitec camera
- Installed Wifi/Internet Access
Install
after deploying the project from Github, run the following commands:
npm install
npm start
Monitor
login to the running server https://%5Bthe raspberry pi dns/ip]:4330
The default username/password is admin/fffff
how do you use express on the RPi? i tried some tutorial but there were a lot of broken packages..
LikeLiked by 1 person
install packages:
npm install express -S
npm install http -S
then in the js file :
var http = require(‘http’);
var express = require(‘express’);
var app = express();
app.post(‘/login’, function(req, res) {
res.end(“hello world”)
})
var server = http.createServer( app).listen(4330, function () {
console.log(‘HTTP started on port 4430’);
});
LikeLiked by 1 person