[Plugin] WOL-PowerManager | Page 5

Discussion in 'MediaPortal 1 Plugins' started by seppi2204, October 1, 2012.

  1. TiboTv

    TiboTv Portal Pro

    Joined:
    June 22, 2009
    Messages:
    244
    Likes Received:
    29
    Ratings:
    +38 / 2
    Home Country:
    Belgium Belgium
    Show System Specs
    Hi,

    First of all : Thank you for this great plugin!

    I made first test and I've got a problem with the plugin :

    First, I set up a computer with wol functionality and tested the wake up with external software : Everything works like I want : a ping can't wake up the computer, a wol message is needed and the computer wakes up from hibernate mode. This is what I want for my future "energy saving" TVServer.
    Then, I tried using your plugin :
    I configured the plugin to wake up a server when entering into musicplaylist view (no sense do to this, it's only for testing).
    Show Spoiler
    2013-06-20 07:09:53.940827 [Info.][MPMain(1)]: WOLPowerManager: Settings.Load()
    2013-06-20 07:09:53.941827 [Info.][MPMain(1)]: WOLPowerManager: ManualWOL = True
    2013-06-20 07:09:53.942827 [Info.][MPMain(1)]: WOLPowerManager: RemoteButton = ACTION_REMOTE_BLUE_BUTTON
    2013-06-20 07:09:53.942827 [Info.][MPMain(1)]: WOLPowerManager: WaitTime = 40
    2013-06-20 07:09:53.942827 [Info.][MPMain(1)]: WOLPowerManager: UseIpInsteadDNSname = True
    2013-06-20 07:09:53.943828 [Info.][MPMain(1)]: WOLPowerManager: Port = 7
    2013-06-20 07:09:53.943828 [Info.][MPMain(1)]: WOLPowerManager: IntervalCheck = True
    2013-06-20 07:09:53.943828 [Info.][MPMain(1)]: WOLPowerManager: IntervalTime = 30
    2013-06-20 07:09:53.943828 [Info.][MPMain(1)]: WOLPowerManager: ServersCount = 1
    2013-06-20 07:09:53.944828 [Info.][MPMain(1)]: WOLPowerManager: PluginsCount = 1
    2013-06-20 07:09:53.944828 [Info.][MPMain(1)]: WOLPowerManager: Servers = System.String[,]
    2013-06-20 07:09:53.944828 [Info.][MPMain(1)]: WOLPowerManager: Plugins = System.String[,]

    When I entering into musicplaylist view, I got a message "WOL sent to TVServer2 and than a message "Waiting answer from TVServer2...". The computer wakes up and after a while (about 25sec to wake up the computer) the message "Waiting answer from TVServer2..." disappears but musicplaylist view is never show! After that, no way to get any view! MP is blocked!

    Some log entries are strange :

    2013-06-20 07:11:12.361313 [Debug][MPMain(1)]: DNS Error: Le nom demandé est valide, mais aucune donnée du type requise n’a été trouvée
    2013-06-20 07:11:14.912459 [Info.][MPMain(1)]: Ping can't be executed! It's blocked by a firewall or a network connection isn't available. Error: Une exception s'est produite lors d'une demande PING.
    2013-06-20 07:10:17.018147 [Debug][MPMain(1)]: Broadcast address for server TVServer2 is: 192.168.1.255



    I tried using "IP instead of DNS name" option activated and not but the result is the same. Windows firewall is off on both computers (client and server) and ping via DOS cmd works fine on 192.168.1.113.

    And seems that this command fails :

    2013-06-20 07:10:57.053437 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->MediaPortal.GUI.Music.GUIMusicPlayList:500

    I guess that this command must show back (unroute) musicplaylist view when wake up is ended.

    Hereby you'll find the complete log (end of the log is cut because I need to kill mp to get Windows back)

    Thank you for help!
     
    Last edited: June 20, 2013
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. dir
    • Premium Supporter

    dir MP Donator

    Joined:
    August 30, 2006
    Messages:
    408
    Likes Received:
    32
    Gender:
    Male
    Ratings:
    +40 / 0
    Home Country:
    Afghanistan Afghanistan
    Show System Specs
    I might be mis-interpreting the description of this plugin, but the first post says,
    However, upon reading the wiki, the only mention of turning it into standby is:
    So does WOL-PowerManager actually turn the PC into standby? The way I read it, it doesn't - you're simply including general instructions to remind people how to configure their PC to do this outside of the plugin.

    If that;s the case, can I suggest you remove "and turn it into standby when it will not be used." from the first post/wiki so you don't mislead anyone? I may be the only person so far, but I believed that the plugin would do exactly that and spent quite some time configuring things expecting it would. I am already completely familiar with how the OS (W7 in my case) does power management (hibernate, sleep, power off, etc.) but was looking for a plugin that explicitly controls when the server powers down.
     
    Last edited: June 27, 2013
    • Like Like x 1
    • Agree Agree x 1
  4. CypherMK
    • Team MediaPortal

    CypherMK Test Group

    Joined:
    March 11, 2009
    Messages:
    1,735
    Likes Received:
    297
    Gender:
    Male
    Ratings:
    +617 / 3
    Home Country:
    Netherlands Netherlands
    Show System Specs
    • Agree Agree x 1
  5. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,746
    Likes Received:
    1,420
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,849 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Agree, only referencing 'waking up server' would be better. Don't need to mention putting back to sleep.
     
  6. dir
    • Premium Supporter

    dir MP Donator

    Joined:
    August 30, 2006
    Messages:
    408
    Likes Received:
    32
    Gender:
    Male
    Ratings:
    +40 / 0
    Home Country:
    Afghanistan Afghanistan
    Show System Specs
    Actually, no, those aren't options that I can see - I'm specifically looking to "awake your network storage if needed and turn it into standby when it will not be used.".

    PowerScheduler/++ only works on the local machine, so you have to have MP running on your media server as well as your home theatre PC, which I don't want to do.
     
  7. CypherMK
    • Team MediaPortal

    CypherMK Test Group

    Joined:
    March 11, 2009
    Messages:
    1,735
    Likes Received:
    297
    Gender:
    Male
    Ratings:
    +617 / 3
    Home Country:
    Netherlands Netherlands
    Show System Specs
    But your server doesn't power down by itself? Mine does without any plugins installed. And it only goes into standby when Mediaportal isn't using my shares.
     
  8. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,746
    Likes Received:
    1,420
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,849 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    3 Methods to wake storage

    1. WOL-Power Manager via magic packet, any target
    2. MP Config, TV settings, magic packet (This also has function of keeping tv-server awake while MePo is running), target is only tv-server pc.
    3. Enable pattern match (different to magic packet) in network card settings, then if you use IP address for network sharing it will awake when it gets pinged, any target.

    2 Methods to sleep

    1. Windows sleep settings (Powerscheduler/PS++ don't actually do anything to make the PC sleep, they only *stop* it from sleeping)
    2. PS++ with force sleep mode
    ^ both these methods don't require MP client.

    There is no "not used event", there is only the absent of "stay awake events". what usually triggers sleep is the operating systems sleep timer. if you PC stays awake eg. due to SRVNET file sharing etc, then you can use something like PS++ to force sleep. TV-Server or powerscheuleder/PS++ plugin don't actually put the PC to sleep.
     
    Last edited: June 27, 2013
  9. seppi2204

    seppi2204 Portal Pro

    Joined:
    December 8, 2010
    Messages:
    103
    Likes Received:
    28
    Location:
    Stuttgart
    Ratings:
    +29 / 0
    Home Country:
    Germany Germany
    Show System Specs

    Hi TiboTv,
    Have you already tried it with another window plugin? Until now no one has reported such an issue.
    For me it doesn't looks like a plugin-related issue. As the log shows that the plugin tries to change back to MyMusicPlaylist.

    Seppi
     
  10. TiboTv

    TiboTv Portal Pro

    Joined:
    June 22, 2009
    Messages:
    244
    Likes Received:
    29
    Ratings:
    +38 / 2
    Home Country:
    Belgium Belgium
    Show System Specs
    Hi,
    Thank you for answering.
    I haven't try with another window plugin yet. I was thinking that this issue comes from the plugin, I'll will try this evening with an other plugin. I'm using Titan skin, I'll also give a try with default skin.

    Can you explain me when these errors raises : 2013-06-20 07:11:12.361313 [Debug][MPMain(1)]: DNS Error: Le nom demandé est valide, mais aucune donnée du type requise n’a été trouvée
    2013-06-20 07:11:14.912459 [Info.][MPMain(1)]: Ping can't be executed! It's blocked by a firewall or a network connection isn't available. Error: Une exception s'est produite lors d'une demande PING.
     
  11. Luca Brasi
    • Premium Supporter

    Luca Brasi MP Donator

    Joined:
    November 14, 2007
    Messages:
    1,025
    Likes Received:
    79
    Gender:
    Male
    Ratings:
    +118 / 1
    Home Country:
    Germany Germany
    Show System Specs
    Just a sidenote/thought: There is a way for kicking a remote machine into sleep or whatever via WOL_Powermanager.
    You can setup a batch calling PsShutdown (and other more advanced tools like lightsout) which will handle the rest.
    I had it running like that with lightsout. Wouldn't recommend using this for a remote machine running tv-server though.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!