This project is no longer being maintained. Please refer to TheCrypt0/yi-hack-v4 for the latest possibilities with Yi cams.
- for lazy readers, here summarizes what you are looking for -
RTSP stream | Use with Mi App | |
---|---|---|
shadow-1/yi-hack-v3 | NO, not possible at the moment | YES, full support with proxy |
xmflsct/yi-hack-1080p | YES, currently only 720p streaming | NO |
This project enables Xiaomi Cameras with HiSilicon Hi3518E V200 chipset to have RTSP streaming of live video feed.
Currently this project supports Yi 1080p Home camera with firmware version equals or below 2.0.0.1A_201612051401.
- NOTE -
- This project does not support Yi 1080p Home Version 2. For the support of V2, please refer to niclet/yi-hack-v2.
- This hack will disable cloud usage, following the approach of fritz-smh/yi-hack.
- If you would like to have cloud accessibility, please refer to this awesome project shadow-1/yi-hack-v3.
- The above project will enable you to use full functionality with official mobile application. However, RTSP streaming is currently not possible with the official approach.
- The above project will upgrade your firmware to a version above that can be supported with this hack. A downgrade is possible, but need some extra effort.
This hack includes :
- No more official cloud features.
- RTSP server activated (currently only streaming 720p).
- Telnet server activated
- FTP server activated
! MicroSD card must stay in the camera for this hack to function !
- Clone this repository onto computer:
- Format a microSD card in FAT32 format and copy the content inside
sd
folder onto root of microSD card.
- In the root of microSD will contain a folder named
test
.
- Update your WiFi setting in
/test/wpa_supplicant.conf
on your microSD card. - Update settings in
/test/yi-hack-1080p.cfg
if neccesary. Normally if you use DHCP for WiFi connection, you would just need to update your timezone information in the file.
- If the camera is plugged in, unplug the camera.
- Insert the microSD card containing updated
test
folder. - Plug in the camera.
Then the camera will start up, running hack script if your camera's firmware version meets requirements. After plugging in the camera for around 20 seconds, the LED's color might indicate following situations:
- LED stays yellow, and turns into flashing blue
- Most probably, you have a firmware version that is higher than the required one.
- LED stays yellow
- The hack works! Now try to telnet to the camera and see if it works.
- The hack does not work, and the camera stucks during booting process. In this situation, a serial connection to the camera board is required to debug further the problem.
The telnet server is on port 23.
Default user is root, and the password is set in /test/yi-hack-1080p.cfg
.
The FTP server is on port 21.
No authentication is needed, you can login as anonymous.
The RTSP server is on port 554.
You can connect to live video stream (currently only supports 720p) on:
- rtsp://your-camera-ip/ch0_0.h264
Great thanks to the following project which inspires this project, as well as my other 720p camera which is in production mode at the moment.
Special thanks to the following people and their projects that actually make this project possible!
shadow-1 and their project shadow-1/yi-hack-v3, which currently supports another approach of hacking this type of camera due to the specifications of currently RTSP implementation. We hope to combine our projects in the near future when both RTSP and offcial approach can be utilized at the same time.
andy2301 and their development of the RTSP sever used in this project. We are working hard to see if there could be way to make RTSP and official application to co-exist, and most importantly to support 1080p streaming.