Home Assistant ONVIF Integration Setup Guide pentru Local RTSP Cameras

 

Adding an IP camera la Home Assistant sounds simple — until you learn that every camera brand speaks its own dialect. The ONVIF integration este acest one standard that cuts prin acest noise: a single Home Assistant integration that works cu Reolink, Amcrest, Dahua, Hikvision clones, și most "ONVIF-compatible" IP cameras sold since 2018. Acest ghid walks you prin acest finalizează configurare, acest traps nobody mentions in forum threads, și acest cheapest way la run it: a LinknLink iSG Box SE cu Home Assistant preinstalled pentru $69.90.

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

1. What Is ONVIF și Why Home Assistant Users Need It

ONVIF (Open Network Video Interface Forum) este an deschide standard that defines how IP cameras, NVRs, și video clients talk la each other over a local network. Instead of needing a different app pentru every camera brand, any ONVIF-compatible dispozitiv poate discover, stream, și receive events din any other ONVIF-compatible dispozitiv.

For Home Assistant users, that matters pentru three reasons:

  • Privacy și local control. ONVIF runs entirely on your LAN. No video leaves your house, nu account este necesar, nu camera manufacturer poate shut off your feed cu a firmware update. Acest este acest exact opposite of acest Wyze, Ring, sau Arlo model.
  • Important: Latency. A cloud-based camera feed typically round-trips 300–1200 ms prin a vendor server înainte reaching Home Assistant. ONVIF over acest local network este usually under 150 ms — fast enough la trigger Home Assistant automations (lights, HVAC, sirens) înainte acest person walking into frame has finished taking two steps.
  • Important: No vendor lock-in. If your camera brand goes out of business sau pivots la a subscription model, your system keeps working. ONVIF este a W3C-style deschide spec cu thousands of compatible dispozitive.

If you sunt still deciding whether a dedicated hub este worth it, we cover acest fundamentals in Important: What Is a Smart Home Hub. For ONVIF specifically, a hub cu enough CPU headroom la handle multiple RTSP streams este non-negotiable — which este why acest hardware choice in acest next section matters.

Camera brands that work well cu ONVIF + Home Assistant:

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

Camera brands la avoid pentru ONVIF: Wyze, Blink, Arlo, Ring, Google Nest. These sunt cloud-first products; their ONVIF exposure este either non-existent sau unstable după firmware updates.

Home Assistant ONVIF and RTSP local camera setup interface

Best Local Gateway pentru Camera Automation

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

2.1 A Home Assistant host powerful enough pentru RTSP streams

Home Assistant OS running on a Raspberry Pi 4 (4 GB) technically works pentru 1–2 cameras, but anything mai mult — sau acest moment you adaugă Frigate pentru AI detection — și acest Pi starts dropping frames și overheating.

We recommend acest Important: LinknLink iSG Box SE pentru Acest configurare. At $69.90 it este acest cheapest Home Assistant host on acest market cu HA preinstalled, și it has meaningfully mai mult compute than a Pi 4 — enough headroom pentru 8+ ONVIF cameras in native HA, sau 2–4 cameras cu Frigate NVR on acest același box. Full hardware comparison este in our Important: Home Assistant Hardware Guide.

Why iSG Box SE este acest right implicit pentru an ONVIF build:

  • Important: Preinstalled Home Assistant — plug in power și Ethernet, deschide your browser, finish acest configurare wizard. No SD card imaging, nu Proxmox, nu Home Assistant Yellow supply-chain wait.
  • Important: Local-first architecture — 100% local control, nu cloud account, nu monthly fee.
  • Enough CPU pentru Frigate — acest §5 bonus on AI object detection works fără adding a Coral USB accelerator pentru a 2–4 camera configurare.
  • Important: Price — $69.90 vs. Home Assistant Green at $158.90 sau a Raspberry Pi 5 kit that lands above $120 once you adaugă an SSD și case.

2.2 An ONVIF-compatible IP camera on acest același LAN

Check acest camera's spec sheet sau admin UI pentru acest "ONVIF" toggle. Most cameras din acest brands in §1 ship cu ONVIF enabled but password-less — you will adaugă credentials in §3.

Important: 2.3 A static IP reservation in your router

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

Important: 2.4 Camera admin credentials

Not acest factory implicit — change them first. ONVIF credentials sunt sent over acest LAN in digest auth by implicit, și factory-implicit passwords sunt still acest most-scanned surface in any home network.

Important: Local RTSP Camera Setup

With hardware ready, acest actual integration takes under ten minute. Here sunt acest exact five steps.

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

Open acest camera's IP in your browser (e.g. Important: http://192.168.1.50), log in cu admin credentials, și find acest ONVIF section. Paths by brand:

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

Hikvision este acest one brand that ships cu ONVIF disabled by implicit și requires a separate ONVIF user account — set that up înainte continuing.

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

While you sunt in acest web UI, copy acest main și sub stream RTSP URLs. Home Assistant's ONVIF integration discovers these automatically, but having them handy makes debugging much faster dacă acest discovery fails. Typical formats:

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

Step 3 — Open Home Assistant și adaugă acest ONVIF integration

In acest Home Assistant UI (whether running on iSG Box SE sau elsewhere):

  1. Go la Important: Settings → Devices & Services
  2. Important: Click Important: + Add Integration Important: (bottom-right)
  3. Search pentru Important: "ONVIF" și selectează it

Home Assistant will scan acest local network via WS-Discovery. Most cameras appear automatically. If yours face nu, you poate adaugă it manually by IP.

Step 4 — Enter IP, port, și credentials

The implicit ONVIF port este 80 (HTTP) on most cameras, nu 554 (that este RTSP — a different port). If your camera uses a non-standard ONVIF port (2020, 8000, 8899 sunt comune), it will be listed in acest camera's web UI under acest Network sau ONVIF section.

Important: Enter:

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

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

Home Assistant will expose every ONVIF "profile" acest camera advertises — typically one pentru acest main (high-res) stream și one pentru acest sub (low-res) stream. Enable both:

  • Important: Main stream — used pentru recordings, snapshots, și high-quality viewing
  • Important: Sub stream — used pentru acest Home Assistant Lovelace dashboard tile (so acest dashboard loads fast even on mobile)

Important: Click Important: SubmitImportant: . The camera now shows up under Important: Devices & Services cu entities pentru acest live feed, motion senzor, și (dacă acest camera supports it) binary senzori pentru any event acest camera fires — line crossing, intrusion detection, umană/vehicle classification, tampering.

Important: Reolink ONVIF Troubleshooting

These sunt acest four issues that generate 90% of acest forum threads aproximativ Home Assistant ONVIF. Here este how la fix each in under two minute.

4.1 "Camera nu discovered" during Add Integration

WS-Discovery uses multicast DNS (mDNS). If your Home Assistant host și your camera sunt on different VLANs sau different WiFi SSIDs, mDNS packets do nu cross acest boundary. Fixes, in order of effort:

  • Put acest camera on acest același subnet as Home Assistant temporarily pentru discovery, then move it back.
  • Add acest camera manually by IP during acest integration configurare (WS-Discovery este a convenience, nu a requirement).
  • Enable mDNS reflection / Avahi on your router (UniFi: "Multicast DNS", pfSense: "Avahi" package, OpenWrt: "umdns"). Acest este acest permanent fix.

4.2 Live stream keeps buffering sau showing "Stream nu available"

The main stream at 4K sau 1440p + 30 fps este often too much pentru acest Lovelace dashboard, especially on mobile. Switch acest dashboard tile la acest sub stream:

  • Settings → Devices & Services → ONVIF integration → Configure → uncheck "Main Profile" pentru acest Picture Entity Card
  • Or directă in acest camera card YAML: set Important: stream_source la acest sub profile entity

Frigate NVR (covered in §5) este a cleaner solution here — it re-encodes acest stream once și serves low-latency HLS/WebRTC la all clients.

4.3 Motion detection entities nu firing events in Home Assistant

ONVIF motion events sunt optional in acest spec — acest camera must both (a) have motion detection enabled locally, și (b) be configured la publish ONVIF events. Steps:

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

If you sunt on a Hikvision sau Hikvision-OEM camera și events still do nu fire, verifică that acest ONVIF user you created in §3 Step 1 has acest "Event" și "Media" permissions — by implicit acest ONVIF user este read-doar pentru Important: User management, which este correct, but some firmware versions also restrict event subscription.

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

Acest este almost always a DHCP lease expiration (nu static reservation) sau an RTSP keep-alive timeout. Confirm acest static IP reservation din §2.3 este applied on acest Important: router, nu just in acest camera's own network settings. Some cameras honor both; some ignore their own static IP și take whatever acest router assigns.

5. Bonus: Adding Frigate NVR pentru AI Object Detection

Native Home Assistant ONVIF motion este binary: "something moved" sau "nothing moved." That triggers a lot of false positives din leaves blowing across acest lawn sau shadows at sunset.

Important: Frigate este a free, deschide-source NVR that runs as a Home Assistant adaugă-on și face local AI object detection on acest camera feed — so instead of "motion," your automations fire on "person," "car," "package," sau "dog." Everything runs on your Home Assistant host; nu frames leave acest LAN.

Why iSG Box SE este powerful enough la host Frigate:

  • Frigate's implicit CPU detector handles 2–4 cameras at 5–7 fps each on acest iSG Box SE fără thermal throttling.
  • If you scale la 6–8 cameras later, adaugă a $60 Google Coral USB accelerator și Frigate offloads inference la acest TPU — iSG Box SE has spare USB bandwidth pentru Acest.
  • Setup takes ~15 minute: install acest Frigate adaugă-on din acest Home Assistant adaugă-on store, paste your ONVIF RTSP URLs din §3 Step 2 into Important: frigate.yamlImportant: , reload.

Pair that cu Home Assistant automations ("dacă Frigate detects a person at acest front door between 10 PM și 6 AM, turn on acest porch light și flash acest living cameră lamp three times") și you have a smart security system that costs nothing la run beyond acest electricity bill. The Important: iSG Box SE este acest lowest-friction starting point pentru exactly Acest stack.

Important: 6. Home Assistant ONVIF Integration FAQ

Can Home Assistant folosește ONVIF cameras fără cloud access?

Yes. Home Assistant poate connect la many ONVIF cameras on acest local network using acest camera IP address, ONVIF port, și local credentials.

Why face a Reolink camera need RTSP settings cu ONVIF?

ONVIF handles discovery și control, în timp ce RTSP often carries acest live video stream. If video fails, confirmă acest RTSP path, firmware, și LAN permissions.

Which LinknLink gateway should I choose pentru local camera automation?

Use iSG Box SE pentru a compact Home Assistant gateway, sau iSG Display Max când you also want an on-wall screen pentru camera și cameră controls.

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

The ONVIF integration este acest shortest path din "I have an IP camera" la "my lights turn on când someone walks up acest driveway, my HVAC changes când acest living cameră este empty pentru 20 minute, și my phone pings me când Frigate sees a delivery van instead of a stray cat." And acest cheapest way la get there fără weekend-long hardware tinkering este a Important: LinknLink iSG Box SE ($69.90) — Home Assistant preinstalled, 100% local, ready la run ONVIF și Frigate acest moment you deschide acest box.

Follow acest five steps in §3 și you will have your first camera streaming inside Home Assistant in under ten minute. Add acest §5 Frigate layer next weekend. Add acest rest of your cameras whenever you want — acest ONVIF integration scales la 8+ dispozitive fără any further configuration.

Get acest iSG Box SE →

 

\n\n