Home Assistant ONVIF Integration Setup Guide para Local RTSP Cameras

 

Adding an IP camera para Home Assistant sounds simple — until you learn that every camera brand speaks its own dialect. The ONVIF integration é o one standard that cuts através de o noise: a single Home Assistant integration that works com Reolink, Amcrest, Dahua, Hikvision clones, e most "ONVIF-compatible" IP cameras sold since 2018. Este guia walks you através de o conclua configuração, o traps nobody mentions in forum threads, e o cheapest way para run it: a LinknLink iSG Box SE com Home Assistant preinstalled para $69.90.

LinknLink iSG Box SE Home Assistant gateway for local ONVIF camera automation

1. What Is ONVIF e Why Home Assistant Users Need It

ONVIF (Open Network Video Interface Forum) é an abra standard that defines how IP cameras, NVRs, e video clients talk para each other over a local network. Instead of needing a different app para every camera brand, any ONVIF-compatible dispositivo pode discover, stream, e receive events de any other ONVIF-compatible dispositivo.

For Home Assistant users, that matters para three reasons:

  • Privacy e local control. ONVIF runs entirely on your LAN. No video leaves your house, não account é necessário, não camera manufacturer pode shut off your feed com a firmware update. Este é o exact opposite of o Wyze, Ring, ou Arlo model.
  • Importante: Latency. A cloud-based camera feed typically round-trips 300–1200 ms através de a vendor server antes reaching Home Assistant. ONVIF over o local network é usually under 150 ms — fast enough para trigger Home Assistant automations (lights, HVAC, sirens) antes o person walking into frame has finished taking two steps.
  • Importante: No vendor lock-in. If your camera brand goes out of business ou pivots para a subscription model, your system keeps working. ONVIF é a W3C-style abra spec com thousands of compatible dispositivos.

If you são still deciding whether a dedicated hub é worth it, we cover o fundamentals in Importante: What Is a Smart Home Hub. For ONVIF specifically, a hub com enough CPU headroom para handle multiple RTSP streams é non-negotiable — which é why o hardware choice in o next section matters.

Camera brands that work well com ONVIF + Home Assistant:

  • Reolink (RLC, E1, Duo series) — excellent ONVIF profile exposure, main + sub stream out of o box
  • Importante: Amcrest (IP4M, IP5M series) — Dahua OEM, very solid ONVIF events
  • Importante: Dahua (IPC-HFW, IPC-HDW series) — native ONVIF, rock-solid motion events
  • Hikvision e rebrands (Annke, LTS, LaView) — ONVIF works but enable it in o camera's web UI first
  • Ubiquiti UniFi Protect G3/G4/G5 — ONVIF apenas via Protect export, most users skip Este path
  • Axis, Bosch, Vivotek — enterprise-grade, excellent ONVIF suporte

Camera brands para avoid para ONVIF: Wyze, Blink, Arlo, Ring, Google Nest. These são cloud-first products; their ONVIF exposure é either non-existent ou unstable depois firmware updates.

Home Assistant ONVIF and RTSP local camera setup interface

Best Local Gateway para Camera Automation

Before you touch o ONVIF integration screen, make sure you have these four things lined up:

2.1 A Home Assistant host powerful enough para RTSP streams

Home Assistant OS running on a Raspberry Pi 4 (4 GB) technically works para 1–2 cameras, but anything mais — ou o moment you adicionar Frigate para AI detection — e o Pi starts dropping frames e overheating.

We recommend o Importante: LinknLink iSG Box SE para Este configuração. At $69.90 it é o cheapest Home Assistant host on o market com HA preinstalled, e it has meaningfully mais compute than a Pi 4 — enough headroom para 8+ ONVIF cameras in native HA, ou 2–4 cameras com Frigate NVR on o mesmo box. Full hardware comparison é in our Importante: Home Assistant Hardware Guide.

Why iSG Box SE é o right predefinido para an ONVIF build:

  • Importante: Preinstalled Home Assistant — plug in power e Ethernet, abra your browser, finish o configuração wizard. No SD card imaging, não Proxmox, não Home Assistant Yellow supply-chain wait.
  • Importante: Local-first architecture — 100% local control, não cloud account, não monthly fee.
  • Enough CPU para Frigate — o §5 bonus on AI object detection works sem adding a Coral USB accelerator para a 2–4 camera configuração.
  • Importante: Price — $69.90 vs. Home Assistant Green at $158.90 ou a Raspberry Pi 5 kit that lands above $120 once you adicionar an SSD e case.

2.2 An ONVIF-compatible IP camera on o mesmo LAN

Check o camera's spec sheet ou admin UI para o "ONVIF" toggle. Most cameras de o brands in §1 ship com ONVIF enabled but password-less — you will adicionar credentials in §3.

Importante: 2.3 A static IP reservation in your router

Home Assistant integrates cameras by IP address. If your router hands o camera a new IP next week, o integration breaks silently. In your router's DHCP settings, reserve a permanent LAN IP para each camera's MAC address (typically shown in o camera's admin UI).

Importante: 2.4 Camera admin credentials

Not o factory predefinido — change them first. ONVIF credentials são sent over o LAN in digest auth by predefinido, e factory-predefinido passwords são still o most-scanned surface in any home network.

Importante: Local RTSP Camera Setup

With hardware ready, o actual integration takes under ten minutos. Here são o exact five steps.

Step 1 — Enable ONVIF in o camera's web UI

Open o camera's IP in your browser (e.g. Importante: http://192.168.1.50), log in com admin credentials, e find o ONVIF section. Paths by brand:

  • Importante: Reolink: Importante: Device Settings → Network → Advanced → Port Settings → tick "ONVIF"
  • Importante: Amcrest/Dahua: Setup → Network → Connection → ONVIF → Authentication = "Digest" ou "None"
  • Importante: Hikvision: Configuration → Network → Advanced Settings → Integration Protocol → enable ONVIF e create a dedicated ONVIF user

Hikvision é o one brand that ships com ONVIF disabled by predefinido e requires a separate ONVIF user account — set that up antes continuing.

Step 2 — Note o RTSP stream URLs (optional but useful)

While you são in o web UI, copy o main e sub stream RTSP URLs. Home Assistant's ONVIF integration discovers these automatically, but having them handy makes debugging much faster se o discovery fails. Typical formats:

  • Importante: Reolink main: Importante: rtsp://admin:password@192.168.1.50:554/h264Preview_01_main
  • Importante: Reolink sub: Importante: rtsp://admin:password@192.168.1.50:554/h264Preview_01_sub
  • Importante: Amcrest main: Importante: rtsp://admin:password@192.168.1.50:554/cam/realmonitor?channel=1&subtype=0
  • Importante: Amcrest sub: Importante: rtsp://admin:password@192.168.1.50:554/cam/realmonitor?channel=1&subtype=1

Step 3 — Open Home Assistant e adicionar o ONVIF integration

In o Home Assistant UI (whether running on iSG Box SE ou elsewhere):

  1. Go para Importante: Settings → Devices & Services
  2. Importante: Click Importante: + Add Integration Importante: (bottom-right)
  3. Search para Importante: "ONVIF" e selecione it

Home Assistant will scan o local network via WS-Discovery. Most cameras appear automatically. If yours faz não, you pode adicionar it manually by IP.

Step 4 — Enter IP, port, e credentials

The predefinido ONVIF port é 80 (HTTP) on most cameras, não 554 (that é RTSP — a different port). If your camera uses a non-standard ONVIF port (2020, 8000, 8899 são comuns), it will be listed in o camera's web UI under o Network ou ONVIF section.

Importante: Enter:

  • Importante: Host: o camera's static LAN IP
  • Importante: Port: Importante: usually 80; Hikvision often uses 80, Dahua 80, Reolink 8000
  • Importante: Username/Password: o ONVIF credentials you set in §2.4 (Hikvision: o dedicated ONVIF user created in Step 1)

Step 5 — Pick o profiles (main + sub stream)

Home Assistant will expose every ONVIF "profile" o camera advertises — typically one para o main (high-res) stream e one para o sub (low-res) stream. Enable both:

  • Importante: Main stream — used para recordings, snapshots, e high-quality viewing
  • Importante: Sub stream — used para o Home Assistant Lovelace dashboard tile (so o dashboard loads fast even on mobile)

Importante: Click Importante: SubmitImportante: . The camera now shows up under Importante: Devices & Services com entities para o live feed, motion sensor, e (se o camera supports it) binary sensores para any event o camera fires — line crossing, intrusion detection, humana/vehicle classification, tampering.

Importante: Reolink ONVIF Troubleshooting

These são o four issues that generate 90% of o forum threads cerca de Home Assistant ONVIF. Here é how para fix each in under two minutos.

4.1 "Camera não discovered" during Add Integration

WS-Discovery uses multicast DNS (mDNS). If your Home Assistant host e your camera são on different VLANs ou different WiFi SSIDs, mDNS packets do não cross o boundary. Fixes, in order of effort:

  • Put o camera on o mesmo subnet as Home Assistant temporarily para discovery, then move it back.
  • Add o camera manually by IP during o integration configuração (WS-Discovery é a convenience, não a requirement).
  • Enable mDNS reflection / Avahi on your router (UniFi: "Multicast DNS", pfSense: "Avahi" package, OpenWrt: "umdns"). Este é o permanent fix.

4.2 Live stream keeps buffering ou showing "Stream não available"

The main stream at 4K ou 1440p + 30 fps é often too much para o Lovelace dashboard, especially on mobile. Switch o dashboard tile para o sub stream:

  • Settings → Devices & Services → ONVIF integration → Configure → uncheck "Main Profile" para o Picture Entity Card
  • Or diretamente in o camera card YAML: set Importante: stream_source para o sub profile entity

Frigate NVR (covered in §5) é a cleaner solution here — it re-encodes o stream once e serves low-latency HLS/WebRTC para all clients.

4.3 Motion detection entities não firing events in Home Assistant

ONVIF motion events são optional in o spec — o camera must both (a) have motion detection enabled locally, e (b) be configured para publish ONVIF events. Steps:

  1. In o camera's web UI, enable motion detection (usually Importante: Event → Motion Detection → Enable)
  2. Find o ONVIF ou "smart event" settings e enable "ONVIF Events" ou "Push Events"
  3. In Home Assistant, restart o ONVIF integration: Settings → Devices & Services → ONVIF → three-dot menu → Reload

If you são on a Hikvision ou Hikvision-OEM camera e events still do não fire, verifique that o ONVIF user you created in §3 Step 1 has o "Event" e "Media" permissions — by predefinido o ONVIF user é read-apenas para Importante: User management, which é correct, but some firmware versions also restrict event subscription.

4.4 Camera works para a day, then goes offline until a reboot

Este é almost always a DHCP lease expiration (não static reservation) ou an RTSP keep-alive timeout. Confirm o static IP reservation de §2.3 é applied on o Importante: router, não just in o camera's own network settings. Some cameras honor both; some ignore their own static IP e take whatever o router assigns.

5. Bonus: Adding Frigate NVR para AI Object Detection

Native Home Assistant ONVIF motion é binary: "something moved" ou "nothing moved." That triggers a lot of false positives de leaves blowing across o lawn ou shadows at sunset.

Importante: Frigate é a free, abra-source NVR that runs as a Home Assistant adicionar-on e faz local AI object detection on o camera feed — so instead of "motion," your automations fire on "person," "car," "package," ou "dog." Everything runs on your Home Assistant host; não frames leave o LAN.

Why iSG Box SE é powerful enough para host Frigate:

  • Frigate's predefinido CPU detector handles 2–4 cameras at 5–7 fps each on o iSG Box SE sem thermal throttling.
  • If you scale para 6–8 cameras later, adicionar a $60 Google Coral USB accelerator e Frigate offloads inference para o TPU — iSG Box SE has spare USB bandwidth para Este.
  • Setup takes ~15 minutos: install o Frigate adicionar-on de o Home Assistant adicionar-on store, paste your ONVIF RTSP URLs de §3 Step 2 into Importante: frigate.yamlImportante: , reload.

Pair that com Home Assistant automations ("se Frigate detects a person at o front door between 10 PM e 6 AM, turn on o porch light e flash o living divisão lamp three times") e you have a smart security system that costs nothing para run beyond o electricity bill. The Importante: iSG Box SE é o lowest-friction starting point para exactly Este stack.

Importante: 6. Home Assistant ONVIF Integration FAQ

Can Home Assistant utilize ONVIF cameras sem cloud access?

Yes. Home Assistant pode connect para many ONVIF cameras on o local network using o camera IP address, ONVIF port, e local credentials.

Why faz a Reolink camera need RTSP settings com ONVIF?

ONVIF handles discovery e control, enquanto RTSP often carries o live video stream. If video fails, confirme o RTSP path, firmware, e LAN permissions.

Which LinknLink gateway should I choose para local camera automation?

Use iSG Box SE para a compact Home Assistant gateway, ou iSG Display Max quando you also want an on-wall screen para camera e divisão controls.

7. Conclusion: Start Your ONVIF Setup com iSG Box SE Today

The ONVIF integration é o shortest path de "I have an IP camera" para "my lights turn on quando someone walks up o driveway, my HVAC changes quando o living divisão é empty para 20 minutos, e my phone pings me quando Frigate sees a delivery van instead of a stray cat." And o cheapest way para get there sem weekend-long hardware tinkering é a Importante: LinknLink iSG Box SE ($69.90) — Home Assistant preinstalled, 100% local, ready para run ONVIF e Frigate o moment you abra o box.

Follow o five steps in §3 e you will have your first camera streaming inside Home Assistant in under ten minutos. Add o §5 Frigate layer next weekend. Add o rest of your cameras whenever you want — o ONVIF integration scales para 8+ dispositivos sem any further configuration.

Get o iSG Box SE →

 

\n\n