How to connect the Xiaomi Mijia 360 cameraΒ° Computer: 5 working methods

Xiaomi Mijia 360 CameraΒ° (model XMSXJ02FM, XMSXJ05FM It has become a popular video surveillance solution thanks to its combination of price, quality and integration into the Mi Home ecosystem, but many users are faced with the problem of how to display images from the camera directly to a computer for recording, streaming or analysis. The official Mi Home app does not support PC broadcasting, and Xiaomi documentation is silent about such use cases.

In this article, we will analyze all the current ways of connecting - from the standard USB-Connections to Advanced Methods through RTSP-stream ONVIF-You will learn how to circumvent manufacturer restrictions, what drivers and programs will be needed for Windows. 10/11, macOS and Linux, and how to set up a camera to work with OBS Studio, VLC Or video surveillance systems like Blue Iris, and we'll focus on the hidden settings of Mijia's firmware. 360Β°, Xiaomi does not advertise, but allows you to get full control of the device.

1.Preparation of the camera: what to do before connecting to the PC

Before you connect your camera to your computer, follow the mandatory steps in the Mi Home mobile app, and without that, most methods simply won’t work.

First, update your camera firmware to the latest version through the app. Outdated versions of the software often block alternative ways to connect. β†’ General. β†’ Firmware version. Up-to-date versions for Mijia 360Β° 1080p (2023–2026 (d) begin with 3.5.6_ or newer.

Second, turn on the developer mode (if you plan to use it) RTSP or ONVIF):

  • πŸ”§ Go to Camera Settings β†’ Additionally. β†’ Developer mode.
  • πŸ”„ Activate the switch and confirm the action.
  • πŸ“ Write it down. UID Devices (displayed after activation) - it will be needed for authorization.

⚠️ Warning: Once the developer mode is turned on, the camera can start sending notifications about "unstable work." This is normal - just ignore them. However, do not update the firmware in this mode: Xiaomi can block alternative protocols.

Finally, check the network settings:

  • 🌐 The camera and the computer must be on the same local network (through the same router).
  • πŸ”’ Turn it off. VPN Firewalls (such as Windows Defender or Kaspersky) that can block the stream.
  • πŸ“‘ If you use 5 GHz Wi-Fi, switch to 2.4 GHz, the camera is more stable at this frequency.
πŸ“Š What kind of connection you plan to use?
USB-cable
Local Area Network (RTSP)
Cloud access
Other

2. Method 1: Connecting through USB (viewer)

The simplest but limited method is to connect the camera to the PC via a Micro-USB cable (included), which is suitable for viewing real-time images and recording video, but does not support sound and has low resolution (maximum). 640Γ—480).

The work will require:

  • πŸ–₯️ Windows computer 7/10/11 (MacOS and Linux drivers do not work).
  • πŸ”Œ Original Xiaomi cable (cheap analogues may not transmit data).
  • πŸ’Ύ Ambarella Driver (you can download it here).
  • πŸŽ₯ Video capture software (e.g., Amcap or VLC).

Step-by-step:

  1. Connect the camera to the PC via USB (Use the rear port on the system unit - the front may not provide enough power).
  2. Wait for the drivers to install. If the system does not recognize the device, install the Ambarella driver manually through the Device Manager (Camera section).
  3. Run the Amcap program (included in the driver package) or VLC.
  4. V VLC Choose Media. β†’ Open the capture device β†’ DirectShow and Specify Ambarella Camera.

⚠️ Attention: At USB-If you connect, the camera will not be available in Mi Home, you will have to choose between a PC and a mobile application, and you can also freeze the image during long recording (more than 30 minutes).

β˜‘οΈ Preparation for USB-connection

Done: 0 / 4
ParameterUSB-connectionRTSP-flowONVIF
Max, permission.640Γ—4801920Γ—10801280Γ—720
Sound support❌ No.βœ… Yes.βœ… Yes.
Delay (latency)~200 ms.~500 ms.~800 ms.
Works on macOS/Linux❌ No.βœ… Yes.βœ… Yes.

3. Method 2: Connecting to RTSP (Better quality and flexibility)

Protocol RTSP (Real Time Streaming Protocol allows you to stream video from the camera in high resolution (1080p) This method is recommended for streaming (for example, in the OBS Studio or YouTube) and integration with video surveillance systems.

To set up RTSP Xiaomi Mijia 360Β° Follow the following steps:

Step 1: Obtaining an Access Token

Xiaomi uses dynamic tokens for authorization, to obtain them:

  1. Install the Mi Home app on your phone and log in.
  2. Download the MiHome Token Extractor (available for Android).
  3. Launch the utility, select your camera from the list of devices and copy Token and Device ID.

Step 2: Formation RTSP-reference

Use the following pattern (replace). DEVICE_ID and TOKEN statuary):

rtsp://DEVICE_ID:TOKEN@IP_ Cameras:554/stream/ch00_0

Example:

rtsp://12345678:abcdef123456@192.168.1.100:554/stream/ch00_0

Step 3: Connecting to the program

You can now open the stream in any supportive RTSP programme:

  • 🎬 VLC: Media β†’ Open up. URL network and insert a link.
  • πŸ“Ή OBS Studio: Add Media Source and Specify RTSP-URL.
  • πŸ‘οΈ Blue Iris or iSpy: Add a new camera with a connection type RTSP/H.264.

πŸ’‘

If the stream doesn't open, check if the antivirus is blocking it. Add an exception to the program you open. RTSP, Or temporarily shut down the protection.

For sustainable work, it is recommended that:

  • πŸ”„ Set the camera static. IP router-setting.
  • πŸ”’ Shut down. IPv6 in the properties of the network connection (may cause flow breaks).
  • πŸ“‘ Use wired camera connection to the router (via Xiaomi Wi-Fi Extender adapter) if lags are observed.

Method 3: Use of the Protocol ONVIF (video surveillance)

If you are planning to integrate the Mijia 360Β° (c) a professional video surveillance system (e.g., Synology Surveillance Station or QNAP QVR), Best choice: protocol ONVIF. It is compatible with the majority of NVR-recorders and allows you to control the camera (turn, zoom) directly from the system interface.

How to turn it on ONVIF Xiaomi Mijia 360Β°:

  1. Make sure the camera is connected to the Mi Home and updated to the latest firmware.
  2. In the mobile app, go to the camera settings β†’ Additionally. β†’ Protocol ONVIF.
  3. Activate the switch and set the password (by default login – admin).
  4. Copy. ONVIF Port (usually 80 or 8000).

Configuring in the video surveillance system:

When the camera is added to NVR specify:

  • πŸ“ IP-Camera address (find Mi Home or router).
  • πŸ” Port (from settings) ONVIF).
  • πŸ‘€ Login/password (by default) admin/password).
  • πŸ“Ή Profile: Choose H.264 or MPEG-4.

⚠️ Note: Some video surveillance systems (e.g. Hikvision) NVR) may not support ONVIF Xiaomi's implementation of the protocol is non-standard. RTSP Check the compatibility on the manufacturer’s website. NVR.

What to do if ONVIF doesn't work?
If the camera is not detected by ONVIF, Try: 1. Reset the camera (turn off power for 10 seconds). 2. In the router settings, turn off client isolation for the local network. 3. Check if the port is conflicting. ONVIF with other services (e.g., with a web server on a PC). 4. Update your camera firmware to at least 3.5.6 in older versions ONVIF worked unstablely.

5. Method 4: Cloud Access via Mi Home (without a local area network)

If you need to connect to the camera from anywhere in the world (for example, for remote surveillance), you can use the Mi Home cloud service. RTSP or ONVIF, but with limitations:

  • πŸ“‰ Video quality is reduced to 720p (Even if the camera is still there 1080p).
  • πŸ•’ The delay can reach 2-5 seconds.
  • πŸ”’ Xiaomi keeps records on its servers (privacy issues).

How to set up cloud access:

  1. In the Mi Home app, go to the camera settings and turn on Cloud Storage (optional, for recording).
  2. Click Share the device and generate a link or QR-code.
  3. On your computer, open the web version of Mi Home (home.mi.com) and log in.
  4. In the Devices section, find your camera and click View.

Unofficial automation can be used for automation. API:

  • πŸ€– Python-miio library allows you to control the camera through scripts.
  • πŸ“Š Home Assistant has built-in integration with Mi Home to display dashboard flow.

πŸ’‘

Cloud access is convenient for remote viewing, but not suitable for streaming or recording in high quality. RTSP or ONVIF.

6. Method 5: Alternative software for Windows/macOS/Linux

If standard methods don’t work, you can use specialized programs to work with Xiaomi cameras, which often offer advanced features such as motion detection, recording on a schedule or integration with other devices.

Top.-3 Programs to work with Mijia 360Β°:

ProgrammePlatformFunctionsReference
TinyCam ProWindows, macOS, AndroidSupport RTSP, recording, motion detection, cloud backupsWebsite
iSpyWindowsFree, support ONVIF, Face recognition, integration with IoTWebsite
ZoneMinderLinuxOpen source, support RTSP/ONVIF, video-analysisWebsite

Example of settings in TinyCam Pro:

  1. Download and install the program from the official website.
  2. Add a new camera by selecting the Mi Home Camera type.
  3. Enter. IP-Address, Token and Device ID (previously).
  4. Set up the permission (1080p recommended) and enable the recording when detecting movement.

For Linux, ZoneMinder is suitable:

sudo apt install zoneminder


sudo systemctl enable zoneminder




sudo systemctl start zoneminder

After installation, add the camera via the web interface (http://localhost/zm), pointed RTSP-URL.

7. Problem Solving: Frequent Errors and Corrections

Even with the right instructions, you can have failures, and let's look at the typical problems and how to fix them.

Problem 1: The camera is not defined by USB

  • πŸ”Œ Check the cable - try another one (original from Xiaomi).
  • πŸ–₯️ Update Ambarella Drivers in Device Manager.
  • πŸ”„ Reboot the camera by holding the reset button for 10 seconds.

Problem 2: RTSP-flow not open

  • 🌐 Make sure your PC and camera are on the same network (check with ping) IP_Cameras).
  • πŸ”’ Turn off the firewall or add an exception for the program (for example, VLC).
  • πŸ”„ Update the token in Mi Home Token Extractor – it can change after the camera reboot.

Problem 3: No sound is transmitted

  • 🎀 In the camera settings (Mi Home) turn on the microphone.
  • πŸ”Š In a player program (e.g, VLC) Make sure you have the right audio track.
  • πŸ”Œ Primary USB-No sound is transmitted to the connection – use RTSP or ONVIF.

Problem 4: The camera is constantly shutting down

  • πŸ”‹ Check the power supply – use the original power supply 5V/2A.
  • πŸ“‘ Switch from 5 GHz Wi-Fi to 2.4 GHz.
  • πŸ”„ In router settings, turn off Energy Saving for Wi-Fi.
How to reset the camera to factory settings?
If the camera stops responding: 1. Turn off power. 2. Press the reset button (near the Micro-USB connector) and hold for 15 seconds while connecting the power cable. 3. Release the button when you hear the voice message "Reset successful." 4. Set up the camera again via Mi Home.

Can I connect to the Mijia 360?Β° PC-free?
Yes, but with limitations: πŸ–₯️ USB-Connection works without network. 🌐 For RTSP/ONVIF You need a local area network (router), but not necessarily access to the Internet. ☁️ Cloud Access (Mi Home) Requires Internet.
How to record video from the camera to the computer?
Recording methods: πŸŽ₯ V VLC: open up RTSP-stream and press Reproduction β†’ Recording. πŸ“Ή V OBS Studio: Add Media Source to the Source RTSP-URL and set up a record in Settings β†’ Exit. πŸ’Ύ In TinyCam Pro: Enable Continuous Recording in the camera settings. Use Blue Iris, Synology Surveillance for long-term storage).
Why does the camera heat up and turn off when you connect to a PC?
Possible causes: πŸ”₯ Overheating: The camera is not designed to last long in enclosed spaces.Make sure the vents are not blocked. πŸ”‹ Insufficient power: Use the original power supply 5V/2A. USB-PC port may not provide enough current. πŸ“‰ Processor overload: when writing in 1080p through RTSP The camera is getting hotter. Try lowering the resolution to 720p.
Can I use Mijia? 360Β° webcam Zoom/Skype?
Yes, but with reservations: πŸ–₯️ USB-Connection: The camera will be defined as a normal capture device (for example, in Zoom, select Ambarella Camera in the video settings). 🌐 RTSP-stream: you will need a virtual camera (for example, a virtual camera, OBS Virtual Camera, to stream the stream to conference applications. Please note: there will be a delay of 1-2 seconds, which is inconvenient for live communication.
How to update the firmware of the camera manually?
Xiaomi doesn’t officially provide firmware for manual installation, but you can try: Download the latest firmware from the forum 4PDA (Xiaomi Mijia 360Β°). Unpack the archive and rename the firmware file to update.bin. Place the file on the microSD card (FAT32) And put it in the camera. 10 Seconds – the camera should start updating (blinking yellow indicator). ⚠️ Warning: Continuous updates or interruptions to the process can cause the camera to fail!