How to setup Sony SNC-EP521 with pan tilt zoom
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) :
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:
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: