DirecTV Control with Indigo Actions

Posted on
Sat Sep 10, 2011 9:04 pm
five337 offline
Posts: 52
Joined: Jun 21, 2010

DirecTV Control with Indigo Actions

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)
Attachments
Screen Shot 2011-09-10 at 7.57.06 PM.png
Screen Shot 2011-09-10 at 7.57.06 PM.png (95.08 KiB) Viewed 2899 times

Posted on
Mon Sep 12, 2011 8:53 am
Korey offline
User avatar
Posts: 811
Joined: Jun 04, 2008
Location: Henderson, NV

Re: DirecTV Control with Indigo Actions

Nice tip!

--
Korey

Posted on
Mon Sep 12, 2011 9:42 am
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: DirecTV Control with Indigo Actions

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.

Image

Posted on
Mon Sep 12, 2011 11:19 am
roussell offline
User avatar
Posts: 1108
Joined: Aug 18, 2008
Location: Alabama

Re: DirecTV Control with Indigo Actions

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

Posted on
Wed Sep 21, 2011 9:07 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: DirecTV Control with Indigo Actions

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!!!

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Sep 21, 2011 4:48 pm
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: DirecTV Control with Indigo Actions

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.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests