Added path as mandatory (#5647)

* Added path as mandatory

Added path as mandatory as different cameras use different paths to store mp4 files

* Add note about path
This commit is contained in:
Sriram Vaidyanathan 2018-07-02 23:18:02 +05:30 committed by Franck Nijhof
parent ef37588b48
commit 2624d3f238

View File

@ -19,8 +19,6 @@ To successfully implement this platform, the Home Assistant host should be capab
## {% linkable_title Preparing the Device %}
### {% linkable_title Installing Alternative Firmware %}
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 for each models.
* [Yi 720p](https://github.com/fritz-smh/yi-hack)
@ -34,11 +32,11 @@ Currently, version 0.1.4-beta2 of the custom firmware is the highest supported.
</p>
<p class='note warning'>
Hassbian users: don't forget to install ffmpeg support on your platform, otherwise, you'll not see video.
Hassbian users: Don't forget to install `ffmpeg` support on your platform, otherwise, you'll not see video.
</p>
<p class='note warning'>
The live stream writing by the camera is not an supported format when the hass reads through FTP for Yi 720p and Xiaofang Cameras, so this component retrives the video which was saved 1 minute earlier.
The live stream writing by the camera is not an supported format when the hass reads through FTP for Yi 720p and Xiaofang Cameras, so this platform retrives the video which was saved 1 minute earlier.
</p>
<p class='note warning'>
@ -68,6 +66,10 @@ Configuration variables:
- **username** (*Optional*): The user that can access the FTP server. Defaults to `root`.
- **ffmpeg_arguments** (*Optional*): Extra options to pass to `ffmpeg` (e.g., image quality or video filter options).
<p class='note'>
The default for `path:` will not work with all cameras. It may be needed that you add that key with the exact path for your device.
</p>
## {% linkable_title Image quality %}
Any option supported by [`ffmpeg` camera](/components/camera.ffmpeg/) can be utilized via the `ffmpeg_arguments` configuration parameter.