First gateway install
By the end of this tutorial you will have a Raspberry Pi 5 running as a NovaVMS gateway, paired to your org’s cloud, and discovering one ONVIF camera on the same LAN. This is the happy path — a fresh Pi, a PoE HAT, a PoE+ switch, and one camera. Edge cases (dual-NIC, VLAN trunk, airgapped pairing) live in the how-to guides.
What you will need
- Raspberry Pi 5 (8 GB) with the official PoE+ HAT fitted.
- A 32 GB or larger microSD card (A2 class).
- A PoE+ (802.3at) switch port with outbound internet on the LAN.
- One ONVIF camera on the same LAN, powered and reachable by IP.
- A laptop with an SD-card reader, on the same LAN as the Pi.
- A pairing code from a NovaVMS admin. 6-character uppercase, 10-minute expiry. See US-GW-1.
Step 1 — Flash the microSD card
- On your laptop, open Raspberry Pi Imager.
- Pick Raspberry Pi 5 as the device.
- Pick NovaVMS Gateway OS (64-bit) from the “Other” list.
- Pick the SD card. Confirm it is the right one — this erases it.
- Click Write.
Step 2 — Boot the Pi
- Insert the SD card into the Pi 5.
- Plug the Cat6 from the PoE+ switch into the Pi 5’s RJ45.
- Wait 45 seconds. The Pi’s onboard LED turns solid green when the gateway service is up.
Step 3 — Find the Pi on the LAN
-
On your laptop, run:
Terminal window ping novavms-gateway.local -
If mDNS works, the Pi replies. Note the IP.
-
If ping fails, check your router’s DHCP lease table for a host named
novavms-gateway.
Step 4 — Run the installer script
-
SSH to the Pi as
novavms. Default password:changeme. The Pi prompts you to change it on first login.Terminal window ssh novavms@novavms-gateway.local -
Run the installer script:
Terminal window curl -fsSL https://novavms-manual.novalien.com/install/gateway.sh | sudo bash -
The script installs the gateway binary, go2rtc, and a systemd service. It takes 60-90 seconds.
Step 5 — Pair with the cloud
-
Ask your admin to open Gateways → Add Gateway in the NovaVMS web UI and generate a pairing code.
-
Copy the 6-character code.
-
On the Pi, run:
Terminal window sudo /opt/novavms-gateway/novavms-gateway pair --code <CODE> --cloud-url https://novavms.novalien.com -
Replace
<CODE>with the code from step 2. -
On success, the command prints
Paired. API key saved to /etc/novavms/gateway.yaml.
Step 6 — Confirm the online dot
- Ask your admin to open the Gateways page.
- Your gateway appears with a green dot within 30 seconds.
Step 7 — Discover your first camera
- Ask your admin to click your gateway row, then click Discover cameras.
- The gateway scans the LAN for ONVIF cameras. Scan takes 30-60 seconds.
- The camera appears in the discovery list. Enter its ONVIF credentials and click Add.
Step 8 — See live video
- In the web UI, click the new camera.
- The Live tab plays a stream within 5 seconds.
You have finished
A Pi 5 gateway is paired and streaming one camera. Next, install the rest of the cameras on site:
- Install a wall-mount camera
- Install a ceiling-mount camera
- Network requirements — confirm your LAN has the PoE and bandwidth budget for the full fleet.