A few more documentation updates.

This commit is contained in:
2022-06-12 18:32:15 -07:00
parent 38f367b47a
commit ec15e96dbf
2 changed files with 8 additions and 5 deletions

View File

@@ -82,9 +82,9 @@ Alternatively, on Linux, you can try using the IP `172.17.0.1`.
### Home Assistant
If you happen to be using Home Assistant, here's how you might request
wake-on-lan of a remote server via wake-on-lan-service. This example is of an
automation action in your Home Assistant configuration:
If you happen to be using Home Assistant in Docker, here's how you might
request wake-on-lan of a remote server via wake-on-lan-service. This example
is of an automation action in your Home Assistant configuration:
```
automation:
@@ -94,9 +94,12 @@ automation:
- service: shell_command.wake_my_server
shell_command:
wake_my_server: "echo 00:00:0a:bb:28:fc | nc -N host.docker.internal 18888"
wake_my_server: "echo 00:00:0a:bb:28:fc | nc host.docker.internal 18888"
```
(Home Assistant's Docker image includes netcat from busybox instead of OpenBSD
netcat, so omit the `-N` flag.)
## Security