Site updated at 2017-07-16 05:06:47 UTC
This commit is contained in:
parent
477f499ed2
commit
3738c7d54a
524 changed files with 8458 additions and 2098 deletions
|
@ -74,36 +74,13 @@
|
|||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
<p>The <code class="highlighter-rouge">amcrest</code> sensor allows you to integrate your <a href="https://amcrest.com/">Amcrest</a> IP camera in Home Assistant.</p>
|
||||
<p>To enable the <code class="highlighter-rouge">amcrest</code> sensors on your camera, 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">sensor</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>
|
||||
<span class="s">monitored_conditions</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">motion_detector</span>
|
||||
<span class="pi">-</span> <span class="s">sdcard</span>
|
||||
<span class="pi">-</span> <span class="s">ptz_preset</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>scan_interval</strong> (<em>Optional</em>): Defines the update interval of the sensor in seconds. The default is 10 seconds.</li>
|
||||
<li><strong>monitored_conditions</strong> array (<em>Required</em>): Conditions to display in the frontend. The following conditions can be monitored.
|
||||
<ul>
|
||||
<li><strong>motion_detector</strong>: Return True/False when a motion is detected</li>
|
||||
<li><strong>sdcard</strong>: Return the SD card usage by reporting the total and used space</li>
|
||||
<li><strong>ptz_preset</strong>: Return the number of PTZ preset positions configured for the given camera</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<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>
|
||||
|
@ -126,6 +103,9 @@
|
|||
<li><a href='/components/camera.amcrest/'>
|
||||
Amcrest IP Camera
|
||||
</a></li>
|
||||
<li><a href='/components/amcrest/'>
|
||||
Amcrest IP Camera
|
||||
</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='section'>
|
||||
|
@ -170,6 +150,9 @@
|
|||
<li>
|
||||
<a href='/components/sensor.modem_callerid/'>Caller ID Sensor</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/sensor.citybikes/'>CityBikes API sensor</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/sensor.command_line/'>Command line Sensor</a>
|
||||
</li>
|
||||
|
@ -281,6 +264,9 @@
|
|||
<li>
|
||||
<a href='/components/sensor.nest/'>Nest Sensor</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/sensor.otp/'>OTP Sensor</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/sensor.octoprint/'>OctoPrint Sensor</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue