Add-on:Advanced Wake On Lan

From Official Kodi Wiki
Revision as of 03:26, 28 January 2012 by >NedBot (Addon-Bot Update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Advanced Wake On Lan
http://mirrors.xbmc.org/addons/eden-pre/script.advanced.wol/icon.png

See this add-on on the kodi.tv showcase

Author: mandark

Type: Program
Repo:

Summary: Wake up a sleeping computer using Wake-On-Lan
Home icon grey.png   ▶ Add-ons ▶ Advanced Wake On Lan

Sends a WOL magic packet to a remote computer using its ethernet MAC address and displays a notification if and when the computer is available.


The Addon can be launched manually from the Programs-section of XBMC (and thus added to your favourites, etc.), and can also be configured in the addon-settings to autostart with XBMC, thus waking up your remote computer when XBMC starts.


Additionally another command (e.g. activate a specific window) can be handed to the script as a parameter. It then launches that command either immediately or not until the remote computer is available. Behaviour can be set by a second parameter:
  - False: launch immediately (default)
  - True: wait for remote computer

As an example, you could add the following entry to your favourites.xml:
  "RunScript("script.advanced.wol",ActivateWindow(MyVideoLibrary),True)"
This would attempt to wake the remote computer configured in the "Advanced Wake On Lan"-Settings, wait until it is awake, and only then launch the XBMC-Video-Library.

This feature is especially useful, if you want to launch your remote computer, when entering a specific menu-item in XBMC.


You can also pass the Host/IP and MAC-Address of the Remote Computer to the script as the third parameter, bypassing the config in the addon-settings. E.g.:
  "RunScript("script.advanced.wol",,,my-server@50:E5:49:B5:61:34)"

This is useful, if you have more then one remote computer you want to wake independently.

Installing

This add-on is installed from the Add-on browser located in Kodi as follows:

  1. Settings
  2. Add-ons
  3. Install from repository
  4. Program Add-ons
  5. Advanced Wake On Lan
  6. Install