Power Scheduler blocks sleep command while recording, but not for other criteria

Discussion in 'General Support' started by rsbrux, December 9, 2014.

  1. rsbrux
    • Team MediaPortal

    rsbrux Documentation Group

    Joined:
    April 15, 2007
    Messages:
    1,022
    Likes Received:
    67
    Ratings:
    +91 / 1
    Home Country:
    Switzerland Switzerland
    Show System Specs
    Perhaps this is intended, or perhaps it has always been this way, but I just noticed recently that, although Power Scheduler (correctly) blocks a "sleep" command (from remote) when recording is in progress, it doesn't seem to prevent such a command from taking effect when other blocking criteria are present, e.g.:
    • Applications running which are listed under "Processes which should prevent standby" (in TV Server Config.)
    • MP client is not running and "Only allow standby on home window" is checked. (in MP config)
    • Substantial network activity is taking place and "Do not put the computer to sleep while the network is active" is checked ( in TV Server Config),
    Is this the intended behaviour?



    I would expect / like these criteria to prevent sleep / standby / shutdown regardless of whether the command results from an idle timeout or from a remote command.
     
    Last edited: December 9, 2014
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. doveman

    doveman Portal Pro

    Joined:
    February 12, 2008
    Messages:
    2,326
    Likes Received:
    166
    Ratings:
    +182 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    My brother seems to be having trouble with this as well. He uses a Raspberry Pi to watch media stored on his PC, so I've set the PS network activity monitor to 50KB/s but from what he tells me, it was still going to sleep, or at least when he paused or finished watching something it would go to sleep almost instantly, so PS doesn't seem to be resetting the idle timeout when there's network activity.

    He's had to set Windows sleep timer to 2 hours to try and avoid the problem but then of course his PC doesn't go to sleep for ages when he'd actually like it to, so he'd like to set it to something like 20 minutes but have PS reset this timer when there's network activity. Maybe someone knows of some other utility that will do this?
     
  4. regeszter
    • Team MediaPortal

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,151 / 18
    Home Country:
    Hungary Hungary
    Why do not use the pingmonitor tab of the PS? It will ping the host and prevent the standby until it is online.
     
  5. rsbrux
    • Team MediaPortal

    rsbrux Documentation Group

    Joined:
    April 15, 2007
    Messages:
    1,022
    Likes Received:
    67
    Ratings:
    +91 / 1
    Home Country:
    Switzerland Switzerland
    Show System Specs
    @doveman
    I don't think we are talking about the same thing here. For me, Power Scheduler reliably prevents the HTPC from going to sleep spontaneously ("idle timeout" in my post above) when I don't want it to.

    I would expect the MCE Remote "Power Off" command (which is configured in Windows Power Management to sleep) to be handled in the same way. At least, while a recording is in progress, the remote "Power Off" command does not put the HTPC to sleep. I have attached debug logs of a simple case, where I issue the remote command while two applications which I have configured in Power Scheduler to prevent sleep are running, and one of them is performing an extensive copy over the network. As I understand it, any one of these three conditions alone should prevent sleeping, but in this case, the HTPC went to sleep when I issued the remote command, and had to be reawakened to complete the trace.
     
  6. doveman

    doveman Portal Pro

    Joined:
    February 12, 2008
    Messages:
    2,326
    Likes Received:
    166
    Ratings:
    +182 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    You mean ping the Raspberry Pi? That's pretty much always left on, so the PC would never sleep if he did that.[DOUBLEPOST=1418165947][/DOUBLEPOST]
    Ah sorry, yes I can see I misunderstood your post now on re-reading it. I'll start my own thread and stop cluttering up yours :)
     

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!