To log into the NVR when accessing it directly, a user account must be set up. This is done using the Create User Account application (cua) which is accessible from the LAN without authentication. Be sure port 8080 on the Raspberry pi is not accessible from outside the secure LAN. cua is also available when logged into the NVR (from "Admin Functions" on the General menu).
- From a separate device on the LAN, open a browser and go to http://nvr_ip_addr:8080/cua (where nvr_ip_addr is the LAN ip address of the NVR)
- Click on the icon at the top left of the page.
- Select "Create or Update User Account" from the menu.
- Enter the required username.
- Enter the password, then again in Confirm Password
- Enter the email address you will use for forgotten password etc.
- Enter email again in Confirm email address.
- Click Update Account to confirm
The email address set up in the previous section is where warning emails are sent if the public IP address changes (when NVR is used on an internet connection with dynamic IP), or for reset password links to be sent when password is forgotten. To do this, the NVR email client must be logged into an SMTP client
- Click on the icon at the top left of the page.
- Select Set Up "SMTP Client" from the menu.
- If the SMTP connection is to be authenticated (normally the case)...
- Check the Authenticated checkbox.
- Enter the SMTP password.
- Enter the SMTP password again to confirm.
- If TLS encryption is to be used (normally the case)...
- Check the TLS Encrypted checkbox.
- Enter the host name for the SMTP client to trust (normally the SMTP host name).
- Enter the SMTP host name
- Enter the SMTP port
- Enter the "from" (sender) address these email will appear to come from
- Click confirm.
- Set a browser to https://nvr_ip_addr
- Ignore the warning which may be given as a result of the home generated site certificate and continue to the log in dialogue box.
- Enter the username and password you set up when creating the account. You can check "Remember me" to enable auto login in the future.
- Click the SIGN IN button
- You are now logged into your NVR and should see a menu bar at the top of a blank page.
If you want to use Wi-Fi, and it hasn't previously been set up on the Raspberry pi, it can be done from the NVRs Wifi Admin -> Wifi Settings page. Note that Wi-Fi settings can only be changed when the Raspberry pi (NVR) is connected to the LAN and you are accessing the web server through the Ethernet (eth0 on Raspberry pi) IP address.
- Connect a browser to the NVRs Ethernet LAN address.
- From the menu select General -> Wifi Admin -> Wifi Settings.
- Select your Wi-Fi access point on the dropdown
- Click connect.
- Enter the password if required.
- Click connect.
The Wi-Fi will now be set up, You can check the IP address for the Wi-Fi Connection using the General -> Get Active Local IP Address(es) option.
The NVR must be configured to use your cameras. The configuration editor can be found at General -> Cameras Configuration.
If camera configuration has not yet been done, the Cameras Configuration Editor will be empty apart from a single unpopulated camera entry.
(At top of page to the left of the page title).
Set the global Onvif credentials used during single and all camera Onvif discovery. Cameras successfully discovered will have their credentials set to those entered here. Cameras whose credentials were different from these, will be listed above the table allowing the correct credentials to be entered against them before retrying discovery on them individually.
From https://github.com/fpompermaier/onvif
The NVR supports Onvif camera discovery and population of parameters. This should be used when supported by your cameras. Click on the button (Perform onvif LAN search for cameras) to locate cameras on the LAN. Before you can save the configuration you need to complete any missing fields (typically the camera names and stream descriptions). When done, click on the button to commit the current configuration
If any cameras do not respond to the multicast probe, they will not be listed after Onvif discovery. Where the camera supports Onvif, you can search for individual cameras by their Onvif URL Click the button, enter the Onvif URL (for example http://192.168.1.43:8080/onvif/device_service, where the IP address is the IP of the camera). This will add the parameters for the specified camera to the list. You then just need to complete the name and description fields and recording settings etc.
Cameras can also be added manually by clicking on the button . In this case you will have to enter all parameters yourself, so it's not recommended unless Onvif is not supported on the device.
The buttons on the editable table for NVR camera configuration are described below: -
* Button style toggles with context
All these parameters can be set manually, though some are auto-populated by Onvif discovery.
Parameter/Control | Function | Set by Onvif Discovery |
---|---|---|
Stream ID | Map key of the stream | N/A |
Delete | Delete this stream from the camera. | N/A |
Descr. | Description of the stream (typically HD/SD). This is appended to the camera name on the menus. | No |
Audio | Check to include the cameras audio with the video (if present). | No |
Audio Encoding | Set to the audio encoding on the cameras RTSP stream. If the audio format is AAC, it will be passed through as is, otherwise it will be encoded to AAC. | Yes |
Netcam URI | The cameras RTSP video/audio url. | Yes |
Default On Multi Display | Sets the stream as this cameras default on the Multi Camera View. The multi camera view allows switching to other streams than the default. | N/A |
Motion Sensing | If checked, the motion service will be used to detect motion from this stream. To keep CPU usage down, it's best to select a lower resolution stream. Not available if FTP is selected on the camera. | N/A |
Motion Threshold | See Motion project documentation here | N/A |
Trigger Recording On | When Motion Sensing is selected for the stream, you can select another (usually higher resolution) stream to record from in addition to the stream used for motion detection. Both streams will be selectable on the Select Recording menu. | N/A |
Preamble Frames | Used for both motion and FTP triggered recordings (not the actual recordings made by motion service). This is the number of frames to delay the stream by when making the recording. The recording will then contain a period of activity before the point at which it was triggered. Note that frames also include audio frames, so the if the stream includes audio, this may need to be a higher number for the same delay. | N/A |
Mask File | Select a mask file for this stream in the motion service. (see https://motion-project.github.io/motion_config.html#mask_file). | N/A |
Video Width | For motion Service, the width of the video stream in pixels (see https://motion-project.github.io/motion_config.html#width) | Yes |
Video Height | For Motion Service, the height of the video stream in pixels (see https://motion-project.github.io/motion_config.html#height) | Yes |
Camera Configuration Editor Showing A Camera Whose Onvif Credentials Differ From The Global Onvif Credentials
Enter the correct Onvif user name and password for the camera listed in the orange bordered box and click the button beside the password to run single camera discovery using these credentials. If successful, the camera will be removed from this list and added tol the cameras list below, where parameter entry can be completed. Once all parameters are set, the new configuration must be saved ( button) to take effect.