Xiaomi (Mi Home / Xiaofang) makes very popular low-cost smart cameras. They are cloud-focused, but many models expose an RTSP stream after flashing community or official RTSP firmware; connect with a direct RTSP URL — click a model below for an example. Add a Xiaomi camera to Agent DVR for free local recording, detection and remote viewing without the cloud.

13 modelsRTSP · HTTP · HTTPSPort 8554Updated 9 Jun 2026
Agent DVR is free for personal, local use. Download Now Remote access or business use? See pricing

Xiaomi connection URLs

Tip: Click a model to generate a video connection URL for your Xiaomi camera

Models Type Protocol URL
UnknownFFMPEGRTSP/ch0.h264
Unknown, SXJ01ZMVLCRTSP/live/ch00_0
Unknown, Xiaofang, XiaoYiFFMPEGRTSP/ch0_0.h264
Dafang, Dafang3, T20, XiaofangFFMPEGRTSP/unicast
DafangFFMPEGHTTPS/cgi-bin/currentpic.cgi?width=1920&height=1080&nightvision=1
UnknownFFMPEGHTTP/video?profile=0
UnknownFFMPEGHTTP/videostream.asf?user=[USERNAME]&pwd=[PASSWORD]&resolution=320x240
M1901F7HJPEGHTTP/shot.jpg
UnknownMJPEGHTTP/video
Unknown, MI-3FFMPEGHTTP/videofeed
MJSXJ02CMMJPEGHTTP/?action=stream
MJSXJ02CM, MJSXJ05CMFFMPEGRTSP/mainstream
MJSXJ02HL, UnknownFFMPEGRTSP/11
MJSXJ05CM, V380FFMPEGRTSP/user=[USERNAME]_password=[PASSWORD]_channel=1_stream=0.sdp
MJSXJ05CM, UnknownFFMPEGHTTP/
MJSXJ05CMFFMPEGRTSP/substream
UnknownJPEGHTTP/image.jpg
UnknownJPEGHTTP/snapshot.cgi?user=[USERNAME]&pwd=[PASSWORD]
UnknownMJPEGHTTP/video?profile=[CHANNEL]

* iSpyConnect has no affiliation, connection, or association with Xiaomi’s products. The connection details provided here are crowd sourced from the community and may be incomplete, inaccurate or out of date. We provide no guarantee or warranty that you will be able to connect to your cameras using these URLs.

How to connect Xiaomi cameras to Agent DVR

  1. Download and install Agent DVR - free for local use on Windows, macOS, Linux, Docker and Raspberry Pi.
  2. Open Agent DVR in your browser and click the + (Add) button, then choose "IP Camera Wizard".
  3. Select Xiaomi from the manufacturer list.
  4. Enter your camera's IP address, username and password. These stay on your machine and are never sent to iSpyConnect.
  5. Pick the RTSP connection URL (default port 8554) and save. Agent DVR begins live streaming, motion detection and recording.

Xiaomi Camera FAQ

How many Xiaomi camera models does iSpyConnect support?

iSpyConnect's crowd-sourced database lists 13 Xiaomi models with 19 connection URLs, updated daily by the community.

What is the RTSP URL for Xiaomi cameras?

Xiaomi cameras typically connect over RTSP on port 8554. For example, the Xiaomi Dafang3 connects at rtsp://[camera-ip]:8554/unicast - replace [camera-ip] with your camera's address and add your username and password, or click any model in the table above to generate the exact URL.

Do Xiaomi cameras support ONVIF?

It varies by model. If your Xiaomi camera supports ONVIF, Agent DVR can auto-discover it; otherwise use a direct RTSP URL from the table above.

How do I connect Xiaomi cameras to Agent DVR?

Install Agent DVR (free), click the + button, choose the IP Camera Wizard, select Xiaomi, enter your camera's IP address, username and password, then pick a connection URL. Agent DVR starts live streaming, motion detection and recording immediately.

 

Other makes starting with "X"

XX Zhang, X-price, X-security, X-view, X10, Xaimoi, Xanboo, Xblitz, Xblock, Xdh, Xelpon, Xenocam, Xenta, Xfinity, Xgody, Xiaomi, Xiaovv, Xiaoyi, Xin Ling, Xineron, Xinfi, Xingchuang, Xinsan, Xiongmai Dvr, Xipcam, Xka, Xmarto, Xmate, Xmeye, Xonz, Xperia, Xpia, Xseries, Xshcam, Xtendrobotics, Xtremepro, Xts Corp, Xtsy, Xtu, Xvi, Xvim, Xvision, Xvr, Xxcamera, Xxk, Xy-ip, Xyclop

More Sources

* iSpyConnect has no affiliation, connection, or association with Xiaomi’s products. The connection details provided here are crowd sourced from the community and may be incomplete, inaccurate or out of date. We provide no guarantee or warranty that you will be able to connect to your cameras using these URLs.