Site updated at 2017-08-09 06:14:16 UTC

This commit is contained in:
Travis CI 2017-08-09 06:14:17 +00:00
parent 89262c9107
commit 063b801cf1
29 changed files with 41 additions and 45 deletions

View file

@ -141,7 +141,7 @@ Turning the device on/off in the user interface will <em>not</em> turn the physi
<p><em>“This AirPlay connection requires iOS 7.1 or later, OS X 10.10 or later, or iTunes 11.2 or later.”</em></p>
<p>then device authentication is required. Press the icon in the upper left corner and select the leftmost icon according to the image below:</p>
<p><img src="/images/screenshots/developer-tools.png" /></p>
<p>Select <code class="highlighter-rouge">apple_tv</code> as domain, <code class="highlighter-rouge">apple_tv_authenticate</code> as service and enter <code class="highlighter-rouge"><span class="p">{</span><span class="err">'entity_id':</span><span class="w"> </span><span class="err">'XXX'</span><span class="p">}</span></code> into “Service Data”, but replace XXX with the entity id of your device (e.g. <code class="highlighter-rouge">media_player.apple_tv</code>). Press the button and hopefully you are presented with an input dialog asking for a pin code:</p>
<p>Select <code class="highlighter-rouge">apple_tv</code> as domain, <code class="highlighter-rouge">apple_tv_authenticate</code> as service and enter <code class="highlighter-rouge"><span class="p">{</span><span class="nt">"entity_id"</span><span class="p">:</span><span class="w"> </span><span class="s2">"XXX"</span><span class="p">}</span></code> into “Service Data”, but replace XXX with the entity id of your device (e.g. <code class="highlighter-rouge">media_player.apple_tv</code>). Press the button and hopefully you are presented with an input dialog asking for a pin code:</p>
<p><img src="/images/components/apple_tv/auth_start.jpg" /></p>
<p>If no dialog appears, go back to the states view and display it from there (press <code class="highlighter-rouge">CONFIGURE</code> as displayed in the image):</p>
<p><img src="/images/components/apple_tv/auth_pin.jpg" /></p>

View file

@ -110,6 +110,7 @@
<h3><a class="title-link" name="cpu-temperature" href="#cpu-temperature"></a> CPU temperature</h3>
<p>Thanks to the <a href="https://en.wikipedia.org/wiki/Procfs"><code class="highlighter-rouge">proc</code></a> file system, various details about a system can be retrieved. Here the CPU temperature is of interest. Add something similar 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">sensor</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">command_line</span>
<span class="s">name</span><span class="pi">:</span> <span class="s">CPU Temperature</span>
<span class="s">command</span><span class="pi">:</span> <span class="s2">"</span><span class="s">cat</span><span class="nv"> </span><span class="s">/sys/class/thermal/thermal_zone0/temp"</span>