Site updated at 2015-10-11 18:39:53 UTC

This commit is contained in:
Paulus Schoutsen 2015-10-11 11:39:53 -07:00
parent 3e76cedc44
commit 0cadd801b9
69 changed files with 3597 additions and 2281 deletions

View file

@ -108,8 +108,9 @@
<p><img src='/images/supported_brands/plex.png' class='brand pull-right' />
The Plex platform allows you to connect a <a href="https://plex.tv">Plex Media Server</a> to Home Assistant.
It will allow you to control media playback and see the current playing item.</p>
The Plex platform allows you to connect a <a href="https://plex.tv">Plex Media Server</a> to Home Assistant. It will allow you to control media playback and see the current playing item.</p>
<p>To add Plex to your installation, add the following to your <code>configuration.yaml</code> file:</p>
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
@ -117,17 +118,24 @@ It will allow you to control media playback and see the current playing item.</p
<span class='line-number'>4</span>
<span class='line-number'>5</span>
<span class='line-number'>6</span>
<span class='line-number'>7</span>
</pre></td><td class='code'><pre><code class='yaml'><span class='line'><span class="c1"># Example configuration.yaml entry</span>
</span><span class='line'><span class="l-Scalar-Plain">media_player</span><span class="p-Indicator">:</span>
</span><span class='line'> <span class="l-Scalar-Plain">platform</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">plex</span>
</span><span class='line'> <span class="c1"># The name of the backend device (Under Plex Media Server &gt; settings &gt; server)</span>
</span><span class='line'> <span class="l-Scalar-Plain">name</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">plex_server</span>
</span><span class='line'> <span class="l-Scalar-Plain">user</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">your_username</span>
</span><span class='line'> <span class="l-Scalar-Plain">password</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">your_secure_password</span>
</span><span class='line'> <span class="l-Scalar-Plain">user</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_USERNAME</span>
</span><span class='line'> <span class="l-Scalar-Plain">password</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_PASSWORD</span>
</span></code></pre></td></tr></table></div></figure>
<p>Configuration variables:</p>
<ul>
<li><strong>name</strong> <em>Required</em>: The name of the backend device (Under Plex Media Server > settings > server)</li>
<li><strong>user</strong> <em>Required</em>: The username for your Pley server.</li>
<li><strong>password</strong> <em>Required</em>: The password for your Plex server.</li>
</ul>
</article>