How to use an old Android phone as an IP camera on Zoneminder

I thought of using my old of  Micromax 60 Android phone as a IP camera for Zoneminder software .When I search the internet for a software that can convert a phone to an IP camera ,I came across an interesting software called  IP Webcam.

Let us see how a phone can be used with Zoneminder.

First you will have to have a wireless router connected to the computer where the Zoneminder installed.

1.Install IP Webcam software on the phone.

2.Activate the wireless connection in the phone and connect to the wireless router.

3.Open the IP Webcam and go through the menu and activate the server.Now you can view the IP address of the phone and the port number on the screen.Write down the IP Address and the port .(my IP Address and port    192.168.1.3:8080)

4.If you enter the above IP Address  on the address bar of the computer ,you will get a screen as follows

Press here to see 192.168.1.3:8080

5. Add a monitor in the ZM-Console.

Fill the general and source sub menus as follows.

Press here for general

Press here for source 

Press here to see the ZM-Conzole

6.Restart ZM using the runnig/stop key in the ZM-Console. Now you can view video streaming on the phone on the ZM monitor .

Press here to see ZM monitor

 

Note :- The charging adopter has to be connected to phone while the IP Webcam is activated to avoid the battery runs down .There should be sufficient ventilation provided to avoid heating the phone.

More details on IP Webcam can get from here

 

 

 

How to view Zoneminder monitor remotely using ngrok

When the  Zonminder is using Apache HTTP Server , the ZM-Console address is localhost/zm. The ngrok software can be used to access the localhost of the computer where the zoneminder is installed .

First you will have to install the ngrok software on the computer where the zoneminder is installed .

Once  you run ngrok on the terminal you will get the web address for you to access the localhost remotely .

You can get ngrok from here

First ,download the ngrok zip file and extract it in to the home directory of the computer.

Then open the terminal and run the following command  to install ngrok

sudo apt-get install ngrok-client

Then run

./ngrok http 80

Now You see the ngrok terminal as follows.

Press this to see ngrok terminal

Here the web address under the forwarding will give the access to localhost:80 of your computer. Now you can use this web address to access your localhost on a remote computer .

 

Press this  to see  the result 

Now you can access the ZM-Console by adding /zm to the web address

Press this to see the ZM-Console and the Monitor