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

Main Menu

Best way to control STB via usb-rs232?

Started by Newguy2, October 09, 2012, 06:03:41 PM

Previous topic - Next topic

Newguy2

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.

tschak909

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

Newguy2

Quote from: tschak909 on October 09, 2012, 07: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

Ok thanks thom, give it a go when I get home