View Full Version : Sleep with PVR 250 Remote?
rjpear
06-08-2003, 07:23 PM
Hi folks... Is there any way to WAKE up SAGE tV with the PVR 250 remote.. ? I can sleep it..and the other stuff... But I cannot wake it up..
Any ideas..?
Thanks!
Rob
mandrake
06-09-2003, 02:53 AM
If you go to the windows directory and open the irremote.ini file. Now find [default] change or add the line GRNPOWER={run(WakeupSage.exe)} Finally save it and go to the huappuage listing in the start menu and run restart IR. This should wake SageTV.
rjpear
06-09-2003, 05:07 PM
Ok. I just went to the bottom of the INI file and anses the GRNPOWER line but no go... Am I supposed to be in a specific place in the INI file?
Thanks for your time...
Rob
mandrake
06-09-2003, 05:12 PM
Near the top is a group that starts with [default] make the changes there.
sennbj
06-09-2003, 06:30 PM
Originally posted by mandrake
If you go to the windows directory and open the irremote.ini file. Now find [default] change or add the line GRNPOWER={run(WakeupSage.exe)} Finally save it and go to the huappuage listing in the start menu and run restart IR. This should wake SageTV.
Tried this, works great, except I get a message that says it can't find the application. I did a search and there is no "WakeupSage.exe" on my system. I also tried to see if there where any command line arguments for SageTV.exe.. Didn't see any and when I run SageTV.exe it tells me I already have it running and look in the task bar...
olyar15
06-09-2003, 07:54 PM
you can add the " -awake" command line argument to wake SageTV from sleep. Not sure how to bind this command to your remote control directly. I use Girder.
sshapiro63
06-10-2003, 04:04 PM
When I saw the title of this posting I thought you were talking about a very strange fetish.
rjpear
06-11-2003, 04:11 PM
heh nice one!
rjpear
06-11-2003, 05:41 PM
I get the Cannot Find WAKESAGE.exe error also... any clue?
THANKS!!
mandrake
06-11-2003, 06:30 PM
My mistake I am still using an old option try SageTV.exe -awake so the line in irremote would look like GRNPOWER={run(SageTV.exe -awake )}
JasonJoel
06-12-2003, 08:36 AM
And make sure the '-awake' parameter is LOWER case, won't work otherwise (at least didn't for me).
Jason
Originally posted by mandrake
My mistake I am still using an old option try SageTV.exe -awake so the line in irremote would look like GRNPOWER={run(SageTV.exe -awake )}
rrussell
06-12-2003, 09:36 AM
And then, how does this affect turning OFF sage using the power button too?
notfromhere
06-12-2003, 10:42 AM
If I understand it right, the way the IRREMOTE.INI file works, the awake function that's been discussed is in the default section. The default buttons are overridden by the SageTV settings when SageTV has the focus.
That being said, I have tried all this and still can't get SageTV to reliably wake up. It usually only works the first time after I restart the Irremote app.
sennbj
06-12-2003, 10:49 AM
Originally posted by notfromhere
If I understand it right, the way the IRREMOTE.INI file works, the awake function that's been discussed is in the default section. The default buttons are overridden by the SageTV settings when SageTV has the focus.
That being said, I have tried all this and still can't get SageTV to reliably wake up. It usually only works the first time after I restart the Irremote app.
I have noticed that when I put Sage to sleep using the remote, it does not return "focus" to the default. I have to click anywhere on the screen and then when I hit the green button sage comes alive. This is only bad for those of us that do not use the machine except for Sage. I am sure that there is a way around this, but I have not done much in the way of extensive testing.
KJake
06-14-2003, 09:37 AM
Here is my answer to this. I'm using Win2k, so you can change things for other windows versions.
Set the [DEFAULT] command for the power button as stated above.
Then set the GRNPOWER=z in the SageTV or SageRecorder section to this = {run(c:\winnt\sage.vbs)}.
Go create the sage.vbs file in c:\winnt. Open notepad paste this in:
Dim ss
Dim starttime,waittime,currenttime
waittime = 4
Set ss = CreateObject("WScript.Shell")
ss.SendKeys "z"
starttime = Timer()
currenttime = starttime
Do Until currenttime-starttime > waittime
'Do nothing
currenttime = Timer()
Loop
ss.SendKeys "^{ESC}"
waittime = 2
starttime = Timer()
currenttime = starttime
Do Until currenttime-starttime > waittime
'Do nothing
currenttime = Timer()
Loop
ss.SendKeys "{ESC}"
Set ss = nothing
And save in the c:\winnt folder as "sage.vbs". Keep the quotes otherwise notepad will put a .txt on the end and it won't work.
Now reload the remote program and press power, you should see sage, press again and it will disappear. Then the Startmenu shows up and closes within a second. You should be able to go back into Sage now. By doing this it takes the focus off of Sage so that the [default] is run again.
This is a crummy way of doing it, but I can't replicate a mouse click - or I don't know how to.
You may have to adjust the waittime variable depending on how slow/fast your computer is - it could cause the start menu to show and not disappear. It is in 1 second increments. The first wait is 4 seconds because it takes longer for the program to sleep when I'm watching a program rather than just being in the main menu.
Sleep does not work in the default Win2k installation of Windows Scripting Host (WSH), that's why there is a funky loop to take care of sleeping.
george_s
06-21-2003, 03:39 PM
After poking around the forums here I found an alternative solution to the inability to wake reliably. Several posts hinted that the problem was in hauppauge irremote focus. Here's irremote.ini entries that seem to reliably sleep and wake with via remote:
In the [default] section:
GRNPOWER={run(C:\Progra~1\FreyTe~1\SageTV\SageTV.exe -awake)}{mode(SageTV)}
In the [SageTV] section:
GRNPOWER=z{mode(default)}
I believe the trick is to force the mode of the irremote software after waking or sleeping sagetv. Another post had the following link that documents the irremote software commands:
http://dschnabel.virtualave.net/irdocen.htm
KJake
06-21-2003, 03:55 PM
Sweet, I knew there was a better way of doing it :-) Works for me!
rjpear
06-24-2003, 06:59 PM
Can someone Email me thier working IRREMOTE.ini file. I have had no luck in getthing the power button to wake up sage..
Thanks!
rjpear@zoominternet.net
visiontim
07-17-2003, 07:44 AM
I can't get this thing to work either. I tried all the suggestions and no go. Anyone come up with anything new?
KJake
07-17-2003, 08:08 AM
rjpear got his working after I emailed him my irremote.ini. Do you want me to email you mine? Post your email if so.
rrussell
07-18-2003, 11:45 AM
KJake - can you just post/attach the file to a reply in this thread?
KJake
07-21-2003, 05:19 AM
Done.
metropole
08-02-2003, 11:16 AM
I tried this irremote.ini.
Works for me for one cycle: power on power off.
power on after that doesn't work.
KJake
08-02-2003, 04:13 PM
Sorry, I had installed the beta and the GRNPOWER setting was changed back...here's the corrected file.
metropole
08-02-2003, 05:15 PM
Great! It works.
Thanks,
Metropole
visiontim
08-05-2003, 07:16 AM
Yeah, the new ini file works great! Thanks man :goodjob:
Beelzebub
10-02-2003, 07:38 PM
If you remove -awake from the GRNPOWER={run(C:\Progra~1\FreyTe~1\SageTV\SageTV.exe -awake)}{mode(SageTV)} line.
So reads like this
GRNPOWER={run(C:\Progra~1\FreyTe~1\SageTV\SageTV.exe)}{mode(SageTV)}
It will wake SageTV if its sleeping, or it will open it if its not running.
I have the INI that was posted and the wakeup works great, but I can't put it to sleep anymore. Instead I have to use the buttons. Anyone have any thoughts?
Thanks!
KJake
10-09-2003, 10:16 PM
That's probably because key mappings have changed in Sage since I posted that. Here's my latest file...
vBulletin® v3.7.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.