SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-02-2007, 11:50 AM
benjanet benjanet is offline
New Member
 
Join Date: Mar 2003
Posts: 3
System standby based on Sage recording sched.

I had another thought, is there anyone, or any way that can put a computer to sleep while its not use, automatically, while its running sage TV? And can a computer wake up for a recording event? I know there are some bios implementations that can schedule on off events...

And could a system wake up for infrared events any way?

Thanks,

Ben
Reply With Quote
  #2  
Old 11-04-2007, 09:57 PM
trini0's Avatar
trini0 trini0 is offline
Sage Aficionado
 
Join Date: Mar 2006
Location: Ft. Lauderdale, FL
Posts: 331
Your results may vary.
I have my Sage Server go into Stand by mode after 30 mins, and Hibernation another 30 minutes after it goes into Stand by.
I also set the NIC that streams TV/Movies/etc to wake the server from any network activity.
For the most part it works as advertised, but its a very thin line to walk.
i.e. Last week, I ran a windows update on the box, so it would get the correct patches for DST/EST time change. And for some reason its not going to sleep when its supposed to.
I'm currently investigating....
__________________
Server: ASUS P5BV-C/4L, Celeron E1600, 2GB Ram, Windows 7, 30GB OS/512GB (iSCSI) TV/DVD Storage, SageTV 7.1.9, Java 1.6.0_20, Paterson TV Translator 1.0.19.0
Client(1): SageTV STX-HD100 f/w:20100212 connected to an Onkyo SR-606 and Samsung LN46A650 via HDMI
Client(2): HP Pavilion dv5z-1200 Entertainment Notebook running Windows 7 and SageTV Client 7.1.9
Source(1): DirecTV H21, HD-PVR (E1) driver 1.5.7
Source(2): HDHomeRun, Winegard GS-2200
Reply With Quote
  #3  
Old 11-05-2007, 01:15 PM
tomfisk's Avatar
tomfisk tomfisk is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Plainview, MN
Posts: 86
A way to do this...

OK...I've wanted the same feature too and here is where I am headed.

1. I run Auto Power-on and Shutdown. This provides the ability to set shutdown and startup times and schedule other tasks...basically any program can be run. The latest version also provides the capability to export/import the schedule of events from a text file.

2. I can get the schedule of upcoming recordings from the web server interface as an XML file.

3. Given these two things, I plan on writing a script language that will get the XML schedule file, parse it, and generate a text file, and then import it into Auto Power-on and Shutdown. Of course it will have to handle multiple recordings, time between recordings (does it make sense to shutdown for a 1/2 hour?), and my personal perferences of when Sage should always be on for watching live TV (during my morning exercise routine, etc).

I've thought about going down the STVi route, but that seems pretty heavy-weight and most of the functions already existing in other programs (as above).

I'll let you know how this progresses...

Tom
Reply With Quote
  #4  
Old 11-05-2007, 01:59 PM
bluenote bluenote is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Vancouver, canada
Posts: 336
Why is this necessary? I'm under the impression that sage already does this. (And has even worked on my setup, however I've had to turn it off because some other apps (IR.remote) dont wake up properly).

I'm sure I've seen many others comment that they have a fully hibernating box that wakes up.

Cory
Reply With Quote
  #5  
Old 11-05-2007, 02:25 PM
tomfisk's Avatar
tomfisk tomfisk is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Plainview, MN
Posts: 86
Do tell...I am not aware of this functionality in Sage.
Reply With Quote
  #6  
Old 11-05-2007, 02:29 PM
thomaszoo thomaszoo is offline
Sage Aficionado
 
Join Date: Jun 2004
Location: Sacramento, CA
Posts: 487
Quote:
Originally Posted by benjanet View Post
I had another thought, is there anyone, or any way that can put a computer to sleep while its not use, automatically, while its running sage TV? And can a computer wake up for a recording event? I know there are some bios implementations that can schedule on off events...

And could a system wake up for infrared events any way?

Thanks,

Ben
I put my PC in standby when not in use. Back in the days of Sage 2.2 there was a utility called SageWake that seemed to do a great job. I did a search of the forums but couldn't find SageWake, but there were many references to it.

I am currently using the power management in Windows and Sage and having good, but not perfect success. It typically won't go into standby after watching programming recorded by Sage. But this usually isn't a problem since I just push the power button on my Gyration MCE mouse remote, which can also wake it from standby. The only program that I was having problems with the HTPC not waking to record was Survivor. I had set it to record the digital SD version (4:3) instead of the HD (16:9, with side pillars) to reduce any possible burn in on my 16:9 CRT-based RPTV. I stopped doing that when the station broadcast a message advising viewers to call a certain number if they could see the channel over cableTV (I was recording OTA). Other than that it has been very reliable at waking, recording and going back into standby.

I also have a USB-UIRT that I have set to wake the PC when it recieves a particular code. This too has been very reliable.

Wayne
Reply With Quote
  #7  
Old 11-05-2007, 02:37 PM
tomfisk's Avatar
tomfisk tomfisk is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Plainview, MN
Posts: 86
In the past I've had issues with Sage after mutliple days of cycling...it eventually erred out. Maybe that problem has been fixed. What I do now is shutdown sage 2 minutes after recording and then hibernate 3 minutes after. I power-on the system 4 minutes before a recording, start sage 2 minutes later. Never had a problem since I've started doing this. Today it is all by hand...but that is what I am trying to automate.

I have a dedicated sage server and HTPC and extenders. So an MCE remote with wake is not a real good option.
Reply With Quote
  #8  
Old 11-05-2007, 05:20 PM
trini0's Avatar
trini0 trini0 is offline
Sage Aficionado
 
Join Date: Mar 2006
Location: Ft. Lauderdale, FL
Posts: 331
All that needs to be done, is setup your hardware & Windows for power management.
Once that is set, Sage will wake the server/PC when its time to record on its own. No need for additional software.
Then in my case since I run a server/client setup, I have the NIC on the server that streams content setup to wake the server on any network activity directed to the NIC. In essence, when the client starts up, it also starts up the server....
__________________
Server: ASUS P5BV-C/4L, Celeron E1600, 2GB Ram, Windows 7, 30GB OS/512GB (iSCSI) TV/DVD Storage, SageTV 7.1.9, Java 1.6.0_20, Paterson TV Translator 1.0.19.0
Client(1): SageTV STX-HD100 f/w:20100212 connected to an Onkyo SR-606 and Samsung LN46A650 via HDMI
Client(2): HP Pavilion dv5z-1200 Entertainment Notebook running Windows 7 and SageTV Client 7.1.9
Source(1): DirecTV H21, HD-PVR (E1) driver 1.5.7
Source(2): HDHomeRun, Winegard GS-2200
Reply With Quote
  #9  
Old 11-05-2007, 05:35 PM
tomfisk's Avatar
tomfisk tomfisk is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Plainview, MN
Posts: 86
OK...you've convinced me to give it a look!

I've tried the wake on lan function before without much success, but I'll give it another go.
Reply With Quote
  #10  
Old 11-06-2007, 05:01 AM
logsvp logsvp is offline
Sage Advanced User
 
Join Date: Oct 2007
Location: W Sussex, UK
Posts: 158
A very timely thread as this is what I am trying to achieve at the moment

Using Windows Power Management and Sage, I can get Sage to startup when a program has to be recorded. What I am not sure about is how to get the HTPC to go back into standby once the program has been recorded if Sage isn't being used at that point?

Also, trini0 said earlier "I have my Sage Server go into Stand by mode after 30 mins, and Hibernation another 30 minutes after it goes into Stand by." - What is the benefit of doing this - is it a power saving benefit?
Reply With Quote
  #11  
Old 11-06-2007, 05:37 PM
trini0's Avatar
trini0 trini0 is offline
Sage Aficionado
 
Join Date: Mar 2006
Location: Ft. Lauderdale, FL
Posts: 331
Quote:
Originally Posted by tomfisk View Post
OK...you've convinced me to give it a look!

I've tried the wake on lan function before without much success, but I'll give it another go.
For me, the server has 2 NICs. The onboard Realtek NIC only works with Wake On Lan packets. It does not work with network activity directed to the NIC to wake the server.
I added another Intel NIC that does have capabilities to wake the server from standby/hibernation.

So bottom line is that it depends on your hardware.
__________________
Server: ASUS P5BV-C/4L, Celeron E1600, 2GB Ram, Windows 7, 30GB OS/512GB (iSCSI) TV/DVD Storage, SageTV 7.1.9, Java 1.6.0_20, Paterson TV Translator 1.0.19.0
Client(1): SageTV STX-HD100 f/w:20100212 connected to an Onkyo SR-606 and Samsung LN46A650 via HDMI
Client(2): HP Pavilion dv5z-1200 Entertainment Notebook running Windows 7 and SageTV Client 7.1.9
Source(1): DirecTV H21, HD-PVR (E1) driver 1.5.7
Source(2): HDHomeRun, Winegard GS-2200
Reply With Quote
  #12  
Old 11-06-2007, 05:45 PM
trini0's Avatar
trini0 trini0 is offline
Sage Aficionado
 
Join Date: Mar 2006
Location: Ft. Lauderdale, FL
Posts: 331
Quote:
Originally Posted by logsvp View Post
A very timely thread as this is what I am trying to achieve at the moment

Using Windows Power Management and Sage, I can get Sage to startup when a program has to be recorded. What I am not sure about is how to get the HTPC to go back into standby once the program has been recorded if Sage isn't being used at that point?

Also, trini0 said earlier "I have my Sage Server go into Stand by mode after 30 mins, and Hibernation another 30 minutes after it goes into Stand by." - What is the benefit of doing this - is it a power saving benefit?
Yeah. It all depends on your situation (as in what does the server do).
For me, I rather it go into hibernation than standby. But its not working too well (mostly because of how I have the data disks setup). For the past couple days, I've disabled hibernation, and have it only go into standby
__________________
Server: ASUS P5BV-C/4L, Celeron E1600, 2GB Ram, Windows 7, 30GB OS/512GB (iSCSI) TV/DVD Storage, SageTV 7.1.9, Java 1.6.0_20, Paterson TV Translator 1.0.19.0
Client(1): SageTV STX-HD100 f/w:20100212 connected to an Onkyo SR-606 and Samsung LN46A650 via HDMI
Client(2): HP Pavilion dv5z-1200 Entertainment Notebook running Windows 7 and SageTV Client 7.1.9
Source(1): DirecTV H21, HD-PVR (E1) driver 1.5.7
Source(2): HDHomeRun, Winegard GS-2200
Reply With Quote
  #13  
Old 11-06-2007, 09:05 PM
tomfisk's Avatar
tomfisk tomfisk is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Plainview, MN
Posts: 86
Like you said trini0...it is a very fine line to walk. I am just trying to get the system to go into standby or hibernate when Sage isn't doing anything but found that Norton Antivirus (AppSvc.exe) is keeping the system too active. It bumps the CPU to just over 10% activity 2-4 times per minute...arrrgh!

I did make some progress on the Wake on Lan with my Realtek NIC (installed the Realtek driver rather than the generic MS one) but it really doesn't matter if I can get the system to standby/hibernate.

Is there an option to run a command in Sage if there isn't an upcoming recording (in the next x minutes of course!)?
Reply With Quote
  #14  
Old 11-07-2007, 05:15 AM
trini0's Avatar
trini0 trini0 is offline
Sage Aficionado
 
Join Date: Mar 2006
Location: Ft. Lauderdale, FL
Posts: 331
Quote:
Originally Posted by tomfisk View Post
Is there an option to run a command in Sage if there isn't an upcoming recording (in the next x minutes of course!)?
No. Its all up to windows...
__________________
Server: ASUS P5BV-C/4L, Celeron E1600, 2GB Ram, Windows 7, 30GB OS/512GB (iSCSI) TV/DVD Storage, SageTV 7.1.9, Java 1.6.0_20, Paterson TV Translator 1.0.19.0
Client(1): SageTV STX-HD100 f/w:20100212 connected to an Onkyo SR-606 and Samsung LN46A650 via HDMI
Client(2): HP Pavilion dv5z-1200 Entertainment Notebook running Windows 7 and SageTV Client 7.1.9
Source(1): DirecTV H21, HD-PVR (E1) driver 1.5.7
Source(2): HDHomeRun, Winegard GS-2200
Reply With Quote
  #15  
Old 11-11-2007, 06:23 AM
tomfisk's Avatar
tomfisk tomfisk is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Plainview, MN
Posts: 86
Just a follow-up FYI. I've written a KiXtart script that watches typical Sage Server system activity and hibernates the system when the system goes quiescent. Right now the script checks 5 parameters (using data obtained from WMI) every 5 seconds and if all is quiet for 5 minutes, it hibernates the system.

1. Disk activity (98% idle or above)
2. Sage CPU usage (.10 seconds per interval or less)
3. Network datagrams (125 per second or less)
4. Disk defragmenter usage (.10 seconds per interval or less)
5. Commercial skip process not running

So far everything appears to be working great. The KiXtart script shuts the comptuer down and Sage wakes it up before a scheduled recording.

If you are interested in the script let me know.
Reply With Quote
  #16  
Old 11-11-2007, 09:51 AM
trini0's Avatar
trini0 trini0 is offline
Sage Aficionado
 
Join Date: Mar 2006
Location: Ft. Lauderdale, FL
Posts: 331
A dirty workaround, but if it works, hey...
__________________
Server: ASUS P5BV-C/4L, Celeron E1600, 2GB Ram, Windows 7, 30GB OS/512GB (iSCSI) TV/DVD Storage, SageTV 7.1.9, Java 1.6.0_20, Paterson TV Translator 1.0.19.0
Client(1): SageTV STX-HD100 f/w:20100212 connected to an Onkyo SR-606 and Samsung LN46A650 via HDMI
Client(2): HP Pavilion dv5z-1200 Entertainment Notebook running Windows 7 and SageTV Client 7.1.9
Source(1): DirecTV H21, HD-PVR (E1) driver 1.5.7
Source(2): HDHomeRun, Winegard GS-2200
Reply With Quote
  #17  
Old 08-17-2008, 12:05 PM
jamesmadrid jamesmadrid is offline
New Member
 
Join Date: Aug 2008
Posts: 1
I'm also having problems with another program running preventing Windows from going into Standby. May I have your script? Don't know how to contact you. Thanks. If you'd rather email to me: sagetv.calbears@xoxy.net

Quote:
Originally Posted by tomfisk View Post
Just a follow-up FYI. I've written a KiXtart script that watches typical Sage Server system activity and hibernates the system when the system goes quiescent. Right now the script checks 5 parameters (using data obtained from WMI) every 5 seconds and if all is quiet for 5 minutes, it hibernates the system.

1. Disk activity (98% idle or above)
2. Sage CPU usage (.10 seconds per interval or less)
3. Network datagrams (125 per second or less)
4. Disk defragmenter usage (.10 seconds per interval or less)
5. Commercial skip process not running

So far everything appears to be working great. The KiXtart script shuts the comptuer down and Sage wakes it up before a scheduled recording.

If you are interested in the script let me know.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sage is Deleting a Show Right After Recording? coppit SageTV Software 4 03-26-2007 11:15 PM
sagemc-other program:how to get back to sage when its in system tray using the remote darklord2005 SageTV Customizations 3 02-21-2007 05:33 PM
Lost recording directory after starting Sage server judy2304 SageTV Software 1 01-30-2007 10:16 AM
Recording conflicts in Sage tamiral SageTV Software 1 04-13-2006 09:56 AM
Successful SageTV Install on Via Epia System with Hauppauge 350 gazer Hardware Support 0 03-23-2006 01:48 PM


All times are GMT -6. The time now is 08:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.