Site updated at 2015-10-27 04:59:24 UTC

This commit is contained in:
Paulus Schoutsen 2015-10-26 21:59:24 -07:00
parent 0dec4860da
commit adcde053bb
220 changed files with 226724 additions and 6116 deletions

View file

@ -58,9 +58,9 @@
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</a></li>
<li><a href='/cookbook'>Configuration cookbook</a></li>
<li><a href='/components/'>Component overview</a></li>
</ul>
</li>
<li><a href='/components/'>Components</a></li>
<li>
<a href="/developers/">Developers</a>
<ul>

View file

@ -58,9 +58,9 @@
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</a></li>
<li><a href='/cookbook'>Configuration cookbook</a></li>
<li><a href='/components/'>Component overview</a></li>
</ul>
</li>
<li><a href='/components/'>Components</a></li>
<li>
<a href="/developers/">Developers</a>
<ul>

View file

@ -58,9 +58,9 @@
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</a></li>
<li><a href='/cookbook'>Configuration cookbook</a></li>
<li><a href='/components/'>Component overview</a></li>
</ul>
</li>
<li><a href='/components/'>Components</a></li>
<li>
<a href="/developers/">Developers</a>
<ul>
@ -161,6 +161,9 @@ Newer linux distributions are trending towards using systemd for managing daemon
<span class='line-number'>10</span>
<span class='line-number'>11</span>
<span class='line-number'>12</span>
<span class='line-number'>13</span>
<span class='line-number'>14</span>
<span class='line-number'>15</span>
</pre></td><td class='code'><pre><code class='bash'><span class='line'>su -c <span class="s1">&#39;cat &lt;&lt;EOF &gt;&gt; /lib/systemd/system/home-assistant.service</span>
</span><span class='line'><span class="s1">[Unit]</span>
</span><span class='line'><span class="s1">Description=Home Assistant</span>
@ -168,7 +171,10 @@ Newer linux distributions are trending towards using systemd for managing daemon
</span><span class='line'>
</span><span class='line'><span class="s1">[Service]</span>
</span><span class='line'><span class="s1">Type=simple</span>
</span><span class='line'><span class="s1">ExecStart=hass</span>
</span><span class='line'><span class="s1">ExecStart=/usr/local/bin/hass</span>
</span><span class='line'><span class="s1"># Next line is to run as a specific user</span>
</span><span class='line'><span class="s1"># for Raspberry Pi users, keep it at &#39;</span>pi<span class="s1">&#39;</span>
</span><span class='line'><span class="s1">User=pi</span>
</span><span class='line'>
</span><span class='line'><span class="s1">[Install]</span>
</span><span class='line'><span class="s1">WantedBy=multi-user.target</span>
@ -180,7 +186,7 @@ Newer linux distributions are trending towards using systemd for managing daemon
<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>
<span class='line-number'>3</span>
</pre></td><td class='code'><pre><code class='bash'><span class='line'>sudo systemctl &ndash;system daemon-reload
</pre></td><td class='code'><pre><code class='bash'><span class='line'>sudo systemctl <span class="se">--</span>system daemon-reload
</span><span class='line'>sudo systemctl <span class="nb">enable </span>home-assistant
</span><span class='line'>sudo systemctl start home-assistant
</span></code></pre></td></tr></table></div></figure></p>

View file

@ -58,9 +58,9 @@
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</a></li>
<li><a href='/cookbook'>Configuration cookbook</a></li>
<li><a href='/components/'>Component overview</a></li>
</ul>
</li>
<li><a href='/components/'>Components</a></li>
<li>
<a href="/developers/">Developers</a>
<ul>

View file

@ -58,9 +58,9 @@
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</a></li>
<li><a href='/cookbook'>Configuration cookbook</a></li>
<li><a href='/components/'>Component overview</a></li>
</ul>
</li>
<li><a href='/components/'>Components</a></li>
<li>
<a href="/developers/">Developers</a>
<ul>
@ -149,6 +149,8 @@ by using the Set State page in the Developer Tools (icon in the middle).</p>
You may find it desireable to customize the look and feel of your front page by altering some
of these parameters. This can be done by adding the following config to the <code>homeassistant:</code> section.</p>
<p>Entity_pictures, badges, device_tracker pictures, etc can either be a URL or <code>/local/file.jpg</code>, which points to directory <code>www</code> in the HASS configuration directory.</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>
<span class='line-number'>3</span>

View file

@ -58,9 +58,9 @@
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</a></li>
<li><a href='/cookbook'>Configuration cookbook</a></li>
<li><a href='/components/'>Component overview</a></li>
</ul>
</li>
<li><a href='/components/'>Components</a></li>
<li>
<a href="/developers/">Developers</a>
<ul>

View file

@ -58,9 +58,9 @@
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</a></li>
<li><a href='/cookbook'>Configuration cookbook</a></li>
<li><a href='/components/'>Component overview</a></li>
</ul>
</li>
<li><a href='/components/'>Components</a></li>
<li>
<a href="/developers/">Developers</a>
<ul>

View file

@ -58,9 +58,9 @@
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</a></li>
<li><a href='/cookbook'>Configuration cookbook</a></li>
<li><a href='/components/'>Component overview</a></li>
</ul>
</li>
<li><a href='/components/'>Components</a></li>
<li>
<a href="/developers/">Developers</a>
<ul>

View file

@ -58,9 +58,9 @@
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</a></li>
<li><a href='/cookbook'>Configuration cookbook</a></li>
<li><a href='/components/'>Component overview</a></li>
</ul>
</li>
<li><a href='/components/'>Components</a></li>
<li>
<a href="/developers/">Developers</a>
<ul>
@ -124,19 +124,30 @@ by some distributions. If you are unable to run <code>python3 -m pip --version</
<a href="https://bootstrap.pypa.io/get-pip.py">downloading the installer</a> and run it with Python 3:
<code>python3 get-pip.py</code>.</p>
<p><strong>distutils.errors.DistutilsOptionError: must supply either home or prefix/exec-prefix &ndash; not both</strong><br>
This is a known issue if you&rsquo;re on a Mac using Homebrew to install Python. Please follow
<a href="https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md#note-on-pip-install---user">these instructions</a>
to resolve it.</p>
<p><strong>CentOS and Python 3</strong><br>
To run Python 3.x on <a href="https://www.centos.org/">CentOS</a> or RHEL, <a href="https://www.softwarecollections.org/en/scls/rhscl/rh-python34/">Software Collections</a> needs to be activated.</p></p>
<p><strong>Run the development version</strong><br>
If you want to stay on top of the development of Home Assistant then you can upgrade to the latest stuff what is available in the dev branch <code>pip3 install --upgrade git+git://github.com/balloob/home-assistant.git@dev</code>. Keep in mind, that stable releases of Home Assistant are published often.</p>
If you want to stay on top of the development of Home Assistant then you can upgrade to the dev branch using
<code>pip3 install --upgrade git+git://github.com/balloob/home-assistant.git@dev</code>. Keep in mind, that stable releases
of Home Assistant are published often.</p>
<p><strong>No access to the frontend</strong><br>
In newer Linux distributions (at least Fedora 22/CentOS 7) the access to a host is very limited.
This means that you can&rsquo;t access the Home Assistant Frontend that is running on a host outside of the host machine. Windows and OSX machines may also have issues with this.</p>
This means that you can&rsquo;t access the Home Assistant Frontend that is running on a host outside of the
host machine. Windows and OSX machines may also have issues with this.</p>
<p>To fix this you will need to open your machine&rsquo;s firewall for TCP traffic over port 8123. The method for doing this will vary depending on your operating system and the firewall you have installed. Below are some suggestions to try. Google is your friend here.</p>
<p>To fix this you will need to open your machine&rsquo;s firewall for TCP traffic over port 8123. The method
for doing this will vary depending on your operating system and the firewall you have installed.
Below are some suggestions to try. Google is your friend here.</p>
<p><a href="http://windows.microsoft.com/en-us/windows/open-port-windows-firewall#1TC=windows-7">Windows</a> and <a href="https://support.apple.com/en-us/HT201642">Mac OSX</a> have good instructions posted.</p>
<p><a href="http://windows.microsoft.com/en-us/windows/open-port-windows-firewall#1TC=windows-7">Windows instructions</a><br>
<a href="https://support.apple.com/en-us/HT201642">Mac OSX instructions</a></p>
<p>For firewalld systems (Fedora, RHEL, etc.):</p>