Domed Sticker

Domed Sticker Online

Yi Home Camera

camera platform allows you to utilizeYi Home Cameraswithin Home Assistant. Specifically, this platform supports the line of Yi Home Cameras that are based on the Hi3518e Chipset. This includes:

To successfully implement this platform, the Home Assistant host should be capable of multiple simultaneous reads. For every concurrent Home Assistant user, a connection will be made to the camera every 10 seconds. This should normally not be a problem.

In order to integrate the camera with Home Assistant, it is necessary to install a custom firmware on the device. Instructions for doing so can be found via theyi-hack-v3 GitHub project.

Once installed, please ensure that you have enabled FTP and Telnet on your device.

Currently, version 0.1.4-beta2 of the custom firmware is the highest supported. Firmwares higher than this version usePure-FTPd, which has a bug that prevents FFmpeg from correctly rendering video files.

Hassbian users: dont forget to install ffmpeg support on your platform, otherwise, youll not see video.

Some alternative Yi firmwares enable an experimental RTSP server, which will allow you to connect to your camera via other Home Assistant camera platforms. However, this RTSP server disables the ability to use the supremely-useful Yi Home app. In order to maintain both Home Assistant compatibilityandthe native app, this platform retrieves videos via FTP.

Once the custom firmware is installed, a password must be added to the FTP server. To do so:

To enable the platform, add the following lines to yourconfiguration.yamlfile:

): A human-friendly name for the camera.

): The IP address or hostname of the camera.

): The password to the FTP server on the camera (from above).

): The path to the raw MP4 files. Defaults to

): The user that can access the FTP server. Defaults to

(e.g., image quality or video filter options).

Any option supported byffmpegcameracan be utilized via theffmpeg_argumentsconfiguration parameter.

One particularly useful adjustment deals with video size. Since Yi videos are fairly large (especially on the 1080p cameras), the following configuration will bring them down to a manageable size:

Tagged