by Pete Glass
Version 6 (May 5, 2019)
Download (2,069 downloads)
Use this flow for sending WOL commands both inside and outside of a firewall. Flow detects whether or not you are connected to your primary network then wakes your computer accordingly. Update the "is wifi connected" object to contain the info of your primary network.
If you are connected to your primary network, the flow wakes the computer on a LAN by sending a broadcast to the subnet. Off the YES branch of the "is wifi connected" object... Update WOL flow object to contain the ip of your subnet (will be the same as the local ip address of your computer except ending in zero, usually 192.168.0.0 or 192.168.1.0 or 10.0.0.0) and the MAC address of the computer to wake. Also make sure the correct port, usually 7 or 9, is set in the wake on LAN object in the flow.
If you are not connected to your home network the flow adds your MAC address to your remote router's ARP table and wakes computer on a LAN by sending a broadcast. Off the NO branch of the "is wifi connected" object... Update the shell command object to contain your router password (replace the word password in the existing command), your target computer's local ip and MAC address, and your router's WAN ip address or dynamic dns host name (free from places like noip.com assuming your router supports it). Needs telnet enabled on router. Update WOL flow object to contain your router's WAN ip address or dynamic dns host name and the MAC address of the computer to wake (make sure the letters in the MAC address are capitalized). Also make sure the correct port, usually 7 or 9, is set in the wake on LAN object in the flow.
In addition, make sure wake on lan is enabled in the network adapter's properties in the device manager and in the bios (if applicable) of the target computer and make sure the correct port, usually 7 or 9, is forwarded in the router to the target computer's ip address.
Flow can be used with a widget if desired. Custom icons for automate widgets are available at www.iconspedia.com assuming you are using an automate flow beginnings shortcut style widget and have a custom android launcher like GoLauncher or an app like Icon Changer from the app store that allows you to change shortcut icons.
Note: Requires BusyBox for telnet commands.
* * * Created by Pete Glass * * *
Rate and review within the app in the Community section.