XBMC will be renamed to Kodi for v14. Read here for more details

Add-on:Advanced Wake On Lan

From Kodi
Jump to: navigation, search

Advanced Wake On Lan
Author: mandark

Type: Program
Version: 1.2.5
Repo: XBMC.org (v12)
XBMC.org (v11)

Summary: Wake up a sleeping device (e.g. NAS, Server, etc.) using Wake-On-Lan
  Add-ons Advanced Wake On Lan

Sends a WOL magic packet to a remote device using its ethernet MAC address and displays a notification if and when the device 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 device when XBMC starts.
There is also a setting that will also send a wake-up signal, if XBMC comes out from standby/sleep/suspend.



When autostarted with XBMC you can also set the addon to update the video- and/or music-libraries automatically after a successful wake-up.
You can also set up a delay for the library scans. This is needed, if the filesystem needs some further time to get ready after a successful wake-up.



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 device is available. Behaviour can be set by a second parameter:
  - False: launch immediately (default)
  - True: wait for remote device

As an example, you could add the following entry to your favourites.xml:
  "RunScript(&quot;script.advanced.wol&quot;,ActivateWindow(MyVideoLibrary),True)"
This would attempt to wake the remote device 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 device, when entering a specific menu-item in XBMC.



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

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



In the advanced settings you can also set the addon to continue sending WOL packets with a configurable delay.
This is useful, when the remote device or NAS is kept awake, as long as WOL-packets are received.
Normally the continuous WOL-packets will also continue after XBMC has returned from standby/sleep/suspend, but there is an option to turn this behaviour off.



If for any reason the check of a successful wake-up via ping is not possible or fails on your system, please note the following:
  - XBMC must be run as Administrator on Windows / with root rights on Linux for ping-based host-up checks to work.
  - If this is not possible or it still fails, you can disable ping-based host-up checks in the advanced addon-settings.
    This allows you to set a fixed timespan, after which the addon just assumes, that the remote host is awake (to display success-notifies, launch other commands, etc.).

Installing

To install this add-on you must do so from the Add-on manager from within XBMC by going to:

  1. Settings
  2. Add-ons
  3. Get add-ons
  4. XBMC.org Add-ons
  5. Program Add-ons
  6. Advanced Wake On Lan
  7. Install
Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox
{"cc_re__cc_re__cc_by_sa_3_0": ["is revision of the page\">Permanent link</a></li>\n\t\t</ul>\n\t</div>\n</div>\n\n<!-- /TOOLBOX -->\n\n<!-- LANGUAGES -->\n\n<!-- /LANGUAGES -->\n\t\t\t</div>\n\t\t<!-- /panel -->\n\t\t<!-- footer -->\n\t\t<div id=\"footer\">\n\t\t\t\t\t\t\t<ul id=\"footer-info\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-info-lastmod\"> This page was last modified on 12 November 2013, at 04:10.</li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-info-viewcount\">This page has been accessed 10,698 times.</li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-info-copyright\">Text on this page is available under <a class=\"external\" href=\"http://creativecommons.org/licenses/by-sa/3.0/\">Attribution-ShareAlike 3.0 Unported</a>. Images and video may be under a different copyright.</li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t<ul id=\"footer-places\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-privacy\"><a href=\"/view/Kodi:Privacy_policy\" title=\"Kodi:Privacy policy\">Privacy policy</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-about\"><a href=\"/view/Kodi:About\" title=\"Kodi:About\">About Kodi</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-disclaimer\"><a href=\"/view/Kodi:General_disclaimer\" title=\"Kodi:General disclaimer\">Di", " id=\"footer-places\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-privacy\"><a href=\"/view/Kodi:Privacy_policy\" title=\"Kodi:Privacy policy\">Privacy policy</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-about\"><a href=\"/view/Kodi:About\" title=\"Kodi:About\">About Kodi</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-disclaimer\"><a href=\"/view/Kodi:General_disclaimer\" title=\"Kodi:General disclaimer\">Disclaimers</a></li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\t\t<ul id=\"footer-icons\" class=\"noprint\">\n\t\t\t\t\t<li id=\"footer-copyrightico\">\n\t\t\t\t\t\t<a href=\"http://creativecommons.org/licenses/by-sa/3.0/\"><img src=\"http://i.creativecommons.org/l/by-sa/3.0/88x31.png\" alt=\"Attribution-ShareAlike 3.0 Unported\" width=\"88\" height=\"31\" /></a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li id=\"footer-poweredbyico\">\n\t\t\t\t\t\t<a href=\"//www.mediawiki.org/\"><img src=\"/skins/common/images/poweredby_mediawiki_88x31.png\" alt=\"Powered by MediaWiki\" width=\"88\" height=\"31\" /></a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t\t\t\t<div style=\"clear:both\"></div>\n\t\t</div>\n\t\t<!-- /footer -->\n\t\t<script src=\"http://kodi.wiki/load.php?debug=false&amp;lang=en&amp;modules=s"], "copyright__copyright__copyright": ["", "advanced addon-settings.\n\u00a0\u00a0\u00a0\u00a0This allows you to set a fixed timespan, after which the addon just assumes, that the remote host is awake (to display success-notifies, launch other commands, etc.).\n\nInstalling\n\nTo install this add-on you must do so from the Add-on manager from within XBMC by going to:\n\n  1. Settings\n  2. Add-ons\n  3. Get add-ons\n  4. XBMC.org Add-ons\n  5. Program Add-ons\n  6. Advanced Wake On Lan\n  7. Install\nPersonal tools\nNamespaces\n\nVariants\nActions\nNavigation\nWiki help\nToolbox", "advanced addon-settings.\n\u00a0\u00a0\u00a0\u00a0This allows you to set a fixed timespan, after which the addon just assumes, that the remote host is awake (to display success-notifies, launch other commands, etc.).\n\nInstalling\n\nTo install this add-on you must do so from the Add-on manager from within XBMC by going to:\n\n  1. Settings\n  2. Add-ons\n  3. Get add-ons\n  4. XBMC.org Add-ons\n  5. Program Add-ons\n  6. Advanced Wake On Lan\n  7. Install\nPersonal tools\nNamespaces\n\nVariants\nActions\nNavigation\nWiki help\nToolbox", "advanced addon-settings.\n\u00a0\u00a0\u00a0\u00a0This allows you to set a fixed timespan, after which the addon just assumes, that the remote host is awake (to display success-notifies, launch other commands, etc.).\n\nInstalling\n\nTo install this add-on you must do so from the Add-on manager from within XBMC by going to:\n\n  1. Settings\n  2. Add-ons\n  3. Get add-ons\n  4. XBMC.org Add-ons\n  5. Program Add-ons\n  6. Advanced Wake On Lan\n  7. Install\nPersonal tools\nNamespaces\n\nVariants\nActions\nNavigation\nWiki help\nToolbox"]}