Xiaomi WiFi IP Cameras Hacked to Run RTSP Server, Disable Cloud Service

Xiaomi 720p and 1080p IP cameras include night vision, motion detection, WiFi connectivity, and can save videos locally, and send them to a cloud server in China for you to check your camera from anywhere. The 720p camera sells for about $50, while the 1080p camera goes for around $30 on GearBest and other websites, but comes with less IR LEDs and no optical zoom. [Update: The black version of the 720p camera goes for $29.99 on Amazon US]

They works fine, but you need a specific mobile app to configure and control the camera, and if you’d rather not have the videos streamed to some server outside of your local network, github user “Fritz” has developed a set of scripts for the camera to disable cloud service, run a standard RTSP server, as well as HTTP and FTP servers on the camera.

He did his work on Yi Ants Camera (720p), but other members of the community have been helping, and some are currently working on supporting the cheaper 1080p model. The RSTP server is now working on the 1080p. However, everything is still working in progress, and you may want to join the fun on github, but if you want an easy to use SD card image this will take a little longer. The camera and corresponding hack are also being discussed on HotUKDeals.com.

Thanks to Rob for the tip.

Share this:

Support CNX Software! Donate via cryptocurrencies or become a Patron on Patreon

17 Replies to “Xiaomi WiFi IP Cameras Hacked to Run RTSP Server, Disable Cloud Service”

  1. @cnxsoft – wow that was quick !

    @abc what is that related to specifically?

    @animtakhne this was mentioned in the 1080p hacking thread “@GB505 ntpdate is already available but there’s no zoneinfo. You need to specify a timezone-offset (from China I believe) in /etc/TZ. I’m working on a script to automate it.” if that’s what you mean.

    Personally I like the option of either running the official cloud/app based service or just locally as it gives people choice. For me I want to control the security of the devices on my network and stop them punching holes in my firewall out to services I have no control over. I can see these cameras being very popular.

  2. Maybe use “Modified” instead of “Hacked” next time, at first read, I had the impression those network cameras were hacked again for DDOS purposes 🙂

  3. zoobab :
    Maybe use “Modified” instead of “Hacked” next time, at first read, I had the impression those network cameras were hacked again for DDOS purposes

    Agreed — thought they got hacked again.

    Getting a full open source firmware image would make this insanely popular.

  4. @ee
    I’m waiting on one of these to get something like openwrt ported to it. I have some Foscams, and they’re great but there’s changes I’d love to make to them but can’t. For one thing, those cameras have to be used with IE to view the feed or make some changes in a web browser. Firefox/Chrome won’t show video or even all of the settings you can change. It uses an ActiveX control. That’s silly in these days when HTML5 could be used to replicate any features that needed ActiveX to run. There’s a Raspberry Pi with a Pi camera, but that has no ability to see in the dark or any kind of ability to point the camera around remotely.

  5. The 720p camera is $30 on Amazon all day every day.. I have five of them, all “hacked” with this firmware to remove the cloud features and just enable RTSP.

  6. I think there is a major error /misleading in the article (about line 5), this camera’s have NO OPTICAL ZOOM at all !!
    Just even mentioning ‘zoom’ is misleading.

    What I read on this amazon links, all have 4X digital zoom. Which is useless.

    Please update this article.

  7. one more thing that is wrong, IR LEDs
    720P = 8pcs 940nm infrared LED
    1080P = 11 pcs 940nm infrared LED

    Which is basically quite right, the higher resolution needs more light.

  8. @Tido
    On GearBest for 720p model:
    “4X Zoom: Simply double-click to activate the 4x optical digital zoom to focus on small details”. That’s quite conflicting mixing digital and optical.

    1080p model:
    “Built-in 2pcs 850nm LEDs”

  9. I tried to block all outside traffic of cameras by blocking these camera IPs in my firewall. But then I noticed that when internet connection is blocked, cameras stop recording videos on SD cards (happens after few hours) Have any one faced this issue?

    1. No, I did not disable cloud service, I just blocked internet access to camera ip in my firewall. Next week I am planning to try disabling cloud service.

  10. @cnxsoft
    Not yet, i did not try this script. I was trying to block complete internet access for cameras. I am not sure how much we can trust such chinese cameras in terms of security over internet.

Leave a Reply

Your email address will not be published. Required fields are marked *