Site updated at 2016-09-11 01:34:03 UTC
This commit is contained in:
parent
99424b497c
commit
f143c60d71
311 changed files with 4596 additions and 1607 deletions
|
@ -89,12 +89,17 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The <code class="highlighter-rouge">OctoPrint</code> binary sensor platform let you monitor if your 3D printer is printing or if there was a printing error.</p>
|
||||
<p>The <code class="highlighter-rouge">octoprint</code> binary sensor platform let you monitor if your 3D printer is printing or if there was a printing error.</p>
|
||||
|
||||
<p class="note">
|
||||
You must have the <a href="/components/octoprint/">OctoPrint component</a> configured to use this sensor.
|
||||
</p>
|
||||
|
||||
<p>To set it up, add the following information to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">binary_sensor</span><span class="pi">:</span>
|
||||
<span class="s">platform</span><span class="pi">:</span> <span class="s">octoprint</span>
|
||||
<span class="s">name</span><span class="pi">:</span> <span class="s">OctoPrint</span>
|
||||
<span class="s">monitored_conditions</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">Printing</span>
|
||||
<span class="pi">-</span> <span class="s">Printing Error</span>
|
||||
|
@ -104,15 +109,15 @@
|
|||
<p>Configuration variables:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>name</strong> (<em>Optional</em>): The name of the sensor. Default is ‘OctoPrint’.</li>
|
||||
<li><strong>monitored_conditions</strong> array (<em>Required</em>): States to monitor.
|
||||
<ul>
|
||||
<li>Printing</li>
|
||||
<li>Printing Error</li>
|
||||
<li><strong>Printing</strong>: State of the printer.</li>
|
||||
<li><strong>Printing Error</strong>: Error while printing.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p class="note">You must have the <a href="/components/octoprint/">OctoPrint component</a> configured to use this sensor.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
@ -201,6 +206,9 @@
|
|||
<li>
|
||||
<a href='/components/binary_sensor.template/'>Template Binary Sensor</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/binary_sensor.trend/'>Trend Binary Sensor</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/binary_sensor.vera/'>Vera Binary Sensor</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue