Author
Topic: Best way to control STB via usb-rs232? (Read 838 times)

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.

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.

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.