All Guides
Guides & Setup 4 min read•November 2026

How to Setup the SyncVigil Edge Agent & Auto-Detect Cameras in Under 2 Minutes

S
SyncVigil Support Groupsupport@syncvigil.com
Technical Operations & Customer Success
Executive Overview

Connecting local CCTV cameras (192.168.x.x) to cloud AI used to require complex router port forwarding, static IPs, or manual config JSON editing. With SyncVigil's new 4.7 MB standalone agent, setup takes under 2 minutes: run the binary on any laptop or PC on your shop Wi-Fi, it auto-opens a local web page on http://localhost:4444, you enter a 6-digit pairing code from your dashboard, and 1-click ONVIF auto-discovery finds all your cameras automatically.

Key Highlights

1-Click Executable (4.7 MB, <15 MB RAM) with embedded local micro-webserver on port 4444
Fast 6-digit pairing code replaces manual JSON config editing and JWT copy-pasting
Built-in ONVIF WS-Discovery auto-detects Hikvision, CP Plus, Dahua, Tapo, and Ezviz cameras
Light & Dark mode local setup UI with real-time test frame grabber
Outbound-only encrypted HTTPS streaming—zero router port forwarding or static IP needed

Before You Start: 60-Second Laptop Checklist

Make sure your laptop meets three quick requirements before launching the agent:

1. Same Wi-Fi or LAN Network

Your laptop or PC must be connected to the same local router or Wi-Fi as your DVR, NVR, or CCTV cameras (for example, both on 192.168.1.x).

2. Operating System & ffmpeg (for RTSP)

The one-click download is a standalone binary (works natively on Linux, Ubuntu, Windows WSL2, and macOS). If your cameras stream via rtsp://, ensure ffmpeg is available on the machine (not required for standard HTTP JPEG snapshot cameras).

3. Prevent Laptop Sleep

Set your laptop power settings to 'Never Sleep when plugged in' so monitoring keeps running continuously even when the screen turns off.

# Install ffmpeg if your camera uses an rtsp:// stream:
Ubuntu / Debian / Windows WSL:  sudo apt update && sudo apt install -y ffmpeg
macOS (Homebrew):               brew install ffmpeg
Windows (PowerShell):           winget install Gyan.FFmpeg

Step 1: Download the 4.7 MB Agent Binary & Run It

Log into SyncVigil and open Dashboard -> On-Prem Agent. 1. Click Download Agent Binary (4.7 MB) to save syncvigil-agent to your machine. 2. Mark it executable (if on Linux/Mac) and run it: chmod +x syncvigil-agent && ./syncvigil-agent 3. The agent automatically spins up an embedded local web server and opens http://localhost:4444 in your default browser. It includes both Light and Dark mode options.

SyncVigil Dashboard On-Prem Agent page showing Download Agent Binary and 6-Digit Pairing Code Banner
Dashboard -> On-Prem Agent: (1) Download the 4.7 MB binary and (2) note your 6-digit fast pairing code.
# 1. Download and mark executable
chmod +x syncvigil-agent

# 2. Run the agent (auto-opens http://localhost:4444 in your browser)
./syncvigil-agent

Step 2: Enter Your 6-Digit Pairing Code (5-Second Fast Pair)

No more manual config files or copying long JWT strings! - On the local web page (http://localhost:4444), enter the 6-digit pairing code shown on your Dashboard -> On-Prem Agent card. - Click Pair Agent. - The agent validates the code with your SyncVigil cloud account, securely saves the paired token locally, and displays a success badge.

Local setup web page on localhost:4444 showing 6-digit pairing input and theme toggle
Local Agent Web UI (http://localhost:4444): Enter your 6-digit pairing code to securely link the agent to your cloud account.

Step 3: Connect Your Cameras (Phone RTSP, Hotspot, or Commercial NVR)

Once paired, Step 2 gives you two convenient options with automatic subnet detection: - Option A: Mobile App / Single RTSP / Hotspot Camera (Testing & Quick Setup): The agent displays your laptop's active network interfaces (e.g. 192.168.43.1 Hotspot, 192.168.1.x Wi-Fi). Select the preset (Phone RTSP App on port 8554, Android IP Webcam on port 8080, Tapo, or custom), enter your phone/camera IP, or paste your RTSP URL directly. Click Test Camera Snapshot to see the live frame immediately! - Option B: Commercial CCTV DVR / NVR (Multi-Channel): Click Scan Local Subnet for DVRs to broadcast an ONVIF WS-Discovery probe across your network. It detects connected Hikvision, CP Plus, Dahua, and Tapo DVRs. All IP fields are fully editable with channel pickers (Channels 1 to 8). - Click Start 24/7 Live Monitoring to register the streams with SyncVigil Cloud and start streaming snapshots every 4 seconds.

Local web setup UI showing Mobile RTSP and Commercial DVR configuration options with live snapshot preview
Local Agent Web UI (http://localhost:4444): Configure mobile phone RTSP streams or commercial DVRs with instant live snapshot verification.

Step 4: Verify Green 'Agent Online' Heartbeat & Live Snapshot

Switch back to your cloud dashboard: - In Dashboard -> On-Prem Agent, Daemon Connection Status turns green with `Agent Online` (Active right now (<10s ago)). - In Dashboard -> Cameras, click Test Snapshot on any camera card. You will see your live CCTV photo stamped `Live Stream from Local Agent`—proving your local machine is streaming frames safely over outbound HTTPS.

Agent Online green heartbeat card and Camera Live Snapshot modal showing Live Stream from Local Agent
Once paired, Daemon Connection Status switches to green 'Agent Online' and Test Snapshot displays the live feed from your local network.

Step 5: Set Daily Checklists & Operational Incident Rules

Now put your cameras to work: 1. Open Dashboard -> Daily Checklists to schedule morning store opening audits, cashier desk presence, or night lockup checks. 2. Open Dashboard -> Alert Rules to set incident rules (e.g. empty counter > 5m or missing safety gear). 3. Any triggered incident automatically creates an actionable supervisor task in Dashboard -> Tasks with photo proof. Every minute your cameras actively run consumes ₹0.01/min base (₹0.0075/min for 5–14 cameras, ₹0.005/min for 15+ cameras). If you turn off the laptop or Wi-Fi drops, billing pauses automatically to ₹0.

Dashboard Alert Rules and Daily Checklists showing scheduled audit window and Telegram alerts
Dashboard -> Daily Checklists & Alert Rules: Schedule opening/closing routines or draw zone alert rules and start monitoring.

Optional: Headless CLI Mode & Background Service

If you are deploying on a headless Linux server, Raspberry Pi, or office mini-PC without a desktop browser, you can run the agent in headless mode or as a systemd service:

# Run in headless mode without launching a browser:
./syncvigil-agent --headless

# Or install as a systemd background service:
# /etc/systemd/system/syncvigil-agent.service
[Unit]
Description=SyncVigil CCTV Edge Agent
After=network-online.target

[Service]
Type=simple
WorkingDirectory=/home/YOUR_USER/syncvigil-agent
ExecStart=/home/YOUR_USER/syncvigil-agent/syncvigil-agent --headless
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target

# Enable & start:
sudo systemctl daemon-reload && sudo systemctl enable --now syncvigil-agent

Implementation Takeaways

  • •Zero manual JSON editing required—everything is paired and configured via the local web setup UI on http://localhost:4444.
  • •Use the 6-digit pairing code from Dashboard -> On-Prem Agent to connect in 5 seconds.
  • •Built-in ONVIF discovery automatically detects Hikvision, CP Plus, Dahua, and Tapo cameras on your local Wi-Fi/LAN.
  • •All video processing stays local; only periodic verification snapshots are pushed outbound over encrypted HTTPS.

Deploy this vigilance system in your plant

Zero hardware replacement. Connect your existing RTSP cameras and get 3,000 free minutes (~50 camera hours) on signup.

Claim 3,000 Free Mins