샤오미 (Xiaomi) 의 yi home ant IP 카메라는 엄청 싸고 엄청 이쁜데 한국에서 쓰기 힘들다.


영문 메뉴얼과 영문 사용법을 찾기가 힘들다. 중국어밖에 지원 안한다.

 

안타깝게도 안드로이드에서 영문 app 을 까는데는 실패했다. 아이폰은 되는것 같기도 하다.

 

0) 안드로이드용 app 파일을 첨부한다. 중국어입니다만 엡데이트하면 한글로 잘 나옵니다.

 

signed_yicamera v1.6.0 (20150512).apk

 

 


1) RTSP 를 지원한다. 554 번 포트를 이용해서 스트리밍해서 볼 수 있다.


First of all you need to know the camera's Web URL address, such as 192.168.1.128, RTSP is the IP address of the camera port 554, the we network that corresponds to the URL address of the camera is as follows:

Main stream:rtsp://192.168.1.128:554/ch0_0.h264
Minor stream:rtsp://192.168.1.128:554/ch0_1.h264
Audio stream:rtsp://192.168.1.128:554/ch0_3.h264



http://en.miui.com/thread-70205-1-1.html



2) RTSP 를 쓰려면 구버젼 펌웨어를 써야 user / pass 를 묻지 않는다.



아래는 펌업하는 방법이다. 간단히 이야기 하면 reset 을 누르고 home 파일이 든 sd card 삽입 후에 재부팅하고 2분정도 기다리면 주황불이 계속 깜빡인다. 이 때 다시 pairing 을 시도하면 된다.


구버젼(1.8.5.1B) 펌웨어를 첨부한다.


1.8.5.1B_201513211614.zip 


* Disconnect cam
* remove flash
* power on and long press reset button
* power off
* write to SD card "home" file from zip file
* insert sd card and power on
* wait around 5 min and try to connect to cam from original android soft
* check firmware via android soft


3) VLC player 를 이용해서 스트리밍을 볼 수 있다. 녹화도 가능하다. 녹화를 해주는 script 는 아래에 내가 만들었다. DOS 의 bat 파일로 만들어서 저장하자.


rem Xiaomi record script by WHRIA

set /a y=0
:loop
set /a y=0
forfiles /p e:\cctv\ /s /m *.* /d 10 /c "cmd /c del @file"
mkdir e:\cctv\%date:/=%
:loop_go
set /a y+=1
IF EXIST e:\cctv\%date:/=%\%y%.ts goto loop_go

"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv -I=dummy --dummy-quiet rtsp://192.168.0.30:554/ch0_0.h264 --sout=file/ts:e:\cctv\%date:/=%\%y%.ts --run-time=300 --start-time=0 --stop-time=300 vlc://quit

IF EXIST e:\cctv\%date:/=% goto loop_go

goto loop



폴더명 / IP 주소만 수정하면 1시간 단위로 자동 녹화하게 하였다.

 

 

<2016 년 추가>

 

신형 펌에서 RTSP 를 사용하는 방법에 대한 post 가 있다.

 

러시아 사람이 개발했고 미국 사람이 잘 정리해 놓았다.

 

미국, 러시아가 괜히 강대국이 아니다.

 

http://robinhenniges.com/en/fix-xiaomi-xiaoyi-small-ant

 

여기에 사용되는 파일은 아래에서 다운

 

XiaomiAnts_easy_boot(1).7z

 

사용법은 위 파일을 압축을 풀고

 

.sh 파일을 열어서

 

my_version 을 산 카메라 버젼과 똑같이 맞추고

time zone 도 seoul 로 맞추고

 

FAT32 로 포맷 후에 카피하고

 

부팅하고 1~2 분 기다리면 적용이 된다.


,