(2012-12-15, 17:48)brazen1 Wrote: Hi, new user here. This addon works perfect and wakes my server when I'm on my own network at home over wifi. When I go out of town and attempt to wake my server, it won't respond. At the moment, I'm connected to my neighbors wifi internet connection and trying to wake my server with no response. As soon as I connect to my own wifi, it responds. I have entered the mac of the server trying colons and hyphens. I have entered the ip of the server and not 192.168.1.X or the host name. When I launch AWOL, I get a message stating "Server is awake" and it shows the ip I assigned although it is not awake. I think the magic packet makes it to the router but doesn't continue to direct it specifically to the mac address of the server? This server is just a windows 7 pc. I have enabled 'respond to ping' setting in my router. I see the ports are forwarded for http using 80. Fwiw, I also have Plexbmc installed with it's wol feature enabled. It too works perfect at home but not remote. Any help would be greatly appreciated.
this is not really possible with this addon. WOL normally only works inside the LAN you are in. WOL sends a simple packet, which contains the MAC-address of the target computer to the broadcast-address of the current network. if a network card, which indeed has this MAC-address, receives it, it will know to wake up its host. if you submit the signal on your neighbour's network, it will have no effect, because it is only broadcasted inside this local network, and there is no network-card with the targeted MAC-address present.
btw: the IP-address does not have any function for a WOL signal (since it is broadcasted, and the network card of a sleeping host does not even have a IP-address yet). the IP you set in the AWOL-addon-settings is only to check the hostup-status via ping after sending the signal.
however, there may be other means to wake your PC from outside your network. if your router allowes this, it may be possible to access the interface of your router from the internet, and wake a host from there (which again will work, because the router is on the same network as the targeted host). another possiblility would be to send a magic packet (= WOL packet) to your router (via your external IP) and configure the router to either broadcast these packets, or forward the packet to the targeted host. either way the packet gets to its destination and wakes it up. there are tools floating around the internet, which allows the sending of WOL-signals over the internet, targetting a specific IP and port.
(2012-12-29, 02:37)gculley Wrote: I'm new to XBMC (actually coming back to it from MediaPortal now that the PVR seems to work well) and I'm trying to get WOL to invoke whenever I select the LiveTV menu option. I've been Googling quite a bit, but haven't found anything a novice can digest.
Does anyone have any suggestions of how I can do this? Do I need to modify the skin somewhere?
using my WOL-addon (be sure to configure it first in the addon settings), you can launch a command (e.g. open PVR window) right after sending the WOL signal. you can accomplish this e.g. by adding the following line to your favourites.xml (situated in your XBMC userdata folder):
<favourite name="MyPVR+WOL">RunScript("script.advanced.wol",ActivateWindow(MyPVR),False)</favourite>
now you should be able to see and launch this command in the favourites inside XBMC. the result should be the WOL-addon sending the signal and checking for its success, and at the same time PVR getting launched. (if you want to delay the launching of PVR to until the server is actually awake, you can set the last parameter to "True" instead of "False".)
now, if you want to get this behaviour into a main menu item (e.g. "LiveTV"), you could either mod the skin you are using, or use a skin, which allows the configuration of custom main menu items. i'm using "Aeon Nox" for this, which works very well. in its skin-specific settings you can disable the standard "LiveTV" main menu item, and then add a custom main menu item, link it to the "MyPVR+WOL" favourite you created, and name it "LiveTV" (or anything you like).
you could even add custom submenu items to it (Recordings, Timer, etc.), but you would have to perform the same procedure by first creating a favourite-entry like above, but with "ActivateWindow(MyPVR)" substituted with the correct command to e.g. go directly go to the recordings-screen.