step 3: Test Send magic packet via Developer Tools panel
The service dev tool allows you to call any available service in Home Assistant.Go to Developer Tools → Services. wake_on_lan is the domain, with only one service for wake-on-lan : wake_on_lan.send_magic_packet
Wake on LAN: Send magic packet
service: wake_on_lan.send_magic_packet
data: {}
run ok
Next,add mac address of your pc
service: wake_on_lan.send_magic_packet
data:
mac: aa:bb:cc:dd:ee:ff
broadcast_address: 192.168.0.255
broadcast_port: 9
http://192.168.2.50:38123/developer-tools/serviceexample
source:
https://community.home-assistant.io/t/wake-on-lan-not-doing-anything/197533/8?u=mslyOhter
Mac
ping the broadcast address for the subnet, and wait
ping -b 255.255.255.255 -i5 -c3
look at the arp table
cat /proc/net/arp
source:
https://community.home-assistant.io/t/wake-on-lan-config-flow/294800