To build this project, you'll need:
- A Raspberry Pi 3 model B (40€)
- A SD card (12€)
- A Power Supply (8€)
- A 8MP Camera V2 infrarouge for Raspberry (35€)
- A 60cm Cable Camera 60 (3€)
- A camera support (9€)
- A Raspberry case + heat sink (7€)
- A fake camera (27€)
- A Wi-Fi connection
- Patience and passion
Total: 141€
Connect you camera on your raspberry
Connect your Raspberry to internet with an ethernet link. It is required for the MotionEyeOS install but you will can removed it just after installation and use wifi connect.
Download MotionEyeOS : https://github.com/ccrisan/motioneyeos/releases
Install MotionEyeOS : https://github.com/ccrisan/motioneyeos/wiki/Installation
Get your Raspberry local IP by looking along informations displayed on the Raspberry screen.
With a computer connected on the same network with your Raspberry, open a browser and type your raspberry local IP (for me http://192.168.1.111
).
Login with admin
and no password.
You can see the live video of your camera.
Go to Settings
on top left, then General settings
and define your Admin Password
and your Surveillance Password
. If you don't define your Surveillance Password
, your live video will be public accessible on internet.
Then in Network
define your static wifi IP.
Apply
these modifications.
Unlink the ethernet link. Now your Raspberry will use your wifi network.
Check to access to your Raspberry by typing the wifi local IP in browser on an other device connected to the same wifi network.
And then explore all options and defined it as you wish.
This is my configuration :
Check your Rasbperry local access by typing your Raspberry local IP (
192.168.1.202
) in a browser on a device connected on same wifi network.
My modem is a Huawei E5180s-22 but your modem can be different, the forwarding (NAT) configuration will be similar.
Go to your modem admin panel control and add a forwarding (NAT) to your Raspberry local IP :
Check your Rasbperry public access : type your modem public IP in a browser, you should access successfully to your Raspberry.
Configure a human friendly domain with www.noip.com to access to your Raspberry from Internet
Create an account on www.noip.com
Go to on https://www.noip.com/.
Create a free account.
Create a host
.
This host is a human friendly address (e.i. www.maisonlimoges.ddns.net
) which will redirect to your modem public IP.
Download the client https://www.noip.com/download?page=win and install it on your windows computer using the same Raspberry network wifi.
Follow this good tutorial : http://fr.sizious.com/2017/04/30/comment-installer-no-ip-dynamic-update-client-duc-sous-raspbian/
Check your Rasbperry public access with a human friendly domain by typing it in a browser.
Create on your ftp server a .htaccess
file with :
redirect 301 /camera http://maisonlimoges.ddns.net
Now you can access to your camera every where with your own domain :).
Enjoy