LinuxMCE Forums
May 19, 2013, 05:34:44 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Best way to control STB via usb-rs232?  (Read 406 times)
Newguy2
Veteran
***
Posts: 94


View Profile
« on: October 09, 2012, 05:03:41 pm »

Greetings,
I made a few attempts to use the directv.pl script found here:http://www.mythtv.org/wiki/Controlling_DirecTV_Set_Top_Box_(STB)_via_USB_or_Serial. Unfortunately anything i put in the "External channel change command" parameter, makes mythtv stop working. I can control the stb in windows, but myth/lmce is giving me problems. Has anybody done this or know how to? any help will be appreciated. thanks in advance.
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #1 on: October 09, 2012, 06:56:29 pm »

You are unfortunately, doing this very wrong. Stop ripping up the carpet and the floorboards, and the plumbing...

What you need to do, is make a device template for your set top box. See the DCT6412 device template for details. Define all of the commands that it has, and create little ruby snippets for them (usually <$"string to send"$>).. Once this is done, you can hook it up in the setup wizard, and MythTV will do the right thing.

-Thom
Logged
Newguy2
Veteran
***
Posts: 94


View Profile
« Reply #2 on: October 09, 2012, 08:06:08 pm »

You are unfortunately, doing this very wrong. Stop ripping up the carpet and the floorboards, and the plumbing...

What you need to do, is make a device template for your set top box. See the DCT6412 device template for details. Define all of the commands that it has, and create little ruby snippets for them (usually <$"string to send"$>).. Once this is done, you can hook it up in the setup wizard, and MythTV will do the right thing.

-Thom

Ok thanks thom, give it a go when I get home
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!