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

In this case configure the cam as ONVIF and read the wiki for further details. If you have a 2019/2020 version camera use yi-hack-MStar GitHub project or yi-hack-Allwinner GitHub project. Instructions for doing so can be found via the yi-hack-v3 GitHub project. In order to integrate the camera with Home Assistant, it is necessary to install a custom firmware on the device. Open a new terminal ( CTRL+ALT+T) and then run the following commands. Install FFmpeg on Ubuntu and Linux Mint I will install FFmpeg from the default repositories. Preparing the Device Installing Alternative Firmware Let’s start with the installation of the FFmpeg framework in Ubuntu-based distributions. For every concurrent Home Assistant user, a connection will be made to the camera every 10 seconds. To successfully implement this platform, the Home Assistant host should be capable of multiple simultaneous reads.

Specifically, this platform supports the line of Yi Home Cameras that are based on the Hi3518e Chipset. Sudo apt-get install -y python-dev pkg-config libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-devĬonfigure your broker and authentication in the webUI under Configuration > MQTT.The yi camera platform allows you to utilize Yi Home Cameras within Home Assistant.

If you see this error you can solve it by running the following commands and restarting Home Assistant (commands do not need to be run as the homeassistant user): Some users on manual installs may see the following error in their logs after restarting:ĮRROR (SyncWorker_5) Unable to install package av=6.1.2: Command "/home/pi/home-assistant/bin/python3 -u -c "import setuptools, tokenize _file_='/tmp/pip-install-udfl2b3t/av/setup.py' f=getattr(tokenize, 'open', open)(_file_) code=f.read().replace('\r\n', '\n') f.close() exec(compile(code, _file_, 'exec'))" install -record /tmp/pip-record-ftn5zmh2/install-record.txt -single-version-externally-managed -compile -install-headers /home/pi/home-assistant/include/site/python3.6/av" failed with error code 1 in /tmp/pip-install-udfl2b3t/av/ 08:49:59 ERROR (MainThread) Not initializing stream because could not install requirement av=6.1.2 08:49:59 ERROR (MainThread) Setup failed for stream: Could not install all requirements.
