Site updated at 2017-06-04 08:40:19 UTC
This commit is contained in:
parent
d7518761f4
commit
88baaf27f4
29 changed files with 57 additions and 54 deletions
|
@ -76,6 +76,8 @@ The virtual bridge has the ability to turn entities on or off, or change the bri
|
|||
<p>To enable the emulated Hue bridge, add one of the following configs to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Google Home example configuration.yaml entry</span>
|
||||
<span class="s">emulated_hue</span><span class="pi">:</span>
|
||||
<span class="s">type</span><span class="pi">:</span> <span class="s">google_home</span>
|
||||
<span class="s">listen_port</span><span class="pi">:</span> <span class="s">80</span>
|
||||
<span class="c1"># Google Home does not work on different ports.</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
@ -160,6 +162,7 @@ The virtual bridge has the ability to turn entities on or off, or change the bri
|
|||
<li><code class="highlighter-rouge">http://<HA IP Address>:8300/description.xml</code> - This URL should return a descriptor file in the form of an XML file.</li>
|
||||
<li><code class="highlighter-rouge">http://<HA IP Address>:8300/api/pi/lights</code> - This will return a list of devices, lights, scenes, groups, etc.. that <code class="highlighter-rouge">emulated_hue</code> is exposing to Alexa.</li>
|
||||
</ul>
|
||||
<p>For Google Home, verify that the URLs above are using port 80, rather than port 8300 (i.e. http://<HA IP="" Address="">:80/description.xml).</HA></p>
|
||||
<p>An additional step is required to run Home Assistant as non-root user and use port 80 when using the AiO script. Execute the following command to allow <code class="highlighter-rouge">emulated_hue</code> to use port 80 as non-root user.</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>sudo setcap <span class="s1">'cap_net_bind_service=+ep'</span> /srv/homeassistant/homeassistant_venv/bin/python3
|
||||
</code></pre>
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
<li><strong>message</strong> (<em>Required</em>): Message text.</li>
|
||||
<li><strong>title</strong> (<em>Optional</em>): Will be composed as ‘%title\n%message’.</li>
|
||||
<li><strong>keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom keyboard.</li>
|
||||
<li><strong>inline_keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data.</li>
|
||||
<li><strong>inline_keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data.</li>
|
||||
</ul>
|
||||
<h3><a class="title-link" name="photo-support" href="#photo-support"></a> Photo support</h3>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="nn">...</span>
|
||||
|
@ -158,7 +158,7 @@
|
|||
<li><strong>password</strong> (<em>Optional</em>): Username for a URL which require HTTP authentication.</li>
|
||||
<li><strong>authentication</strong> (<em>Optional</em>): Set to ‘digest’ to use HTTP digest authentication, defaults to ‘basic’.</li>
|
||||
<li><strong>keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom keyboard.</li>
|
||||
<li><strong>inline_keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data.</li>
|
||||
<li><strong>inline_keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data.</li>
|
||||
</ul>
|
||||
<h3><a class="title-link" name="document-support" href="#document-support"></a> Document support</h3>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="nn">...</span>
|
||||
|
@ -184,7 +184,7 @@
|
|||
<li><strong>password</strong> (<em>Optional</em>): Username for a URL which require HTTP authentication.</li>
|
||||
<li><strong>authentication</strong> (<em>Optional</em>): Set to ‘digest’ to use HTTP digest authentication, defaults to ‘basic’.</li>
|
||||
<li><strong>keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom keyboard.</li>
|
||||
<li><strong>inline_keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data.</li>
|
||||
<li><strong>inline_keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data.</li>
|
||||
</ul>
|
||||
<h3><a class="title-link" name="location-support" href="#location-support"></a> Location support</h3>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="nn">...</span>
|
||||
|
@ -205,7 +205,7 @@
|
|||
<li><strong>latitude</strong> (<em>Required</em>): The latitude to send.</li>
|
||||
<li><strong>longitude</strong> (<em>Required</em>): The longitude to send.</li>
|
||||
<li><strong>keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom keyboard.</li>
|
||||
<li><strong>inline_keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data.</li>
|
||||
<li><strong>inline_keyboard</strong> (<em>Optional</em>): List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data.</li>
|
||||
</ul>
|
||||
</article>
|
||||
</div>
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
</ul>
|
||||
<p>Information about how to install on Windows can be found <a href="https://home-assistant.io/components/sensor.broadlink/#microsoft-windows-installation">here</a></p>
|
||||
<h3><a class="title-link" name="how-to-obtain-irrf-packets" href="#how-to-obtain-irrf-packets"></a> How to obtain IR/RF packets?</h3>
|
||||
<p>Choose Call Service from the Developer Tools. Choose the service broadlink/learn_command from the list of Available services: and hit CALL SERVICE. Press the button on your remote with in 20 seconds. The packet will be printed in the log and as a persistent notification.</p>
|
||||
<p>Choose Call Service from the Developer Tools. Choose the service broadlink/learn_command from the list of Available services: and hit CALL SERVICE. Press the button on your remote with in 20 seconds. The packet will be printed as a persistent notification in theg States page of the web interface.</p>
|
||||
<p>Example config for rm, rm2, rm_mini, rm_pro_phicomm, rm2_home_plus, rm2_home_plus_gdt, rm2_pro_plus, rm2_pro_plus2, rm2_pro_plus_bl and rm_mini_shate devices:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">switch 2</span><span class="pi">:</span>
|
||||
<span class="s">platform</span><span class="pi">:</span> <span class="s">broadlink</span>
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
<tr>
|
||||
<td><code class="highlighter-rouge">inline_keyboard</code></td>
|
||||
<td>yes</td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -182,7 +182,7 @@
|
|||
<tr>
|
||||
<td><code class="highlighter-rouge">inline_keyboard</code></td>
|
||||
<td>yes</td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -245,7 +245,7 @@
|
|||
<tr>
|
||||
<td><code class="highlighter-rouge">inline_keyboard</code></td>
|
||||
<td>yes</td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -288,7 +288,7 @@
|
|||
<tr>
|
||||
<td><code class="highlighter-rouge">inline_keyboard</code></td>
|
||||
<td>yes</td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -336,7 +336,7 @@
|
|||
<tr>
|
||||
<td><code class="highlighter-rouge">inline_keyboard</code></td>
|
||||
<td>yes</td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -374,7 +374,7 @@
|
|||
<tr>
|
||||
<td><code class="highlighter-rouge">inline_keyboard</code></td>
|
||||
<td>yes</td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -407,7 +407,7 @@
|
|||
<tr>
|
||||
<td><code class="highlighter-rouge">inline_keyboard</code></td>
|
||||
<td>yes</td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with asociated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
<td>List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: <code class="highlighter-rouge">["/button1, /button2", "/button3"]</code> or <code class="highlighter-rouge">[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue