Site updated at 2017-10-23 09:01:43 UTC
This commit is contained in:
parent
0d7544657e
commit
cbae8bc97b
29 changed files with 71 additions and 69 deletions
|
@ -96,11 +96,11 @@ stop on runlevel <span class="o">[</span>06]
|
|||
</code></pre>
|
||||
</div>
|
||||
<p>Register the autostart</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>ln -s homeassistant-conf /etc/init/homeassistant-conf
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>ln -s homeassistant.conf /etc/init/homeassistant.conf
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Make the relevant files executable:</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>chmod -r 777 /etc/init/homeassistant-conf
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>chmod -r 777 /etc/init/homeassistant.conf
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>That’s it - reboot your NAS and Home Assistant should automatically start</p>
|
||||
|
|
|
@ -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_<your_device_id_here></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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue