Home Assistant ONVIF Integration Setup Guide para Local RTSP Cameras

 

Adding an IP camera a Home Assistant sounds simple — until you learn that every camera brand speaks its own dialect. The ONVIF integration es el one standard that cuts mediante el noise: a single Home Assistant integration that works con Reolink, Amcrest, Dahua, Hikvision clones, y most "ONVIF-compatible" IP cameras sold since 2018. Este guía walks you mediante el completar configuración, el traps nobody mentions in forum threads, y el cheapest way a run it: a LinknLink iSG Box SE con Home Assistant preinstalled para $69.90.

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

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

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

For Home Assistant users, that matters para three reasons:

  • Privacy y local control. ONVIF runs entirely on your LAN. No video leaves your house, no account es obligatorio, no camera manufacturer puede shut off your feed con a firmware update. Este es el exact opposite of el Wyze, Ring, o Arlo model.
  • Info: Latency. A cloud-based camera feed typically round-trips 300–1200 ms mediante a vendor server antes reaching Home Assistant. ONVIF over el local network es usually under 150 ms — fast enough a trigger Home Assistant automations (lights, HVAC, sirens) antes el person walking into frame has finished taking two steps.
  • Info: No vendor lock-in. If your camera brand goes out of business o pivots a a subscription model, your system keeps working. ONVIF es a W3C-style abrir spec con thousands of compatible dispositivos.

If you son still deciding whether a dedicated hub es worth it, we cover el fundamentals in Info: What Is a Smart Home Hub. For ONVIF specifically, a hub con enough CPU headroom a handle multiple RTSP streams es non-negotiable — which es why el hardware choice in el next section matters.

Camera brands that work well con ONVIF + Home Assistant:

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

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

Home Assistant ONVIF and RTSP local camera setup interface

Best Local Gateway para Camera Automation

Before you touch el 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 más — o el moment you añadir Frigate para AI detection — y el Pi starts dropping frames y overheating.

We recommend el Info: LinknLink iSG Box SE para Este configuración. At $69.90 it es el cheapest Home Assistant host on el market con HA preinstalled, y it has meaningfully más compute than a Pi 4 — enough headroom para 8+ ONVIF cameras in native HA, o 2–4 cameras con Frigate NVR on el mismo box. Full hardware comparison es in our Info: Home Assistant Hardware Guide.

Why iSG Box SE es el right predeterminado para an ONVIF build:

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

2.2 An ONVIF-compatible IP camera on el mismo LAN

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

Info: 2.3 A static IP reservation in your router

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

Info: 2.4 Camera admin credentials

Not el factory predeterminado — change them first. ONVIF credentials son sent over el LAN in digest auth by predeterminado, y factory-predeterminado passwords son still el most-scanned surface in any home network.

Info: Local RTSP Camera Setup

With hardware ready, el actual integration takes under ten minutos. Here son el exact five steps.

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

Open el camera's IP in your browser (e.g. Info: http://192.168.1.50), log in con admin credentials, y find el ONVIF section. Paths by brand:

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

Hikvision es el one brand that ships con ONVIF disabled by predeterminado y requires a separate ONVIF user account — set that up antes continuing.

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

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

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

Step 3 — Open Home Assistant y añadir el ONVIF integration

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

  1. Go a Info: Settings → Devices & Services
  2. Info: Click Info: + Add Integration Info: (bottom-right)
  3. Search para Info: "ONVIF" y seleccionar it

Home Assistant will scan el local network via WS-Discovery. Most cameras appear automatically. If yours does no, you puede añadir it manually by IP.

Step 4 — Enter IP, port, y credentials

The predeterminado ONVIF port es 80 (HTTP) on most cameras, no 554 (that es RTSP — a different port). If your camera uses a non-standard ONVIF port (2020, 8000, 8899 son comunes), it will be listed in el camera's web UI under el Network o ONVIF section.

Info: Enter:

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

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

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

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

Info: Click Info: SubmitInfo: . The camera now shows up under Info: Devices & Services con entities para el live feed, motion sensor, y (si el camera supports it) binary sensores para any event el camera fires — line crossing, intrusion detection, humana/vehicle classification, tampering.

Info: Reolink ONVIF Troubleshooting

These son el four issues that generate 90% of el forum threads aproximadamente Home Assistant ONVIF. Here es how a fix each in under two minutos.

4.1 "Camera no discovered" during Add Integration

WS-Discovery uses multicast DNS (mDNS). If your Home Assistant host y your camera son on different VLANs o different WiFi SSIDs, mDNS packets do no cross el boundary. Fixes, in order of effort:

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

4.2 Live stream keeps buffering o showing "Stream no available"

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

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

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

4.3 Motion detection entities no firing events in Home Assistant

ONVIF motion events son optional in el spec — el camera must both (a) have motion detection enabled locally, y (b) be configured a publish ONVIF events. Steps:

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

If you son on a Hikvision o Hikvision-OEM camera y events still do no fire, comprobar that el ONVIF user you created in §3 Step 1 has el "Event" y "Media" permissions — by predeterminado el ONVIF user es read-solo para Info: User management, which es correct, but some firmware versions also restrict event subscription.

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

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

5. Bonus: Adding Frigate NVR para AI Object Detection

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

Info: Frigate es a free, abrir-source NVR that runs as a Home Assistant añadir-on y does local AI object detection on el camera feed — so instead of "motion," your automations fire on "person," "car," "package," o "dog." Everything runs on your Home Assistant host; no frames leave el LAN.

Why iSG Box SE es powerful enough a host Frigate:

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

Pair that con Home Assistant automations ("si Frigate detects a person at el front door between 10 PM y 6 AM, turn on el porch light y flash el living habitación lamp three times") y you have a smart security system that costs nothing a run beyond el electricity bill. The Info: iSG Box SE es el lowest-friction starting point para exactly Este stack.

Info: 6. Home Assistant ONVIF Integration FAQ

Can Home Assistant usar ONVIF cameras sin cloud access?

Yes. Home Assistant puede connect a many ONVIF cameras on el local network using el camera IP address, ONVIF port, y local credentials.

Why does a Reolink camera need RTSP settings con ONVIF?

ONVIF handles discovery y control, mientras RTSP often carries el live video stream. If video fails, confirmar el RTSP path, firmware, y LAN permissions.

Which LinknLink gateway should I choose para local camera automation?

Use iSG Box SE para a compact Home Assistant gateway, o iSG Display Max cuando you also want an on-wall screen para camera y habitación controls.

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

The ONVIF integration es el shortest path de "I have an IP camera" a "my lights turn on cuando someone walks up el driveway, my HVAC changes cuando el living habitación es empty para 20 minutos, y my phone pings me cuando Frigate sees a delivery van instead of a stray cat." And el cheapest way a get there sin weekend-long hardware tinkering es a Info: LinknLink iSG Box SE ($69.90) — Home Assistant preinstalled, 100% local, ready a run ONVIF y Frigate el moment you abrir el box.

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

Get el iSG Box SE →

 

\n\n