Site updated at 2017-07-28 19:17:02 UTC
This commit is contained in:
parent
269aa1cb2b
commit
47403925bf
28 changed files with 45 additions and 45 deletions
|
@ -87,7 +87,7 @@
|
|||
<li><strong>host</strong> (<em>Optional</em>): The IP or hostname of the flic service server. Defaults to <code class="highlighter-rouge">localhost</code>.</li>
|
||||
<li><strong>port</strong> (<em>Optional</em>): The port of the flic service. Defaults to <code class="highlighter-rouge">5551</code>.</li>
|
||||
<li><strong>discovery</strong> (<em>Optional</em>): If <code class="highlighter-rouge">true</code> then the component is configured to constantly scan for new buttons. Defaults to <code class="highlighter-rouge">true</code>.</li>
|
||||
<li><strong>ignored_click_types</strong>: List of click types whose occurrence should not trigger a <code class="highlighter-rouge">flic_click</code> event. For example <code class="highlighter-rouge">single</code>, <code class="highlighter-rouge">double</code>.</li>
|
||||
<li><strong>ignored_click_types</strong>: List of click types whose occurrence should not trigger a <code class="highlighter-rouge">flic_click</code> event. Click types are <code class="highlighter-rouge">single</code>, <code class="highlighter-rouge">double</code>, and <code class="highlighter-rouge">hold</code>.</li>
|
||||
<li><strong>timeout</strong> (<em>Optional</em>): Maximum time in seconds an event can be queued locally on a button before discarding the event. Defaults to 3.</li>
|
||||
</ul>
|
||||
<h4><a class="title-link" name="discovery" href="#discovery"></a> Discovery</h4>
|
||||
|
|
|
@ -89,15 +89,15 @@
|
|||
</code></pre>
|
||||
</div>
|
||||
<p>macOS:</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo brew install libtool
|
||||
<span class="gp">$ </span>sudo brew install autoconf
|
||||
<span class="gp">$ </span>sudo brew install automake
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>brew install libtool
|
||||
<span class="gp">$ </span>brew install autoconf
|
||||
<span class="gp">$ </span>brew install automake
|
||||
<span class="gp">$ </span>git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
|
||||
<span class="gp">$ </span><span class="nb">cd </span>libcoap
|
||||
<span class="gp">$ </span>./autogen.sh
|
||||
<span class="gp">$ </span>./configure --disable-documentation --disable-shared --without-debug <span class="nv">CFLAGS</span><span class="o">=</span><span class="s2">"-D COAP_DEBUG_FD=stderr"</span>
|
||||
<span class="gp">$ </span>make
|
||||
<span class="gp">$ </span>sudo make install
|
||||
<span class="gp">$ </span>make install
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>You will be prompted to configure the gateway through the Home Assistant interface, Enter the security key when prompted and click configure</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue