|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Utility: SageExtCtrl (Sage Extender Power Control)
This command line utility will connect to your SageTV STX-HD100 or STP-HD200 Media Extender via TCP/IP and power 'ON', power 'OFF', or 'REBOOT' the extender.
------------------------------------------------ SageTV Extender Controller ------------------------------------------------ sageextctrl.exe <address> <function> <address> is the IP address or hostname to access the extender. <function> is the action you wish to perform. The available functions are: - "on" - "off" - "reboot" Example: sageextctrl.exe 192.168.1.105 on ------------------------------------------------ More Information is located on the DOWNLOADS page Last edited by shadeblue.com; 04-06-2009 at 11:15 PM. |
#2
|
|||
|
|||
How would you use this program? I'm not understanding its purpose although its been a long day so it might just be that I'm tired
|
#3
|
||||
|
||||
The extender goes in standby after inactivity, so this is one way to wake it up... Of course if you are in the same room and can simply use the remote that doesn't help you much.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#4
|
||||
|
||||
Quote:
I just created it as a generic utility so that if a user needs this type of functionality, they could make use of it. It is probably not of much use for the average user. Since the standby mode on the extender does not power down the unit, I'm using this tool to power down the extender. If the extender is powered down, then my LCD TV will shut itself off after a few minutes. So, in my case I am using it to provide the ability to auto shut down the extender and consequently the TV after some period of inactivity. So now, if I fall asleep while watching TV, my LCD TV is not running all night You could using Nielm's dynamic menus also include a "Reboot Extender" menu item on some advanced technical user page if you wanted. |
#5
|
||||
|
||||
this is a great little project. This also benfits anyone that controls the via home automation software that doesnt work after the extender looses connection. CQC is like that. After I reboot my pc I need to reboot the extender but have no way to.
|
#6
|
|||
|
|||
OK that makes sense. I just didn't understand how it worked and how people would be using it. Looks like a good idea.
|
#7
|
|||
|
|||
Yeah, I will certainly make good use of this program. My HD extender is actually located in my central wiring closet and is distributed via a matrix switcher to the TVs around the house.
If I had to reboot my server for some reason, I would have to go down to the closet and manually turn the extender off and then back on. By using this program, I'll simply have a new button on my wireless touchscreen that will allow me to reset the extender. EDIT - For that matter, I should probably just put the app in the startup folder so that it is automatically run every time the computer is booted. This way I don't even need to manually run the application, it will be done for me.
__________________
i7-6700 server with about 10tb of space currently SageTV v9 (64bit) Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable) OpenDCT HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party) Amazon Firestick 4k and Nvidia Shield using the MiniClient Using CQC to control it all Last edited by sic0048; 09-11-2008 at 12:29 PM. |
#8
|
|||
|
|||
Nice! Thanks for the addition!
|
#9
|
||||
|
||||
batch works great... startup folder i think runs on login not startup i think.
wonder if i need to make it a service Quote:
|
#10
|
||||
|
||||
Quote:
However, an alternate method, the one I use on my Sage server is to use TweakUI (http://www.microsoft.com/windowsxp/D...powertoys.mspx) and just setup a user account to auto logon at system startup. This way I can just add startup items to the startup folder. |
#11
|
||||
|
||||
What about if you just add the batch file to a scheduled task on startup.
I havent fully tested it but it seems to work fine for me. |
#12
|
|||
|
|||
I will be using this with my home automation software. I'll have it power up the extender when I walk into the room and power it down at the end of the day.
Thank you for this. I'll be trying it out sometime in the next couple weeks Edit: Can this be run on any machine on the network? Or does it need to run on the SageTV server? Just want to make sure |
#13
|
||||
|
||||
Quote:
Sorry for the delayed reply. This program can be run from any (windows) computer that is network accessible to the SageTV server. Under the hood it is simply performing a TELNET connection over TCP/IP port 23. |
#14
|
||||
|
||||
I wonder if this will work on the new STPHD200 extenders? I guess it depends on the telnet access and commands required on this embedded OS.
If anybody gets a new STPHD200 extender and would be willing to try this program out, that information may be useful and helpful for other users. Thank You, SB
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
#15
|
||||
|
||||
NEW RELEASE - Version 1.0.1
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
#16
|
|||
|
|||
For those of us on Linux I just posted a Linux solution to control hd200's on the SageTV Linux support section.
Thanks Shadeblue.com for the inspiration!
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 |
#17
|
|||
|
|||
Just a thought if anyone is still maintaining this program... The Reboot command will not turn an HD200 on if it is off when the command is issued. I think it would make sense for it to, since your expectation would be for a box to be on after you issue a reboot command.
Thanks! EDIT: A potential solution would be to issue a 'reboot' command followed by an 'on' command, using a batch file for example. If the extender was off, it would ignore the 'reboot' command, but would respond to the 'on' command. If it were already on, it would obey the 'reboot' command but ignore the 'on' command. EDIT #2: I tried the solution above, but it wasn't completely successful. A better solution is to send an 'off' command followed by an 'on' command. Last edited by jgscott987; 02-19-2010 at 07:25 AM. |
#18
|
|||
|
|||
I have installed this program and have it set to execute when the computer is rebooted. This will allow my HD extenders to automatically reconnect after the server is rebooted.
The process works fine, but the application is executed too quickly during the reboot process. This causes the extenders to reboot and attempt to reconnect to the Sage server. The problem is that 95% of the time, the Sage service has not finished starting on the computer by the time the extenders have rebooted and search for the server. So they do not find the server and do not automatically reconnect. Is there a way to induce a pause into the equation? Either some way of delaying the execution of my scheduled task (scheduled to run at start up), or adding a delay into the program itself - perhaps 30-45 seconds? I'd love to hear everyone's suggestions. Thanks,
__________________
i7-6700 server with about 10tb of space currently SageTV v9 (64bit) Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable) OpenDCT HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party) Amazon Firestick 4k and Nvidia Shield using the MiniClient Using CQC to control it all |
#19
|
||||
|
||||
there are a few ways to put in the pause. One way would be to add a 'ping pause' to the batch file that is calling the program.
Code:
ping -n 1 -w 5000 1.1.1.1 > nul Another is to launch your program from a windows scheduled task. The task can be started at various times, one of the options being at startup. There is also a delay task option, so you can effectively make it run x seconds after startup.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#20
|
|||
|
|||
Quote:
__________________
i7-6700 server with about 10tb of space currently SageTV v9 (64bit) Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable) OpenDCT HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party) Amazon Firestick 4k and Nvidia Shield using the MiniClient Using CQC to control it all |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My Sage TV 6.3 Problems and Fixes (Long) | tcsubwoofer | SageTV Software | 12 | 05-08-2008 07:35 PM |
HD Extender transport stream problems | iammike | SageTV Media Extender | 17 | 12-31-2007 09:44 AM |
Do I need to buy the MVP media extender from Sage? | dvd_maniac | SageTV Media Extender | 6 | 04-26-2007 08:18 PM |
Sage Extender vs. MVP vs. Linksys MCE | miles383 | SageTV Media Extender | 1 | 01-05-2006 01:48 PM |
Tuner Control in Sage v4 | LazyGun | SageTV Software | 4 | 11-08-2005 09:52 PM |