View unanswered posts | View active topics It is currently Thu Apr 24, 2014 2:32 pm



Reply to topic  [ 6 posts ] 
 DirecTV Control with Indigo Actions 
Author Message

Joined: Jun 21, 2010
Posts: 43
Post 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 1175 times ]
Sat Sep 10, 2011 9:04 pm
Profile
User avatar

Joined: Jun 04, 2008
Posts: 179
Location: Las Vegas, NV
Post Re: DirecTV Control with Indigo Actions
Nice tip!


Mon Sep 12, 2011 8:53 am
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 13243
Location: Texas
Post 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


Mon Sep 12, 2011 9:42 am
Profile WWW
User avatar

Joined: Aug 18, 2008
Posts: 178
Location: Alabama
Post 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


Mon Sep 12, 2011 11:19 am
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 8363
Location: Austin, Texas
Post 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)
Image


Wed Sep 21, 2011 9:07 am
Profile WWW

Joined: Mar 31, 2008
Posts: 889
Post 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.


Wed Sep 21, 2011 4:48 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.