How to Connect Compatible Lorex IP Cameras to an X Series NVR Using ONVIF

Modified on June 15, 2026

Back to Help

This article explains how to connect compatible Lorex IP cameras to an X Series NVR using the ONVIF protocol.

Some compatible Lorex IP cameras must be initialized before they can be added to an X Series NVR. This process includes connecting the camera to your local network, finding the camera’s IP address, accessing the camera’s web interface, and creating an admin password. After the camera is initialized, it can be connected to the X Series NVR.

NOTE: Check the compatibility chart before setup to confirm that your camera model supports connection to an X Series NVR.

TABLE OF CONTENTS


Before You Begin

Before connecting the camera, confirm the following:

  • The camera is listed as compatible with the X Series NVR. Check the compatibility chart.
  • The X Series NVR is powered on and connected to a monitor.
  • A USB mouse is connected to the NVR.
  • An available PoE port is open on the back of the NVR.
  • A computer is connected to the same local network as the camera during setup.

You will also need one of the following setup options:

  • Option A: A PoE switch.
  • Option B: A non-PoE switch and a dedicated camera power adapter.
IMPORTANT: Some newer Lorex IP cameras do not have a default password. These cameras must be initialized through the camera’s web interface before they can be added to the X Series NVR.

Connect the Camera to a Switch

Before connecting the camera to the NVR, connect it to your local network so it can be initialized.

If using a PoE switch:

Main Menu

  1. Connect one end of an Ethernet cable to the camera.
  2. Connect the other end to an open port on the PoE switch.
  3. Wait a couple minutes for the camera to power on.

The PoE switch provides both power and network connectivity through a single Ethernet cable.

If using a non-PoE switch:

  1. Connect one end of an Ethernet cable to the camera.
  2. Connect the other end to an open port on the switch.
  3. Connect the camera’s power adapter to the camera.
  4. Plug the power adapter into an electrical outlet.
  5. Wait a couple minutes for the camera to power on.

Find the Camera IP Address

After the camera is connected to the switch, use an IP scanner tool to find the camera’s IP address.

To find the camera IP address:

Main Menu

  1. Make sure your computer is connected to the same local network as the camera.
  2. Open your preferred IP scanner tool.
  3. Scan the local network.
  4. Locate the camera’s MAC address on the physical label of the camera.
  5. Match the camera’s MAC address to the device listed in the IP scanner results.
  6. Write down the IP address assigned to the camera.
NOTE: Matching the MAC address is the best way to confirm you are selecting the correct camera, especially if there are multiple devices on the network.

Initialize the Camera

Once you have the camera’s IP address, access the camera’s web interface to complete initialization.

To initialize the camera:

  1. Open a web browser on the computer connected to the same network as the camera.
  2. Enter the camera’s IP address into the browser address bar.
  3. Follow the on-screen setup wizard.

    Main Menu

  4. Create a secure admin password when prompted.

    Main Menu

    Main Menu

  5. Complete the camera initialization process.
RECOMMENDED: Use the same admin password for the camera and the X Series NVR. If the camera password matches the NVR admin password, the NVR can authenticate the camera automatically when it is connected.

Connect the Camera to the NVR

After the camera has been initialized, disconnect it from the temporary switch and connect it directly to the X Series NVR.

To connect the camera to the NVR:

Camera and NVR connection diagram

  1. Disconnect the Ethernet cable from the temporary PoE or non-PoE switch.
  2. If a separate power adapter was used, disconnect the power adapter from the camera.
  3. Connect the camera’s Ethernet cable directly to an open PoE port on the back of the X Series NVR.
  4. Wait for the camera to power on and initialize on the recorder.

The X Series NVR will begin detecting the camera on the connected PoE port.


Check the Camera Status on the NVR

After the camera is connected to the NVR, check the camera status from the Channel menu.

To check the camera status:

  1. Right-click twice to open the Main Menu, then go to Settings > Channel > Camera.

    Main Menu

  2. Locate the newly connected camera by matching the channel number to the PoE port used on the back of the NVR.
    • For example, if the ONVIF camera is connected to PoE port 1, the camera will be listed on channel 1.
  3. Check the camera status.

Scenario A: Camera and NVR passwords match

Main Menu

If the password created for the camera matches the NVR admin password, the NVR will automatically authenticate the camera.

After a few moments, the camera status should change to online and live video should appear on the display.

Scenario B: Camera and NVR passwords do not match

If the password created for the camera does not match the NVR admin password, the camera may show an authentication error or fail to connect automatically.

If this happens, manually enter the camera password in the NVR camera settings.


If the Camera Password Does Not Match

Main Menu

If the camera does not connect automatically, update the camera password field on the NVR to match the password created during camera initialization.

To update the camera password on the NVR:

  1. Right-click twice to open the Main Menu, then go to Settings > Channel > Camera.

    Main Menu

  2. Click the Modify Modify button (under Operate) for that channel.
  3. In the password field, enter the admin password created during the camera initialization process.

    Modify camera settings

  4. Click OK to save the settings.
  5. Wait for the NVR to reconnect to the camera.
  6. Check the camera status again.
NOTE: The password entered on the NVR must match the password created for the camera in the camera web interface. If the camera and NVR use the same admin password, the camera should connect automatically. If they use different passwords, the camera password must be entered manually on the NVR.

Confirm the Camera Connection

After the password is saved, confirm that the camera has connected successfully.

Confirm the following:

  • The camera status changes to online.
  • The camera appears in Live View.
  • The camera is listed on the correct channel based on the PoE port used.
IMPORTANT: If the camera still does not connect, confirm that the camera was initialized successfully, the correct camera IP/MAC address was used during setup, and the password entered on the NVR matches the camera password exactly.

Using AI Features After ONVIF Connection

Some ONVIF-connected cameras may not support camera-based AI features on the X Series NVR.

The AI Multi-Target menu uses analytics built into the camera hardware. If the connected camera does not support camera-side AI analytics, it may not appear in the AI Multi-Target channel list.

Use Local Smart Analysis

Local Smart Analysis processes AI detection locally on the recorder. This feature is typically used when connected cameras do not support built-in AI analytics.

For ONVIF-connected cameras, use the Intrusion settings in Local Smart Analysis to configure recorder-based smart motion detection. Intrusion detection can be used to detect when a person or vehicle enters a defined detection area within the camera view.

To enable Local Smart Analysis:

  1. Right-click twice to open the Main Menu, then go to Settings > IVS > Local Smart Analysis > General.

    Main Menu

    Menu Screen for Local Smart Analysis - General

  2. Enable Local Smart Analysis.
  3. Enable Draw Rect if you want detection boxes to appear on the video preview.
  4. Under Mode, select Detection mode.
  5. Select the ONVIF-camera channels where Local Smart Analysis will be active.
  6. Click Apply.
NOTE: If the Local Smart Analysis configuration is modified, the camera will automatically reboot for the changes to take effect.

Configure Intrusion Detection

After Local Smart Analysis is enabled, configure the Intrusion settings for the camera channel.

To configure Intrusion detection:

  1. From Local Smart Analysis, click the Intrusion tab.

    Local Smart Analysis - Draw Intrusion Detection Area

  2. Select the camera channel.
  3. Enable Intrusion.
  4. Click the Detection Area tab.
  5. Click and drag inside the camera image to create the detection area.
  6. Enable Limit Target Type, then select the target type such as Person or Vehicle.
  7. Click Apply to save the settings.

To configure when Intrusion detection is active:

Intrusion Schedule

  1. Click the Schedule tab.
  2. Review the schedule grid.
    • Days of the week appear on the left, and the time of day appears across the top. Each square in the schedule grid represents 30 minutes.
    • Click and drag across the grid to enable active time periods.
    • Click and drag across an active time period to disable it.
  3. Click Apply to save the schedule.

To configure Intrusion event actions:

Intrusion Event Actions Options

  1. Click the Event Actions tab.
  2. Enable the actions you want the recorder to perform when an Intrusion event is detected.
    • Enable Event Recording if you want the recorder to record video when an Intrusion event occurs.
    • Select the Post-Record time to set how long recording continues after the event.
    • Select the Recording Channel that should record during the event.
    • Enable any additional actions as needed, such as Email, Buzzer, FTP, PTZ, Alarm Out, Camera Alarm Out, Full Screen, or Speaker, depending on your recorder and camera configuration.
  3. Click Apply to save the settings.
NOTE: For more detailed information about Local Smart Analysis settings, including Intrusion detection areas, schedules, event actions, and advanced configuration options, refer to the X Series NVR manual available on your NVR’s product support page.

Leave a comment

Please note, comments need to be approved before they are published.