Site updated at 2018-02-11 19:40:07 UTC

This commit is contained in:
Travis CI 2018-02-11 19:40:07 +00:00
parent 6d53a56a40
commit c749e41c9a
26 changed files with 74 additions and 74 deletions

View file

@ -176,8 +176,8 @@ Be careful when setting up port forwarding to the configurator while embedding i
<ol>
<li>Fork the process into the background with the command:<br />
<code class="highlighter-rouge">nohup sudo ./configurator.py &amp;</code></li>
<li>If your system is using systemd (thats usually what youll find on a Raspberry Pi), theres a <a href="https://github.com/danielperna84/hass-configurator/blob/master/hass-poc-configurator.systemd">template file</a> you can use and then apply the same process to integrate it as mentioned in the <a href="https://home-assistant.io/docs/autostart/systemd/">Home Assistant documentation</a>. If you use this method you have to set the <code class="highlighter-rouge">BASEPATH</code> variable according to your environment.</li>
<li>If you have <a href="http://supervisord.org/">supervisor</a> running on your system, <a href="https://github.com/danielperna84/hass-configurator/blob/master/hass-poc-configurator.supervisor">hass-poc-configurator.supervisor</a> would be an example configuration you could use to control the configurator.</li>
<li>If your system is using systemd (thats usually what youll find on a Raspberry Pi), theres a <a href="https://github.com/danielperna84/hass-configurator/blob/master/hass-configurator.systemd">template file</a> you can use and then apply the same process to integrate it as mentioned in the <a href="https://home-assistant.io/docs/autostart/systemd/">Home Assistant documentation</a>. If you use this method you have to set the <code class="highlighter-rouge">BASEPATH</code> variable according to your environment.</li>
<li>If you have <a href="http://supervisord.org/">supervisor</a> running on your system, <a href="https://github.com/danielperna84/hass-configurator/blob/master/hass-configurator.supervisor">hass-poc-configurator.supervisor</a> would be an example configuration you could use to control the configurator.</li>
<li>A tool called <a href="https://tmux.github.io/">tmux</a>, which should be pre-installed with <a href="https://home-assistant.io/docs/hassbian/">HASSbian</a>.</li>
<li>A tool called <a href="http://ss64.com/bash/screen.html">screen</a> (alternative to tmux). If its not already installed on your system, you can do <code class="highlighter-rouge">sudo apt-get install screen</code> or <code class="highlighter-rouge">sudo yum install screen</code> to get it. When its installed, start a screen session by executing <code class="highlighter-rouge">screen</code>. Then navigate to your Home Assistant directory and start the configurator like described above. Put the screen session into the background by pressing <code class="highlighter-rouge">CTRL+A</code> and then <code class="highlighter-rouge">CTRL+D</code>. It is now safe to disconnect from your SSH session.
To resume the screen session, log in to your machine and execute <code class="highlighter-rouge">screen -r</code>.</li>