Site updated at 2017-05-21 18:14:21 UTC
This commit is contained in:
parent
0f9bbc6985
commit
8b8dbecd7c
25 changed files with 39 additions and 39 deletions
|
@ -66,7 +66,7 @@
|
|||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
<p>The <code class="highlighter-rouge">file</code> sensor platform reading the entries from a plain-text file and shows the found value. Only the last line of the file is used. This is similar to do <code class="highlighter-rouge">$ tail -n 1 sensor.txt</code> on the command-line.</p>
|
||||
<p>The <code class="highlighter-rouge">file</code> sensor platform reads the entries from a plain-text file and shows the found value. Only the last line of the file is used. This is similar to do <code class="highlighter-rouge">$ tail -n 1 sensor.txt</code> on the command-line.</p>
|
||||
<p>To enable the <code class="highlighter-rouge">file</code> sensor, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue