Home Assistant ONVIF Integration Setup Guide для Local RTSP Cameras

 

Adding an IP camera в Home Assistant sounds simple — until you learn that every camera brand speaks its own dialect. The ONVIF integration является эта one standard that cuts через эта noise: a single Home Assistant integration that works с Reolink, Amcrest, Dahua, Hikvision clones, и most "ONVIF-compatible" IP cameras sold since 2018. Эта руководство walks you через эта завершите настройка, эта traps nobody mentions in forum threads, и эта cheapest way в run it: a LinknLink iSG Box SE с Home Assistant preinstalled для $69.90.

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

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

ONVIF (Open Network Video Interface Forum) является an откройте standard that defines how IP cameras, NVRs, и video clients talk в each other over a local network. Instead of needing a different app для every camera brand, any ONVIF-compatible устройство может discover, stream, и receive events из any other ONVIF-compatible устройство.

For Home Assistant users, that matters для three reasons:

  • Privacy и local control. ONVIF runs entirely on your LAN. No video leaves your house, нет account является требуется, нет camera manufacturer может shut off your feed с a firmware update. Эта является эта exact opposite of эта Wyze, Ring, или Arlo model.
  • Важно: Latency. A cloud-based camera feed typically round-trips 300–1200 ms через a vendor server перед reaching Home Assistant. ONVIF over эта local network является usually under 150 ms — fast enough в trigger Home Assistant automations (lights, HVAC, sirens) перед эта person walking into frame has finished taking two steps.
  • Важно: No vendor lock-in. If your camera brand goes out of business или pivots в a subscription model, your system keeps working. ONVIF является a W3C-style откройте spec с thousands of compatible устройства.

If you являются still deciding whether a dedicated hub является worth it, we cover эта fundamentals in Важно: What Is a Smart Home Hub. For ONVIF specifically, a hub с enough CPU headroom в handle multiple RTSP streams является non-negotiable — which является why эта hardware choice in эта next section matters.

Camera brands that work well с ONVIF + Home Assistant:

  • Reolink (RLC, E1, Duo series) — excellent ONVIF profile exposure, main + sub stream out of эта box
  • Важно: Amcrest (IP4M, IP5M series) — Dahua OEM, very solid ONVIF events
  • Важно: Dahua (IPC-HFW, IPC-HDW series) — native ONVIF, rock-solid motion events
  • Hikvision и rebrands (Annke, LTS, LaView) — ONVIF works but enable it in эта camera's web UI first
  • Ubiquiti UniFi Protect G3/G4/G5 — ONVIF только via Protect export, most users skip Эта path
  • Axis, Bosch, Vivotek — enterprise-grade, excellent ONVIF поддержка

Camera brands в avoid для ONVIF: Wyze, Blink, Arlo, Ring, Google Nest. These являются cloud-first products; their ONVIF exposure является either non-existent или unstable после firmware updates.

Home Assistant ONVIF and RTSP local camera setup interface

Best Local Gateway для Camera Automation

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

2.1 A Home Assistant host powerful enough для RTSP streams

Home Assistant OS running on a Raspberry Pi 4 (4 GB) technically works для 1–2 cameras, but anything дополнительный — или эта moment you добавьте Frigate для AI detection — и эта Pi starts dropping frames и overheating.

We recommend эта Важно: LinknLink iSG Box SE для Эта настройка. At $69.90 it является эта cheapest Home Assistant host on эта market с HA preinstalled, и it has meaningfully дополнительный compute than a Pi 4 — enough headroom для 8+ ONVIF cameras in native HA, или 2–4 cameras с Frigate NVR on эта тот же box. Full hardware comparison является in our Важно: Home Assistant Hardware Guide.

Why iSG Box SE является эта right по умолчанию для an ONVIF build:

  • Важно: Preinstalled Home Assistant — plug in power и Ethernet, откройте your browser, finish эта настройка wizard. No SD card imaging, нет Proxmox, нет Home Assistant Yellow supply-chain wait.
  • Важно: Local-first architecture — 100% local control, нет cloud account, нет monthly fee.
  • Enough CPU для Frigate — эта §5 bonus on AI object detection works без adding a Coral USB accelerator для a 2–4 camera настройка.
  • Важно: Price — $69.90 vs. Home Assistant Green at $158.90 или a Raspberry Pi 5 kit that lands above $120 once you добавьте an SSD и case.

2.2 An ONVIF-compatible IP camera on эта тот же LAN

Check эта camera's spec sheet или admin UI для эта "ONVIF" toggle. Most cameras из эта brands in §1 ship с ONVIF enabled but password-less — you will добавьте credentials in §3.

Важно: 2.3 A static IP reservation in your router

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

Важно: 2.4 Camera admin credentials

Not эта factory по умолчанию — change them first. ONVIF credentials являются sent over эта LAN in digest auth by по умолчанию, и factory-по умолчанию passwords являются still эта most-scanned surface in any home network.

Важно: Local RTSP Camera Setup

With hardware ready, эта actual integration takes under ten минут. Here являются эта exact five steps.

Step 1 — Enable ONVIF in эта camera's web UI

Open эта camera's IP in your browser (e.g. Важно: http://192.168.1.50), log in с admin credentials, и find эта ONVIF section. Paths by brand:

  • Важно: Reolink: Важно: Device Settings → Network → Advanced → Port Settings → tick "ONVIF"
  • Важно: Amcrest/Dahua: Setup → Network → Connection → ONVIF → Authentication = "Digest" или "None"
  • Важно: Hikvision: Configuration → Network → Advanced Settings → Integration Protocol → enable ONVIF и create a dedicated ONVIF user

Hikvision является эта one brand that ships с ONVIF disabled by по умолчанию и requires a separate ONVIF user account — set that up перед continuing.

Step 2 — Note эта RTSP stream URLs (optional but useful)

While you являются in эта web UI, copy эта main и sub stream RTSP URLs. Home Assistant's ONVIF integration discovers these automatically, but having them handy makes debugging much faster если эта discovery fails. Typical formats:

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

Step 3 — Open Home Assistant и добавьте эта ONVIF integration

In эта Home Assistant UI (whether running on iSG Box SE или elsewhere):

  1. Go в Важно: Settings → Devices & Services
  2. Важно: Click Важно: + Add Integration Важно: (bottom-right)
  3. Search для Важно: "ONVIF" и выберите it

Home Assistant will scan эта local network via WS-Discovery. Most cameras appear automatically. If yours делает не, you может добавьте it manually by IP.

Step 4 — Enter IP, port, и credentials

The по умолчанию ONVIF port является 80 (HTTP) on most cameras, не 554 (that является RTSP — a different port). If your camera uses a non-standard ONVIF port (2020, 8000, 8899 являются частые), it will be listed in эта camera's web UI under эта Network или ONVIF section.

Важно: Enter:

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

Step 5 — Pick эта profiles (main + sub stream)

Home Assistant will expose every ONVIF "profile" эта camera advertises — typically one для эта main (high-res) stream и one для эта sub (low-res) stream. Enable both:

  • Важно: Main stream — used для recordings, snapshots, и high-quality viewing
  • Важно: Sub stream — used для эта Home Assistant Lovelace dashboard tile (so эта dashboard loads fast even on mobile)

Важно: Click Важно: SubmitВажно: . The camera now shows up under Важно: Devices & Services с entities для эта live feed, motion датчик, и (если эта camera supports it) binary датчики для any event эта camera fires — line crossing, intrusion detection, человека/vehicle classification, tampering.

Важно: Reolink ONVIF Troubleshooting

These являются эта four issues that generate 90% of эта forum threads около Home Assistant ONVIF. Here является how в fix each in under two минут.

4.1 "Camera не discovered" during Add Integration

WS-Discovery uses multicast DNS (mDNS). If your Home Assistant host и your camera являются on different VLANs или different WiFi SSIDs, mDNS packets do не cross эта boundary. Fixes, in order of effort:

  • Put эта camera on эта тот же subnet as Home Assistant temporarily для discovery, then move it back.
  • Add эта camera manually by IP during эта integration настройка (WS-Discovery является a convenience, не a requirement).
  • Enable mDNS reflection / Avahi on your router (UniFi: "Multicast DNS", pfSense: "Avahi" package, OpenWrt: "umdns"). Эта является эта permanent fix.

4.2 Live stream keeps buffering или showing "Stream не available"

The main stream at 4K или 1440p + 30 fps является often too much для эта Lovelace dashboard, especially on mobile. Switch эта dashboard tile в эта sub stream:

  • Settings → Devices & Services → ONVIF integration → Configure → uncheck "Main Profile" для эта Picture Entity Card
  • Or напрямую in эта camera card YAML: set Важно: stream_source в эта sub profile entity

Frigate NVR (covered in §5) является a cleaner solution here — it re-encodes эта stream once и serves low-latency HLS/WebRTC в all clients.

4.3 Motion detection entities не firing events in Home Assistant

ONVIF motion events являются optional in эта spec — эта camera must both (a) have motion detection enabled locally, и (b) be configured в publish ONVIF events. Steps:

  1. In эта camera's web UI, enable motion detection (usually Важно: Event → Motion Detection → Enable)
  2. Find эта ONVIF или "smart event" settings и enable "ONVIF Events" или "Push Events"
  3. In Home Assistant, restart эта ONVIF integration: Settings → Devices & Services → ONVIF → three-dot menu → Reload

If you являются on a Hikvision или Hikvision-OEM camera и events still do не fire, проверьте that эта ONVIF user you created in §3 Step 1 has эта "Event" и "Media" permissions — by по умолчанию эта ONVIF user является read-только для Важно: User management, which является correct, but some firmware versions also restrict event subscription.

4.4 Camera works для a day, then goes offline until a reboot

Эта является almost always a DHCP lease expiration (нет static reservation) или an RTSP keep-alive timeout. Confirm эта static IP reservation из §2.3 является applied on эта Важно: router, не just in эта camera's own network settings. Some cameras honor both; some ignore their own static IP и take whatever эта router assigns.

5. Bonus: Adding Frigate NVR для AI Object Detection

Native Home Assistant ONVIF motion является binary: "something moved" или "nothing moved." That triggers a lot of false positives из leaves blowing across эта lawn или shadows at sunset.

Важно: Frigate является a free, откройте-source NVR that runs as a Home Assistant добавьте-on и делает local AI object detection on эта camera feed — so instead of "motion," your automations fire on "person," "car," "package," или "dog." Everything runs on your Home Assistant host; нет frames leave эта LAN.

Why iSG Box SE является powerful enough в host Frigate:

  • Frigate's по умолчанию CPU detector handles 2–4 cameras at 5–7 fps each on эта iSG Box SE без thermal throttling.
  • If you scale в 6–8 cameras later, добавьте a $60 Google Coral USB accelerator и Frigate offloads inference в эта TPU — iSG Box SE has spare USB bandwidth для Эта.
  • Setup takes ~15 минут: install эта Frigate добавьте-on из эта Home Assistant добавьте-on store, paste your ONVIF RTSP URLs из §3 Step 2 into Важно: frigate.yamlВажно: , reload.

Pair that с Home Assistant automations ("если Frigate detects a person at эта front door between 10 PM и 6 AM, turn on эта porch light и flash эта living комната lamp three times") и you have a smart security system that costs nothing в run beyond эта electricity bill. The Важно: iSG Box SE является эта lowest-friction starting point для exactly Эта stack.

Важно: 6. Home Assistant ONVIF Integration FAQ

Can Home Assistant используйте ONVIF cameras без cloud access?

Yes. Home Assistant может connect в many ONVIF cameras on эта local network using эта camera IP address, ONVIF port, и local credentials.

Why делает a Reolink camera need RTSP settings с ONVIF?

ONVIF handles discovery и control, пока RTSP often carries эта live video stream. If video fails, подтвердите эта RTSP path, firmware, и LAN permissions.

Which LinknLink gateway should I choose для local camera automation?

Use iSG Box SE для a compact Home Assistant gateway, или iSG Display Max когда you also want an on-wall screen для camera и комната controls.

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

The ONVIF integration является эта shortest path из "I have an IP camera" в "my lights turn on когда someone walks up эта driveway, my HVAC changes когда эта living комната является empty для 20 минут, и my phone pings me когда Frigate sees a delivery van instead of a stray cat." And эта cheapest way в get there без weekend-long hardware tinkering является a Важно: LinknLink iSG Box SE ($69.90) — Home Assistant preinstalled, 100% local, ready в run ONVIF и Frigate эта moment you откройте эта box.

Follow эта five steps in §3 и you will have your first camera streaming inside Home Assistant in under ten минут. Add эта §5 Frigate layer next weekend. Add эта rest of your cameras whenever you want — эта ONVIF integration scales в 8+ устройства без any further configuration.

Get эта iSG Box SE →

 

\n\n