Site updated at 2017-10-23 09:01:43 UTC

This commit is contained in:
Travis CI 2017-10-23 09:01:43 +00:00
parent 0d7544657e
commit cbae8bc97b
29 changed files with 71 additions and 69 deletions

View file

@ -113,12 +113,14 @@ The map will be centered at the coordinates given.</p>
<h1>Camera Stream</h1>
<p>The notification thumbnail will be a still image from the camera.
The notification content is a real time MJPEG stream of a camera (assuming the camera supports it).</p>
<p>You can use the attachment parameters <code class="highlighter-rouge">content-type</code> and <code class="highlighter-rouge">hide-thumbnail</code> with camera.</p>
<p>You can use the attachment parameters <code class="highlighter-rouge">content-type</code> and <code class="highlighter-rouge">hide-thumbnail</code> with camera to control the thumbnail.</p>
<p>You can view an example <a href="https://www.youtube.com/watch?v=LmYwpxPKW0g">here</a>.</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">service</span><span class="pi">:</span> <span class="s">notify.ios_&lt;your_device_id_here&gt;</span>
<span class="s">data</span><span class="pi">:</span>
<span class="s">message</span><span class="pi">:</span> <span class="s">Motion detected in the Living Room</span>
<span class="s">data</span><span class="pi">:</span>
<span class="s">attachment</span><span class="pi">:</span>
<span class="s">content-type</span><span class="pi">:</span> <span class="s">jpeg</span>
<span class="s">push</span><span class="pi">:</span>
<span class="s">category</span><span class="pi">:</span> <span class="s">camera</span>
<span class="s">entity_id</span><span class="pi">:</span> <span class="s">camera.demo_camera</span>