home-assistant.io/source/_components/switch.wake_on_lan.markdown
2016-04-30 16:39:56 +02:00

1.0 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_release
page Wake on LAN Switch Instructions how to integrate a wake on lan switch. 2016-03-18 18:00 true false true true ethernet.png Switch 0.16

The wake_on_lan (WOL) switch platform allows you to turn on a WOL enabled computer.

The WOL switch can only turn on your computer and monitor the state. There is no universal way to turn off a computer remotely.

To enable this switch in your installation, add the following to your configuration.yaml file:

# Example configuration.yml entry
switch:
  platform: wake_on_lan
  mac_address: "00-01-02-03-04-05"
  name: "WOL"
  host: "192.168.1.1"

Configuration variables:

  • mac_address (Required): MAC address to send the wake up command to.
  • 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).