IP WiFi WebCAM for Surveillance & for home automation


Home Page




In this tutorial we explain how to:
All of this for use a IP Camera (CAM) for surveillance and for do some basic home automation (DLink CAM DCS-5010L + DSP-W215 home smart plug).



DLINK
FOSCAM
How to see your CAM by your SmartPhone


-
DLINK -  DCS-930L and DCS-933L

These WebCAM have the same characteristics, except the DCS-933L that has the infrared leds for night vision.

BASIC SetUp
For configure the CAM there are two possibility:
Use the MyDlink webaccess
Up to now, this connection requires one of this Browser:
    Internet Explorer 8 or higher (32-bit)
    Firefox 12 or higher
    Chrome 20 or higher (32-bit on Windows, 32-bit/64-bit on Mac OS)
    Safari 6 or higher (Mac OS only)
Connect directly to your WebCAM
I use Linux and I prefer to use this method.
Find the IP of WebCAM
First is necessary use the Linux Terminal and type this command:
nmap -sP 192.168.1.1-255
We suppose that your access point has the IP: 192.168.1.1
For more dettail concerning nmap see here.

After nmap command you must see something like below.

enrico@enrico-HP-Compaq:~$ nmap -sP 192.168.1.1-255

Starting Nmap 6.40 ( http://nmap.org ) at 2015-07-25 22:45 CEST
Nmap scan report for vodafone.station (192.168.1.1)
Host is up (0.0010s latency).
Nmap scan report for new-host.station (192.168.1.2)
Host is up (0.015s latency).
Nmap scan report for android-d20.station (192.168.1.4)
Host is up (0.015s latency).
Nmap scan report for mg-HP.station (192.168.1.5)
Host is up (0.00034s latency).
Nmap scan report for DCS-930L-P2.station (192.168.1.6)
Host is up (0.098s latency).
Nmap scan report for enrico-HP.station (192.168.1.8)
Host is up (0.00023s latency).
Nmap scan report for new-host-3.station (192.168.1.10)
Host is up (0.00085s latency).
Nmap done: 255 IP addresses (16 hosts up) scanned in 5.17 seconds

My DCS-930L have the IP address:
192.168.1.6
see above.

Now open your
Browser and type the IP address of your DLINK Camera.
After a few seconds it will open a window where you will be asked your username and password and after this you must see your WebCAM.



SetUp the email for use @GMAIL.COM

For do this select:
SETUP and next MAIL, see below.
In the box 2, write: smtp.gmail.com
In the box 3, write: 587
In the box 4, 5 and 6 write: your email
Save the settings (step 10) and test your configuration by pressing: TEST (step 11).

 




 

UP



-
DLINK -  DCS-5010L
This is a new generation of DLINK webCAM and are ready to use in the new: Get Your Home Talking environment APP.

This means that you have the possibility to create a mini home automation system in conjunction of DSP-W215, DCH-S150, etc. For more details see here.

TOP




BASIC SetUp
For configure the CAM there are two possibility:
Use the MyDlink webaccess
Up to now, this connection requires one of this Browser:
    Internet Explorer 8 or higher (32-bit)
    Firefox 12 or higher
    Chrome 20 or higher (32-bit on Windows, 32-bit/64-bit on Mac OS)
    Safari 6 or higher (Mac OS only)
Connect directly to your WebCAM
I use Linux and I prefer to use this method.
Find the IP of WebCAM
First is necessary use the Linux Terminal and type this command:
nmap -sP 192.168.1.1-255
We suppose that your access point has the IP: 192.168.1.1
For more dettail concerning nmap see here.
After nmap command you must see something like below.

enrico@enrico-HP-Compaq:~$ nmap -sP 192.168.1.1-255

Starting Nmap 6.40 ( http://nmap.org ) at 2015-07-25 22:45 CEST
Nmap scan report for vodafone.station (192.168.1.1)
Host is up (0.0010s latency).
Nmap scan report for new-host.station (192.168.1.2)
Host is up (0.015s latency).
Nmap scan report for android-d20.station (192.168.1.4)
Host is up (0.015s latency).
Nmap scan report for mg-HP.station (192.168.1.5)
Host is up (0.00034s latency).
Nmap scan report for DCS-930L-P2.station (192.168.1.6)
Host is up (0.098s latency).
Nmap scan report for enrico-HP.station (192.168.1.8)
Host is up (0.00023s latency).
Nmap scan report for new-host-3.station (192.168.1.10)
Host is up (0.00085s latency).
Nmap done: 255 IP addresses (16 hosts up) scanned in 5.17 seconds

My DCS-5010L have the IP address:
192.168.1.10
see above.

Another way to find the IP of your WebCAM is, open the APP: MyDlink Home (it is on your smatphone) and select the Dlink camera that you need to configure.
After the connection with your Dlink WebCAM, tap on the three circles to the right of the name of WebCAM.
From the new page that appear tap on the Information icon.
Now you must see the IP address of your WebCAM.

Now open your
Browser and type the IP address of your DLINK Camera.
After a few seconds it will open a window where you will be asked for your username and password and after this you must see your WebCAM.



SetUp the email for use @GMAIL.COM
For do this follow the steps below:
  • Select SETUP and next MAIL, see below.
  • In the box 2, write: smtp.gmail.com
  • In the box 3, write: 587
  • In the box 4, 5 and 6 write: your email
  • Save the settings (step 10) and test your configuration by pressing: TEST (step 11).




Motion Detection
The configuration is very easy, see the example (image) below.






SetUp the FTP for save video clip
For configure the FTP for save a video clip, do this:
  • SETUP and next FTP, see below.
  • In the box 3 write the name of your FTP server, example: www.emcu.it
  • In the box 4 write: 21 (is the default)
  • In the box 5 and 6 write the username and the password for access to FTP server
  • In the box 7 write the FTP path where save your video clip, for example: www.emcu.it/CLIP
  • Save the settings (step 11) and test your configuration by pressing: TEST (step 12).
In the configuration below we save a video clip if the motion detection generate an alarm.







-
FI9818W


TOP



-
How to see your CAM by your SmartPhone


-
Introduction

If you use the DLink IP CAM, the DLink give you a free remote access to your home IP CAM, other producers of IP CAM give you this possibility for limited time.
For example, we use the Foscam FI9818W and the remote access expired after one year.


For see your home WebCam (CAM) from your SmartPhone when you are around the world is necessary do some configuration in your Access Point and in your CAM.
The explanations below show the way to use the free DDNS service (No-IP), how to configure your Access Point (Vodafone Station 2) and how to configure your CAM (Foscam).


-
Free DDNS service and configuration of the CAMs

To access from outside your home, to your WebCAM, is necessary know the IP of your Access Point that you use to connect to Internet.
Unfortunately, your home IP is not a static IP but is a dynamic IP, this means that sometimes, your Internet provider, change your IP.

Fundamentally is necessary an static IP, for get it there are two possibility that are:
1) Ask to your Internet provider a Static IP, but this is to expensive
2) Use a free DDNS service, in this tutorial we use: No-IP (www.noip.com).
     The DDNS service, convert your dynamic IP in a static IP.



First step: register an account on a DDNS service.
There are a free DDNS services, we decided to use the No-IP service
(www.noip.com).
After a registration on No-IP, you must see something like below.



If you press on: Modify
you must see something like below.



The:
is the name that you choose for your No-IP hostname.
For example:
homecam.ddns.net
cam.ddns.net
etc.



Second step: It is necessary configure your CAMs with a static IP and tell them the No-IP account.
Suppose that your Access Point
(your ADSL modem that you use to connect to Internet) have the IP: 192.168.1.1
a possible configuration of your CAM1 is shown below (the CAM that we use are Foscam mod. FI9818).



For configure a second CAM (CAM2), you must change the IP Address: 192.168.1.91 in 192.168.1.92 and so on for enumerate all the CAMs that you have.

Now is necessary configure the DDNS of your CAMs, see the image below.
The Manufacturer's DDNS is the DDNS offered of your CAM.
Our Foscam DDNS is expired after one year from the registration.
Configure the: Third Party DDNS, in according to your registration on No-IP server.





Third step is configure your Access Point (your ADSL modem that you use to connect to Internet) to communicate to No-IP, the actual dynamic IP.
Actually, the 90% of the Access Point have a page dedicated to do this (DDNS).
We use the Vodafone Station 2 and the page is shown below.



NOTE:
If your Access Point don't have a DDNS page, the No-IP offer a SW to install on your PC that do the same.
In this case the PC where you install this SW must be always ON.

Now is necessary do a port forwarding for remote access to your WebCam (CAM).
On the Vodafone Station 2 the page for do this is shown below.






-
How to configure your SmartPhone to see the Foscam
For see your Foscam on your SmartPhone we suggest to use the official Foscam APP that is available for Android and iOS (Apple), the APP is called: Foscam Viewer.
An alternative APP is: CamViewer.

For this tutorial we use the Foscam Viewer.
The configurations that you must do are:
  • Add your CAM to Foscam Viewer
  • Configure the remote connection how is shown in the image below (for CAM2)






TOP