How to Setup a USB from a remote ZM server to another ZM Server

From ZoneMinder Wiki
Jump to navigationJump to search

Go back to the How To pages...

Prerequisites

  • Any compatible USB camera.
  • IP address of the remote Zone Minder server.
  • Username and password if authentication was enabled on servers.
  • Administrator access to Zone Minder.

Camera configuration on remote server

  1. Login to Zone Minder.
  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. Configure your camera and check if is working, then set it as:
    • Function: Monitor
    • Enabled: Yes
  3. Write down the id number of the monitor(s), starting from 1 to the end of the list of available monitors.

Camera configuration on local server

  1. Login to Zone Minder.
  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. Configure as:
  3. On General Tab:
    • Source Type: Remote
  4. On Source Tab:
    • Remote Protocol: HTTP
    • Remote Method: Simple
    • Remote Host Name: IP of the remote server (for example 192.168.1.1)
    • Remote Host Port: 80 (if you changed the port of the Zone Minder remote server use what you have set)
    • Target Colorspace: better match it with the source camera
    • Capture Width and Height: better match it with the source camera
    • Remote Host Path:
  5. This is the tricky part and the most important, the code you need must be inserted in this order:
 /cgi-bin/nph-zms?mode=jpeg&monitor=<MONITOR_ID_HERE>&scale=100&maxfps=10&buffer=1000&user=<USERNAME>&pass=<PASSWORD>

where <MONITOR_ID_HERE> is the id number of your monitor and <USERNAME> and <PASSWORD> are your login information on remote server.

If you don't have enabled authentication:

 /cgi-bin/nph-zms?mode=jpeg&monitor=<MONITOR_ID_HERE>&scale=100&maxfps=10&buffer=1000

The rest of the settings are with you. That's it. The camera is now linked on the local server. Expect some light delay, is normal.