[RELEASE] Wake-On-Lan (WOL) Script Addon

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
konan Offline
Senior Member
Posts: 102
Joined: Dec 2009
Reputation: 0
Location: Canada
Thumbs Up  [RELEASE] Wake-On-Lan (WOL) Script Addon Post: #1
A new Wake-On-Lan XBMC script dd-on is available for download from here. I have submitted it into the official XBMC add-on repository but can not tell when it becomes available.
find quote
Flomaster Offline
Posting Freak
Posts: 1,293
Joined: Jun 2010
Reputation: 6
Location: East Texas
Post: #2
Quick question for the noobs.

how would we take advantage of this assuming we had the HTPC set up to wake on lan, how does one go about waking it from with in the network after the addon has been configured with Mac Address of said "remote" computer in lan?

-=Jason=-
find quote
vdrfan Offline
Team-XBMC Developer
Posts: 2,787
Joined: Jan 2008
Reputation: 7
Location: Germany
Post: #3
Hm, no need to script there actually. XBMC comes with a built-in command for sending the magic packet.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2010-09-22 23:08 by vdrfan.)
find quote
konan Offline
Senior Member
Posts: 102
Joined: Dec 2009
Reputation: 0
Location: Canada
Smile    Post: #4
Flomaster Wrote:Quick question for the noobs.

how would we take advantage of this assuming we had the HTPC set up to wake on lan, how does one go about waking it from with in the network after the addon has been configured with Mac Address of said "remote" computer in lan?

-=Jason=-

The add-on allows you to wake another computer from inside XBMC. Presumably that is your media server that is usually headless, located in some remote place, like a rack in a basement, and goes to sleep automatically when not in use.

You don't need to wake your XBMC machine remotely as you can easily wake it up with the remote press when you are in front of the TV. At least this is the case that the add-on was created for.
find quote
konan Offline
Senior Member
Posts: 102
Joined: Dec 2009
Reputation: 0
Location: Canada
Smile    Post: #5
vdrfan Wrote:Hm, no need to script there actually. XBMC comes with a built-in command for sending the magic packet.

You need a script to execute even a built-in command. Also an add-on has much friendlier UI with configuration and allows using it even by those who don't know what the hack is "a built-in command". Try to explain it to your wife or kids.
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #6
konan Wrote:You need a script to execute even a built-in command. Also an add-on has much friendlier UI with configuration and allows using it even by those who don't know what the hack is "a built-in command". Try to explain it to your wife or kids.

Presumably you could map the built in wake on lan to a button on the remote ...

JR
find quote
mandark Offline
Member
Posts: 80
Joined: Jun 2009
Reputation: 3
Post: #7
i have used the WOL-script for a while, but i was missing the notification of the success or failure of waking-attempt. additionally i'd also like to launch the remote-PC when accessing a certain favourite or (custom) menu-item. so i took things into my own hand and created a version 2.0.0 of the WOL-addon.

here are the changes:
Code:
- Added verification of wakeup-command by pinging remote computer
- Added on-screen-notifications during verification (waiting for answer, answer received or error)
- Added setting for IP or Host-Address (used for ping)
- Added setting for timeout (used for ping)
- Added possibility to provide 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:
  - False: launch immediately (default)
  - True: wait for remote computer
- Added german language
- Changed wakeup-method to the built in XBMC-command WakeOnLan()
- Changed Addon-Icon

and here a screenshot:
[Image: 24muj47.jpg]

download mirrors:
http://www.share.cx/files/353363771680/s...0.zip.html
http://www.megaupload.com/?d=IMZ9TKXR

@konan: i hope you don't mind, if i "hijack" your addon. :o
feel free to integrate my changes to sourceforge and/or submit an updated version to the XBMC-addon-repository!
(This post was last modified: 2010-12-09 17:14 by mandark.)
find quote
robothunter Offline
Junior Member
Posts: 17
Joined: Jun 2009
Reputation: 0
Post: #8
I've been fooling around with this addon trying to get it to work. I have an HTPC in my living room full of hard drives. I have enabled SMB but I keep it in sleep mode. I now have an HTPC in my bedroom. Since all my media is on my living room htpc I want it to wake when I turn on my bedroom htpc. Both htpc's are running Windows 7

I installed the Wake On LAN addon but I'm having trouble configuring it. I tried entering the living room pc MAC address with "-" and when that didn't work ":" between the numbers and it's not working. I am assuming that with this addon enabled it automatically sends the magic packet when XBMC loads. I loaded a program called "WOL Magic Packet Sender" and was able to wake with that. That program requires the network location and the MAC address of the computer to send the magic packet too. Is there a format I should be using in the addon to get the IP and MAC in the configuration?
find quote
mandark Offline
Member
Posts: 80
Joined: Jun 2009
Reputation: 3
Post: #9
robothunter Wrote:I installed the Wake On LAN addon but I'm having trouble configuring it. I tried entering the living room pc MAC address with "-" and when that didn't work ":" between the numbers and it's not working.
using ":" would be right.

robothunter Wrote:I am assuming that with this addon enabled it automatically sends the magic packet when XBMC loads.
that is not the case. the magic packet is sent, when the addon is launched from your programs section of XBMC. from there you can e.g. add it to your favourites and launch it from there.

there might also be a way to let the WOL-addon get launched on XBMC-startup, but i don't know how.
find quote
robothunter Offline
Junior Member
Posts: 17
Joined: Jun 2009
Reputation: 0
Thumbs Up    Post: #10
Thank you. That's what I needed to know. It works now.
find quote
Post Reply