How to setup an axis 213 with pan tilt zoom

From ZoneMinder Wiki
Jump to navigationJump to search

Prerequisites

Setting up the Axis 213 monitor with pan tilt zoom enabled is a fairly straight forward process.

  • IP address of camera.
  • Username and password for the camera.
  • Administrator access to ZoneMinder.

Checking camera configuration

Before we can configure the camera within ZoneMinder we must check to make sure the cameras internal settings are compatible.

  1. Check that the camera is connected and working by entering the cameras IP address. If you are successful a web page with a live view of the camera should appear.
  2. From the cameras homepage the 'setup' link in the top right corner too the configuration page. You should be prompted to enter the username and password for the camera. On the settings page you should see a menu on the left hand side. Click through on 'Basic Configuration' followed by the 'Video & Image' links. Take a note of the resolution settings, as it will be needed later on.
Red circle highlighting the resolution information you need to collect.


Prerequisites

Setting up the Axis 213 monitor with pan tilt zoom enabled is a fairly straight forward process.

  • IP address of camera.
  • Username and password for the camera.
  • Administrator access to ZoneMinder.

Checking camera configuration

Before we can configure the camera within ZoneMinder we must check to make sure the cameras internal settings are compatible.

  1. Check that the camera is connected and working by entering the cameras IP address. If you are successful a web page with a live view of the camera should appear.
  2. From the cameras homepage the 'setup' link in the top right corner too the configuration page. You should be prompted to enter the username and password for the camera. On the settings page you should see a menu on the left hand side. Click through on 'Basic Configuration' followed by the 'Video & Image' links. Take a note of the resolution settings, as it will be needed later on.
Red circle highlighting the resolution information you need to collect.


ZoneMinder configuration

File:Axis210 source.png
basic settings for an axis camera with 320x240 resolution
basic settings for ptz control on a axis 213 camera
PTZ view from within zoneminder

After setting up the cameras configuration and verifying it works we need to tell ZoneMinder how to display the camera.

  1. Login to ZoneMinder.
  2. Click on the "Add New Monitor" link located at the bottom of the page, this will take you to the configuration page for adding a new camera.
  3. Open up the presets pop up by clicking on the 'presets' link (located on the top right hand corner of the page). From this page select with the drop down box the "Axis 213, 320x240(CIF), JPEG, With All Camera Options" and click save.
  4. On the general tab of the monitor configuration page we have the option to change the name of a monitor. It is recommended to give a name descriptive to where it is located or what it shows.
  5. Navigate to the "source" tab in the monitor configuration page and verify that the following fields have these settings
    1. Remote Host Name: root:<pw>@<ip-address>
      • replace <pw> with the password you used to access the cameras configuration page, replace <ip-address> with the IP address you used to access the camera previously.
    2. Remote Host Path: axis-cgi/mjpg/video.cgi
    3. Capture Width: 320 and Capture Height: 240
      • Once again replace these values with the values you set on the camera configuration page
  6. Switch over too the "control" tab of the camera settings menu. From here we can set parameters that allow us to have PTZ control of the monitor. Make sure the following settings match these:
    • Controllable checkbox should be selected.
    • Control Type: Axis API v2
    • Control Device: /axis-cgi/com/ptz.cgi
    • Control Address: "in this field enter the ip address of your camera, this is the same as you used to axis the camera previously"


Controlling the camera

Once you save the settings your camera should be listed on the homepage, If it is recording successfully the IP address will be green. To access the PTZ controls simply click on the camera name from the home page then click on the controllable link from the camera view.

On the control page there is a control pad located bellow the stream. With this camera it is possible to click on the live stream and command the camera to rotate into that position. The secondary controls are located bellow the streaming video, for cameras this camera the arrows are sensitive to where you click. Clicking on the outer edge results in a greater movement.