PowerScheduler++ 1.4.0.x - Stable versions for MediaPortal 1.4 (1 Viewer)

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    We should tr ynot to mix up various problems. The original point was that your system did not go to sleep by Windows. I think that this is covered by the first the first part of the logs. I also see no reason why your system is not going to sleep all alone when it is idle. But you should examine this because otherwise we will do hard in analysing PS++. So I would recommend to set the PS++ server plugin to Plug&Play mode (only to get clean Windows power settings), then deactivate PS++ server plugin (or tvservice) and not run MP client and not run anything else in the network (I often noticed open shares in the logs). Your system should then go to sleep after the configured idle time (do not set it too long for testing;)). If this is working we can proceed to step 2; if not you have to do a deeper examination what is wrong. Step 2: Deactivate EPG grabbing (only to be sure it does not hold up sleep), activate PS++ (Plug&Play mode) and wait. Should be the same as before - system goes to sleep after the idle time.

    Michael

    I fixed my problem by installing MCE Standby Tool. I'm not 100% certain what the problem was but when I installed MCE Standby Tool it said that Sleep was disabled, even though it was enabled in control panel and in PS++ After fixing the problem I was able to uninstall MCE-ST.
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    This cannot happen unless you have setup your pc that it goes to hibernate when you press the on/off button on your remote control. You definitively have to map all user actions to sleep mode (S3), then a power off will not goto standby when a recording is active.

    One question: What does happen when I press on/off on my remote and there is a recording scheduled in 5 or 10 minutes, will it send my machine to standby?
    The reason I ask is that I think that if there will be a recording within the next 10 minutes I do not want my machine go to standby. So my feature request would be to be able to configure this time frame.
    Your system will go to sleep or hibernate (depends on what is configured). To shorten the debate: I think that a user action (here: Power off) should be respected unless you have to prevent a damage that cannot be made good again. And this is only the case if you switch off during (and not before) an active recording. Then you will go to away mode instead of sleep mode when pressing on/off (provided your on/off button is mapped to sleep).

    Michael
     

    Coolhand70

    Portal Pro
    January 27, 2012
    96
    1
    Bayern
    Home Country
    Germany Germany
    Hi michael_t



    I have a problem and it´s seeming, that no other has the same problem :)

    On Saturday I moved to MePo 1.3.0.0 and PS++ 1.3.0.0. All looks fine, but:

    If I start the MePo client, the computer doesn´t go to standby.

    It doesn´t matter what I configure in MCE Standby Tool and PS++ .

    Once I close the client, the computer goes to standby.



    Manually standby via remote control (when client is aktiv) is possible, but after wakeup from standby the computer never goes to standby.



    powercfg -request shows nothing.



    I have only changed the TV-card (old Hauppauge HVR-2200 MC, new Digital Devices Cine CT V6 & DuoFlex CT) and the HDDs (old WD eco green 3TB, new 2 WD AV-GP 3TB).



    Do you have any idea, what is wrong in my config?



    Best regards

    Markus 'coolhand70'



    PS: If I describe my problem in a to bad english, I can send you via german PM :)

    Please send logs of the situation - and don't use things like MCE Standby Tool;)



    Michael
    Hi Michael

    1st I have removed the MCE Standby Tool, set PS++ to Plug&Play (to initialize the settings).

    Then I have PS++ configured, that Windows has the control for standby. "Only standby when MePo client is activ" is set.
    I started the 1st debug run. After 10 minutes the machine was still activ (5 Min to standby is defined)

    For the 2nd debug run I have configured, that PS++ has the control for standby and the flag "Only standby when MePo client is activ" is removed.
    I started the 2nd run and after 15 min the machine was still activ.
    5 min after the creation of the 2nd log (the client was not activ) the machine has gone to sleep!!

    Pls find attached the 2 log files.

    Best regards
    Markus
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    1st I have removed the MCE Standby Tool, set PS++ to Plug&Play (to initialize the settings).

    Then I have PS++ configured, that Windows has the control for standby. "Only standby when MePo client is activ" is set.
    I started the 1st debug run. After 10 minutes the machine was still activ (5 Min to standby is defined)
    From the logs I can see that there is continuous user input that prevents the system from going to sleep mode. Did you press keys, use your remote or mouse while waiting for the system to sleep?

    Michael
     
    Last edited:

    Coolhand70

    Portal Pro
    January 27, 2012
    96
    1
    Bayern
    Home Country
    Germany Germany
    1st I have removed the MCE Standby Tool, set PS++ to Plug&Play (to initialize the settings).

    Then I have PS++ configured, that Windows has the control for standby. "Only standby when MePo client is activ" is set.
    I started the 1st debug run. After 10 minutes the machine was still activ (5 Min to standby is defined)
    From the logs I can see that there is continuous user input that prevents the system from going to sleep mode. Did you press keys, use your remote or mouse while waiting for the system to sleep?

    Michael
    No. I´ve done nothing during the tests.

    MST has a counter who shows the time since the last user input.
    The counter was never higher than 3 seconds (as MST was installed). :)

    For testing (at the weekend) I´ve removed the mouse and the keyboard.
    Nothing has changed. The counter resets after max. 3 seconds.

    Cheers
    Markus
     

    Coolhand70

    Portal Pro
    January 27, 2012
    96
    1
    Bayern
    Home Country
    Germany Germany
    I think: the user input can´t be generated by mouse or keybord.
    a) the user input interrupts the standby only if the MePo client is active
    b) if the client is not running, the unit goes into standby after 5 minutes, even though I work with mouse and keyboard
    (Yesterday, the machine went into standby while I wrote a mail)
     

    Coolhand70

    Portal Pro
    January 27, 2012
    96
    1
    Bayern
    Home Country
    Germany Germany
    I found something in the tvserver_tv.log in the second log.zip.

    013-04-02 19:38:42.001307 [PS StandbyWakeup(15)]: PS: System is idle and may go to standby
    2013-04-02 19:38:42.004308 [PS StandbyWakeup(15)]: PS: Active standby is enabled - go to standby after idle timeout at 19:43:34
    2013-04-02 19:38:49.790753 [(5)]: PS: RegisterRemote tag: 3, uris: http://localhost:31458/a4c43fb1_1042_4bd2_87d8_88db7b2b371b/esbqe7ppdywanyfbo2ka_ss2_1.rem, http://localhost:31458/a4c43fb1_1042_4bd2_87d8_88db7b2b371b/esbqe7ppdywanyfbo2ka_ss2_1.rem
    2013-04-02 19:38:49.800754 [(5)]: PS: Set time of last user activity to 19:38:49
    2013-04-02 19:38:57.009166 [PS StandbyWakeup(15)]: PS: StandbyWakeupThread triggered by check interval
    2013-04-02 19:38:57.019166 [PS StandbyWakeup(15)]: PS: LoadSettings()
    2013-04-02 19:38:57.033167 [PS StandbyWakeup(15)]: PS: SetWakeupTimer()
    2013-04-02 19:38:57.037167 [PS StandbyWakeup(15)]: PS: Inspecting PowerController:
    2013-04-02 19:38:57.073169 [PS StandbyWakeup(15)]: PS: Inspecting Scheduled Recordings: 02.04.2013 20:05:00
    2013-04-02 19:38:57.077170 [PS StandbyWakeup(15)]: PS: Inspecting XmlTvImport:
    2013-04-02 19:38:57.082170 [PS StandbyWakeup(15)]: PS: Inspecting EPG Grabbing: 03.04.2013 05:55:00
    2013-04-02 19:38:57.093171 [PS StandbyWakeup(15)]: PS: Inspecting Client Plugin:
    2013-04-02 19:38:57.108171 [PS StandbyWakeup(15)]: PS: Set wakeup timer to wakeup system at 02.04.2013 20:04:00
    2013-04-02 19:38:57.112172 [PS StandbyWakeup(15)]: PS: CheckForStandby()
    2013-04-02 19:38:57.116172 [PS StandbyWakeup(15)]: PS: Inspecting PowerController:
    2013-04-02 19:38:57.121172 [PS StandbyWakeup(15)]: PS: Inspecting Remote Client:
    2013-04-02 19:38:57.126173 [PS StandbyWakeup(15)]: PS: Inspecting Active Streams:
    2013-04-02 19:38:57.130173 [PS StandbyWakeup(15)]: PS: Inspecting TV Controller:
    2013-04-02 19:38:57.134173 [PS StandbyWakeup(15)]: PS: Inspecting Processes:
    2013-04-02 19:38:57.138173 [PS StandbyWakeup(15)]: PS: Inspecting Active Network:
    2013-04-02 19:38:57.143173 [PS StandbyWakeup(15)]: PS: Inspecting Active Shares:
    2013-04-02 19:38:57.161175 [PS StandbyWakeup(15)]: PS: Inspecting Client Plugin:
    2013-04-02 19:38:57.166175 [PS StandbyWakeup(15)]: PS: Check whether the next event is almost due
    2013-04-02 19:38:57.170175 [PS StandbyWakeup(15)]: PS: Check if standby is allowed at this moment
    2013-04-02 19:38:57.174175 [PS StandbyWakeup(15)]: PS: SetStandbyMode(StandbyAllowed)
    2013-04-02 19:38:57.178175 [PS StandbyWakeup(15)]: PS: System is idle and may go to standby
    2013-04-02 19:38:57.183176 [PS StandbyWakeup(15)]: PS: Active standby is enabled - go to standby after idle timeout at 19:43:49
    2013-04-02 19:39:04.823613 [(5)]: PS: RegisterRemote tag: 3, uris: http://localhost:31458/a4c43fb1_1042_4bd2_87d8_88db7b2b371b/esbqe7ppdywanyfbo2ka_ss2_1.rem, http://localhost:31458/a4c43fb1_1042_4bd2_87d8_88db7b2b371b/esbqe7ppdywanyfbo2ka_ss2_1.rem
    2013-04-02 19:39:04.834613 [(5)]: PS: Set time of last user activity to 19:39:03
    After the "RegisterRemote tag" the "time of last user activitiy" is be set to a new timestamp.

    What is this?
     

    Coolhand70

    Portal Pro
    January 27, 2012
    96
    1
    Bayern
    Home Country
    Germany Germany
    What a surprise.
    Yesterday I have completly new installed my computer (after a power failure MePo didn´t work) and now standby with MePo client is working.
    At the weekend I´m testing the wake up.
     

    el_gato

    Portal Pro
    October 15, 2007
    189
    58
    Home Country
    Germany Germany
    i was wondering about my large growing log files. almost around every 3-x seconds there are several lines of logs where ps states that nothing has to happen (or whatever it does), so is this supposed to work this way, logging in such a small interval? and is there any possibility to change the update check interval to sth bigger than these 3 seconds or even disable logging of ps? i use a ssd and before i try to move the log folder i wanted to ask here if there is another solution. i attached the "small" mediaportal.log from just now where i just started the htpc, but yesterday for example, this file grew up to 8mb over the day with those lines...
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    i was wondering about my large growing log files. almost around every 3-x seconds there are several lines of logs where ps states that nothing has to happen (or whatever it does), so is this supposed to work this way, logging in such a small interval? and is there any possibility to change the update check interval to sth bigger than these 3 seconds or even disable logging of ps? i use a ssd and before i try to move the log folder i wanted to ask here if there is another solution. i attached the "small" mediaportal.log from just now where i just started the htpc, but yesterday for example, this file grew up to 8mb over the day with those lines...
    PS's check interval is not 3 seconds but 15 seconds. Only if you have opend the TV Server config tool it checks every 5 (not 3) seconds to give you a faster feedback on config changes. With MP 1.4 it will be possible to reduce the size of the log files by configuring a maximum size after which they are rotated and a count of rotated log files to keep.

    Michael
     
    Last edited:

    Users who are viewing this thread

    Top Bottom