Skip to content

Documentation

Install Avistio Edge

Install the free Avistio Edge app next to your existing Frigate NVR, create your administrator account, and watch your cameras on your local network. No Cloud account is needed.

How the pieces fit together

Frigate (you already have it)

Connects to your cameras, records video, and detects events. Recordings stay in Frigate.

Avistio Edge (free)

Runs next to Frigate on your network and gives you live view, events, recordings, and optional alarm control.

Avistio Cloud (optional)

Adds remote access, several sites, and notifications. You can add it later.

Avistio does not replace Frigate. Edge and Frigate can run on the same computer or on different computers in your network.

•

Before you start

You need:

  • A working Frigate installation with at least one camera whose live picture works in Frigate. New to Frigate? Start with the official Frigate getting started guide.
  • A Linux computer with Docker Engine and the Docker Compose plugin (the docker compose command). This can be the computer that runs Frigate, or another computer, mini PC, or server you manage.
  • A 64-bit processor: Avistio Edge images are published for AMD64 (x86-64) and ARM64. 32-bit ARM is not supported. Specific single-board computers and NAS models have not been individually validated.
  • A network connection between Edge and Frigate. Edge must reach Frigate's address and port, usually the authenticated port 8971.
  • Port 3000 free on the Edge computer. Your browser opens Edge on this port.
  • Disk space for Avistio's own settings and database. Video stays in Frigate, so Edge needs far less space than your recordings.

You do not need a Cloud account, payment details, port forwarding, or a .env file. Avistio creates its own database password and secrets during the first start.

1

Prepare Frigate

  1. Check Frigate

    Open Frigate and confirm your cameras appear and their live picture works there.

  2. Create a Frigate user for Avistio (recommended)

    In Frigate, create a user that Avistio signs in with, for example avistio. The viewer role is enough for Avistio. If the user is limited to some cameras in Frigate, Avistio shows only those cameras.

  3. Note the Frigate address

    Write down the address of the computer running Frigate, for example 192.168.1.10, and Frigate's authenticated port, usually 8971. You enter both in step 4.

2

Install Avistio Edge

Open a terminal on the computer that will run Edge.

  1. Create an installation folder

    mkdir avistio
    cd avistio

    Keep using this folder for Avistio. Docker Compose names the installation after the folder, so its data volumes are called, for example, avistio_avistio_config and avistio_postgres_data.

  2. Save the Compose file

    Save this file as compose.yaml in the folder. Use Download, or Copy and paste it into a text editor such as nano compose.yaml.

    compose.yaml

    services:
      config-init:
        image: ghcr.io/d-aro/avistio:latest
        entrypoint: ["/config-init.sh"]
        environment:
          CONFIG_INIT_DATABASE_ONLY: "true"
        volumes:
          - avistio_config:/config
        logging:
          driver: json-file
          options:
            max-size: "10m"
            max-file: "5"
    
      avistio:
        image: ghcr.io/d-aro/avistio:latest
        restart: unless-stopped
    
        ports:
          - "3000:3000"
    
        volumes:
          - avistio_config:/config
        environment:
          TZ: ${TZ:-UTC}
    
        depends_on:
          config-init:
            condition: service_completed_successfully
          database:
            condition: service_healthy
    
        healthcheck:
          test: ["CMD", "wget", "--quiet", "--tries=1", "-T", "4", "-O", "/dev/null", "http://127.0.0.1:3000/api/health"]
          interval: 10s
          timeout: 5s
          retries: 3
          start_period: 60s
    
        networks:
          - avistio
        logging:
          driver: json-file
          options:
            max-size: "10m"
            max-file: "5"
    
      database:
        image: postgres:17-alpine
        restart: unless-stopped
        depends_on:
          config-init:
            condition: service_completed_successfully
        environment:
          POSTGRES_DB: avistio
          POSTGRES_USER: avistio
          POSTGRES_PASSWORD_FILE: /config/postgres-password
        volumes:
          - postgres_data:/var/lib/postgresql/data
          - avistio_config:/config:ro
        healthcheck:
          test:
            ["CMD-SHELL", "pg_isready -U avistio -d avistio"]
          interval: 5s
          timeout: 5s
          retries: 10
        networks:
          - avistio
        logging:
          driver: json-file
          options:
            max-size: "10m"
            max-file: "5"
    
    volumes:
      avistio_config:
      postgres_data:
    
    networks:
      avistio:
        name: avistio

    It runs three services: config-init creates the installation secrets once, database is PostgreSQL 17, and avistio is the Edge app. It uses the published production image ghcr.io/d-aro/avistio:latest, which needs no registry sign-in.

  3. Start Avistio

    docker compose up -d

    The first start downloads the images. Then the database initializes and Edge applies its database setup. This can take a while on a slow connection or computer.

  4. Check that it is running

    docker compose ps

    Expected result: avistio and database show Up and (healthy). While Edge is still starting, avistio shows (health: starting); run the command again after a short wait.

    config-init runs once and stops. docker compose ps -a also lists it, as Exited (0). If a service is restarting or unhealthy, see Troubleshooting.

Run one Avistio Edge installation per Docker host. The Compose file uses port 3000 and a Docker network with the fixed name avistio, so a second copy in another folder would collide on the port and join the same network. This Compose file is not designed for several Edge installations on one host.

3

Open Edge and create the administrator

  1. Open Edge in a browser

    On a device in the same network, open http://192.168.1.20:3000, replacing 192.168.1.20 with the address of the computer running Edge. On that computer itself, http://localhost:3000 also works.

    Expected result: The page Create the first administrator (Step 1 of 3) opens.

  2. Create the administrator

    Enter a Username (lowercase letters, numbers, dots, underscores, and hyphens), a Display name, and a Password twice, then choose Create administrator.

    This page is available only while Edge has no users. Keep the password safe; it controls access to your cameras.

4

Connect Frigate

Edge continues with Connect Frigate (Step 2 of 3).

  1. Enter the Frigate connection

    • Frigate URL: for example https://192.168.1.10:8971 or http://192.168.1.10:8971. Use an address that the Edge container can reach. localhost here means the Edge container itself, not your computer.
    • Frigate username and Frigate password: the Frigate user from step 1.
  2. Choose Test connection

    Expected result: Connection successful. Frigate is ready. with the number of cameras found and how many are ready for Live.

    If the check reports a problem, its message says what to change. Common causes are the wrong port, http:// versus https://, or Frigate's HTTPS certificate. See Connect Frigate for addresses, certificates, and fixes.

  3. Choose Continue

    Continue checks the connection again and saves it. If the check finished with warnings, for example a camera without a matching Live stream, review them and choose Continue anyway to fix them later in Frigate.

5

Home Assistant (optional)

Step 3 of 3 offers Connect Home Assistant. You only need it to control an external alarm siren through Home Assistant.

Choose Skip and finish setup if you don't use it. You can add it later from the user and settings menu under Alarm settings. See Home Assistant.

Expected result: The Avistio Dashboard opens.

6

Check that it works

Everything here works on your local network without Avistio Cloud.

  1. Watch a camera live

    The Dashboard shows your cameras under Live cameras. A playing picture means Live works from this browser. The Cameras page lists every camera.

  2. Open an event

    Open Events. Events appear when Frigate creates them, for example from object detection. Selecting an event opens its recording at the event time.

  3. Play a recording

    Open Recordings, choose a camera and day, and pick a time on the timeline. Recordings exist only for times that Frigate recorded and still keeps.

If Live keeps showing Connecting, or events and recordings are missing, see Troubleshooting.

•

Next: remote access with Avistio Cloud (optional)

To watch your cameras away from home, manage several sites, or get notifications, connect this Edge to Avistio Cloud. You don't need to open ports on your router or make Frigate public for this.

•

Keep Edge up to date

Edge does not update itself. Updating replaces the app image and keeps your volumes. See Update and maintain Avistio for the verified procedure.

•

Installing for a customer

Installers use this same Edge installation at the customer's location. The Cloud pairing code comes from your Partner workspace. See Partner installations and customer handover.