Create a new action.
Execute an embedded Python Script.
- Code: Select all
# 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()
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)