Site updated at 2016-11-20 00:07:41 UTC
This commit is contained in:
parent
a7a52701e5
commit
ce3dfe503b
311 changed files with 6273 additions and 1830 deletions
|
@ -93,7 +93,7 @@
|
|||
<p>The <code class="highlighter-rouge">wake_on_lan</code> (WOL) switch platform allows you to turn on a <a href="https://en.wikipedia.org/wiki/Wake-on-LAN">WOL</a> enabled computer.</p>
|
||||
|
||||
<p class="note warning">
|
||||
The WOL switch can only turn on your computer and monitor the state. There is no universal way to turn off a computer remotely.
|
||||
The WOL switch can only turn on your computer and monitor the state. There is no universal way to turn off a computer remotely. The <code class="highlighter-rouge">turn_off</code> variable is there to help you call a script when you have figured out how to remotely turn off your computer.
|
||||
</p>
|
||||
|
||||
<p>To enable this switch in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
|
@ -111,10 +111,10 @@ The WOL switch can only turn on your computer and monitor the state. There is no
|
|||
<li><strong>mac_address</strong> (<em>Required</em>): MAC address to send the wake up command to.</li>
|
||||
<li><strong>name</strong> (<em>Optional</em>): The name of the switch. Default is ‘Wake on LAN’.</li>
|
||||
<li><strong>host</strong> (<em>Optional</em>): The IP address or hostname to check the state of the device (on/off).</li>
|
||||
<li><strong>turn_off</strong> (<em>Optional</em>): Defines an <a href="/getting-started/automation/">action</a> to run when the switch is turned off.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue