Connect cameras from multiple zoneminder servers in to 1

Forum for questions and support relating to the 1.25.x releases only.
Locked
jplamb13
Posts: 10
Joined: Fri Feb 15, 2013 8:31 pm

Connect cameras from multiple zoneminder servers in to 1

Post by jplamb13 »

Hi all,

I have been using ZM for a while now, nothing major just viewing a live stream.

I have just installed ZM on to a Raspberry pi and have it working. So I am wanting to connect everything together .

i have my main server (centos with lots of power ) with 2 cameras attached via usb,

Raspberry pi currently with 1 camera, will likely be 2 connected via usb.

Is there a way I can add the camera from the raspberry pi to the ZM running on the main server so I would have 3 cameras displayed? They are all currently on the same network if this helps

Many thanks
James
twice
Posts: 24
Joined: Tue Nov 02, 2010 12:38 am

Re: Connect cameras from multiple zoneminder servers in to 1

Post by twice »

yes ,
settings are ,Source Type "Remote"
"Http simple"
Remote Host "ip.of.the.pi"
Remote Port "80" or what ever you have it set as
Remote Host Path "/cgi-bin/nph-zms?mode=jpeg&monitor=<?>&scale=100&maxfps=10&buffer=1000&user=USERNAME&pass=PASSWORD" the ? is the monitor Number on the remote zm
make sure capture width and height match the PI's settings

regards
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Connect cameras from multiple zoneminder servers in to 1

Post by knight-of-ni »

Also note there is a camera preset called "Remote ZoneMinder" to help you get started.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
jplamb13
Posts: 10
Joined: Fri Feb 15, 2013 8:31 pm

Re: Connect cameras from multiple zoneminder servers in to 1

Post by jplamb13 »

many thanks, i will have a look
jplamb13
Posts: 10
Joined: Fri Feb 15, 2013 8:31 pm

Re: Connect cameras from multiple zoneminder servers in to 1

Post by jplamb13 »

i have added the remote camera and it has connected but it only shows a blue screen .. Any Ideas?
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Connect cameras from multiple zoneminder servers in to 1

Post by knight-of-ni »

Well, what do your log files say?
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
jplamb13
Posts: 10
Joined: Fri Feb 15, 2013 8:31 pm

Re: Connect cameras from multiple zoneminder servers in to 1

Post by jplamb13 »

Forgot about the Log, it says


Date/Time
Component PID Level Message File Line
2013-09-04 21:55:13.782520 zmc_m10 11381 WAR Unable to capture image, retrying zm_remote_camera_http.cpp 1092
2013-09-04 21:55:13.781854 zmc_m10 11381 ERR Connection dropped by remote end zm_remote_camera_http.cpp 603
2013-09-04 21:55:13.371381 zmc_m10 11381 WAR Unable to capture image, retrying zm_remote_camera_http.cpp 1092
2013-09-04 21:55:13.370859 zmc_m10 11381 ERR Connection dropped by remote end zm_remote_camera_http.cpp 603
2013-09-04 21:55:13.088807 zmc_m10 11381 WAR Unable to capture image, retrying zm_remote_camera_http.cpp 1092
2013-09-04 21:55:13.088283 zmc_m10 11381 ERR Connection dropped by remote end zm_remote_camera_http.cpp 603
2013-09-04 21:55:12.726634 zmc_m10 11381 WAR Unable to capture image, retrying zm_remote_camera_http.cpp 1092


found this THREAD on the forum which has a patch included but i am not sure where this is meant to be put,

many thanks for your support with this.
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Connect cameras from multiple zoneminder servers in to 1

Post by knight-of-ni »

That thread is for an old version of zoneminder. I checked and that patch is already part of the latest version. The blue screen is a generic symptom and can mean just about anything.

You should check the following:
1) check the log files of the remote system for additional clues.

2) if the remote system is behind a firewall then verify that port 80 is open by using telnet:

Code: Select all

telnet <ip address> 80
If you are left staring at a blinking cursor then port 80 is open and you are good. If you get connection refused, you have a network problem.

3) Test the stream by manually building the url into your web browser:

Code: Select all

<your_server_ip>/<path_to_your_cgi-bin>/nph-zms?mode=jpeg&monitor=<?>&scale=100&maxfps=10&buffer=1000&user=USERNAME&pass=PASSWORD
You should get a video stream in a non-IE web browser.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked