Cameras and Doorbells

Home Assistant Cameras: Adding RTSP Streams and Choosing Cameras

Learn how to add RTSP cameras to Home Assistant with the Generic Camera integration, pick local-first cameras, and set up streams and dashboards.

On this page
  1. What Home Assistant does with cameras
  2. Two ways cameras connect
  3. Adding an RTSP camera with the Generic Camera integration
  4. Choose the right stream
  5. Streaming options: HLS, WebRTC, and codecs
  6. Showing cameras on your dashboard
  7. Recording and snapshots: why Home Assistant is not an NVR
  8. Choosing a camera for Home Assistant
  9. Security basics
  10. Is Home Assistant worth it for cameras in 2026?
  11. Common misconceptions
  12. Next steps

What Home Assistant does with cameras

Home Assistant is free, open-source software that runs on a device in your home and connects smart devices from many brands. With cameras, it can show live video or still images on a dashboard, save snapshots, and trigger automations when a camera reports motion or a person. It doesn’t record continuously by itself, and it isn’t a dedicated network video recorder (NVR). For 24/7 or event-based recording, you’ll need a separate recorder, which is covered below.

Two ways cameras connect

Cameras reach Home Assistant in one of two broad ways:

  • Local streams. The camera offers an RTSP stream, which is a video address on your local network. Many local cameras also support ONVIF, a standard for discovery and control. ONVIF and RTSP are not the same thing. ONVIF helps you find cameras and can hand out RTSP addresses, but the video itself comes over RTSP.
  • Cloud-based integrations. Brands such as Ring, Blink, Arlo, Nest, and most Wyze models keep video in the manufacturer’s cloud. Home Assistant connects through the brand’s account, and live video is often limited or needs a workaround.

If you want a camera that works without the manufacturer’s cloud, look for RTSP or ONVIF support before you buy.

Adding an RTSP camera with the Generic Camera integration

  1. Go to Settings > Devices & services > Add integration and choose Generic Camera.
  2. Enter the stream source URL. You can also add an optional still image URL, which Home Assistant uses for snapshots.
  3. Finish setup, then open the camera entity to check the live view.

If the feed doesn’t appear, test the same address in VLC (Media > Open Network Stream) before you change anything in Home Assistant. If the stream plays in VLC, the camera and network are working.

Building the RTSP URL

RTSP addresses follow this pattern:

rtsp://user:password@192.168.1.50:554/path

Port 554 is the default for RTSP. The path depends on the brand and sometimes the model. Some common examples:

  • Reolink: /h264Preview_01_main for the main stream, _sub for the substream
  • Hikvision: /Streaming/Channels/101 for the main stream, 102 for the substream
  • Dahua and Amcrest: /cam/realmonitor?channel=1&subtype=0, with subtype=1 for the substream
  • Tapo: /stream1 for the main stream, /stream2 for the substream

Check your camera’s documentation for the exact path, because models and firmware differ.

Passwords with special characters

Some characters in a password can break the address. Either use letters and numbers only, or URL-encode the characters. For example, @ becomes %40 and # becomes %23.

Choose the right stream

Use the substream, around 640×360 or 720p, for dashboards. It loads faster and uses less CPU and bandwidth. Save the main stream for recording and detailed review. A 4K main stream is often more than a dashboard needs, and it can strain your network and the Home Assistant host.

Streaming options: HLS, WebRTC, and codecs

  • The stream integration is part of default_config. It converts RTSP into HLS. Latency is typically around 2 to 5 seconds.
  • WebRTC through go2rtc is built into Home Assistant 2024.11 and later. Latency is usually under a second. Viewing WebRTC from outside your home needs extra network setup, which the black camera feed guide explains.
  • Codecs: H.264 plays almost everywhere. H.265 support depends on the browser and hardware. Safari generally handles it, Chrome depends on your hardware, and Firefox often doesn’t. If a feed is black in one browser, switching the camera to H.264 is a common fix.

Showing cameras on your dashboard

A Picture Entity or Picture Glance card works well for cameras. With camera_view: auto, the card shows a still image that refreshes about every 10 seconds. With camera_view: live, it shows the stream. Auto uses less bandwidth, while live gives you motion but uses more resources.

Recording and snapshots: why Home Assistant is not an NVR

Home Assistant can save a JPEG with the camera.snapshot action. It can also save a short MP4, about 30 seconds by default, with camera.record. The record action needs the stream integration, and you may need to add the save folder to allowlist_external_dirs first.

For continuous or event-based recording, use one of these:

Choosing a camera for Home Assistant

Brands that often come up for local setups include Reolink, Amcrest, Dahua, Hikvision, UniFi Protect, and wired Tapo models. Being on this list doesn’t mean every model behaves the same way, so check the specific model you’re considering.

Look for these points before you buy:

  • RTSP or ONVIF support. Check the spec sheet, and confirm the feature is turned on in the app. Many consumer cameras don’t offer RTSP at all, and some firmware updates turn it off.
  • Power and connection. Wired cameras that use Power over Ethernet (PoE, 802.3af, up to 15.4 W at the port) are generally more reliable than Wi-Fi. Battery cameras often sleep and don’t offer continuous streams.
  • Wi-Fi band. Many Wi-Fi cameras use 2.4 GHz only. A weak signal can cause freezes and grey frames.
  • Cloud dependence. Find out whether the camera works without a cloud account.

Security basics

Change the default camera password before you connect the camera. Keep RTSP and ONVIF off the public internet, and never port-forward them. If your router supports it, put cameras on their own VLAN or IoT network. You can block their internet access if you only want local use, but some features may stop working, and that varies by brand. Give each camera a DHCP reservation so its address doesn’t change.

Is Home Assistant worth it for cameras in 2026?

That depends on what you want. Home Assistant runs locally and can bring cameras, sensors, lights, and locks into one place, which many people value. It also takes time to set up and maintain. If you only want a camera’s own app and nothing more, a brand’s app may be a better fit.

Common misconceptions

  • “Home Assistant records continuously by itself.” It doesn’t. It views and takes snapshots.
  • “Every smart camera supports RTSP.” Many consumer cameras don’t.
  • “ONVIF and RTSP are the same thing.” ONVIF is a discovery and control standard. RTSP carries the video.
  • “Higher resolution is always better.” 4K streams load slower and use more CPU and bandwidth.

Next steps

Keep exploring

Guides from other topics

All topics →