Keep Your IP Cameras and Replace Only the NVR: How to Make the Proposal

Many buildings already have ONVIF cameras installed, and clients sometimes ask to keep the cameras and replace only the NVR. This is the NVR replacement proposal. Installers welcome the request, but writing the proposal raises questions: can only the NVR be replaced without buying new cameras, how do you find cameras on another subnet, and will the registration process stretch the site visit? This post lays out, in the order you would work on site, how to replace the NVR while keeping the existing cameras.

First, check whether the existing cameras can be reused

Before you make the proposal, sort the site cameras into two groups. That makes the work easier to schedule. NOX registers cameras that support ONVIF Profile S and T through discovery. Cameras without ONVIF support are registered by entering the RTSP address directly. In the manual add screen, the name and RTSP address are required; the username and password are optional.

Camera typeHow to registerChannels and streams
ONVIF camera (Profile S and T)ONVIF discovery, then registerChannels and streams are pulled in by discovery
Camera without ONVIF supportEnter the RTSP address manuallyAdd channels and streams by hand

When you add an RTSP camera, a "Main" channel and a "main" stream are created with it. In the manual add screen, the RTSP address must start with a lowercase rtsp://. An address written as RTSP:// in uppercase is saved, but no video appears. If the address needs a space, encode it as %20.

Step 1: Find cameras on the same subnet with auto discovery

Before the site visit, list the camera models and count, each camera's IP address or range, and the administrator account. Having this ready means you will have fewer things to re-check on site. In particular, confirm that the network interface the cameras are connected to is attached to NOX.

Start ONVIF discovery from the ONVIF Discovery tab on the add camera screen. The default method is Auto Discovery. NOX uses multicast WS-Discovery on its physical network interfaces to find cameras on the same subnet. Virtual interfaces used only inside NOX (such as container bridges) and interfaces that are disconnected are skipped, and no discovery request is sent on them. Auto discovery has no input fields, so confirm the method and press Start Discovery.

When discovery finishes, the result is one of three things.

  • Cameras found: a results table appears.
  • Completed with 0 cameras: the message "No cameras found" appears.
  • Discovery itself failed: a red error and the reason for the failure appear.

"0 cameras" and "discovery failed" are shown differently, so you can tell the causes apart. With 0 cameras, the cameras may be on another subnet or behind a switch that blocks multicast. In that case, use IP discovery, the next step. To narrow down the cause, check in this order.

  1. Confirm that the cameras are on the same network as NOX. Discovery only reaches cameras on a network interface that is connected to NOX.
  2. Confirm that ONVIF is enabled on the cameras.
  3. Check the firewall settings between NOX and the cameras.
  4. If the result is "No cameras found", discovery worked and there are simply no cameras in that scope. If a red error appeared, discovery itself failed, so start with the reason shown.
  5. If the results show only 169.254.x.x addresses, fix the camera network settings first (see "Common blockers and how to clear them" below).

Step 2: Use IP discovery for cameras beyond a router

IP discovery sends discovery requests directly to the IP addresses you specify. Use it for cameras behind a router, on another subnet, or in an environment where multicast is blocked by switches. There are two discovery types.

  • Range discovery (default): enter a start IP and an end IP.
  • Single discovery: enter one camera IP address.

The Start Discovery button is enabled only when the input is valid. The N targets count appears below the button, so you can see how many addresses will be scanned before you start.

On site, pay particular attention to the size of the target range. One discovery can cover at most 254 targets, which is one /24 subnet. For a wider range, split it by subnet and run several discoveries. For example, 10.0.0.1 ~ 10.0.15.254 should be run as 16 separate ranges: 10.0.0.1 ~ 10.0.0.254, 10.0.1.1 ~ 10.0.1.254, and so on. Scanning too many addresses at once loads the ARP and neighbor tables of network devices, and camera responses can be lost.

IP discovery does not try camera accounts during the scan. It sends only ONVIF discovery requests to the specified IPs and reads the name, manufacturer, and model that each responding camera reports about itself. The username and password are used only with the values you enter in the registration step, after the scan finishes.

IP discovery does not trust responses blindly. Responses from addresses outside the target range are ignored, so a device you did not specify cannot appear in the results. If the host in the access address the camera reports differs from the address that actually responded, NOX uses the address that actually responded.

IP discovery is recorded in the audit log as a Discovery action. The discovery method, target count, number of cameras found, and a summary of the scanned range are recorded, so you can trace who scanned which range and when. A discovery that is cancelled or fails after it starts is still recorded. Requests that end before the scan starts, such as an input format error or a target count over the limit, are not recorded.

Only one IP discovery runs at a time across the whole server. If another discovery is in progress in another window, the error "Another discovery is in progress" appears. Wait a moment and try again.

Step 3: Register cameras and pull in channels and streams in one pass

The discovery results table has these columns: select, name, IP address, manufacturer, model, username, and password. Name, manufacturer, and model are what the camera reports about itself. The username and password cells are for you to fill in. Check the cameras you want to register and enter the account for each camera. Fill in both cells or leave both empty. If any camera has only one of them filled in, registration does not start, and a warning appears with that camera's name.

The Add all channels and streams automatically option is on by default. With it on, NOX searches for and adds channels and streams after the camera is registered. With it off, only the camera is registered, and you must add channels and streams later by hand.

A camera that is already registered (same IP:port) gets a yellow Duplicate badge and cannot be selected. This prevents registering the same camera twice. If you restart the discovery, the previous results, selections, and any credentials you entered are all cleared, so it is safer to finish all discovery first and enter accounts afterward.

After registration, check the status badges in the camera list. Online is green, offline is red, and error is gray. The badges update in real time based on connection checks that run about every 10 seconds. A newly registered camera changes to online within the first check cycle, without a page refresh. Even if a badge shows online, confirm that channels and streams were actually created. Expand the camera node in the resource tree to see its channels, and expand a channel node to see its streams. It is a good idea to confirm that video appears in the live view before you leave the site.

If you have dozens of cameras, use the Import Cameras button on the camera list page to register many at once. Drag and drop or select a YAML file (.yaml or .yml) or an exported camera file (.noxcam). The camera list appears as a table, and only the checked cameras are registered. You can download the YAML template with the Download Template button. Each row gets a Valid, Invalid, or Duplicate badge, and invalid or duplicate cameras cannot be selected. Duplicates are judged by IP, port, and RTSP URL; the account and password inside the URL are excluded from the comparison. The same address with a different account counts as a duplicate. An encrypted .noxcam file does not contain passwords. A camera that had a password set shows a Re-enter password badge and a warning, so you must enter the password again after import.

Discovering channels and streams manually

Use manual discovery if automatic addition was turned off or the camera's profile has changed.

  • Channel discovery: hover over an ONVIF camera in the resource tree and press the Discover icon that appears, or choose Discover Channels from the right-click menu. Press Start Channel Discovery to get a channel list showing name, resolution, and FPS. Select the channels you need and press Create Selected Channels.
  • Stream discovery: on an ONVIF channel, choose Discover Streams the same way. Each profile shows its main or sub type, resolution, FPS, bitrate, and codec, and the default transport is TCP. Selected streams are created one at a time, and if some fail, the rest are still attempted.

The addresses in stream discovery results are display-only, with the username and password masked. When a stream is created, the device fetches the address from the camera again and stores it, so camera passwords are neither shown nor sent in the discovery results. The camera must respond when the stream is created. If you see an error saying stream information could not be retrieved, check the camera connection and try again. If you see "The selected stream could not be found on the camera", the camera profile has changed, so run stream discovery again and add the stream.

Common blockers and how to clear them

  • A camera found at 169.254.x.x: the camera did not get a DHCP lease and has assigned itself a link-local address. NOX does not register this address. Use the camera vendor's tool or the camera's web page to set a fixed IP on the device's network range, or switch the camera to DHCP, then discover again. You may need to change a camera setting once, so tell the client about this at the proposal stage.
  • Addresses that cannot be registered: loopback addresses (127.0.0.1, localhost), 0.0.0.0, and multicast addresses cannot be registered. An address made of the NOX device's own address plus the media server port is also blocked. In these cases, the message "This address cannot be used" appears.
  • Discovery range includes addresses that cannot be scanned: if the range includes 0.0.0.0, multicast (224.0.0.0/4), or reserved space (240.0.0.0/4), the scan does not start, and the blocked range is shown. Split the range and enter it again.
  • Stream address format errors: an RTSP address must start with a lowercase rtsp:// or rtsps://, and it cannot contain spaces or control characters. Addresses starting with http://, or values that contain only a path without a host, are not accepted.
  • Video stopped after a camera's IP changed: do not delete the camera and register it again. Deleting it permanently erases its recordings. Instead, edit the camera, change the IP address to the device's new address, and confirm the address change. If camera IPs change often on site, set a fixed IP on the camera or reserve the address on the DHCP server.

How to explain it to the client

Retail, industrial, and building operators on the client side want to know what keeping the existing cameras means on site. Here are sentences installers can reuse as they are.

"The existing ONVIF cameras stay connected as they are, and only the NVR that handles recording and search is replaced with new equipment. Standard ONVIF and RTSP compatibility is included in the Standard edition, so no higher edition is needed to connect the cameras."
"Licenses are issued per device, and pricing depends on the number of channels you register. You can get a quote based on the number of existing cameras."
"IP discovery does not try camera accounts during the scan. It uses only the accounts you enter when registering cameras. Stream addresses in the results also show the account masked."

If a camera takes its account directly in the RTSP address, you can explain one more point. When the account is written in the form username:password@ and the account fields are left empty, the account is moved into the camera settings on save, and the password is encrypted. The account does not remain in the saved URL or the stream address.

Mention in advance any cases where camera network settings may be needed, such as a 169.254 address. That raises the credibility of the proposal. Rather than saying "it may or may not work," the installer should be able to say "it works under these conditions, and in these cases one camera setting has to be changed." That makes the decision easier for the client.

Summary: five checks before you make the replacement proposal

A replacement proposal comes down to checking five things.

  1. Separate ONVIF cameras from RTSP-only cameras.
  2. Find cameras on the same subnet with auto discovery, and everything else with IP discovery. IP discovery covers at most one /24 per run.
  3. When registering, fill in both account fields or leave both empty, and keep Add all channels and streams automatically on.
  4. Confirm that the status badges show online and that channels and streams were created.
  5. If a 169.254 address appears, change the camera network settings first.

Keep your findings as on-site notes. Capturing the discovery results screen and the camera list after registration helps both when you show the client the basis for your proposal and when you trace the cause of a connection problem after registration.

Frequently asked questions

Can I replace only the NVR without replacing the existing IP cameras?

Cameras that support ONVIF Profile S and T are found and registered through ONVIF discovery, and cameras without ONVIF are registered by entering their RTSP address. Either way, the cameras stay in place and only the NVR is replaced.

How do I find cameras beyond a router or on another subnet?

Use IP discovery. There is range discovery with a start and end IP, and single discovery with one IP. Each run covers up to 254 addresses, one /24 subnet; split wider ranges by subnet and run them one after another.

What should I do if discovery shows only 169.254.x.x addresses?

That is a link-local address the camera picked because it did not get DHCP, and NOX does not register it. Set a static IP in the device network range, or switch the camera to DHCP, with the manufacturer's tool or web page, then run discovery again.

Does IP discovery try camera accounts during the scan?

No. IP discovery only sends ONVIF discovery requests to the IPs you specify and reads the name, manufacturer and model each camera announces. Only the username and password you enter at registration are used, and stream addresses in the results show the account masked.

If a camera's IP changes and video stops, do I need to register it again?

Do not re-register it. Deleting a camera permanently deletes its recordings. Change the IP address in the camera's edit screen instead, and on sites where IPs change often, give cameras static IPs or reserve their addresses on the DHCP server.

If you are preparing an NVR replacement proposal that keeps the existing cameras, list the camera models, the number of cameras, and the ranges to scan in advance, and send an installation partner consultation request.


Related Posts