mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
Wake on LAN: standardize spelling (#29597)
This commit is contained in:
parent
addca93404
commit
a8e9478a6e
@ -35,7 +35,7 @@ Available services: `send_magic_packet`.
|
|||||||
|
|
||||||
#### Service `wake_on_lan.send_magic_packet`
|
#### Service `wake_on_lan.send_magic_packet`
|
||||||
|
|
||||||
Send a _magic packet_ to wake up a device with 'Wake-On-LAN' capabilities.
|
Send a _magic packet_ to wake up a device with 'Wake on LAN' capabilities.
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
|---------------------------|----------|---------------------------------------------------------|
|
|---------------------------|----------|---------------------------------------------------------|
|
||||||
@ -52,13 +52,13 @@ Sample service data:
|
|||||||
```
|
```
|
||||||
|
|
||||||
<div class='note'>
|
<div class='note'>
|
||||||
This usually only works if the Target Device is connected to the same network. Routing the WakeOnLan packet to a different subnet requires a special configuration on your router or may not be possible.
|
This usually only works if the target device is connected to the same network. Routing the magic packet to a different subnet requires a special configuration on your router or may not be possible.
|
||||||
The Service to Route the packet is most likely named "IP Helper" which may support WakeOnLan, but not all Routers support this.
|
The service to route the packet is most likely named "IP Helper". It may support Wake on LAN, but not all routers support this.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Switch
|
## Switch
|
||||||
|
|
||||||
The `wake_on_lan` (WOL) switch platform allows you to turn on a [WOL](https://en.wikipedia.org/wiki/Wake-on-LAN) enabled computer.
|
The `wake_on_lan` (WOL) switch integration allows you to turn on a [WOL](https://en.wikipedia.org/wiki/Wake-on-LAN) enabled computer.
|
||||||
|
|
||||||
### Switch configuration
|
### Switch configuration
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ A switch defined with the `wake_on_lan` platform will render in the UI with both
|
|||||||
1. First, define a new helper button.
|
1. First, define a new helper button.
|
||||||
- Go to **{% my helpers title="Settings > Devices & Services > Helpers" %}** and select the **+ Create helper** button. Choose **Button** and give it a name. A button named "Wake PC" will render like this:
|
- Go to **{% my helpers title="Settings > Devices & Services > Helpers" %}** and select the **+ Create helper** button. Choose **Button** and give it a name. A button named "Wake PC" will render like this:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
2. Then, create a new automation. Go to **{% my automations title="Settings > Automations & scenes" %}** and select **+ Create Automation**.
|
2. Then, create a new automation. Go to **{% my automations title="Settings > Automations & scenes" %}** and select **+ Create Automation**.
|
||||||
- The trigger will be on `State` and the entity will be the button you created.
|
- The trigger will be on `State` and the entity will be the button you created.
|
||||||
@ -153,8 +153,8 @@ A switch defined with the `wake_on_lan` platform will render in the UI with both
|
|||||||
- input_button.wake_pc
|
- input_button.wake_pc
|
||||||
```
|
```
|
||||||
|
|
||||||
3. For the action, select **Call service** and choose **Wake on LAN: Send magic packet**.
|
3. For the action, select **Call service** and choose **Wake on LAN: Send magic packet**.
|
||||||
4. Type in the target MAC address.
|
4. Type in the target MAC address.
|
||||||
- Do not change the broadcast port unless you've configured your device to listen to a different port.
|
- Do not change the broadcast port unless you've configured your device to listen to a different port.
|
||||||
- Continuing our example, the action YAML looks like this:
|
- Continuing our example, the action YAML looks like this:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user