Versions Compared

Key

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

...

  1. Install Docker Desktop for Windows.

  2. Download and unzip the Gateway package.

  3. Open Powershell and go to your working directory.

  4. If your system has Windows Subsystem for Linux (WSL) or Git installed you can start the application using the start script.

    Code Block
    ./start.sh

    Otherwise, run the following commands in Windows Powershell from the Gateway package directory.

    Code Block
    docker image load -i .\camera_agent_gateway_<VERSION>-x64.img
    docker-compose -f .\docker-compose.yml up

    For example if the version is 1.0.3:

    Code Block
    docker image load -i .\camera_agent_gateway_1.0.3-x64.img
    .\start.bat
  5. The Gateway should now be accessible from the address localhost:800080 or <device-ip>:800080

You should see the container running in your Docker Desktop

...

  1. Disable Windows automatic proxy detection

...

  1. Download and unzip the Gateway package.

  2. Install Docker Engine and Docker Compose. It can also be done with the script from the package:

  3. Run the Gateway using the start script.

    Code Block
    ./docker_installstart.sh

    Run the Gateway using the start script.

    Code Block

    The script should automatically detect your system’s architecture.
    If you have issues with this, the script can be run in the following was to enforce a specific architecture.

    Code Block
    # For x64 arch
    ./start.sh x64
    
    # For arm64 arch
    ./start.sh arm64
  4. The Gateway should now be accessible from the address localhost:800080 or <device-ip>:800080

Adding Gateway to the Cloud

  1. Navigate to 127.0.0.1:8000 or <device-ip>:8000, login with username: admin, password: admin, then navigate to the settings page and copy the device UUIDGateway ID.

    Screenshot from 2024-03-13 16-08-37.pngImage Removedimage-20240416-162323.pngImage Added

  2. Navigate to the Gateways tab in the Web Client and add the gateway using the UUID.

...

The status of the gateway can be checked in the Gateways page on Cloud One.

...

Clicking Gateway UI should open a new tab and redirect to the Gateway login page.

If this does not happen, there is an issue with the connection.

Adding Cameras

  1. Navigate to the Gateway tab in Cloud One and select the gateway you would like to add a camera to.

    Screenshot from 2024-03-13 16-09-57.png

  2. Select the ‘Add Camera To Gateway’ button and fill out the camera information form.

    Screenshot from 2024-03-13 16-10-08.png

    Screenshot from 2024-03-13 16-18-14.png

    Screenshot from 2024-03-13 16-18-23.png

  3. Camera will now have been added to the gateway and cloud one and the camera can be viewed in Gateway’s camera page as well as the Cameras tab.

...

Code Block
{"message":"Server restarted successfully"}

Troubleshooting

Gateway Connectivity Issues

The connection between the gateway and the cloud can be checked by attempting to access the Gateway UI through Cloud One.

...

If the Gateway cannot be accessed in this manner, it is usually a result of two errors:

  1. The gateway’s uplink connection timed out. The connection can be reset in the Gateway’s Settings page.

    image-20240416-165150.pngImage Added

    This will restart the connect and the Gateway will attempt to access the cloud.

  2. The Gateway’s ID was entered incorrectly when adding the Gateway to the cloud. In this case you will need to delete and re-add the Gateway with the correct Gateway ID found in the Gateway’s Settings page.

In any case it is also helpful to contact support and provide Logs from the Gateway which can be downloaded from the Gateway’s Settings page.

Updating Camera’s IP Address

The camera’s IP address is stored on the Gateway, which means if it is entered incorrectly on Cloud One when adding the camera then it needs to be updated on the Gateway.

Navigate to the Gateway’s Cameras page and click edit on the camera you want to change the IP of.

...

From the editing form you can then update the IP and click Update.

...