PowerScheduler++ test versions (2 Viewers)

fmulders

MP Donator
  • Premium Supporter
  • June 3, 2009
    99
    14
    51
    Home Country
    Netherlands Netherlands
    Re: AW: [New Plugin] PowerScheduler++ (New Version 1.1.1.5)

    Tom,

    You could try MST-tool. Slick Solutions - Downloads
    It is a brilliant tool to solve standby issues. It is original ment for Windows Media Center, but it can also configure power management for any Windows system.
    So download, run but do not install! You only need to run it once:)

    You can easy activate a sleep state and a lot of other things.
    It worked for me:cool:

    Greetings Frank
     

    tom78

    Portal Pro
    August 10, 2007
    149
    5
    Home Country
    Germany Germany
    AW: [New Plugin] PowerScheduler++ (New Version 1.1.1.5)

    Hello Frank.

    Thanks for your hint, i'll try the MCE Standby Tool the next few days.

    Bye
    Tom
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    AW: [New Plugin] PowerScheduler++ (New Version 1.1.1.5)

    Ich habe bzgl. des Mechanismus für den Wakeup eigentlich nichts gegenüber dem Original-PowerScheduler geändert. :confused: Du könntest es aber mit dem Original-PowerScheduler einmal versuchen, ob Dein Rechner dann aufwacht. Das würde dann zumindest klären, ob es an Deinem Rechner oder an PS++ liegt...

    Michael
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    Re: [New Plugin] PowerScheduler++ (New Version 1.1.1.6)

    Great work going on here, but can we please stick to English in this forum?
    If there is a need for language specific support, rather open such a thread in the appropriate forum.

    :D
     

    Wbunaarf

    Portal Pro
    December 9, 2005
    534
    103
    Sweden
    Home Country
    Sweden Sweden
    Re: AW: [New Plugin] PowerScheduler++ (New Version 1.1.1.5)

    first of all many thanks for your efforts and your support detecting the remaining bugs in PS++!:D I am sorry that I could not respond earlier, but I had lots of other things to do this week. So let's have a look at your last post:

    The prospect of a wife and daughter proof HTPC is a great motivator... :)

    This leads to a small feature request: Would it be possible to add the feature to only allow sleep if the mp gui is running? As it is, with the frontend shut down I need to start one of the configuration tools to prevent suspend.
    I will be thinking about that; indeed it is very annoying when the system is suspending right under your fingers while you want to fix something... BTW: That would not happen if the system was configured to let windows do the suspend... ;)

    Excellent!

    Actually, the system probably would suspend even if letting Windows handle it. It's not too uncommon that I'm in the middle of something when I have to run off and rescue something from destruction leaving the computer 'idle' in a way... Doing something on a client for a while, with no active use of the network, would also result in the server being suspended when needed. Iow, if the machine is in any other state than idle on home screen I don't want it to sleep.

    Exactly that is my problem: finding a way how to exit away mode by program. I found another hint in a Microsoft paper (calling SetThreadExecutionState(ES_SYSTEM_REQUIRED) should also exit away mode), but that didn't work either, probably because PS++ is running as a service. I have still one idea to try out, but had found no time so far...

    Perhaps it could be handled by the client part of ps? Then again, that would be somewhat of an kludge I suppose...

    Have you seen https://forum.team-mediaportal.com/...-hibernates-even-when-recording-active-88988/ and the changes made in WebSVN - MediaPortal - Rev 26613 - / ?

    And one last question: Maybe I oversaw it, but I am wondering why you added the logs :confused: Could you please explain their background?

    Sure. The reason I added them was that after updating to 1.1.5a I still had the problem with the server not suspending after client activity. However, after your reply I had a closer look and found out that the files related to TV-server hadn't been updated. After rectifying (by manually extracting and copying the files from the mpi) this the problem was solved.

    //Johannes
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    AW: [New Plugin] PowerScheduler++ (New Version 1.1.1.6)

    Actually, the system probably would suspend even if letting Windows handle it. It's not too uncommon that I'm in the middle of something when I have to run off and rescue something from destruction leaving the computer 'idle' in a way... Doing something on a client for a while, with no active use of the network, would also result in the server being suspended when needed. Iow, if the machine is in any other state than idle on home screen I don't want it to sleep.
    I thought a lot about the problem but could not find a solution. The point is: How does the system know reliably that you are doing something (administrative work, updates, ...) and want to keep it up?
    Perhaps it could be handled by the client part of ps? Then again, that would be somewhat of an kludge I suppose...
    Maybe this could be a way... I have to think about it.
    Have you seen 0001092: VISTA: Power-Off button on remote hibernates even when recording is active and the changes made in WebSVN - MediaPortal - Rev 26613 - / ?
    Thank you for the hint! After having a first look at the code I would estimate it as a very first step, but it is a beginning... The biggest problem IMHO is that AwayModeRequired is set always when a suspend should be prevented; there is no distinction if away mode is really needed (tv recording, remote streaming) or not (EPG grabbing, local streaming, process running, ...).
    I will try to get in contact with MrHipp, maybe we can bring our things together...

    Michael
     

    fmulders

    MP Donator
  • Premium Supporter
  • June 3, 2009
    99
    14
    51
    Home Country
    Netherlands Netherlands
    Re: AW: [New Plugin] PowerScheduler++ (New Version 1.1.1.6)

    Actually, the system probably would suspend even if letting Windows handle it. It's not too uncommon that I'm in the middle of something when I have to run off and rescue something from destruction leaving the computer 'idle' in a way... Doing something on a client for a while, with no active use of the network, would also result in the server being suspended when needed. Iow, if the machine is in any other state than idle on home screen I don't want it to sleep.
    I thought a lot about the problem but could not find a solution. The point is: How does the system know reliably that you are doing something (administrative work, updates, ...) and want to keep it up?
    Michael,

    Please have a look at the MST tool for MCE. This tool is monitoring the idle state of the PC by checking the last user input.
    You can see it wil reset the idle time even when you use the mouse.
    I think Herman (developer of MST) is kind enough to give you a hind how he managed that.
    Slick Solutions - MCE Standby Tool

    Good luck

    By the way did I mention that I love your Powerschedular++ already:D
     

    toga67

    Portal Pro
    October 15, 2010
    181
    11
    Home Country
    Germany Germany
    Re: [New Plugin] PowerScheduler++ (New Version 1.1.1.6)

    Hello Michael,
    thanks a lot for your great work. I am quiete new in MediaPortal and till now i have not understand the PowwerScheduler completely. In most cases my PC does not wake up. It seems to me that the PC only wakes up for a scheduling if i go into standby via MediaPortal menu. But that is not very good because i often do some work on the pc and afterwards i only push the power button or the off button on the remote to go into standby.
    With Windows 7 media center this works always great because it uses the windows implemented "task manager". The task manager makes sure that the pc wakes up at the correct time and the recording can start. Why don´t you use this windows functionality? This would give us the most flexibility.

    Thomas
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    AW: [New Plugin] PowerScheduler++ (New Version 1.1.1.6)

    fmulders
    This tool is monitoring the idle state of the PC by checking the last user input.
    The same is done in PowerScheduler++. But since the PS++ server is running as a system service, user activities cannot be recognized (at least not with vista / win7). Thus there is no user activity detection in PS++ when the client is not running, which is often the case when doing some administrative work. And user activity detection would not cover the case that you are going away from the server machine for a while e.g. to have a look at a client and in the meantime the server suspends...

    By the way did I mention that I love your Powerschedular++ already
    Thank you very much!:D

    toga67
    In most cases my PC does not wake up. It seems to me that the PC only wakes up for a scheduling if i go into standby via MediaPortal menu.
    That is correct; a PC can only wakeup if it is not switched off (Power off) but in sleep or hibernate mode (or in hybrid sleep mode which is a combination of the both).
    But that is not very good because i often do some work on the pc and afterwards i only push the power button or the off button on the remote to go into standby.
    That should be the same, if you have configured energy settings so, that the power button brings the machine to sleep mode (or hibernate or hybrid sleep). To be sure what is going on, you can send me tv server logs (scenario: program a recording and then press the power button / remote off button).

    Michael
     

    toga67

    Portal Pro
    October 15, 2010
    181
    11
    Home Country
    Germany Germany
    Re: [New Plugin] PowerScheduler++ (New Version 1.1.1.6)

    Hello michael,
    sorry, the name "task manager" was wrong. i meant the "task scheduler" (Aufgabenplaner). Why does Powerscheduler do not use this windows "tool"?
    just to clarify i configured my pc so that it will go into standby if i push the power button or remote control. It is clear for me that the pc cannot wake up if it is switched off.

    I have a question for my understanding. I have a single seat installation of MediaPortal on my htpc. When i scheduled some recordings and exit MediaPortal client and do some other work and afterwards i go directly from windows 7 start menu into standby. Will the PC wake up for the recordings? My PC is not doing that.
    I remeber that i have read in another thread that you always have to go into standby via the MediaPortal menu. And if you like going into standy from the windows start menu then you have to use third pary software like GMPS because GMPS uses the windows task scheduler to wake up windows from standby. I wonder why this cannot be implemented directly into powerscheduler?

    Kind Regards,

    Thomas
     

    Users who are viewing this thread

    Top Bottom