Page 1 of 1

DirecTV Control with Indigo Actions

PostPosted: Sat Sep 10, 2011 9:04 pm
by five337
Here is a real easy way to control networked DirecTV receivers from Indigo. This is for those of us that want to keep the RF remote, but need to be able to control DirecTV via Indigo.

Create a new action.

Execute an embedded Python Script.

Use this:

Code: Select all
import urllib

# Get a file-like object for the Python Web site's home page.

f = urllib.urlopen("http://192.168.15.116:8080/remote/processKey?key=power&hold=keyPress")

# Read from the object, storing the page's contents in 's'.

s = f.read()
f.close()


Change the 192.168.15.116 to the IP address of your DirecTV box.

Change "key=power" to any of these: power, poweron, poweroff, format, pause, rew, replay, stop, advance, ffwd, record, play, guide, active, list, exit, back, menu, info, up, down, left, right, select, red, green, yellow, blue, chanup, chandown, prev,0, 1, 2, 3, 4, 5, 6, 7, 8, 9, dash, or enter.

You can also go directly to a channel with this page: http://192.168.15.116:8080/tv/tune?majo ... inor=65535 . That would change the channel directly to 249.

It may not be clean, but its fast and works every time (unlike the IRLinc / Group Commands)

Re: DirecTV Control with Indigo Actions

PostPosted: Mon Sep 12, 2011 8:53 am
by Korey
Nice tip!

Re: DirecTV Control with Indigo Actions

PostPosted: Mon Sep 12, 2011 9:42 am
by matt (support)
This would make a great, and pretty simple, plugin. It would specify a plugin device with a property specifying the IP address, then a device action that would let you specify which key press command to send. Anyone want to give developing it a shot? I don't have a DirecTV box, or I'd give it a go.

Re: DirecTV Control with Indigo Actions

PostPosted: Mon Sep 12, 2011 11:19 am
by roussell
I've got one that I'm working on - I'm converting it over from my old platform and have a few other things going on ATM so it may be a few days but I'll post when there's something to test.

Terry

Re: DirecTV Control with Indigo Actions

PostPosted: Wed Sep 21, 2011 9:07 am
by jay (support)
How goes the plugin attempt? I just got a new DirecTV HD DVR that apparently supports that API so I'm looking forward to testing your plugin out!!!

Re: DirecTV Control with Indigo Actions

PostPosted: Wed Sep 21, 2011 4:48 pm
by hamw
Anyone know if the Motorola 6400 series DVR has similar IP control? It does have an ethernet port but I understand it may be turned off by default.