SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations > SageMC Custom Interface
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-06-2009, 04:36 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Adding custom command for launching external program

Right now I am using Girder and a USB-UIRT as my UI for Sage. I have two buttons set up on Girder that launch a little program when pressed. One sends a command to my Homeseer server (on another machine on the network) to turn the lights on in the living room while the other sends a command to turn the lights off.

I would like to use the built-in USB-UIRT support in Sage but will still need to be able to trigger the lights on/off via the remote as I am currently doing now. Is there some sort of way that I can accomplish this?
Reply With Quote
  #2  
Old 03-06-2009, 05:27 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Can I accomplish this by adding a menu item for each Lights On/Off and then tying that to the external program I call? How do I link this to an IR button?
Reply With Quote
  #3  
Old 03-06-2009, 08:24 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
I would have thought someone would have had a desire to do this as well. Can someone perhaps tell me where I might find information on setting up the menu system (when you right click on a menu screen)? Is there a document that explains what a new command is or if a new launch external program can be bound to a key on the remote?
Reply With Quote
  #4  
Old 03-06-2009, 08:41 PM
mbowling mbowling is offline
Sage Advanced User
 
Join Date: Sep 2008
Location: Cascade Mountains of Oregon
Posts: 223
dinki, I'm a Homeseer user as well. I use an X10 remote control to send a signal to Homeseer to change the lighting when watching TV. But I can see the cool factor in sending the command from Sage. Are you using the Homeseer Script Connector Plugin to send the message from the remote machine to your Homeseer server?
Reply With Quote
  #5  
Old 03-06-2009, 09:02 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Actually I'm using wget to run my event by pulling a page from my Homeseer web server. I have a page for lights on event and lights off event. Coupled with my Harmony remote, I am able to stop playback, shut down my tv, amp and lights with a single button press. It all works well, but I just installed the Netflix plugin and I can not control playback using my Girder key press emulation.
Reply With Quote
  #6  
Old 03-07-2009, 01:43 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
BUMP. Surely someone can tell me how to tie an external command to a sage sommand controllable via IR.
Reply With Quote
  #7  
Old 03-07-2009, 02:07 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
It might help if you gave us some context. Are you talking about custom menu items in SageMC? Nielm's dynamic menu plugin? Using Studio to create your own STVI customization for the stock UI? Information is available for all of these options, but the details are going to depend on which tools you're using.
__________________
-- Greg
Reply With Quote
  #8  
Old 03-07-2009, 06:35 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Thanks Greg. I did not realize how vague I was being. I'm wanting to tie a SageMC custom menu item (launch external command) to a keypress.

Perhaps this thread needs to be moved to the SageMC subforum?

Last edited by dinki; 03-07-2009 at 06:58 PM.
Reply With Quote
  #9  
Old 03-08-2009, 12:03 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Launch external program command tied to IR?

Can someone tell me if it's possible to set a SageMC launch external program command to a remote control IR keypress? I want to be able to launch a program from any menu/submenu by pressing a defined key on my remote. I want to use SageTV's built-in support for the USB-UIRT IR receiver.

Is there any documentation for doing this or something that would produce similar results?

Thanks

* merged *
Reply With Quote
  #10  
Old 03-09-2009, 12:58 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Is it safe to assume that this isn't something that is easily done?
Reply With Quote
  #11  
Old 03-09-2009, 04:05 PM
planetc's Avatar
planetc planetc is offline
Sage Aficionado
 
Join Date: Sep 2005
Posts: 262
I know nothing about this to be honest, but my general outlook on such things is that if you cannot do something the way you plan then it is often worth taking three steps back and looking from another angle.
Have you considered approaching this from the other side and making Sage the secondary function that is controlled rather than the primary that controls all else. As I said, I know little about the subject, but I understand Girder to be a pretty flexible tool in the right hands.
__________________
Server: E7200/2Gb RAM/120gb Boot Drive/120gb music photos/500gb TV/500gb DVDs/Win XP SP3/SageTV v7
Tuners: 2x PVR150 SVHS to Sky Digiboxes with USBUIRT control + Nova TD USB setup using both tuners.
Clients: 2x HP P4HT-3ghz 1.5gig RAM 8400GS@720p/3x Dell Optiplex 1-1.6ghz SFF PCs
Mobile: Samsung Galaxy Tab running TaSageTV.
TVs: 42" Plasma and various LED monitors.
Patiently waiting for customisable menus on v.7
Reply With Quote
  #12  
Old 03-09-2009, 07:00 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Quote:
Originally Posted by planetc View Post
I know nothing about this to be honest, but my general outlook on such things is that if you cannot do something the way you plan then it is often worth taking three steps back and looking from another angle.
Have you considered approaching this from the other side and making Sage the secondary function that is controlled rather than the primary that controls all else. As I said, I know little about the subject, but I understand Girder to be a pretty flexible tool in the right hands.
I'm not sure if you read my first post, but I was already using Girder and it has worked, for the most part, great. The problem is that the Netflix plugin does not work with Girder the way I have it configured (sending keypresses). This is in part because SageTV is not in the foreground and does not accept the keypresses.

I would have thought that others would have wanted to extend their remote control's capabilities by being able to add functions using SageTV's built in IR handling.

Does _anyone_ have any idea if this is possible?
Reply With Quote
  #13  
Old 01-19-2010, 01:20 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
I'm back to bring this thread back from the dead. I'm still wanting to get this working and hope that someone might see this and know how to accomplish this task.

Just to refresh, I'd like to tie an IR button on my remote to a custom task menu item I have on my main menu. This would be similar to pressing the videos button and having the 'My Videos' submenu open or what happens when you push the guide button. Is there any way to do this? I'll look into builder if it's possible to tie the two together in there.
Reply With Quote
  #14  
Old 01-21-2010, 10:18 PM
heatvent's Avatar
heatvent heatvent is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Chicagoland
Posts: 258
dinki, see post #10 at this thread: http://forums.sagetv.com/forums/showthread.php?t=42993

I tried to see what interest there was out there to create some control in Sage for HomeSeer. Another Sage user created a nice Sage plugin to control HAL. I sure someone with the right skills could create a functional way to do this but I don't think there's anyone that I could find with the skills and desire.

Anyway, this user was using SageMC menu items to do command line control of HomeSeer. Maybe check with them on how they accomplished this.
__________________
SageTV 7.0.0.23, P5Q-EM Motherboard, 2.5Ghz Quad Core, Windows 7 x64, HVR-2250, 8GB RAM, 1TB HD, 2 HD-200 Extenders
Reply With Quote
  #15  
Old 01-22-2010, 08:16 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
heatvent, interesting, but I've moved from Homeseer to Premise Home Builder. I have a menu item set up now that turns my lights on/off via an external program, I would just like to be able to tie an IR keypress to it so that I can shut everything down with one press of a button on my Harmony remote.
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
External Command Tuner Plugin for Linux stuckless SageTV Linux 36 05-16-2017 03:11 PM
What is the easiest way to assign custom command to the custom button? thenewguy1979 SageTV Software 0 09-14-2008 01:13 PM
Fail to launch PowerDVD Ultra as external command basset SageTV Customizations 4 12-20-2007 11:59 AM
Custom STVi Need Help App Launching + DVD Changer Zanoryt SageTV Customizations 5 05-30-2006 05:27 AM
Launching external programs w/ Nielm custom menus import feilerd SageTV Customizations 0 02-26-2006 03:58 PM


All times are GMT -6. The time now is 12:35 PM.


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