[RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server (/showthread.php?tid=121142) |
RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - mandark - 2013-01-31 (2013-01-20, 06:30)anarchoi Wrote: it would be awesome if this addon could send WOL packet when opening a media from a specific share. (2013-01-28, 20:58)jerndl Wrote: What I would like to be able to do is have the ATV XBMC clients send the WOL to the server whenever they start to play a video.this feature (Wake-on-Access) is already being worked on and about to be implemented directly into the XBMC-core (see this thread). the most AWOL can do, is to send the WOL signal, when a specific main menu item (e.g. "movies" or "tvshows") is pressed. see this post for an example. (2013-01-21, 18:18)IssacBinary Wrote: I let XBMC sit on its loading screen for about a minute, then at 16:10 I sent a magic packet manually from my phone to wake the server. It then procedded to load XBMC once the server was on.so, if i get this right, XBMC totally hangs on launch and only continues after the server is awake? i doubt, that AWOL is the cause of this. could you please try verifying this by completely disabling the AWOL-addon and trying again? i assume, that this line could be the cause of your problem: Code: ERROR: Unable to open database: MyVideos75 [2003](Can't connect to MySQL server on '192.168.0.195' (60)) (2013-01-21, 16:51)keisuji Wrote: HTPC Win 7x64 Pro, xbmc frodo RC3, aeon mq4i have Win 7x64 Pro and frodo final and everything is working fine on my machine. is "Activate wake-on-launch" is enabled in the addons "Autostart"-settings? could you please post the xbmc.log of the startup of XBMC? RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - keisuji - 2013-01-31 (2013-01-31, 01:58)mandark Wrote:(2013-01-20, 06:30)anarchoi Wrote: it would be awesome if this addon could send WOL packet when opening a media from a specific share.(2013-01-28, 20:58)jerndl Wrote: What I would like to be able to do is have the ATV XBMC clients send the WOL to the server whenever they start to play a video.this feature (Wake-on-Access) is already being worked on and about to be implemented directly into the XBMC-core (see this thread). the most AWOL can do, is to send the WOL signal, when a specific main menu item (e.g. "movies" or "tvshows") is pressed. see this post for an example. Here is the log from my boot. I can start the nas per hand later the plugin gets executed http://pastebin.com/6RBKh728 RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - IssacBinary - 2013-02-04 mandark... You are EXACTLY right. The server is set to standby, and because XBMC cant seem to connect it never fully loads, and thus AWOL is not running. However, Not that long ago, before I upgraded and had a play with some different things. AWOL was working perfectly in this setting. The server was asleep. I would open XBMC, AWOL would SEND a magic packet. XBMC would continue to hang and then once the server was woken by the sent packet XBMC would finish loading and all be well. It worked perfectly. If the server was OFF then it would not work and XBMC would hang for ever (unless I turned server on). But it ALWAYS would send the magic packet. XBMC would not block it from running just because it couldnt connect to the server. So im not sure why or what has made this change. I really dont want to have to downgrade all my setup to Eden as it means remaking the MYSQL setup etc. But I guess if I have to then I will. But as far as I remember everything was exactly the same. I just cant remember what the last build was that it was working on. A Frodo or Eden build. hmm RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - mandark - 2013-02-04 @IssacBinary my guess would be, that XBMC devs have changed the booting sequence, so that the MYSQL-server is contacted before AWOL (and presumably other service-addons) are started. since i cannot really influence what XBMC is doing during launch, and when it starts the AWOL-script, i cannot really help you with this problem. sorry. RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - cw-kid - 2013-02-06 Hi I just installed this add-on and have a question if I may, "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." My HP Microserver takes 1 minute 25 seconds to resume from hibernation, I can only select 60 or 120 seconds in the add-on settings can I change this some how? Also not directly related but I just setup MySql on the server following this guide here for central bookmarks, watched / unwatched status etc, this is working. But I have just noticed on my Linux HTPC running XBMC Frodo, that if the WHS 2011 server is in hibernation, the Linux HTPC on boot up gets stuck on the XBMC Frodo logo and does not open the XBMC GUI. This does not happen if the WHS 2011 server is already up and running, any tips regarding this? What I was hoping would be the case is say the WHS server is in hibernation, I then turn on an XBMC PC, it loads in to XBMC, the WOL add-in sends a packet to wake up the WHS, I wait a minute or so and can then continue and start playing content. This does not happen, as XBMC doesnt even load in to the GUI if it can't see the MySql server. What would you recommend ? Many thanks RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - cw-kid - 2013-02-06 (2013-01-21, 18:18)IssacBinary Wrote: Sorry for the late reply. This sounds like the same problem I have just discovered. Did you find a work around ? Thanks RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - rayfitzharris - 2013-02-07 Same problem here I think, ATV2 Running Eden mysql server hosted on hp microserver, microserver running openmediavault, I can wake it successfully by sending a magic packet from my phone or other machines on the network. However eden hangs when i launch it from the atv2, if its not already awake. It seems the AWOL script never gets to run if xbmc can't connect to the mysql db when it's launched. I think It will eventually launch by using a local db.. but it takes forever From the log we get: 17:19:24 T:90726400 NOTICE: ----------------------------------------------------------------------- 17:19:24 T:90726400 NOTICE: Starting XBMC (11.0 Gittable-linusyang), Platform: Darwin iOS (10.4.0 AppleTV2,1, Version 4.2.1 (Build 8C154)). Built on Jun 22 2012 17:19:24 T:90726400 NOTICE: special://xbmc/ is mapped to: /Applications/XBMC.frappliance/XBMCData/XBMCHome 17:19:24 T:90726400 NOTICE: special://xbmcbin/ is mapped to: /Applications/XBMC.frappliance/XBMCData/XBMCHome 17:19:24 T:90726400 NOTICE: special://masterprofile/ is mapped to: /var/mobile/Library/Preferences/XBMC/userdata 17:19:24 T:90726400 NOTICE: special://home/ is mapped to: /var/mobile/Library/Preferences/XBMC 17:19:24 T:90726400 NOTICE: special://temp/ is mapped to: /var/mobile/Library/Preferences/XBMC/temp 17:19:24 T:90726400 NOTICE: special://frameworks/ is mapped to: /Applications/XBMC.frappliance/Frameworks 17:19:24 T:90726400 NOTICE: The executable running is: /Applications/XBMC.frappliance/XBMC 17:19:24 T:90726400 NOTICE: Local hostname: Apple-TV 17:19:24 T:90726400 NOTICE: Log File is located: /var/mobile/Library/Preferences/xbmc.log 17:19:24 T:90726400 NOTICE: ----------------------------------------------------------------------- ... 17:19:27 T:90726400 INFO: load new skin... 17:19:27 T:90726400 INFO: Loading skin file: Home.xml 17:20:42 T:90726400 ERROR: Unable to open database: MyVideos60 [2003](Can't connect to MySQL server on '192.168.1.2' (60)) 17:21:57 T:90726400 ERROR: Unable to open database: MyVideos59 [2003](Can't connect to MySQL server on '192.168.1.2' (60)) 17:23:12 T:90726400 ERROR: Unable to open database: MyVideos58 [2003](Can't connect to MySQL server on '192.168.1.2' (60)) etc.. It definitely seems that the awol script never gets to run in this case. so next question, is it possible to get it to run when xbmc is launched? is there a start up script that is run, or any other way to get a startup script to be run? RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - TRaSH - 2013-02-09 shouldn't this add-on also update the video/music library when the server is active ? i already had my server up and running, started XBMC and it activates the WOL and there's a short library scan but it doesn't see my new added files. when i force/manually do a update library it does find the newly added stuff DEBUG LOG RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - johnmerrick - 2013-02-19 I have this addon to wake my server on startup (always works fine) and then scan the video and music libraries. When it scans these does it send extra individual Wake commands before each scan? The reason I ask is because since installing Aeon Nox i get repeated commands being sent and have put it down to the above setting. It can't be the skin causing this can it? RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - mandark - 2013-02-19 (2013-02-19, 14:44)johnmerrick Wrote: I have this addon to wake my server on startup (always works fine) and then scan the video and music libraries. When it scans these does it send extra individual Wake commands before each scan?do you have "continuous WOL-signals" activated in the add-ons advanced settings? RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - johnmerrick - 2013-02-19 No it's definitely disabled. I did think it was that at first. Something isn't right though because I can't get xbmc to close by itself in the systm power settings. RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - mandark - 2013-02-19 (2013-02-19, 15:52)johnmerrick Wrote: No it's definitely disabled. I did think it was that at first. Something isn't right though because I can't get xbmc to close by itself in the systm power settings.how do you know that additional WOL-signals are being sent? RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - IssacBinary - 2013-02-19 (2013-02-06, 18:19)cw-kid Wrote: This sounds like the same problem I have just discovered. Did you find a work around ? No I haven't. Sorry. But it DID use to work 100% every time. But I think that's before I did all upgrading so it must have been Eden? RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - johnmerrick - 2013-02-19 (2013-02-19, 16:16)mandark Wrote:(2013-02-19, 15:52)johnmerrick Wrote: No it's definitely disabled. I did think it was that at first. Something isn't right though because I can't get xbmc to close by itself in the systm power settings.how do you know that additional WOL-signals are being sent? the notification keeps popping up! It never did that previously. Just when XBMC starts. RE: [RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server - mandark - 2013-02-19 (2013-02-19, 18:27)johnmerrick Wrote: the notification keeps popping up!which notification do you mean exactly? also: could you please post your xbmc.log file which documents this behaviour? |