Difference between revisions of "How to setup Sony SNC-EP521 with pan tilt zoom"

From ZoneMinder Wiki
Jump to navigationJump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
Download the driver file [https://gist.github.com/imandarabi/b6ebbc7a89c4ef6e6c34/ from here], and store it in the right directory. the location should be /usr/share/perl5/ZoneMinder/Control. If that location doesn’t exist on your system, you can do a search for another camera driver such as PanasonicIP (#locate PanasonicIP.pm) and store the SNCEP521.pm file in the same location.
Download the driver file [https://gist.github.com/imandarabi/b6ebbc7a89c4ef6e6c34/ from here], and store it in the right directory. the location should be /usr/share/perl5/ZoneMinder/Control. If that location doesn’t exist on your system, you can do a search for another camera driver such as PanasonicIP (#locate PanasonicIP.pm) and store the SNCEP521.pm file in the same location.


i assume you know howto add camera to zoneminder,but here is source tab of adding cam to zoneminder (fill user, password, and ip of your camera) :  
i assume you know howto add camera to zoneminder,but here is source tab of adding cam to zoneminder (fill user, password, and ip of your camera in "Remote Host Name" field) :  


[[File:Source tab.png]]
[[File:Source tab.png]]
Line 12: Line 12:




Again, make sure you set the correct IP address (the same as what you set in the source tab). you won't have SNCEP521 option in "control type", so click edit  
Again, make sure you set the correct IP address (the same as what you set in the source tab).  
and add new one like this :
 
by now, you won't have SNCEP521 option in "control type" field, so click edit, then in new page (Control Capabilities page) click on add new control. then new page starts like this:
Warning : you should pay attention that, the name in protocol field should be the same as file name which is saved in server. in this case for example we save SNCEP521.pm in /usr/share/perl5/ZoneMinder/Control and set SNCEP521 in protocol field.
 
[[File:Main capability tab.png]]
 
fill other tabs the same as in the following pictures and save window; then go back to monitor tab, on top left of the page, click on control link and you should see pan, tilt and zoom pics at the bottom of monitor.
note: in move tab you can select Diagonally, Mapped, Absolute, Continuous fields either.
 
[[File:01_move_tab.png]]
 
[[File:pan_tab.png]]
 
[[File:tilt_tab.png]]
 
[[File:zoom_tab.png]]
 
[[File:presets_tab.png]]

Latest revision as of 05:05, 25 June 2014

This article assumes you have a basic understanding of Zone Minder and have ability to add monitor to your server. in this article we're going to enable PTZ for Sony Network Camera SNC-EP521 in zoneminder.

Download the driver file from here, and store it in the right directory. the location should be /usr/share/perl5/ZoneMinder/Control. If that location doesn’t exist on your system, you can do a search for another camera driver such as PanasonicIP (#locate PanasonicIP.pm) and store the SNCEP521.pm file in the same location.

i assume you know howto add camera to zoneminder,but here is source tab of adding cam to zoneminder (fill user, password, and ip of your camera in "Remote Host Name" field) :

Source tab.png

now you should enable OPT_CONTROL, from option in control tab, so you will see a control tab in the camera config window. this tab should look like this:

Main control tab.png


Again, make sure you set the correct IP address (the same as what you set in the source tab).

by now, you won't have SNCEP521 option in "control type" field, so click edit, then in new page (Control Capabilities page) click on add new control. then new page starts like this: Warning : you should pay attention that, the name in protocol field should be the same as file name which is saved in server. in this case for example we save SNCEP521.pm in /usr/share/perl5/ZoneMinder/Control and set SNCEP521 in protocol field.

Main capability tab.png

fill other tabs the same as in the following pictures and save window; then go back to monitor tab, on top left of the page, click on control link and you should see pan, tilt and zoom pics at the bottom of monitor. note: in move tab you can select Diagonally, Mapped, Absolute, Continuous fields either.

01 move tab.png

Pan tab.png

Tilt tab.png

Zoom tab.png

Presets tab.png