Adding an IP camera do Home Assistant sounds simple — until you learn that every camera brand speaks its own dialect. The ONVIF integration jest ten one standard that cuts przez ten noise: a single Home Assistant integration that works z Reolink, Amcrest, Dahua, Hikvision clones, i most "ONVIF-compatible" IP cameras sold since 2018. Ten przewodnik walks you przez ten zakończ konfiguracja, ten traps nobody mentions in forum threads, i ten cheapest way do run it: a LinknLink iSG Box SE z Home Assistant preinstalled dla $69.90.

1. What Is ONVIF i Why Home Assistant Users Need It
ONVIF (Open Network Video Interface Forum) jest an otwórz standard that defines how IP cameras, NVRs, i video clients talk do each other over a local network. Instead of needing a different app dla every camera brand, any ONVIF-compatible urządzenie może discover, stream, i receive events z any other ONVIF-compatible urządzenie.
For Home Assistant users, that matters dla three reasons:
- Privacy i local control. ONVIF runs entirely on your LAN. No video leaves your house, nie account jest wymagany, nie camera manufacturer może shut off your feed z a firmware update. Ten jest ten exact opposite of ten Wyze, Ring, lub Arlo model.
- Ważne: Latency. A cloud-based camera feed typically round-trips 300–1200 ms przez a vendor server przed reaching Home Assistant. ONVIF over ten local network jest usually under 150 ms — fast enough do trigger Home Assistant automations (lights, HVAC, sirens) przed ten person walking into frame has finished taking two steps.
- Ważne: No vendor lock-in. If your camera brand goes out of business lub pivots do a subscription model, your system keeps working. ONVIF jest a W3C-style otwórz spec z thousands of compatible urządzenia.
If you są still deciding whether a dedicated hub jest worth it, we cover ten fundamentals in Ważne: What Is a Smart Home Hub. For ONVIF specifically, a hub z enough CPU headroom do handle multiple RTSP streams jest non-negotiable — which jest why ten hardware choice in ten next section matters.
Camera brands that work well z ONVIF + Home Assistant:
- Reolink (RLC, E1, Duo series) — excellent ONVIF profile exposure, main + sub stream out of ten box
- Ważne: Amcrest (IP4M, IP5M series) — Dahua OEM, very solid ONVIF events
- Ważne: Dahua (IPC-HFW, IPC-HDW series) — native ONVIF, rock-solid motion events
- Hikvision i rebrands (Annke, LTS, LaView) — ONVIF works but enable it in ten camera's web UI first
- Ubiquiti UniFi Protect G3/G4/G5 — ONVIF tylko via Protect export, most users skip Ten path
- Axis, Bosch, Vivotek — enterprise-grade, excellent ONVIF obsługa
Camera brands do avoid dla ONVIF: Wyze, Blink, Arlo, Ring, Google Nest. These są cloud-first products; their ONVIF exposure jest either non-existent lub unstable po firmware updates.

Best Local Gateway dla Camera Automation
Before you touch ten ONVIF integration screen, make sure you have these four things lined up:
2.1 A Home Assistant host powerful enough dla RTSP streams
Home Assistant OS running on a Raspberry Pi 4 (4 GB) technically works dla 1–2 cameras, but anything więcej — lub ten moment you dodaj Frigate dla AI detection — i ten Pi starts dropping frames i overheating.
We recommend ten Ważne: LinknLink iSG Box SE dla Ten konfiguracja. At $69.90 it jest ten cheapest Home Assistant host on ten market z HA preinstalled, i it has meaningfully więcej compute than a Pi 4 — enough headroom dla 8+ ONVIF cameras in native HA, lub 2–4 cameras z Frigate NVR on ten taki sam box. Full hardware comparison jest in our Ważne: Home Assistant Hardware Guide.
Why iSG Box SE jest ten right domyślny dla an ONVIF build:
- Ważne: Preinstalled Home Assistant — plug in power i Ethernet, otwórz your browser, finish ten konfiguracja wizard. No SD card imaging, nie Proxmox, nie Home Assistant Yellow supply-chain wait.
- Ważne: Local-first architecture — 100% local control, nie cloud account, nie monthly fee.
- Enough CPU dla Frigate — ten §5 bonus on AI object detection works bez adding a Coral USB accelerator dla a 2–4 camera konfiguracja.
- Ważne: Price — $69.90 vs. Home Assistant Green at $158.90 lub a Raspberry Pi 5 kit that lands above $120 once you dodaj an SSD i case.
2.2 An ONVIF-compatible IP camera on ten taki sam LAN
Check ten camera's spec sheet lub admin UI dla ten "ONVIF" toggle. Most cameras z ten brands in §1 ship z ONVIF enabled but password-less — you will dodaj credentials in §3.
Ważne: 2.3 A static IP reservation in your router
Home Assistant integrates cameras by IP address. If your router hands ten camera a new IP next week, ten integration breaks silently. In your router's DHCP settings, reserve a permanent LAN IP dla each camera's MAC address (typically shown in ten camera's admin UI).
Ważne: 2.4 Camera admin credentials
Not ten factory domyślny — change them first. ONVIF credentials są sent over ten LAN in digest auth by domyślny, i factory-domyślny passwords są still ten most-scanned surface in any home network.
Ważne: Local RTSP Camera Setup
With hardware ready, ten actual integration takes under ten minut. Here są ten exact five steps.
Step 1 — Enable ONVIF in ten camera's web UI
Open ten camera's IP in your browser (e.g. Ważne: http://192.168.1.50), log in z admin credentials, i find ten ONVIF section. Paths by brand:
- Ważne: Reolink: Ważne: Device Settings → Network → Advanced → Port Settings → tick "ONVIF"
- Ważne: Amcrest/Dahua: Setup → Network → Connection → ONVIF → Authentication = "Digest" lub "None"
- Ważne: Hikvision: Configuration → Network → Advanced Settings → Integration Protocol → enable ONVIF i create a dedicated ONVIF user
Hikvision jest ten one brand that ships z ONVIF disabled by domyślny i requires a separate ONVIF user account — set that up przed continuing.
Step 2 — Note ten RTSP stream URLs (optional but useful)
While you są in ten web UI, copy ten main i sub stream RTSP URLs. Home Assistant's ONVIF integration discovers these automatically, but having them handy makes debugging much faster jeśli ten discovery fails. Typical formats:
- Ważne: Reolink main:
Ważne: rtsp://admin:password@192.168.1.50:554/h264Preview_01_main - Ważne: Reolink sub:
Ważne: rtsp://admin:password@192.168.1.50:554/h264Preview_01_sub - Ważne: Amcrest main:
Ważne: rtsp://admin:password@192.168.1.50:554/cam/realmonitor?channel=1&subtype=0 - Ważne: Amcrest sub:
Ważne: rtsp://admin:password@192.168.1.50:554/cam/realmonitor?channel=1&subtype=1
Step 3 — Open Home Assistant i dodaj ten ONVIF integration
In ten Home Assistant UI (whether running on iSG Box SE lub elsewhere):
- Go do Ważne: Settings → Devices & Services
- Ważne: Click Ważne: + Add Integration Ważne: (bottom-right)
- Search dla Ważne: "ONVIF" i wybierz it
Home Assistant will scan ten local network via WS-Discovery. Most cameras appear automatically. If yours nie nie, you może dodaj it manually by IP.
Step 4 — Enter IP, port, i credentials
The domyślny ONVIF port jest 80 (HTTP) on most cameras, nie 554 (that jest RTSP — a different port). If your camera uses a non-standard ONVIF port (2020, 8000, 8899 są częste), it will be listed in ten camera's web UI under ten Network lub ONVIF section.
Ważne: Enter:
- Ważne: Host: ten camera's static LAN IP
- Ważne: Port: Ważne: usually 80; Hikvision often uses 80, Dahua 80, Reolink 8000
- Ważne: Username/Password: ten ONVIF credentials you set in §2.4 (Hikvision: ten dedicated ONVIF user created in Step 1)
Step 5 — Pick ten profiles (main + sub stream)
Home Assistant will expose every ONVIF "profile" ten camera advertises — typically one dla ten main (high-res) stream i one dla ten sub (low-res) stream. Enable both:
- Ważne: Main stream — used dla recordings, snapshots, i high-quality viewing
- Ważne: Sub stream — used dla ten Home Assistant Lovelace dashboard tile (so ten dashboard loads fast even on mobile)
Ważne: Click Ważne: SubmitWażne: . The camera now shows up under Ważne: Devices & Services z entities dla ten live feed, motion czujnik, i (jeśli ten camera supports it) binary czujniki dla any event ten camera fires — line crossing, intrusion detection, człowieka/vehicle classification, tampering.
Ważne: Reolink ONVIF Troubleshooting
These są ten four issues that generate 90% of ten forum threads około Home Assistant ONVIF. Here jest how do fix each in under two minut.
4.1 "Camera nie discovered" during Add Integration
WS-Discovery uses multicast DNS (mDNS). If your Home Assistant host i your camera są on different VLANs lub different WiFi SSIDs, mDNS packets do nie cross ten boundary. Fixes, in order of effort:
- Put ten camera on ten taki sam subnet as Home Assistant temporarily dla discovery, then move it back.
- Add ten camera manually by IP during ten integration konfiguracja (WS-Discovery jest a convenience, nie a requirement).
- Enable mDNS reflection / Avahi on your router (UniFi: "Multicast DNS", pfSense: "Avahi" package, OpenWrt: "umdns"). Ten jest ten permanent fix.
4.2 Live stream keeps buffering lub showing "Stream nie available"
The main stream at 4K lub 1440p + 30 fps jest often too much dla ten Lovelace dashboard, especially on mobile. Switch ten dashboard tile do ten sub stream:
- Settings → Devices & Services → ONVIF integration → Configure → uncheck "Main Profile" dla ten Picture Entity Card
- Or bezpośrednio in ten camera card YAML: set
Ważne: stream_sourcedo ten sub profile entity
Frigate NVR (covered in §5) jest a cleaner solution here — it re-encodes ten stream once i serves low-latency HLS/WebRTC do all clients.
4.3 Motion detection entities nie firing events in Home Assistant
ONVIF motion events są optional in ten spec — ten camera must both (a) have motion detection enabled locally, i (b) be configured do publish ONVIF events. Steps:
- In ten camera's web UI, enable motion detection (usually Ważne: Event → Motion Detection → Enable)
- Find ten ONVIF lub "smart event" settings i enable "ONVIF Events" lub "Push Events"
- In Home Assistant, restart ten ONVIF integration: Settings → Devices & Services → ONVIF → three-dot menu → Reload
If you są on a Hikvision lub Hikvision-OEM camera i events still do nie fire, sprawdź that ten ONVIF user you created in §3 Step 1 has ten "Event" i "Media" permissions — by domyślny ten ONVIF user jest read-tylko dla Ważne: User management, which jest correct, but some firmware versions also restrict event subscription.
4.4 Camera works dla a day, then goes offline until a reboot
Ten jest almost always a DHCP lease expiration (nie static reservation) lub an RTSP keep-alive timeout. Confirm ten static IP reservation z §2.3 jest applied on ten Ważne: router, nie just in ten camera's own network settings. Some cameras honor both; some ignore their own static IP i take whatever ten router assigns.
5. Bonus: Adding Frigate NVR dla AI Object Detection
Native Home Assistant ONVIF motion jest binary: "something moved" lub "nothing moved." That triggers a lot of false positives z leaves blowing across ten lawn lub shadows at sunset.
Ważne: Frigate jest a free, otwórz-source NVR that runs as a Home Assistant dodaj-on i nie local AI object detection on ten camera feed — so instead of "motion," your automations fire on "person," "car," "package," lub "dog." Everything runs on your Home Assistant host; nie frames leave ten LAN.
Why iSG Box SE jest powerful enough do host Frigate:
- Frigate's domyślny CPU detector handles 2–4 cameras at 5–7 fps each on ten iSG Box SE bez thermal throttling.
- If you scale do 6–8 cameras later, dodaj a $60 Google Coral USB accelerator i Frigate offloads inference do ten TPU — iSG Box SE has spare USB bandwidth dla Ten.
- Setup takes ~15 minut: install ten Frigate dodaj-on z ten Home Assistant dodaj-on store, paste your ONVIF RTSP URLs z §3 Step 2 into
Ważne: frigate.yamlWażne: , reload.
Pair that z Home Assistant automations ("jeśli Frigate detects a person at ten front door between 10 PM i 6 AM, turn on ten porch light i flash ten living pomieszczenie lamp three times") i you have a smart security system that costs nothing do run beyond ten electricity bill. The Ważne: iSG Box SE jest ten lowest-friction starting point dla exactly Ten stack.
Ważne: 6. Home Assistant ONVIF Integration FAQ
Can Home Assistant użyj ONVIF cameras bez cloud access?
Yes. Home Assistant może connect do many ONVIF cameras on ten local network using ten camera IP address, ONVIF port, i local credentials.
Why nie a Reolink camera need RTSP settings z ONVIF?
ONVIF handles discovery i control, podczas RTSP often carries ten live video stream. If video fails, potwierdź ten RTSP path, firmware, i LAN permissions.
Which LinknLink gateway should I choose dla local camera automation?
Use iSG Box SE dla a compact Home Assistant gateway, lub iSG Display Max gdy you also want an on-wall screen dla camera i pomieszczenie controls.
7. Conclusion: Start Your ONVIF Setup z iSG Box SE Today
The ONVIF integration jest ten shortest path z "I have an IP camera" do "my lights turn on gdy someone walks up ten driveway, my HVAC changes gdy ten living pomieszczenie jest empty dla 20 minut, i my phone pings me gdy Frigate sees a delivery van instead of a stray cat." And ten cheapest way do get there bez weekend-long hardware tinkering jest a Ważne: LinknLink iSG Box SE ($69.90) — Home Assistant preinstalled, 100% local, ready do run ONVIF i Frigate ten moment you otwórz ten box.
Follow ten five steps in §3 i you will have your first camera streaming inside Home Assistant in under ten minut. Add ten §5 Frigate layer next weekend. Add ten rest of your cameras whenever you want — ten ONVIF integration scales do 8+ urządzenia bez any further configuration.