[FREE / Open Source] WakeOnLan Extension

A Wake-on-Lan Extension for App Inventor 2 and its distros. Inspired by Simple Java Implementation of Wake-on-LAN

Block Description

BlocksDetailsParameters
OnSentRaised when magic packet is sent with WakeOnLanAsync method.
  • String macAddress: mac address of the host
  • String hostname: hostname or the ip address of the host
  • int port: the target port
  • String secureOnPassword: the SecureOn password that was sent
OnWoLErrorRaised when error occurred during WakeOnLanAsync.
  • String error: error message
  • String macAddress: mac address of the host
  • String hostname: hostname or the ip address of the host
  • int port: the target port
  • String secureOnPassword: the SecureOn password that was sent
GotOnlineStateRaised when online state is found.
  • boolean online: true if the host is online
  • String hostname: hostname or the ip address
OnGetOnlineStateErrorRaised when error occurred during GetOnlineState.
  • String error: error message
  • String hostname: hostname or the ip address
WakeOnLanAsyncWake On Lan asynchronously.
  • String macAddress: mac address of the host. The format could either beXX:XX:XX:XX:XX:XXorXX-XX-XX-XX-XX-XX
  • String hostname: hostname or the ip address of the host
  • int port: the target port (NOTE: commonly 9)
  • String secureOnPassword (optional): the SecureOn password. The format could either beXX:XX:XX:XX:XX:XX or XX-XX-XX-XX-XX-XX. No SecureOn password will be sent to the host if anempty stringis passed.
  • GetOnlineStateCheck if device is online (or awake).Note that this method no guarantee.
    • String hostname: hostname or the ip address
    • int timout: timeout in milliseconds (ms)

    Change log

    • v1.0.0 (): First release

    Testing

    WOL.aia

    Download

    You can download the extension file from Github https://github.com/watermelonoof/WakeOnLan/releases/

    Source Repo

    Below is the GitHub repo.
    https://github.com/watermelonoof/WakeOnLan/

    Comments