How the power management on a single seater SHOULD work (1 Viewer)

ambstuc

New Member
July 12, 2009
4
0
East Yorkshire
Home Country
United Kingdom United Kingdom
Hi,

I have been looking around for days to try and configure my system the way I would expect a professional "Mediacenter" to work:

  • The system wakes up either if there is a scheduled recording OR I press the power button on my remote
  • The system recognizes when I want to switch it off using the power button on the remote and
    * Only switches off/sleeps if there is a) no scheduled recording active or pending within the next few minutes
    * otherwise recognises that I want it to turn off and a) signals this (e.g. little symbol in the corner) b) switches the system off as soon as there is no active recording going on any more.
  • When the system wakes up it "knows" if this was for a scheduled recording or because I have pressed the power button
  • The system should "know" when there is a user in front of the television e.g. because the client has been used within a specified time, and I think if there has been no interaction for 2-3 hours could assume that it is safe to go to sleep without rudely interrupting an active video session (which happens to me if you used the powerscheduler, see also previous post...)

Because of the architecture of separate server and client on the same machine this appears very difficult. I am not very good at programming and I do not think I would find the time to do it, but it appears to me that you would only need one flag e.g. "user_present" which gets set to true if a) power button on pressed b) interaction with client and set to false if a) no interaction for specfied time b) user pressed power off button. A tray application could e.g. check in regular intervals if a) server "active" (recording) and b) user_present=true and send the system to sleep if both are false...

Any idea how this could be accomplished? I have not managed to achieve a behaiour like this with powerscheduler and others....

Thanks.

TV-Server Version: 3
MediaPortal Version: 1.02
MediaPortal Skin:
Windows Version: XP (non-MCE)
CPU Type: Centrino 1.7Ghz
HDD: 60GB
Memory: 2048
Motherboard: Dell Inspiron 8600 Laptop
Video Card: Radeon 9600
Video Card Driver:
Sound Card: Onboard
Sound Card AC3:
Sound Card Driver:
1. TV Card: Terratec Cinergy Hybrid USB XS
1. TV Card Type: USB
1. TV Card Driver:
HTPC Case:
Cooling:
Power Supply:
Remote: Ebay "Mediacenter" - HID combi device (keyboard, mouse)
TV:
TV - HTPC Connection:
 

Krad

MP Donator
  • Premium Supporter
  • March 30, 2009
    24
    0
    Home Country
    England England
    I only use power schdual and set it to close after 20 mins. I comes back on to Rec and never use the power button. But the problem I have is unless the system is rec it will shut down after 20 mins. I have a post already open but no reply?
     

    ambstuc

    New Member
    July 12, 2009
    4
    0
    East Yorkshire
    Home Country
    United Kingdom United Kingdom
    I agree that is exactly my issue - Powerscheduler in TV server should not shut down when you are actually watching a video, and the Powerscheduler in the client should not shut down when the Server is still recording in the background - any scheduler on a single seater should really consider both server and user/client.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    I agree that is exactly my issue - Powerscheduler in TV server should not shut down when you are actually watching a video, and the Powerscheduler in the client should not shut down when the Server is still recording in the background - any scheduler on a single seater should really consider both server and user/client.

    Please post logs when such failure happens, as it is clearly a bug if such happens.

    (also make sure that both client and server side power scheduler plugins are enabled.)
     

    Adamw

    Portal Member
    January 16, 2009
    9
    0
    Home Country
    New Zealand New Zealand
    I have a single seat setup and it does exactly what you are asking for out of the box, so I guess you have a bug or its not set up right.
    Have you setup the scheduler in both MP config and TV server config with the same figures?
    I'm don't have MP in front of me right now but from memory you need to set the fields for idle time, shutdown mode and pre-wake up time the same in both MP & TV server for it to work.
    If you're still stuck tomorrow I can post some screen shots of my config settings which may be of help.
     

    Krad

    MP Donator
  • Premium Supporter
  • March 30, 2009
    24
    0
    Home Country
    England England
    I think I have my set up right now. Set the client side power up and the tv server power up and seems to work. Will do more testing this week. With regards to having a bug I think I did in an old V1.0 but since updating its working realy well. Even the running the web epg server and XmlTV too with no problems.
     

    ambstuc

    New Member
    July 12, 2009
    4
    0
    East Yorkshire
    Home Country
    United Kingdom United Kingdom
    I have a single seat setup and it does exactly what you are asking for out of the box, so I guess you have a bug or its not set up right.
    Have you setup the scheduler in both MP config and TV server config with the same figures?
    I'm don't have MP in front of me right now but from memory you need to set the fields for idle time, shutdown mode and pre-wake up time the same in both MP & TV server for it to work.
    If you're still stuck tomorrow I can post some screen shots of my config settings which may be of help.

    Adamw,

    thanks for the offer - I have configured both powerscheduler in client and server to a timeout of 15mins, not forcing either to standby, and allowing the server to "resume for various events". Still the same issue - 1) Server refuses suspend when streaming to client (read in a previous thread that this is not a bug, but on a singleseater with no other server functions does not make sense and is a step backward...), but more importantly 2) After 15mins of watching recorded TV the system suspends (resulting in my wife commenting what a sh... system this is...). Is it the client powerscheduler that sends it to sleep, or the server scheduler that does not know what the client is doing (but if I move the mouse every few minutes does not seem to happen). I am also using MP standby tool as otherwise the resume is not reliable on my system).

    Ulf
     

    Krad

    MP Donator
  • Premium Supporter
  • March 30, 2009
    24
    0
    Home Country
    England England
    My system is the same as you said. But the resume works fine for recourding tv.
     

    Adamw

    Portal Member
    January 16, 2009
    9
    0
    Home Country
    New Zealand New Zealand
    Ambstuc,
    I not sure if I can be any more help, but I will try:
    I don't know if I understand completely your issue #1 - server refuses to standby whilst streaming - why would you want it to standby if you're watching tv?.
    Your other issue (#2) standby after 15mins, definately shouldn't happen so this should be fixable.
    Have you disabled all the standard windows power schemes?
     

    Users who are viewing this thread

    Top Bottom