PowerScheduler++ 1.4.0.x - Stable versions for MediaPortal 1.4 | Page 4

Discussion in 'TV-Server Plugins' started by michael_t, April 16, 2011.

  1. polarie
    • Team MediaPortal

    polarie Retired Team Member

    Joined:
    November 20, 2006
    Messages:
    1,252
    Likes Received:
    140
    Gender:
    Male
    Occupation:
    self-employed
    Location:
    Hasloh (near Hamburg)
    Ratings:
    +147 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    would say it depends on what you want the PC to be done.

    @ WinXP different possibilitys - pressing the power-button for (don't know on W7):

    standby -
    or hibernate -
    or off.

    i am not 100% sure - but could be that PS++ uses those settings.



    regards
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. revs
    • Premium Supporter

    revs MP Donator

    Joined:
    February 1, 2007
    Messages:
    1,274
    Likes Received:
    72
    Occupation:
    Software Developer
    Location:
    The Sauce of Worcester
    Ratings:
    +72 / 0
    Home Country:
    Wales Wales
    Re: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    It seems to work without me having to change them, so thats good :)



    However during my testing I did come across some logic I don't agree with/could be improved, and am interested in other peoples opinion -

    To begin with I set my sleep timer to 30 minutes. I then went and set the network monitor, as I didn't want the machine to sleep when I was downloading something.

    This however did not work as I expected.

    What I expected: After 30min of the machine being idle, just before going to sleep it would check network activity, and if there was any, then it would not sleep.

    What happens: If during those 30min, at any point, if there is network activity over the threshold set, then the 30 min timer is reset. So at 30min my machine was never sleeping, as there was always a spike at some point that was resetting the timer and pushign the sleep time 30 min forward.

    At 15 min however things seem to be working ok.


    Would this logic be better: Just before sleep, the system checks network activity, if the network activity is above the threshold then the system refrains from sleeping. The system then checks every X seconds, and once the network activity has ended, then the system will sleep. User activity would of course reset the 30min timer

    Just an idea, probably some flaws in my logic! I guess the short version is 'Wait for network activity to end before sleeping'
     
  4. polarie
    • Team MediaPortal

    polarie Retired Team Member

    Joined:
    November 20, 2006
    Messages:
    1,252
    Likes Received:
    140
    Gender:
    Male
    Occupation:
    self-employed
    Location:
    Hasloh (near Hamburg)
    Ratings:
    +147 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    hmm both have pros and contras ...

    for me - your solution setting the timer down to 15 minutes would be ok :D

    question is - what logic is more flex?
    (working logic for more users?)

    regards
     
  5. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Re: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    Maybe a stupid question, but how to let the PC go to hibernate (standby?) on Windows 7 automatically after 10 minutes?
    I have configured Windows in energy management to go to standby after 10 minutes, but I think PowerScheduler is preventing the system to do that.
    I don't like to use this feature of PS++, because the PC just goes to standby when I'm busy with another app and have MP running in the background!

    With ForTheRecord this was all much easier.. It has much better power management.
     
  6. michael_t

    michael_t Portal Pro

    Joined:
    November 30, 2008
    Messages:
    1,258
    Likes Received:
    580
    Ratings:
    +813 / 2
    Home Country:
    Germany Germany
    Show System Specs
    AW: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    Hi revs,

    from PS++'s functionality I see problems in implementing your proposal. Let me explain why:

    PS(++)'s basic logic is to check for activities/conditions (here: network activity) that should prevent system standby and telling Windows that the sytem must not go to standby, if it finds any. Depending on your configuration there are two cases:
    • If you have not checked the "PS++ forces system to standby..." option, PS++ leaves the whole standby logic to Windows (idle timeout, sleep mode, ...) and just tells Windows if there is something that prevents standby. This has to be done before Windows decides to go to standby, because a standby once initiated cannot be cancelled. So network activity has to be checked permanently by PS++ to prevent standby reliably.
    • If you have checked the "PS++ forces system to standby..." option, PS++ itself will force standby after the time configured ("Stadby after"). In this case it would be possible for PS++ to check for network activity before starting the suspend sequence. But nevertheless Windows could decide to go to standby, so this would not be reliable either (and would mean a different logic for the two configurations, which would make PS++ even more complicated to understand...).

    What can you do?
    As polarie proposed, the easiest way is to reduce the timeout to some lower value and maybe adapt your network activity threshold. If you are not using the "PS++ forces system to standby..." option (which I recommend unless you have problems with drivers permanently preventing standby), you could also try to disable PS++'s network monitor at all and see if Windows alone handles network activity satisfactory for your needs.

    Michael

    PS:
    :D to polarie for his substantiated support for PS++ related problems in this thread. Since it is not easy to answer all the questions elaborately in an adequate time, this is a welcome help for me (especially since I have been on holiday the last weeks and could not access the forum).

    Hi Dragy,

    I do not really understand your problem: On the one hand you say that PS++ prevents the system from going to standby after 10 minutes (as configured in Windows), on the other hand you say that your PC goes to standby when you are working on it. The latter lets me assume, that you have not selected the "Desktop" profile in PS++ configuration. Please do so and if you still encounter problems, send me logs.

    Michael
     
  7. Angeldust

    Angeldust Portal Member

    Joined:
    October 29, 2006
    Messages:
    44
    Likes Received:
    0
    Ratings:
    +0 / 0
    AW: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    Hi,
    I have setup a new MP one-seat HTPC.
    I installed the PS++ 1.1.3 and can enable and configure it on the client config, but it is not listed in the TV Server config.
    The TV Server config shows me within the "plugins" section the PowerScheduler 1.0.0 which is the default one I think.
    I reinstalled PS++ already with the same appearance.

    Is there anything I can do?

    regards,
    Michael
     
  8. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Re: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    On the one hand, I had checked the "PS++ forces system to go to standby" option and on the other hand I have disabled that option.

    Now I have not checked the "PS++ forces system to go to standby" option, nor any other function that can prevent standby, so Windows must be able to put the system to standby in my case, but it just won't go to standby automatically anymore with MP TVServer installed instead of ForTheRecord. So, TVServer or PS is the prohibiting factor I suppose..

    I had selected HTPC and disabled the "PS++ forces system to go to standby" option afterwards. I will test now with the Desktop configuration and see if it is different now.
     
  9. michael_t

    michael_t Portal Pro

    Joined:
    November 30, 2008
    Messages:
    1,258
    Likes Received:
    580
    Ratings:
    +813 / 2
    Home Country:
    Germany Germany
    Show System Specs
    AW: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    If you have problems installing the PS++ server, you should manually stop the tvservice before installing PS++.

    Michae
     
  10. agillett

    agillett New Member

    Joined:
    July 10, 2011
    Messages:
    4
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Re: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    Hi,

    I've just done a fresh install of Vista, MP 1.1.3 and PS++ 1.1.3.0. My problem is that PS++ puts my system to sleep after 5 minutes when I'm listening to Music. It's fine with Videos and TV. I often like to have music playing for hours at a time, but I can't do this when PS++ is set to put the system in standby.

    The attached log shows my system from bootup, starting mediaportal, selecting music to play and going to sleep 5after 5 minutes. It seems PS++ doesn't detect when MP is playing music.

    Andrew
     
  11. michael_t

    michael_t Portal Pro

    Joined:
    November 30, 2008
    Messages:
    1,258
    Likes Received:
    580
    Ratings:
    +813 / 2
    Home Country:
    Germany Germany
    Show System Specs
    AW: Re: PowerScheduler++ 1.1.3.0 - Stable version for MediaPortal 1.1.3

    Hi Andrew,

    it seems that you have not enabled the PowerScheduler++ client plugin (at least from the provided server logs I cannot see that the MP client is running, which should be the case when the client plugin is enabled). So check this and if the problem is still there then send full logs.

    Michael
     

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!