Site updated at 2018-01-03 20:28:52 UTC
This commit is contained in:
parent
82239e1226
commit
c6d38d3d1c
28 changed files with 72 additions and 68 deletions
|
@ -86,7 +86,7 @@ We have received <a href="https://github.com/home-assistant/home-assistant/issue
|
|||
<p>Before you get started with this platform, please note that:</p>
|
||||
<ul>
|
||||
<li>This platform is incompatible with Windows</li>
|
||||
<li>This platform requires root privileges</li>
|
||||
<li>This platform requires access to the bluetooth stack, see <a href="#rootless-setup">Rootless Setup section</a> for further infomation</li>
|
||||
</ul>
|
||||
<p>To use the Bluetooth tracker in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
|
||||
|
@ -103,7 +103,8 @@ We have received <a href="https://github.com/home-assistant/home-assistant/issue
|
|||
</ul>
|
||||
<p>As some BT LE devices change their MAC address regularly, a new device is only discovered when it has been seen 5 times.
|
||||
Some BTLE devices (e.g. fitness trackers) are only visible to the devices that they are paired with. In this case, the BTLE tracker won’t see this device.</p>
|
||||
<p>For running Home Assistant as non root user we can give python3 the missing capabilities to access the Bluetooth stack. Quite like setting the setuid bit (see <a href="http://unix.stackexchange.com/questions/96106/bluetooth-le-scan-as-non-root">Stack Exchange</a> for more information).</p>
|
||||
<h2><a class="title-link" name="rootless-setup" href="#rootless-setup"></a> Rootless Setup</h2>
|
||||
<p>Normaly accessing the Bluetooth stack is reserved for root, but running programs that are networked as root is a bad security wise. To allow non-root access to the Bluetooth stack we can give Python 3 the missing capabilities to access the Bluetooth stack. Quite like setting the setuid bit (see <a href="http://unix.stackexchange.com/questions/96106/bluetooth-le-scan-as-non-root">Stack Exchange</a> for more information).</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo apt-get install libcap2-bin
|
||||
<span class="gp">$ </span>sudo setcap <span class="s1">'cap_net_raw,cap_net_admin+eip'</span> <span class="sb">`</span>readlink -f <span class="se">\`</span>which python3<span class="se">\`</span><span class="sb">`</span>
|
||||
</code></pre>
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">x10</span>
|
||||
<span class="s">devices</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">id</span><span class="pi">:</span> <span class="s">a2</span>
|
||||
<span class="s">name</span><span class="pi">:</span> <span class="s">Guest Room</span>
|
||||
<span class="pi">-</span> <span class="s">id</span><span class="pi">:</span> <span class="s">a3</span>
|
||||
<span class="s">name</span><span class="pi">:</span> <span class="s">Bedroom Lamp</span>
|
||||
</code></pre>
|
||||
|
@ -89,7 +90,7 @@
|
|||
<p>Configuration variables:</p>
|
||||
<ul>
|
||||
<li><strong>id</strong> (<em>Required</em>): Device identifier. Composed of house code and unit id.</li>
|
||||
<li><strong>name</strong> (<em>Optional</em>): A friendly name for the device. By default <em>id</em> from the device is used.</li>
|
||||
<li><strong>name</strong> (<em>Required</em>): A friendly name for the device.</li>
|
||||
</ul>
|
||||
</article>
|
||||
</div>
|
||||
|
|
|
@ -104,7 +104,8 @@
|
|||
<p class="note">
|
||||
Before trying to control your light through Home Assistant, you have to setup your bulb using Yeelight app. ( <a href="https://play.google.com/store/apps/details?id=com.yeelight.cherry&hl=fr">Android</a>, <a href="https://itunes.apple.com/us/app/yeelight/id977125608?mt=8">IOS</a> ).
|
||||
In the bulb property, you have to enable “LAN Mode” (previously called “Developer mode”). LAN mode may only be available with the latest firmware installed on your bulb. Firmware can be updated in the application after connecting the bulb.
|
||||
Determine your bulb IP (using router, software, ping …)
|
||||
Determine your bulb IP (using router, software, ping …).
|
||||
Information on how to enable “LAN Mode” can be found <a href="https://getyeti.co/posts/how-to-control-yeelight-and-your-smarthome-with-yeti">here</a>.
|
||||
</p>
|
||||
<p class="note warning">
|
||||
This component is tested to work with the following models. If you have a different model and it is working please let us know.
|
||||
|
@ -113,6 +114,7 @@ This component is tested to work with the following models. If you have a differ
|
|||
<li><strong>YLDP01YL</strong>: LED Bulb (White)</li>
|
||||
<li><strong>YLDP02YL</strong>: LED Bulb (Color)</li>
|
||||
<li><strong>YLDP03YL</strong>: LED Bulb (Color) - E26</li>
|
||||
<li><strong>YLDD01YL</strong>: Lightstrip (Color)</li>
|
||||
<li><strong>YLDD02YL</strong>: Lightstrip (Color)</li>
|
||||
</ul>
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue