Site updated at 2017-01-29 08:27:29 UTC
This commit is contained in:
parent
e14704c19c
commit
5ff5b70291
24 changed files with 41 additions and 41 deletions
|
@ -108,7 +108,7 @@
|
|||
<p>Configuration variables:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>host</strong> (<em>Required</em>): IP address of the device, eg. 192.168.1.10.</li>
|
||||
<li><strong>host</strong> (<em>Optional</em>): IP address of the device, eg. 192.168.1.10. Required if not using the <code class="highlighter-rouge">discovery</code> component to discover Hue bridges.</li>
|
||||
<li><strong>allow_unreachable</strong> (<em>Optional</em>): This will allow unreachable bulbs to report their state correctly. By default <em>name</em> from the device is used.</li>
|
||||
<li><strong>filename</strong> (<em>Optional</em>): Make this unique if specifying multiple Hue hubs.</li>
|
||||
<li><strong>allow_in_emulated_hue</strong> (<em>Optional</em>): Enable this to block all Hue entities from being added to the <code class="highlighter-rouge">emulated_hue</code> component.</li>
|
||||
|
|
|
@ -107,13 +107,13 @@
|
|||
<li><strong>arguments</strong> (<em>Optional</em>): Additional arguments to be passed to VLC.</li>
|
||||
</ul>
|
||||
|
||||
<p>Only “music” media type is supported for now.</p>
|
||||
<p>Only the “music” media type is supported for now.</p>
|
||||
|
||||
<p>This service will control a background VLC instance, therefore you cannot use this to control a VLC instance launched on your desktop, unlike the Kodi media player for example.</p>
|
||||
|
||||
<h2><a class="title-link" name="full-configuration" href="#full-configuration"></a> Full configuration</h2>
|
||||
|
||||
<p>A full configuration for VLC could llok like the one below:</p>
|
||||
<p>A full configuration for VLC could look like the one below:</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
|
||||
<span class="s">media_player</span><span class="pi">:</span>
|
||||
|
@ -125,7 +125,7 @@
|
|||
|
||||
<h5><a class="title-link" name="additional-configuration-on-macos" href="#additional-configuration-on-macos"></a> Additional configuration on macOS</h5>
|
||||
|
||||
<p>On macOS phython-vlc won’t find the VLC plugin directory unless you add this to the user’s <code class="highlighter-rouge">.bash_profile</code> that is running Home Assistant:</p>
|
||||
<p>On macOS <code class="highlighter-rouge">python-vlc</code> won’t find the VLC plugin directory unless you add this to the user’s <code class="highlighter-rouge">.bash_profile</code> that is running Home Assistant:</p>
|
||||
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="nb">export </span><span class="nv">VLC_PLUGIN_PATH</span><span class="o">=</span><span class="nv">$VLC_PLUGIN_PATH</span>:/Applications/VLC.app/Contents/MacOS/plugins
|
||||
</code></pre>
|
||||
|
@ -133,7 +133,7 @@
|
|||
|
||||
<h5><a class="title-link" name="additional-configuration-for-rasperry-pi" href="#additional-configuration-for-rasperry-pi"></a> Additional configuration for Rasperry Pi</h5>
|
||||
|
||||
<p>You need to add <code class="highlighter-rouge">homeassistant</code> user to <code class="highlighter-rouge">audio</code> group:</p>
|
||||
<p>You need to add the <code class="highlighter-rouge">homeassistant</code> user to the <code class="highlighter-rouge">audio</code> group:</p>
|
||||
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>sudo usermod -a -G audio homeassistant
|
||||
</code></pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue