Setting up Zoneminder for the first time

Forum for questions and support relating to the 1.31.x releases only.
Post Reply
zmuser2018
Posts: 6
Joined: Thu Apr 12, 2018 10:01 pm

Setting up Zoneminder for the first time

Post by zmuser2018 » Thu Apr 12, 2018 10:06 pm

Hi everyone,

I am new to zoneminder and hope to get the help needed to set up my CCTV cameras.

I have decided to run zoneminder of a docker container because I found there's already one available
https://hub.docker.com/r/quantumobject/ ... oneminder/

The docker image above is relatively easy to install and run and I can access zoneminder via the web url

However, I don't know how to progress. I have a hikvision cctv POE camera
can I power it simply by connecting it to my pc ethernet? or do I need to buy pow switch?
how do I add the cctv camera to zone minder via the web interface?
Is there a guide that can help me through this as on git the instructions aren't very comprehensive.

thank you

bbunge
Posts: 1963
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Setting up Zoneminder for the first time

Post by bbunge » Thu Apr 12, 2018 11:18 pm

Zoneminder version, Linux distro and version, CAmera make and model number? Google is your friend if you search with zoneminder and camera model...

zmuser2018
Posts: 6
Joined: Thu Apr 12, 2018 10:01 pm

Re: Setting up Zoneminder for the first time

Post by zmuser2018 » Fri Apr 13, 2018 8:36 am

Thank you for the reply.

Hikvision DS-2CD2042WD-I WDR
Ubuntu 16.04 through docker container
Zone minder version 1.31

I have searched for it but didn't find a solution to my model.
However I have come across multiple topics showing that for every model/make there are different settings.
How are these settings established? is it zoneminder that sets a specific source path for every model or is it the camera that has a specific path that needs to be searched for?

rockedge
Posts: 815
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Setting up Zoneminder for the first time

Post by rockedge » Fri Apr 13, 2018 3:23 pm

the camera that has a specific path that needs to be searched for?
Yes each camera has URL path that needs to be configured in ZM. See if you can find out your model's info here:
https://www.ispyconnect.com/sources.aspx

here is an example of a D-Link 930lb IP camera wireless set up (camera has NO password set):
Screenshot2png.png
Screenshot2png.png (39.3 KiB) Viewed 746 times
Screenshot1.png
Screenshot1.png (40.19 KiB) Viewed 746 times

zmuser2018
Posts: 6
Joined: Thu Apr 12, 2018 10:01 pm

Re: Setting up Zoneminder for the first time

Post by zmuser2018 » Sat Apr 14, 2018 2:26 pm

Thank you

I visited the website and found the path for my model but I'm not sure whether I setting the parameters correctly.
Screen Shot 2018-04-14 at 15.20.48.png
Screen Shot 2018-04-14 at 15.20.48.png (141.58 KiB) Viewed 720 times
Screen Shot 2018-04-14 at 15.20.13.png
Screen Shot 2018-04-14 at 15.20.13.png (108.4 KiB) Viewed 720 times
Screen Shot 2018-04-14 at 15.19.48.png
Screen Shot 2018-04-14 at 15.19.48.png (120.72 KiB) Viewed 720 times
As you can see I generated the url, the IP address I'm using is the one that allows me to connect to ZM remotely, what I mean by that is that if I put the ip address in the browser with the port number, it will take me to the ZM interface. I assume that's the IP address I have to provide to the generator right?

After setting those values, I am not being able to get anything from the stream. I am not even sure if my CCTV is running.
I have connected my POE camera through a cat6 ethernet cable that connects the pc to the camera. Will the camera be getting power through the PC?

Looking at the logs, I see the following errors

Code: Select all

Date/Time
Component	Server	PID	Level	Message	File	Line
2018-04-14 10:25:56.600420	zmdc		398	ERR	'zmc -m 1' exited abnormally, exit status 255	zmdc.pl	
2018-04-14 10:25:56.570130	zmdc		824	INF	'zmc -m 1' started at 18/04/14 10:25:56	zmdc.pl	
2018-04-14 10:25:56.569950	zmdc		398	INF	'zmc -m 1' starting at 18/04/14 10:25:56, pid = 824	zmdc.pl	
2018-04-14 10:25:56.485590	zmwatch		433	INF	Restarting capture daemon for Monitor-1, shared data not valid	zmwatch.pl	
2018-04-14 10:25:56.477660	zmwatch		433	ERR	Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running.	zmwatch.pl	
2018-04-14 10:25:46.516590	zmdc		398	ERR	'zmc -m 1' exited abnormally, exit status 255	zmdc.pl	
2018-04-14 10:25:46.509644	zmc_m1		820	ERR	Failed to capture image from monitor 1 Monitor-1 (1/1)	zmc.cpp	284
2018-04-14 10:25:46.508483	zmc_m1		820	ERR	Unable to open input rtsp://admin:admin@192.168.1.15/H264 due to: Operation now in progress	zm_ffmpeg_camera.cpp	295
2018-04-14 10:25:46.506463	zmc_m1		820	INF	Priming capture from rtsp://admin:admin@192.168.1.15/H264	zm_ffmpeg_camera.cpp	114

zmuser2018
Posts: 6
Joined: Thu Apr 12, 2018 10:01 pm

Re: Setting up Zoneminder for the first time

Post by zmuser2018 » Mon Apr 16, 2018 9:22 am

Any idea what I'm doing wrong?

quynh.ht
Posts: 3
Joined: Mon Apr 16, 2018 8:53 am

Re: Setting up Zoneminder for the first time

Post by quynh.ht » Mon Apr 16, 2018 10:22 am

You can try to paste the link generated to web browser to test. If it works then it works. That how I test on my system.

zmuser2018
Posts: 6
Joined: Thu Apr 12, 2018 10:01 pm

Re: Setting up Zoneminder for the first time

Post by zmuser2018 » Mon Apr 16, 2018 7:20 pm

I did paste the link but it goes to google results, it doesn't recognise it as a url, maybe because of the rtsp prefix?

rockedge
Posts: 815
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Setting up Zoneminder for the first time

Post by rockedge » Mon Apr 16, 2018 10:21 pm

have you tried to change Remote Method to TCP or something other than HTTP TUNNEL?

zmuser2018
Posts: 6
Joined: Thu Apr 12, 2018 10:01 pm

Re: Setting up Zoneminder for the first time

Post by zmuser2018 » Tue Apr 17, 2018 8:37 am

No I have not. I will change that and see if it works. If you think there's something else wrong in my settings, in terms of what I've put, please let me know as I might have got something wrong.

canbikehere
Posts: 12
Joined: Tue Feb 27, 2018 6:09 pm

Re: Setting up Zoneminder for the first time

Post by canbikehere » Tue Apr 17, 2018 4:19 pm

Most newer (as in made in the last few years) cameras will work with the ONVIF tool built in to Zoneminder. Click the 'Source' tab, then click the 'ONVIF' link at the top; it'll scan your local network for ONVIF-compliant cameras (which the Hikkvision probably is) and will fill in the config options for Zoneminder.

UKIkarus
Posts: 1
Joined: Wed Apr 18, 2018 11:07 am

Re: Setting up Zoneminder for the first time

Post by UKIkarus » Wed Apr 18, 2018 11:09 am

Did nobody read the comment properly as highlighted here?
I have connected my POE camera through a cat6 ethernet cable that connects the pc to the camera. Will the camera be getting power through the PC?
To answer your question, NO your POE camera will NOT be powered via the PC and will require either a POE switch or a POE injector connected to the device in order to provide power unless you have a separate power adapter.

Rule out the fact that the camera might not even be turned on first before you guys go off on a tangent :roll: :lol:

Make sure you can provide power to the camera, and you can connect to it directly via the default IP address (unless you have reconfigured it manually) do this WITHOUT zoneminder involved.

ONLY after you have ensured the camera is operational and you can get to it on the network should you be trying to add it to zoneminder.

rockedge
Posts: 815
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Setting up Zoneminder for the first time

Post by rockedge » Wed Apr 18, 2018 3:06 pm

@UKIkarus..... good point.

Pedulla
Posts: 65
Joined: Thu Nov 27, 2014 11:16 am
Location: Portland, Or

Re: Setting up Zoneminder for the first time

Post by Pedulla » Wed Apr 18, 2018 3:24 pm

All my cams are Hikvision.
You will hear relay's click on and off a couple times once they are powered up.
No relay sounds... no worky worky... ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests