mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
add wake on lan page
This commit is contained in:
parent
1756a779f0
commit
3a7cb29fc1
35
source/_components/switch.wake_on_lan.markdown
Normal file
35
source/_components/switch.wake_on_lan.markdown
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "Wake on LAN"
|
||||||
|
description: "Instructions how to integrate a wake on lan switch."
|
||||||
|
date: 2016-03-18 18:00
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: ethernet.png
|
||||||
|
ha_category: Switch
|
||||||
|
---
|
||||||
|
|
||||||
|
The `wake_on_lan` (WOL) switch allows you to turn on a [WOL](https://en.wikipedia.org/wiki/Wake-on-LAN) enabled computer.
|
||||||
|
|
||||||
|
<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.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
To enable this switch in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yml entry
|
||||||
|
switch:
|
||||||
|
platform: wake_on_lan
|
||||||
|
name: "WOL"
|
||||||
|
host: "192.168.1.1"
|
||||||
|
mac_address: "00-01-02-03-04-05"
|
||||||
|
```
|
||||||
|
|
||||||
|
Configuration variables:
|
||||||
|
|
||||||
|
- **name** (*Optional*): The name of the switch. Default is 'Wake on LAN'.
|
||||||
|
- **host** (*Optional*): The IP address or hostname to check the state of the device (on/off).
|
||||||
|
- **mac_address** (*Required*): MAC address to send the wake up command to.
|
BIN
source/images/supported_brands/ethernet.png
Normal file
BIN
source/images/supported_brands/ethernet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 635 B |
Loading…
x
Reference in New Issue
Block a user