In this tutorial, we go over the materials and the codes to make an ONVIF IP security camera for around $60. The whole unit is small enough to be hidden almost anywhere or within a toy. The codes I use is from here: The method should work for Zero too.
materials needed:
+ raspberry pi 3:
+ camera module:
+ Amcrest NV2108-HS 8CH NVR 4K:
+ WD Purple 4TB Surveillance HD:
code used:
+ SSH into your raspberry pi or open Terminal in the Desktop GUI of Jessie (i have not tried on Stretch or Wheezy)
sudo raspi-config
+ enable camera from one of the options in the menu.
exit and reboot
+ open terminal again
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install npm
curl -sL | sudo -E bash -
sudo apt-get install nodejs
sudo npm install -g npm@latest
sudo apt install git
git clone
cd rpos
npm install
npx gulp
sudo nano rposConfig.json
set ip address to ip address of pi3
set user id
set pw
rtsp port 8554
service port 8081
sudo modprobe bcm2835-v4l2
node rpos.js

0 Comments