Categories
Cloudvue Knowledge Support Cloudvue Gateway Support Categories Products

Corrupted cloud-config.json File 

Title

Corrupted cloud-config.json File 

Description 

Customer reported that they could no longer view live video in Cloudvue Web or Cloudvue Mobile App.  Additionally, Disk Space would not load.

Product 

  • C2G

Solution

We were able to use the failover port to gain SSH access to the Cloudvue Gateway and replace the corrupted configuration file

/smartvue/cloud-config.json

{"cloud":{"uri":"wss://messaging.cloudvue.com"}}
Categories
Knowledge Support Support exacqVision Server Products

Steps to handle Protego cameras without #transport=rtsp

Description 

Steps to handle Protego cameras without #transport=rtsp

Product 

  • exacqVision Server
  • Protego branded cameras

Expected Results 

Camera connects normally without any issues.

Actual Results 

Camera connects then drops, then connects then drops on repeat. Only when the camera has #transport=rtsp on the end does the connection stay stable.

Solution

  1. Navigate to the server installation folder
    1. Windows – Typically this is under C:\Program Files\exacqVision\Server
    2. Linux – Typically this is under ~/usr/local/exacq/server
  2. Find the file named onvifnvcpi.json and TAKE A BACKUP!
  3. You can open and edit this in notepad or nano or whatever you prefer.
  4. CTRL+F to open the find menu
    1. Search for “Sunell”
    2. Enter “Protego” as an alias, ensuring to follow the format of the other aliases. Also ensure not to delete any other lines in this file as it can mess with other onvif functionality.
  5. Save and close the file.
  6. Restart the ExacqVision Server service.
    1. In windows this can be done from within the “services” program, searching “services” in the start menu should bring it up.
    2. In Linux open terminal and type.
      1. sudo systemctl stop edvrserver
      2. sudo systemctl start edvrserver
  7. Check connected cameras and you should be able to remove #transport=rtsp.
Categories
Knowledge Support Support exacqVision Server Categories Products

Altering the Onvif JSON file

*** INTERNAL USE ***

Product 

exacqVision Server > Onvif plugin

Steps to Reproduce

  1. Ensure motion detection is enabled within the camera.
  2. Add the Onvif camera to the exacqVision Server. If motion was enabled in the camera after being added to the system, toggle the Enable checkbox beside the camera on the Add IP Cameras page so exacqVision queries the camera for the updated settings.
  3. Configure motion settings within exacqVision.
  4. Trigger motion, ensuring a motion boarder appears around the image and/or motion recording is indicated on the search timeline.

Expected Results 

The motion alert is triggered and video is recorded.

Actual Results 

No motion alert is displayed and/or no motion recording occurs.

Solution

In some instances you may alter the Onvif JSON file if there is an element missing.

The onvifnvcpi.json file is organized into blocks by manufacturer. Nested within each manufacturer are action types and within those are “topics”, which define the name and state of these types. Some brands may appear more than once depending on changes in labeling, and tome topics may include several names for the same activity, such as motion, depending on the many iterations of naming conventions that manufacturer has used.

Discovering and Adding Topics

IMPORTANT: Always create a backup of the onvifnvcpi.json file prior to attempting any manual changes.

Onvif Device Manager is a free software application that can display the topics provided by the camera device.

  1. Connect to the camera using Onvif Device Manager. The below example uses a Geovision GV-TBL8810, although the topics for this already exist in the JSON file, this provides a good example.<br><br>
  2. After connecting the camera, select the Metadata link beside the video source with the camera thumbnail.
    <br><br>
  3. Expand the Metadata details near the top.
    <br><br>
  4. The topic name you will be looking for will vary between manufacturers and even firmware versions. In this example, we find a topic with “Motion” in the name. The device used in this example shows:
    tns1:RuleEngine/CellMotionDetector/Motion
    Then see that nested below it includes a Data field holding an attribute titled “IsMotion”. This is what we’re looking for.
    <br><br>
  5. A quick search reveals that GeoVision already exists in the json file, there’s actually two entries with different attributes in this file. But if GeoVision did not already exist, you would need to enter a new block, replicating the same nested formatting and being sure to enter it in the same level as the other camera “blocks” within the json format. With so many nested levels this may be difficult, Notepad++ can help display, collapse, and expand json files to make them easier to work with. All camera manufacturer blocks are within a list named “items”, which begins near the top of the document.<br><br>
  6. The first attribute within this block is the “manufacturer”, listed here as “GeoVision_2”.
    <br><br>
  7. Beneath this is the “motion” block, containing a list of any motion attributes. Notice, that this entry contains multiple motion attributes due to the manufacturer using multiple methods in different models and firmware versions. But you can see the first one matches the line discovered in Onvif Device Manager earlier.
    RuleEngine/CellMotionDetector/Motion

    If you were adding a new entry, you would use this as the “name” attribute under “topic”.<br><br>
  8. Nested below is the “data” attribute, which matches the “Data” item listed in Onvif Device Manager. First, enter the name.

    When entering these, they must match EXACTLY as listed by Onvif Device Manager.<br><br>
  9. Then enter the “on” and “off” states. In this example, the camera sends a status of “true” or “false”. Other cameras or firmware versions may state “0” or “1”. While both are boolean values in terms of programming, these must be entered exactly as the camera provides them.<br><br>
  10. Once all values have been entered and the proper closing brackets are applied so that the json file is formatted correctly, save the file.<br><br>
  11. Restart the exacqVision Server service and test your changes. If you do not see results, you may need to go back and check your json formatting, or the entries used.

IMPORTANT: Manual changes to the onvifnvcpi.json file are not retained during exacqVision Server software updates. If you have made manual changes to this file, you must make a copy of it prior to updating the software, then place it back in the Server directory after updating.

<br>

Categories
Knowledge Support Support Categories exacqVision Webservice Products

Web Service configuration .ini now .json

Starting in 9.6, the web service migrated completely from storing its config in the ini format to json. The config filename has been normalized as well:

  • Linux: webservice.conf -> wfe.json
    • Located at /etc/webservice/wfe.json
  • Windows: WebService.ini -> wfe.json
    • Located at C:\ProgramData\Webservice\conf\wfe.json

The name, location, and format of .evws-login (holding web service config credentials and has also changed. .evws-login is now stored as json, has been renamed to .evws-login.json on both platforms, and is located at

  • Linux: /etc/webservice/.evws-login.json
  • Windows: C:\ProgramData\Webservice\conf\.evws-login.json