Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Download the correct version of the ONVIF Uplink Gateway package from here.

Linux

...

Unzip the package and run ./docker_install.sh script

...

Create the access tokens:

  1. Log in to the web client and go to the Cameras page

  2. Click Add camera > Uplink

  3. Enter the camera name, camera Onvif username, and password and click Apply

  4. Copy and save the access token to the file (see step 3).

...

Code Block
ACCESS_TOKEN_1=eyJjYW1pZCI6IDEyMzQ1NiwgInVwbGluayI6ICJkZXYtYXBpLnByb3h5LmNsb3VkLXZtcy5jb20ifQo=
ACCESS_TOKEN_2=eyJjYW1pZCI6IDEyMzQ1NiwgInVwbGluayI6ICJkZXYtYXBpLnByb3h5LmNsb3VkLXZtcy5jb20ifQo=
...

...

Code Block
CAMERA_IP_ADDRESS_1=192.168.2.14
CAMERA_RTSP_PORT_1=554
CAMERA_HTTP_PORT_1=80
CAMERA_IP_ADDRESS_2=192.168.2.16
CAMERA_RTSP_PORT_2=554
CAMERA_HTTP_PORT_2=80
...

This file contains IP addresses, RTSP and HTTP ports for cameras (up to 16). Each parameter should be on a separate line. RTSP and HTTP ports are optional and if you skip them then the default ports will be used (RTSP: 554, HTTP: 80).

...

Run ./start.sh script - the cameras should start streaming and you should see the live video in the web client.

You can check the status and logs of the container by using the following commands

Code Block
docker ps
docker logs <container-id>
Table of Contents

Windows

  1. Install WSL2 on your Windows device: https://learn.microsoft.com/en-us/windows/wsl/install

  2. Install Docker Desktop on Windows device: https://docs.docker.com/desktop/install/windows-install/

  3. Open your WSL terminal in Windows and navigate to the directory where you extracted the gateway package. Continue with the same steps as in the Linux section.

Linux

  1. Unzip the package

  2. If you do not already have Docker installed on your system, then execute the docker install script.

    Code Block
    ./docker_install.sh
  3. Once Docker and Docker Compose are successfully installed on the device. Start the Gateway by executing the start script.

    Code Block
    ./start.sh
  4. Navigate to 127.0.0.1:8000 or <device-ip>:8000 and copy the device’s UUID.

    Image Added
  5. Add the Gateway to the Cloud VMS platform using the UUID.

    Image Added

Adding Cameras

  1. Add Uplink camera to the Cloud VMS platform using the camera’s Serial Number and MAC Address.

    Image Added
  2. Add camera to Gateway using the same information.

    Image Added

  3. Navigate to Gateway main page and click start on the corresponding camera in the cameras list.

    Image Added

  4. The camera should now be online on Cloud VMS platform.

How to Stop Gateway

  1. Execute the stop script.

    Code Block
    ./stop.sh

How to Upgrade Gateway

  1. Ensure that the old version of Gateway is running.

  2. Navigate to the extracted folder of the new version of the Gateway.

  3. Execute the script update.sh by providing the old Gateway directory and new Gateway directory.

    Code Block
    ./update.sh -orig <path_to_old_version_directory> -dest <path_to_new_version_directory>