Site updated at 2017-05-20 22:59:15 UTC

This commit is contained in:
Travis CI 2017-05-20 22:59:15 +00:00
parent 024eeb853f
commit ebffa845cd
709 changed files with 10815 additions and 1472 deletions

View file

@ -84,34 +84,36 @@
<li>A sensor per camera that reports battery level.</li>
<li>A sensor per camera that reports unread notification (ie. detected motion events).</li>
</ul>
<p>Since the cameras are battery operated, the images are only updated in Home Assistant when the user manually forces a new photo. The image can only be updated in Home Assistant every 60 seconds in order to not overwhelm Blinks servers with API requests.</p>
<p>Since the cameras are battery operated, the images are only updated in Home Assistant when the user manually forces a new photo. This image can be updated with the <code class="highlighter-rouge">blink.snap_picture</code> service followed by a <code class="highlighter-rouge">blink.force_update</code> service call to force Home Assistant to request an update from Blinks servers. If the <code class="highlighter-rouge">blink.force_update</code> service is not called, the image will be updated within a 180 second interval, set so that automatic server requests dont overwhelm the Blink API. As a note, all of the camera-specific sensors are only polled when a new image is requested from the camera. This means that relying on any of these sensors to provide timely and accurate data is not recommended.</p>
<p>Services:
There are three services availiabe for the blink platform:</p>
<ul>
<li>arm_system</li>
<li>arm_camera</li>
<li>snap_picture</li>
<li>force_update</li>
</ul>
<p>For arm_system, the value sent can be either “True” or “False” and will arm and disarm the whole blink system, respectively</p>
<p>For <code class="highlighter-rouge">blink.arm_system</code>, the value sent can be either “True” or “False” and will arm and disarm the whole blink system, respectively</p>
<p>Arm system example</p>
<div class="language-json highlighter-rouge"><pre class="highlight"><code><span class="p">{</span><span class="w">
</span><span class="nt">"device_armed"</span><span class="p">:</span><span class="w"> </span><span class="s2">"True"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
</div>
<p>Arm camera follows a similar structure, but each indidivual camera can have motion detection enabled or disabled. Because of this, you also need to supply a name. For example, if I have a camera named “Living Room” and I want to turn off motion detection on that camera, Id call the blink.arm_camera service with the following payload:</p>
<p>Arm camera follows a similar structure, but each indidivual camera can have motion detection enabled or disabled. Because of this, you also need to supply a name. For example, if I have a camera named “Living Room” and I want to turn off motion detection on that camera, Id call the <code class="highlighter-rouge">blink.arm_camera</code> service with the following payload:</p>
<div class="language-json highlighter-rouge"><pre class="highlight"><code><span class="p">{</span><span class="w">
</span><span class="nt">"friendly_name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Living Room"</span><span class="p">,</span><span class="w">
</span><span class="nt">"device_armed"</span><span class="p">:</span><span class="w"> </span><span class="s2">"False"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
</div>
<p>The blink.snap_picture service takes the camera name as the payload and with take a new picture with your camera.</p>
<p>The <code class="highlighter-rouge">blink.snap_picture</code> service takes the camera name as the payload and with take a new picture with your camera.</p>
<div class="highlighter-rouge"><pre class="highlight"><code><span class="p">{</span><span class="w">
</span><span class="nt">"friendly_name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Living Room"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
</div>
<p>The <code class="highlighter-rouge">blink.force_update</code> service can simply be called with no payload to force a server update.</p>
<p>Configuration variables:</p>
<ul>
<li><strong>username</strong> (<em>Required</em>): Your username to login to Blink</li>
@ -158,6 +160,9 @@ There are three services availiabe for the blink platform:</p>
<li>
<a href='/components/android_ip_webcam/'>Android IP Webcam</a>
</li>
<li>
<a href='/components/axis/'>Axis</a>
</li>
<li>
<a href='/components/wemo/'>Belkin WeMo</a>
</li>
@ -203,6 +208,9 @@ There are three services availiabe for the blink platform:</p>
<li>
<a href='/components/joaoapps_join/'>Joaoapps Join</a>
</li>
<li>
<a href='/components/kira/'>Kira</a>
</li>
<li>
<a href='/components/litejet/'>LiteJet</a>
</li>