![]() |
|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
HD200 - Rebooting From Linux Command Line
I tried to use Shadeblue.com's (Thank you Shadeblue.com for the inspiration!) excellent sageextctrl.exe on my Linux SageTV server under Wine, it requires .NET and that wouldn't install.
I searched and found a script that automated a telnet connection, it happens to be written in Python. I hacked it to send the on, off and reboot commands to hd200's, it is named hd200extctrl.py and command line follows the sageextctrl.exe format, the command line is: hd200extctrl.py <address> <function> address can be an IP or a valid host name and function can be "on", "off" or "reboot". Example: hd200extctrl.py 192.168.1.105 on It is very dumb and doesn't do much in the way of editing the command line switches! I am not a Python scripter, this is my first time seeing Python, it was just easier and quicker to plagiarize and hack, so if you see something that can be improved upon please do so but your on your own, very doubtful I can help any. Edit 01/30/10 I was having trouble with this executing from cron, fixed.
__________________
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 Last edited by RocKKer; 01-30-2010 at 01:42 PM. Reason: update to hd200extctrl.zip |
#2
|
|||
|
|||
Check this out too for more options: http://forums.sagetv.com/forums/show...ghlight=script
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#3
|
|||
|
|||
bcjenkins,
I should have known you would have some cool tools!
__________________
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 |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
Quote:
I now have a lot of new problems... Does anyone know how to reinstall the drivers and or kernel in the hd200? Does the firmware install the actual linux kernel and busy box on the HD200? |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HD200 - Rebooting From Command Line | personalt | SageTV Media Extender | 42 | 03-16-2010 02:08 PM |
HD200 rebooting and freezing | kstu | SageTV Media Extender | 6 | 01-05-2010 10:27 PM |
Command Line Control | tkmedia | SageTV HD Theater - Media Player | 4 | 08-19-2009 06:38 PM |
Launch from Command line | zakrzep | SageTV Placeshifter | 2 | 03-18-2007 01:08 PM |
Command line parameters? | Opus4 | SageTV Software | 1 | 04-03-2004 03:44 AM |