2012-01-26, 23:49
The Addon "Advanced Wake On Lan" allows you to wake up a sleeping computer by sending a WOL magic packet using its ethernet MAC address. It displays a notification if and when the computer is available, or an error message, if the computer did not wake up during a configurable timeout.
Feature Overview:
Usage Details:
Download:
Feature Overview:
- send a WOL wakeup-packet via the XBMC-builtin-command "WakeOnLan",
- tries to verify the success of the wake-up-command by pinging the remote computer,
- displays on-screen-notifications during verification of wake-up-command (waiting for answer, answer received or error),
- can be launched manually or configured to autostart with XBMC,
- can initiate (music- and/or video-) library-updates on successful wakeup when used with autostart
- can also send wake-up-signal after XBMC itself has come out of standby/suspend/sleep
- can be provided with another XBMC-command as a parameter, which will then be launched either immediately or not until the remote computer is available (behaviour can be set by a second parameter)
- can be provided with MAC-address and hostname/IP of remote computer as a script-parameter (instead of using the addon-settings) - this way you can wake multiple remote computers independently with e.g. different favourite-entries.
- can be configured to send continuous WOL-packets with a configurable delay.
Usage Details:
- First, enter the addon-settings and configure the MAC-address of the remote-computer (e.g. "50:E5:49:B5:61:34") AND it's hostname or IP-address (by which it can be pinged from the computer running XBMC).
- PLEASE NOTE: It seems, that the hostup-check via ping only works, when XBMC is run with root- (on Linux) or administrator- (on Windows) -rights. You will get an error message, if this is not the case. As an alternative, you can You can disable the hostup-check via ping in the Addon's "Advanced Settings", and instead set a timespan, after which the addon should assume, that the server has awoken. The actual waking-up should not be affected by this and should also work with non root- or administrator-rights.
- The Addon can be launched manually from the Programs-section of XBMC (and thus added to your favourites, as home-menu-items, etc.), and can also be configured in the addon-settings to autostart with XBMC, thus waking up your remote computer when XBMC starts. Enabling Autostart also enables some further possibilities like automatically starting library updates after a successful wake-up, or performing a wake-up after XBMC itself has come after standby.
PLEASE NOTE: If Autostart is enabled, a socket-error can occur, stating that the network is not ready yet. This can be the case, if XBMC starts, when the operating system has not yet initialized the network. In this case, you can set a delay for the WOL-signal in the "Autostart"-section of the Addon-settings.
- 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:
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. If the last parameter is set to "False" (or omitted), the script would start the wake-up-process and simultaneously enter the video library without waiting for the remote computer to successfully wake up.Code:RunScript("script.advanced.wol",ActivateWindow(MyVideoLibrary),True)
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, and thus bypassing the config in the addon-settings. Example:
Code: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. For example, you can put several such lines in your favourites.xml and wake every remote computer independently from there.
- 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 computer 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.
- at least XBMC version 11.0 Eden
- This Addon should work on all platforms.
Download:
- The Addon is available via the official XBMC Addon-Repository (in the Program Add-ons-Section)