Site updated at 2017-07-16 05:06:47 UTC

This commit is contained in:
Travis CI 2017-07-16 05:06:47 +00:00
parent 477f499ed2
commit 3738c7d54a
524 changed files with 8458 additions and 2098 deletions

View file

@ -74,30 +74,13 @@
</h1>
</header>
<hr class="divider">
<p>The <code class="highlighter-rouge">amcrest</code> platform allows you to integrate your <a href="https://amcrest.com/">Amcrest</a> IP camera in Home Assistant.</p>
<p>To enable your camera in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<p>To get your <a href="https://amcrest.com/">Amcrest</a> cameras working within Home Assistant, please follow the instructions for the general <a href="/components/amcrest">Amcrest component</a>.</p>
<p>Once you have enabled the <a href="/components/amcrest">Amcrest component</a>, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">camera</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">amcrest</span>
<span class="s">host</span><span class="pi">:</span> <span class="s">IP_ADDRESS</span>
<span class="s">username</span><span class="pi">:</span> <span class="s">USERNAME</span>
<span class="s">password</span><span class="pi">:</span> <span class="s">PASSWORD</span>
</code></pre>
</div>
<p>Configuration variables:</p>
<ul>
<li><strong>host</strong> (<em>Required</em>): The IP address or hostname of your camera. If using hostname, make sure the DNS works as expected.</li>
<li><strong>username</strong> (<em>Required</em>): The username for accessing your camera.</li>
<li><strong>password</strong> (<em>Required</em>): The password for accessing your camera.</li>
<li><strong>name</strong> (<em>Optional</em>): This parameter allows you to override the name of your camera. The default is “Amcrest Camera”.</li>
<li><strong>port</strong> (<em>Optional</em>): The port that the camera is running on. The default is 80.</li>
<li><strong>resolution</strong> (<em>Optional</em>): This parameter allows you to specify the camera resolution. For a high resolution (1080/720p), specify the option <code class="highlighter-rouge">high</code>. For VGA resolution (640x480p), specify the option <code class="highlighter-rouge">low</code>. If omitted, it defaults to <em>high</em>.</li>
<li><strong>stream_source</strong> (<em>Optional</em>): The data source for the live stream. <code class="highlighter-rouge">mjpeg</code> will use the cameras native MJPEG stream, whereas <code class="highlighter-rouge">snapshot</code> will use the cameras snapshot API to create a stream from still images. You can also set the <code class="highlighter-rouge">rtsp</code> option to generate the streaming via RTSP protocol. If omitted, it defaults to <em>mjpeg</em>.</li>
<li><strong>ffmpeg_arguments</strong>: (<em>Optional</em>): Extra options to pass to ffmpeg, e.g. image quality or video filter options.</li>
</ul>
<p><strong>Note:</strong> Amcrest cameras with newer firmwares no longer have the ability to stream <code class="highlighter-rouge">high</code> definition video with MJPEG encoding. You may need to use <code class="highlighter-rouge">low</code> resolution stream or the <code class="highlighter-rouge">snapshot</code> stream source instead. If the quality seems too poor, lower the <code class="highlighter-rouge">Frame Rate (FPS)</code> and max out the <code class="highlighter-rouge">Bit Rate</code> settings in your cameras configuration manager.</p>
<p><strong>Note:</strong> If you set the <code class="highlighter-rouge">stream_source</code> option to <code class="highlighter-rouge">rtsp</code>, make sure to follow the steps mentioned at
<a href="https://home-assistant.io/components/ffmpeg/">FFMPEG</a> documentation to install the <code class="highlighter-rouge">ffmpeg</code>.</p>
<p>To check if your Amcrest camera is supported/tested, visit the <a href="https://github.com/tchellomello/python-amcrest#supportability-matrix">supportability matrix</a> link from the <code class="highlighter-rouge">python-amcrest</code> project.</p>
</article>
</div>
@ -124,6 +107,9 @@
<li><a href='/components/sensor.amcrest/'>
Amcrest IP Camera
</a></li>
<li><a href='/components/amcrest/'>
Amcrest IP Camera
</a></li>
</ul>
</div>
<div class='section'>