Site updated at 2017-10-07 19:25:24 UTC

This commit is contained in:
Travis CI 2017-10-07 19:25:24 +00:00
parent 8bbc40b5d1
commit ef6d3b2ec0
678 changed files with 10476 additions and 2128 deletions

View file

@ -129,6 +129,25 @@ The notification content is a real time MJPEG stream of a camera (assuming the c
</div>
<h1>Combining with actionable notifications</h1>
<p>As you can see the <code class="highlighter-rouge">category</code> key is used to tell the device what kind of content extension to use. You can use the same category identifiers in your own custom <a href="/ecosystem/ios/notifications/actions/">actions</a> to add actions to the content extension.</p>
<p>For example this configuration adds actions to a camera content message.</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">ios</span><span class="pi">:</span>
<span class="s">push</span><span class="pi">:</span>
<span class="s">categories</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">name</span><span class="pi">:</span> <span class="s">Camera With Actions</span>
<span class="s">identifier</span><span class="pi">:</span> <span class="s1">'</span><span class="s">camera'</span>
<span class="s">actions</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">identifier</span><span class="pi">:</span> <span class="s1">'</span><span class="s">OPEN_COVER'</span>
<span class="s">title</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Open</span><span class="nv"> </span><span class="s">Cover'</span>
<span class="s">activationMode</span><span class="pi">:</span> <span class="s1">'</span><span class="s">background'</span>
<span class="s">authenticationRequired</span><span class="pi">:</span> <span class="s">yes</span>
<span class="s">destructive</span><span class="pi">:</span> <span class="s">no</span>
<span class="pi">-</span> <span class="s">identifier</span><span class="pi">:</span> <span class="s1">'</span><span class="s">CLOSE_COVER'</span>
<span class="s">title</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Close</span><span class="nv"> </span><span class="s">Cover'</span>
<span class="s">activationMode</span><span class="pi">:</span> <span class="s1">'</span><span class="s">background'</span>
<span class="s">authenticationRequired</span><span class="pi">:</span> <span class="s">yes</span>
<span class="s">destructive</span><span class="pi">:</span> <span class="s">yes</span>
</code></pre>
</div>
<h1>Troubleshooting</h1>
<p>If you are having problems with receiving these special notifications try restarting your phone first. The extensions somewhat often fail to register properly until a restart.</p>
</article>

View file

@ -92,6 +92,9 @@ Linux and Mac OS users execute the following command in a terminal.</p>
<p>Replace <code class="highlighter-rouge">stop</code> with <code class="highlighter-rouge">start</code> or <code class="highlighter-rouge">restart</code> to get the desired functionality.
To get the current state of the <code class="highlighter-rouge">homeassistant.service</code> replace <code class="highlighter-rouge">stop</code> with <code class="highlighter-rouge">status</code>.</p>
<h3><a class="title-link" name="update-home-assistant" href="#update-home-assistant"></a> Update Home Assistant</h3>
<p class="note">
You can also use <code class="highlighter-rouge">hassbian-config</code> to automate the process by running <code class="highlighter-rouge">sudo hassbian-config upgrade home-assistant</code>
</p>
<p>Log in as the <code class="highlighter-rouge">pi</code> account and execute the following commands:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo systemctl stop home-assistant@homeassistant.service
<span class="gp">$ </span>sudo su -s /bin/bash homeassistant

View file

@ -75,18 +75,29 @@
</h1>
</header>
<hr class="divider">
<p>To allow you to customize your installation further, we have included a tool called <code class="highlighter-rouge">hassbian-config</code>. This tool comes with a set of packages that can easily be installed for easier customization of your Home Assistant installation.</p>
<p>To allow you to customize your installation further, we have included a tool called <code class="highlighter-rouge">hassbian-config</code>. This tool comes with a set of packages that can easily be installed or upgraded for easier customization of your Home Assistant installation.
The tool is available by running <code class="highlighter-rouge">hassbian-config</code>.</p>
<h3>Install scripts</h3>
<p>To view the available packages run <code class="highlighter-rouge">hassbian-config show</code> and <code class="highlighter-rouge">sudo hassbian-config install PACKAGENAME</code>.</p>
<ul>
<li>Install Hue. Configures the Python executable to allow usage of low numbered ports for use with Emulated Hue component thats used with Amazon Echo, Google Home and Mycroft.ai.</li>
<li>Install MariaDB. This script installs MariaDB and its dependencies for use with the recorder component in Home Assistant. No database or database user is created during this setup and will need to be created manually.</li>
<li>Install Mosquitto MQTT server. Installs the latest Mosquitto package and client tools from the Mosquitto projects official repository. Now includes websocket support.</li>
<li>Install Libcec. Adds local <a href="/components/hdmi_cec/">HDMI CEC support</a>.</li>
<li>Install Open Z-Wave-pip. Installs Python Open Z-Wave from a pip package. This is the quickest and recommended way of installing Z-Wave support but does not OZWCP pre-installed.</li>
<li>Install Open Z-Wave. Installs Python Open Z-Wave and OZWCP from git.</li>
<li>Install Libcec. Adds local <a href="/components/hdmi_cec/">HDMI CEC support</a>. <em>This scipt is currently brooken upstream since it currently doesnt build properly for Python &gt;3.4</em></li>
<li>Install Samba. Allows anyone on your network to edit your configuration from any computer. This share is unsecured and its usage is not recommended if you share your network with others.</li>
<li>Install Tradfri. Installs dependencies for using IKEA Trådfri.</li>
<li>Install Duck DNS auto renewal. This script adds an cron job to auto update you the WAN IP address for the defined domain. Before running this script you should already have an Duck DNS account, during the installation you will be asked to supply your domain name and the token for your account.</li>
<li>Install an web terminal for easy access to ssh in an web browser. This script installs an web terminal called shellinabox to you system that give you SSH access in you web browser.</li>
</ul>
<p>The tool is available by running <code class="highlighter-rouge">hassbian-config</code>. To view the available packages run <code class="highlighter-rouge">hassbian-config show</code> and <code class="highlighter-rouge">sudo hassbian-config install PACKAGENAME</code>.
For more information about this tool have a look at the <a href="https://github.com/home-assistant/hassbian-scripts">hassbian-scripts repository</a>.</p>
<h4>Upgrade scripts</h4>
<p>To view the available packages run <code class="highlighter-rouge">hassbian-config show</code> and <code class="highlighter-rouge">sudo hassbian-config upgrade PACKAGENAME</code>.</p>
<ul>
<li>Upgrade your Home Assistant installation.</li>
<li>Upgrade your HASSbian installation.</li>
<li>Upgrade HASSbian-scripts.</li>
<li>Upgrade HASSbian-scripts from dev branch.</li>
</ul>
<p>For more information about this tool have a look at the <a href="https://github.com/home-assistant/hassbian-scripts">hassbian-scripts repository</a>.</p>
</article>
</div>
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">

View file

@ -91,7 +91,7 @@
<li>GPIO pins are ready to use.</li>
<li>Bluetooth is ready to use (supported models only, no Bluetooth LE).</li>
<li>SSH server is enabled.</li>
<li>A tool called <code class="highlighter-rouge">hassbian-config</code>.</li>
<li>A tool called <a href="https://github.com/home-assistant/hassbian-scripts#hassbian-config-hassbian-config"><code class="highlighter-rouge">hassbian-config</code></a>.</li>
</ul>
<h3><a class="title-link" name="wireless-network" href="#wireless-network"></a> Wireless Network</h3>
<p>After flashing the image to your SD Card open the partition <code class="highlighter-rouge">boot</code> and create a new file <code class="highlighter-rouge">wpa_supplicant.conf</code>. Edit the file and enter your network credentials. For more information visit <a href="https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md">Setting up Wifi for Raspbian</a>. During start the file will automatically be copied in the right folder and the network connection will be established. The file could look like this:</p>

View file

@ -82,6 +82,9 @@ Log in as the <code class="highlighter-rouge">pi</code> account and execute the
</code></pre>
</div>
<h4><a class="title-link" name="updating-home-assistant" href="#updating-home-assistant"></a> Updating Home Assistant</h4>
<p class="note">
You can also use <code class="highlighter-rouge">hassbian-config</code> to automate the process by running <code class="highlighter-rouge">sudo hassbian-config upgrade home-assistant</code>
</p>
<p>To update the Home Assistant installation execute the following command as the <code class="highlighter-rouge">pi</code> user.</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo systemctl stop home-assistant@homeassistant.service
<span class="gp">$ </span>sudo su -s /bin/bash homeassistant

View file

@ -79,6 +79,7 @@
<p>Supported by MQTT discovery:</p>
<ul>
<li><a href="/components/binary_sensor.mqtt/">Binary sensors</a></li>
<li><a href="/components/fan.mqtt/">Fans</a></li>
<li><a href="/components/light.mqtt/">Lights</a></li>
<li><a href="/components/sensor.mqtt/">Sensors</a></li>
<li><a href="/components/switch.mqtt/">Switches</a></li>