Site updated at 2017-08-02 13:26:01 UTC

This commit is contained in:
Travis CI 2017-08-02 13:26:01 +00:00
parent 274e6574a7
commit d88109f1fb
27 changed files with 61 additions and 59 deletions

View file

@ -4,7 +4,7 @@
<title><![CDATA[Home Assistant]]></title>
<link href="https://home-assistant.io/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Announcements | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/announcements/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Community | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: How-To | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: iBeacons | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Media | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/media/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Merchandise | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/merchandise/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Micropython | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/micropython/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: MQTT | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Organisation | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Survey | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Talks | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Technology | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: User-Stories | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Video | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Website | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-08-02T10:20:39+00:00</updated>
<updated>2017-08-02T13:16:46+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -76,18 +76,18 @@
<hr class="divider">
<p>The <code class="highlighter-rouge">vizio</code> component will allow you to control <a href="https://www.vizio.com/smartcast-app">SmartCast</a> compatible TVs (2016+ models).</p>
<h2>Pairing</h2>
<p>Before adding TV to Home Assistant youll need to pair it manually, to do so follow these steps:</p>
<p>Install the command-line tool using pip (you can choose to download it manually):</p>
<p>Before adding your TV to Home Assistant youll need to pair it manually. To do so follow these steps:</p>
<p>Install the command-line tool using pip (or you can choose to download it manually):</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>pip3 install git+https://github.com/vkorn/pyvizio.git@master
<span class="gp">$ </span>pip3 install -I .
</code></pre>
</div>
<p>Make sure that your TV is on, as sometimes it wont show PIN code if it wasnt on during pairing initialization.
If you dont know IP address of your TV run following command:</p>
<p>Make sure that your TV is on before continuing.</p>
<p>If you dont know IP address of your TV run following command:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>pyvizio --ip<span class="o">=</span>0 --auth<span class="o">=</span>0 discover
</code></pre>
</div>
<p>Initiate pairing:</p>
<p>Enter the following command to initiate pairing:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>pyvizio --ip<span class="o">={</span>ip<span class="o">}</span> pair
</code></pre>
</div>
@ -102,7 +102,7 @@ If you dont know IP address of your TV run following command:</p>
<tbody>
<tr>
<td style="text-align: left">Challenge type</td>
<td style="text-align: left">Usually its should be <code class="highlighter-rouge">"1"</code>, if its not the case for you, use additional parameter <code class="highlighter-rouge">--ch_type=your_type</code> in the next step</td>
<td style="text-align: left">Usually it should be <code class="highlighter-rouge">"1"</code>. If not, use the additional parameter <code class="highlighter-rouge">--ch_type=your_type</code> in the next step</td>
</tr>
<tr>
<td style="text-align: left">Challenge token</td>
@ -110,13 +110,13 @@ If you dont know IP address of your TV run following command:</p>
</tr>
</tbody>
</table>
<p>Finally, at this point PIN code should be displayed at the top of your TV. With all these values, you can now finish pairing:</p>
<p>Finally, at this point a PIN code should be displayed at the top of your TV. With all these values, you can now finish pairing:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>pyvizio --ip<span class="o">={</span>ip<span class="o">}</span> pair_finish --token<span class="o">={</span>challenge_token<span class="o">}</span> --pin<span class="o">={</span>tv_pin<span class="o">}</span>
</code></pre>
</div>
<p>You will need authentication token returned by this command to configure Home Assistant.</p>
<p>You will need the authentication token returned by this command to configure Home Assistant.</p>
<h2>Configuration</h2>
<p>To add your Vizio TV to your installation, add following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<p>To add your Vizio TV to 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>
<span class="s">media_player</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">vizio</span>
@ -127,18 +127,19 @@ If you dont know IP address of your TV run following command:</p>
<p>Configuration variables:</p>
<ul>
<li><strong>host</strong> (<em>Required</em>): IP address of your TV.</li>
<li><strong>access_token</strong> (<em>Required</em>): Authentication token youve received in last step of the pairing process.</li>
<li><strong>access_token</strong> (<em>Required</em>): Authentication token you received in the last step of the pairing process.</li>
</ul>
<h2>Notes and limitations</h2>
<h3>Turning TV on</h3>
<p>If you do have <code class="highlighter-rouge">Power Mode</code> of your TV configured to be <code class="highlighter-rouge">Eco Mode</code>, turning device ON wont work.</p>
<p>If the <code class="highlighter-rouge">Power Mode</code> of your TV is set to <code class="highlighter-rouge">Eco Mode</code>, turning the device ON wont work.</p>
<h3>Changing tracks</h3>
<p>Changing tracks works like channels switching. If you have source other than regular TV it might end do nothing.</p>
<h3>Sources</h3>
<p>Source list shows all external devices connected to the TV through HDMI plus list of internal devices (TV mode, Chrome Cast, etc.).</p>
<p class="note">
Vizio SmartCast service is accessible through HTTPS with self-signed certificate. It means that if you have low LOGLEVEL in your Home Assistant configuration, youll see a lot of warnings like this <code class="highlighter-rouge">InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised.</code>
As an option, you could proxy all calls for example through NGINX.
Vizio SmartCast service is accessible through HTTPS with self-signed certificate. If you have low LOGLEVEL in your Home Assistant configuration, youll see a lot of warnings like this:
<code class="highlighter-rouge">InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised.</code>
You can adjust the log level for <code class="highlighter-rouge">media_player</code> components with the <a href="https://home-assistant.io/components/logger/">logger</a> component, or if you need to keep a low log level for <code class="highlighter-rouge">media_player</code> you could proxy calls to your TV through an NGINX reverse proxy.
</p>
</article>
</div>

View file

@ -134,13 +134,14 @@
<h3>Triggering actions</h3>
<p>In Home Assistant, we trigger actions based on intents produced by Snips using the <a href="/components/intent_script"><code class="highlighter-rouge">intent_script</code></a> component. For instance, the following block handles <code class="highlighter-rouge">ActivateLightColors</code> intents (included in the Snips IoT intent bundle) to change light colors:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">snips</span><span class="pi">:</span>
<span class="s">intents</span><span class="pi">:</span>
<span class="s">ActivateLightColor</span><span class="pi">:</span>
<span class="s">action</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">service</span><span class="pi">:</span> <span class="s">light.turn_on</span>
<span class="s">data_template</span><span class="pi">:</span>
<span class="s">entity_id</span><span class="pi">:</span> <span class="s">light.{{ objectLocation | replace(" ","_") }}</span>
<span class="s">color_name</span><span class="pi">:</span> <span class="pi">{{</span> <span class="nv">objectColor</span> <span class="pi">}}</span>
<span class="s">intent_script</span><span class="pi">:</span>
<span class="s">ActivateLightColor</span><span class="pi">:</span>
<span class="s">action</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">service</span><span class="pi">:</span> <span class="s">light.turn_on</span>
<span class="s">data_template</span><span class="pi">:</span>
<span class="s">entity_id</span><span class="pi">:</span> <span class="s">light.{{ objectLocation | replace(" ","_") }}</span>
<span class="s">color_name</span><span class="pi">:</span> <span class="pi">{{</span> <span class="nv">objectColor</span> <span class="pi">}}</span>
</code></pre>
</div>
</article>

View file

@ -3823,62 +3823,62 @@
</url>
<url>
<loc>https://home-assistant.io/demo/frontend.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/index.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
<lastmod>2017-08-02T10:19:46+00:00</lastmod>
<lastmod>2017-08-02T13:15:22+00:00</lastmod>
</url>
</urlset>