MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2008-08-07, 02:09   #1 (permalink)
Portal Member
 
Join Date: Aug 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default Hibernate from remote

Hi all,

Given some problems with my particular system (imon+antec fusion+MP), the power button has no effect in my system if MP is running.

My question is: is there a simple way to make the computer hibernate from the remote in MP? Maybe running a macro? Maybe through a plugin?

Thanks

I have read a nice solution<here>, but it's an old post and it relies on (now obsolete) MCE replacement tool.
ocnos is offline   Reply With Quote
Old 2008-08-07, 14:17   #2 (permalink)
Portal Member
 
NickName's Avatar
 
Join Date: Jun 2006
Location: Gold Coast
Posts: 283
Thanks: 13
Thanked 5 Times in 3 Posts

Country:


Default

Hi ocnos,

Put the following command into a bat file and assign that bat file to a button press on your remote.

rundll32.exe powrprof.dll,SetSuspendState

The command will standby or hibernate your computer based on the setting at:
Control Panel / Power Options / Advanced / When I press the sleep button on my computer.

If you have a supported remote, you could try the excellent "IR Server Suite" (search the forums) to control your PC/MediaPortal. This software has the added advantage that you won't need the bat file as you can enter the command directly into the IR Servers settings. :-)


Hope this helps,

Nick Name
__________________
Before, I could never finish anything I started but now I

Last edited by NickName; 2008-08-07 at 14:18. Reason: formatting
NickName is offline   Reply With Quote
Old 2008-08-07, 14:34   #3 (permalink)
Portal Member
 
Join Date: Aug 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Thanks!
Unfortunately, IR Suite doesn't work with my Antec Fusion iMon VFD. I don't use MP remote options, I just map the keyboard shortcuts to buttons in my remote.

That bat, should also do anything about TV server like your previous script did?
ocnos is offline   Reply With Quote
Old 2008-08-08, 05:13   #4 (permalink)
Portal Member
 
NickName's Avatar
 
Join Date: Jun 2006
Location: Gold Coast
Posts: 283
Thanks: 13
Thanked 5 Times in 3 Posts

Country:


Default

Sorry ocnos but I am unsure which script you are talking about? I looked through the forum (that you linked in your first post) but couldn't see any mention of a script by me.
FYI. I have written many scripts and utilities over the last few years that I have been using Mediaportal but most are not needed any more due to changes & improvements in MediaPortal.
Just let me know which script it is and I will find it see what it does. If you just want a way to hibernate your PC, then the BAT file suggestion should do the trick when you assign it to a button on your keyboard or your remote.

Regards,

NickName.
__________________
Before, I could never finish anything I started but now I
NickName is offline   Reply With Quote
Old 2008-08-08, 12:47   #5 (permalink)
Portal Member
 
Join Date: Aug 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Sorry, my fault. Put the wrong link above. <This> is the thread of your AutoIt script.

I have updated it with Suspend(64) and now it hibernates when executing your script! That's exactly what I needed!!!

So my question is if it should also do something about turning off tvserver or something to prevent eventual wake up problems, as in your original script you relied on obsolete MCE replacement tool.

Thanks!
ocnos is offline   Reply With Quote
Old 2008-08-10, 02:17   #6 (permalink)
Portal Member
 
NickName's Avatar
 
Join Date: Jun 2006
Location: Gold Coast
Posts: 283
Thanks: 13
Thanked 5 Times in 3 Posts

Country:


Default

No, it should all work well, no need to turn the TV server off. The only issue I had was that if TV was running in the little window on the home screen, the PC would not go to 'standby' mode, so my script just turned it the little TV (or video) window off.

Regards,

NickName
__________________
Before, I could never finish anything I started but now I

Last edited by NickName; 2008-08-10 at 02:18. Reason: spelling
NickName is offline   Reply With Quote
Old 2008-08-13, 04:52   #7 (permalink)
Portal Member
 
Join Date: Oct 2007
Location: Melbourne
Posts: 74
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

I'm just using the MCE remote and I want my computer to sleep when watching TV (using time shift) but not if its recording. Do I need to use this script?
canarygsr is offline   Reply With Quote
Old 2008-08-14, 01:36   #8 (permalink)
Portal Member
 
NickName's Avatar
 
Join Date: Jun 2006
Location: Gold Coast
Posts: 283
Thanks: 13
Thanked 5 Times in 3 Posts

Country:


Default

No it's not needed for that.

Cheers,

Martin,

NickName
__________________
Before, I could never finish anything I started but now I
NickName is offline   Reply With Quote
Reply

Bookmarks

Tags
hibernate, remote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hibernate with mce remote ronaldus Support 3 2007-05-03 18:25
Remote is dead after stand by/hibernate skoov Ongoing HTPC Projects 22 2007-03-29 16:22
wake up from hibernate using MCE remote chenks Ongoing HTPC Projects 26 2007-03-20 19:55
Haupaugge Remote didn't run after Hibernate thkogel Support 7 2007-02-15 08:15
Mce remote hibernate? tompaswe General Support 8 2006-03-21 00:55


All times are GMT +1. The time now is 20:20.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden