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
Connect cameras from multiple zoneminder servers in to 1
Re: Connect cameras from multiple zoneminder servers in to 1
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
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
- 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
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/
All of these can be found at https://zoneminder.blogspot.com/
Re: Connect cameras from multiple zoneminder servers in to 1
many thanks, i will have a look
Re: Connect cameras from multiple zoneminder servers in to 1
i have added the remote camera and it has connected but it only shows a blue screen .. Any Ideas?
- 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
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/
All of these can be found at https://zoneminder.blogspot.com/
Re: Connect cameras from multiple zoneminder servers in to 1
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.
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.
- 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
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:
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:
You should get a video stream in a non-IE web browser.
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
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
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/
All of these can be found at https://zoneminder.blogspot.com/