Site updated at 2016-10-08 18:28:01 UTC

This commit is contained in:
Travis CI 2016-10-08 18:28:02 +00:00
parent c33649c7ed
commit 85df6d11f5
522 changed files with 7493 additions and 3477 deletions

View file

@ -91,33 +91,27 @@
<p>The <code class="highlighter-rouge">Kodi</code> platform allows you so send messages to your <a href="https://kodi.tv/">Kodi</a> multimedia system from Home Assistant.</p>
<p>To add Kodi to your installation, add the following to your configuration.yaml file:</p>
<p>To add Kodi to your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<h3><a class="title-link" name="configuration" href="#configuration"></a> Configuration</h3>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">notify</span><span class="pi">:</span>
<span class="s">platform</span><span class="pi">:</span> <span class="s">kodi</span>
<span class="s">name</span><span class="pi">:</span> <span class="s">NOTIFIER_NAME</span>
<span class="s">host</span><span class="pi">:</span> <span class="s">http://192.168.0.123</span>
<span class="s">port</span><span class="pi">:</span> <span class="s">8080</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="pi">-</span> <span class="s">name</span><span class="pi">:</span> <span class="s">NOTIFIER_NAME</span>
<span class="s">platform</span><span class="pi">:</span> <span class="s">kodi</span>
<span class="s">host</span><span class="pi">:</span> <span class="s">http://192.168.0.123</span>
</code></pre>
</div>
<ul>
<li><strong>name</strong> (<em>Optional</em>): Name displayed in the frontend. The notifier will bind to the service <code class="highlighter-rouge">notify.NOTIFIER_NAME</code>.</li>
<li><strong>host</strong> (<em>Required</em>): The host name or address of the device that is running Kodi.</li>
<li><strong>port</strong> (<em>optional</em>): The port number, the default value is <code class="highlighter-rouge">8080</code>.</li>
<li><strong>port</strong> (<em>Optional</em>): The port number, the default value is <code class="highlighter-rouge">8080</code>.</li>
<li><strong>username</strong> (<em>Optional</em>): The XBMC/Kodi HTTP username.</li>
<li><strong>password</strong> (<em>Optional</em>): The XBMC/Kodi HTTP password.</li>
</ul>
<h3><a class="title-link" name="scriptyaml-example" href="#scriptyaml-example"></a> script.yaml example</h3>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1">################################################################</span>
<span class="c1">## Script / Notify KODI</span>
<span class="c1">################################################################</span>
<span class="s">kodi_notification</span><span class="pi">:</span>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">kodi_notification</span><span class="pi">:</span>
<span class="s">sequence</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">service</span><span class="pi">:</span> <span class="s">notify.NOTIFIER_NAME</span>
<span class="s">data</span><span class="pi">:</span>
@ -128,7 +122,9 @@
<span class="s">icon</span><span class="pi">:</span> <span class="s2">"</span><span class="s">warning"</span>
</code></pre>
</div>
<h4>message variables:</h4>
<h4><a class="title-link" name="message-variables" href="#message-variables"></a> Message variables</h4>
<ul>
<li><strong>title</strong> (<em>Optional</em>): Title that is displayed on the message.</li>
<li><strong>message</strong> (<em>Required</em>): Message to be displayed.</li>