How to use Yi Home Camera 2 (1080p) outside of China, revisited

Firstly, this post is about Yi Home Camera 2. Currently Xiaoyi has various similar models. In each one of its models they make a Chinese version and an international version (same version but more expensive). Xiaoyi is making big efforts to block using Chinese models outside of China, forcing you to buy a international version.

I wrote an article some time ago to get this camera working, but after that Xiaomi enhanced its blocking procedure and this article is not valid any more.

Now Xiaomi has introduced a new change, checking if your camera is connecting to their servers from a Chinese IP address or not.

Description of the problem

Yi Home Camera 2 is paired with Yi app with no problem, the camera works and save video on the SD card, even notify you when there is some event, but you can NOT get live video. When you open Yi app it stucks at Establishing secure channel… 50% for a while and finally it shows the error message Network connection failed, please check network settings and reconnect it (-20009). So neither you  can watch your camera on live or browse through your records from the Yi app. However you can get out the SD card and review your videos in a PC.

The solution

In brief the solution is using a Chinese proxy, so Xiaomi will think your camera is in China. Easy, isn’t it?

Fortunately there is a project (yi-hack-v2) where someone (niclet) has made a custom firmware to get telnet and FTP working for this camera and, the most important for us, with an option to setup a proxy. So all the credits go for him/her.

The procedure to get your camera working again is:

  1. Download the files of niclet project and copy the contents of sd folder to the root of your SD card. The card has to be FAT32 (vfat) formated.
  2. Edit the file yi-hack-v2.cfg (in test folder) and uncomment the last line (remove the starting ‘#’), and set one Chinese server (I use this list)
  3. Put your SD card. All is done. Now you can pair it with your Yi Chinise phone app an get Live video with no problems

Note 1: The text editor to edit file yi-hack-v2.cfg is important. Its a linux file, someway different to a Windows one. I firstly used notepad and the hack doesn’t work. I then used Notepad++ and it worked perfectly. Mind this if you are having any trouble.

Note 2: If you have some trouble formatting you SD card with Windows, you could use HP USB Disk Storage Format Tool

Note 3: You have to download the files of niclet project (yi-hack-2) from github, but if you have any problems they are here too.

Note 4: I’ve got better results pairing the camera without the SD card, and then inserting it (after pairing success).

Currently my last line of yi-hack-v2.cfg is:

YI_HACK_PROXY=socks4://123.59.100.246:1080

and with this proxy the camera is working for three months.

YI_HACK_PROXY=socks5://103.85.24.43:7982

 

11 respuesta a “How to use Yi Home Camera 2 (1080p) outside of China, revisited”

    1. It is as safe as any other Xiaomi firmware is, because is an official Xiaomi firmware, untouched. The key is that is an old firmware which allow install some software and alter the behaviour. All modifications are open source, so there is no problem, you can review the code

  1. Hola Tomas, mi nombre es Carlos y quería que me echaras u n cable con una Yi camera 1080P china a la cual no hay manera de meterle otro firmware a pesar de seguir al pie de la letra todas las instrucciones que hay en google de como realizae dicho proceso.He probado todos los firmwares habidos y por haber, sin ningún éxito.He llegado a pensar que mi cámara no admitirá u cambio de firmware vía sd porque al meterle la tarjeta no hace nada de lo que dicen los foros, tan solo se limita a recomenzar la locución en chino como si la enchufases por primera vez y ya está, no se está 5 minutos con la luz naranja parpadeando ni nada parecido.Bueno, espero que me contestes y me ilumines un poco antes de tirar la camarita a la basura, y perdón por la parrafada

    1. Hola Carlos, ¿qué cámara tienes exactamente? No es lo mismo la Yi Home Camera 1080p que la Yi Home Camera 2 1080p.

      Si no estás seguro de cuál tienes, creo que la propia aplicación de Yi te dice cuál es (en el proceso de emparejamiento) leyendo el código QR que hay debajo de la base de la cámara.

      Dependiendo de si tienes una u otra la forma de actualizarla es diferente

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *