How to use Xiaomi Yi as a webcam: 3 proven ways + fixing

Xiaomi Yi cameras are some of the most popular budget video devices, but few know that they can be turned into a full-fledged webcam for streaming, video calling or surveillance. Unlike specialized webcams, Yi Action, Yi Home or Yi Dome offer better picture quality, a wide viewing angle and the ability to use without being tied to cloud services. USB It does not always work out of the box โ€“ additional programs, firmware or even hardware modifications are required.

In this article, we will analyze three working methods for connecting Xiaomi Yi as a webcam: from simple (via proprietary software) to advanced (using the use of webcams). RTSP-You will also learn how to avoid common errors, from lack of image to video delay problems. All instructions are relevant for the Yi Action Camera (all generations), Yi Home Camera models. 1080p/720p, Yi Dome Camera and their clones.

Before you start, check: your camera must be charged (or connected to a power source), and the PC has the latest drivers installed to power the camera. USB-If you use Yi Action, prepare a memory card โ€” some methods require recording configuration files.

1. Method 1: Connecting with official Xiaomi Home software (for Yi) Home/Dome)

The easiest method is to use the branded Mi Home app (now Xiaomi Home) if your camera belongs to the Yi Home or Yi Dome lineup.This method does not require firmware or third-party programs, but only works for models that support the Yi Home line. RTSP-flow.

Algorithm of action:

  • ๐Ÿ“ฑ Install the Xiaomi Home app on your smartphone (Android/iOS) Add the camera to the system via Wi-Fi.
  • ๐Ÿ–ฅ๏ธ Download the program on PC VLC Media Player or iSpy for observation).
  • ๐Ÿ”— In the camera settings in the Xiaomi Home app, turn on the option RTSP-stream (path: Camera settings) โ†’ Additionally. โ†’ Network flow).
  • ๐Ÿ“น V VLC Choose Media. โ†’ Open up. URL and enter the flow address (example: rtsp://[IP_camera]:554/live/ch00_0).

โš ๏ธ Note: New Yi Home Camera firmware versions (after 2021) option RTSP It can be hidden. To activate it, you will need to roll back the firmware or use alternative methods (see Method 3).

Advantages of the method:

  • โœ… No need to disassemble the camera or solder.
  • โœ… It works on Wi-Fi (no binding to the USB-cable).
  • โœ… Supports sound and two-way communication (for models with microphones).

Disadvantages:

  • โŒ Video delay up to 1-2 seconds (critical for streams).
  • โŒ Not all programs support RTSP (For example, Zoom or Skype require additional plugins).
๐Ÿ“Š What Xiaomi Yi model are you using?
Yi Action Camera
Yi Home Camera 1080p
Yi Dome Camera
Another model

2. Method 2: Firmware for webcam mode (Yi Action Camera)

For owners of Yi Action Camera (all generations) there are special custom firmware that allow you to use the device as a device. USB-The most popular is Yi Hack (or Yi Hack Allwinner for new models). UVC-protocol that is recognized Windows/Linux/Mac webcam-like.

Step-by-step:

  1. Download the firmware: ๐Ÿ”— For Yi Action Camera (Ambarella): Yi Hack Allwinner. ๐Ÿ”— For Yi. 4K/4K+: Yi Hack 4K.
  2. Prepare a memory card: ๐Ÿ“ Format microSD in the FAT32. ๐Ÿ“„ Copy the firmware files to the root of the card (autexec.ash and script files).
  3. Install the firmware: ๐Ÿ”Œ Insert the card into the camera, connect it to the PC through USB and turn on. ๐Ÿ”„ Wait for the blue indicator to flash (the process takes up) ~2 minutes).

Activate the webcam mode:

  • ๐Ÿ–ฅ๏ธ Select from the camera menu USB Mode โ†’ Webcam.
  • ๐Ÿ”„ Connect the camera to the PC โ€“ it will be defined as Xiaomi Yi UVC Camera.

Download the correct version of Yi Hack for your model|Formatting a microSD in FAT32|Copy firmware files into the root of the card|Charge the camera to at least 50%|Connect the camera to the PC through the original USB-cable-->

Important: After firmware has been installed, some features of the original software (e.g. stabilization or HDR) They may not work properly, and they may also have cameras with an Ambarella processor. 1080p/4K) Requires manual permission settings through file config.json, Otherwise, the image will be cut off.

Camera modelSupported firmwareMax. resolution in webcam modeNotes
Yi Action Camera 1080pYi Hack v0.5+1920ร—1080 @ 30 FPSRequires a file config.json customize FPS
Yi 4K Action CameraYi Hack 4K2560ร—1440 @ 25 FPSSupport for sound only in alpha versions
Yi 4K+ Action CameraYi Hack Allwinner3840ร—2160 @ 20 FPSHigh load on USB-port USB 3.0)

3. Method 3: Use RTSP-Flow for all models (advanced)

If the first two methods donโ€™t work (for example, you have an old firmware or camera that doesnโ€™t support the device). UVC), You can arrange the transmission of video through RTSP-This method is universal for all Xiaomi Yi models, but requires network configuration and additional software.

Instructions:

  1. Turn it on. RTSP camera-wise: ๐Ÿ“ฑ In the Xiaomi Home app, go to the camera settings โ†’ Additionally. โ†’ Network flow. ๐Ÿ”ง Turn it on. RTSP-stream and write down the address (usually) rtsp://[IP_camera]:554/live/ch00_0).

Set up the PC:

  • ๐Ÿ–ฅ๏ธ Download. OBS Studio (for streams) or VLC (viewable).
  • ๐Ÿ“ก Make sure your PC and camera are connected to the same Wi-Fi network.
  • Add the source to OBS: 1. OBS press "+" in the "Sources" section. 2. Select "Media Source." 3. In the "Local File" field, insert RTSP-Address 4. Set the flag "Use hardware decoding".
How to find out IP-camera?
1. Open the Xiaomi Home app. 2. Go to the camera settings โ†’ "The camera" โ†’ "Network information.โ€ 3. Write down IP-Address (example: 192.168.1.100). 4. If the address is not displayed, make sure that the camera and phone are connected to the same Wi-Fi network.

To reduce video delay in RTSP-flow:

  • ๐Ÿ“ถ Use a router with 5 GHz Wi-Fi support.
  • ๐Ÿ”„ Reduce bitrate in camera settings (optimum: 4-6 Mbps).
  • ๐Ÿ–ฅ๏ธ On PC, disable other programs that consume traffic (torrents, cloud synchronizations).

โš ๏ธ Attention: If RTSP-The stream is not enabled in the app, check the region of the camera. For some models (for example, Yi Home Camera 3), the option is only available when selecting China region in the settings of the Xiaomi Home application. โ†’ Region.

4. Solving typical problems

Even when you set it up properly, users are faced with errors, and here are the most common ways to fix them:

Problem.Possible causeDecision
The camera is not defined as a webcam.Drivers not installed UVCDownload. UVC-Windows driver or use Zadig for manual installation
Image lagging or slowing downHigh bitrate or weak USB-portReduce the permit to 1280ร—720 or use USB 3.0
No sound in webcam modeThe firmware does not support audio on USBConnect an external microphone or use it. RTSP single-stream
The camera is warming and shutting down.Overloading the processor during long-term workTurn off auto-switching in power settings or use active cooling

If the image is reversed after Yi Action Camera firmware:

  1. Connect the camera to the PC and open the file config.json memory-card.
  2. Add the line: "flip": "true."
  3. Save the file and restart the camera.

๐Ÿ’ก

For streamers: if you use Yi Action as a webcam in the OBS, Add a color correction filter to remove the characteristic yellowish hue that appears in artificial lighting.

5. Comparison of methods: which one to choose?

The choice of connection depends on your camera model, technical skills and usage goals.

MethodDifficultySuitable modelsVideo delayRequired SOUTH
Official SO (RTSP)โญ (simple)Yi Home, Yi Dome1-2 secondsXiaomi Home + VLC/OBS
Custom firmware (UVC)โญโญโญ (middle-of-the-road)Yi Action (all models)0.1-0.5 sec.Yi Hack + driver UVC
RTSP-flow (manual setting)โญโญ (middle-of-the-road)All models with RTSP0.5 to 1.5 sec.OBS/VLC + networking

Selection recommendations:

  • ๐ŸŽฎ For streams (Twitch, YouTube): Optimal Method 2 (firmware) UVC) โ€” Minimum delay and stable operation.
  • ๐Ÿ  For home observation: suitable method 1 or 3 (RTSP) โ€” You can stream to multiple devices at the same time.
  • ๐Ÿ’ป For video calls (Zoom, Skype): Use Method 2 (UVC), Because most programs do not support RTSP directly.

๐Ÿ’ก

If you want maximum compatibility with programs (Zoom, Discord, Skype), choose a method with firmware. UVC. For surveillance or streaming from multiple cameras โ€” RTSP-flow.

6.Alternative programs to work with Xiaomi Yi

Besides the standard ones VLC and OBS Studio, there is specialized software to work with Xiaomi Yi as a webcam:

  • ๐ŸŽฅ iSpy: Free video surveillance software with support RTSP It allows you to record video on a schedule and send notifications.
  • ๐Ÿ“ก Blue Iris: Advanced video surveillance system (paid) with support for artificial intelligence for facial recognition.
  • ๐Ÿ’ป ManyCam: a utility for virtual cameras that allows you to impose effects on the stream with Xiaomi Yi before transferring to the camera Zoom/Skype.
  • ๐ŸŽฎ DroidCam: if you want to use the camera as a webcam for PC through an Android device (suitable for Yi Home with smartphone binding).

For streamers, a plugin will be useful OBS-NDI, It allows you to stream video from Xiaomi Yi over a local network without loss of quality:

  1. Download. OBS-NDI and set.
  2. V OBS add the source NDI Source.
  3. In another program (for example, in vMix) select Xiaomi Yi as NDI-source.

7. Modifications to improve quality

If you are not satisfied with the standard image quality, you can make hardware or software improvements:

  • ๐Ÿ”ง Lens replacement: Wide-angle or macro lenses are sold for Yi Action Camera (e.g., 720).ยฐ Fish-Eye, which are attached to standard thread.
  • ๐ŸŽ›๏ธ Manual exposure setting: You can edit a file in Yi Hack firmware config.json, adding the parameters: "exposure": "auto", "white_balance": "sunny", "sharpness": 5
  • ๐Ÿ”Œ External microphone: Any microphone with a 3.5 mm connector is suitable for Yi Action (requires an adapter for the device). USB-C).
  • ๐Ÿ“ถ Wi-Fi Enhancement: For Stable RTSP-stream use a Wi-Fi repeater or connect the camera via a Powerline adapter.

โš ๏ธ Note: When replacing your lens with a Yi Action Camera, avoid cheap Chinese lenses without anti-reflective coatings, which can cause strong glare when shooting against light).

8.Security when using Xiaomi Yi as a webcam

Connecting your camera to a network or PC opens up potential vulnerabilities.

  • ๐Ÿ”’ Change the standard password: In the Xiaomi Home app, go to Camera Settings โ†’ General. โ†’ Password and set a complex password (minimum 12 characters).
  • ๐ŸŒ Disable Cloud Access: If the camera is only used locally, deactivate the option Cloud Storage in the settings.
  • ๐Ÿ›ก๏ธ Update your firmware: Check updates regularly in Xiaomi Home โ€“ new versions will close vulnerabilities RTSP-flow.
  • ๐Ÿ”Œ Use it. VPN for RTSP: If you are streaming outside the local network, set up VPN-server (e.g. WireGuard) for encrypting traffic.

To check if your camera is hacked:

  1. Open Shodan and enter IP-address.
  2. If the search results show information about your device - urgently change the password and turn off access from the Internet.

๐Ÿ’ก

To completely block access to the camera from the outside, add a firewall rule in the router settings that prohibits incoming connections to port 554 (RTSP).

FAQ: Frequent questions

Can you use Xiaomi Yi as a webcam without firmware?
Yes, but only for Yi models. Home/Dome through RTSP-flow (see Method) 1). For Yi Action Camera without firmware, this is not possible โ€“ you need to install Yi Hack.
Why does the camera warm up and shut down in 10 minutes?
This is overheating protection. Solutions: Use active cooling (small fan). Reduce flow resolution to 1280ร—720. Turn off auto-disconnection in power settings (if any).
How to connect the sound from Xiaomi Yi to Zoom?
Zoom does not support audio on the RTSP. Options: Use Method 2 (firmware) UVC) โ€” the sound will be transmitted through USB. Connect the external microphone to the PC. OBS Add a separate audio source (e.g. from your phone via Wo Mic).
This is the Xiaomi Mi Home Security Camera 360.ยฐ?
Yes, but with reservations: The model supports RTSP, But only if you select the region of China in the app. OBS Studio or iSpy. 360 viewing angleยฐ In the webcam mode, it will be cut to 180ยฐ (can be configured in the software).
Can I connect Xiaomi Yi to a MacBook?
Yes, but: For the Way 2 (UVC) You need to install the driver. bcwc_pcie. RTSP-flow (Method) 1 or 3) It works without drivers through VLC or OBS. Nana M1/M2 Mac may need Rosetta 2 for some.