1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iPhone based remote control for DirecTV DVR

Discussion in 'DIRECTV General Discussion' started by waltz49, Nov 19, 2010.

  1. Nov 20, 2010 #21 of 279
    kcmrlitz

    kcmrlitz New Member

    9
    0
    Jul 23, 2008
    Works great for me! I would love to see a full app on iTunes :). One suggestion would be a stop button on the control page to stop viewing a recorded program.

    Kevin
     
  2. Nov 20, 2010 #22 of 279
    waltz49

    waltz49 AllStar

    66
    0
    Nov 19, 2010
    Thanks everyone for trying this out and for the comments.

    First, I guess a short explanation of pre-reqs is required.

    Control of the DVR is through the home TCP/IP network. That is the local network to which the DVR is connected. These networks usually have a 192.168.x.x address or a 10.x.x.x address depending on your home router. What is important to note here is that the iPhone (or whatever browser) needs to have an address on the same network. I don't have a 3G type of connection, but I gather that these get an IP address assigned by the phone company, not your home network so those types of connections won't work.

    geek note: The outside network can not see inside your local network unless you specifically set your router up to do that, which most people will not do; If you want the outside world to see your DVR, open port 8080 to route to your DVR box, but be prepared for hacking attempts which the DVR might not handle gracefully.

    2nd, the way that programming is determined is to go to the DirecTV site's "whats on" page. I've made an effort to hit the DirecTV server as little as possible (both for our benefit and theirs!) so listings only get updated if you make a new request for a given zip code after the clock goes past 0 or 30 minutes past the hour (or 15 minutes since the last request for a given zip). You might see shows listed as still showing that are not really still on if they didn't end at 0 or 30 past.

    I've filtered out any channels that are showing titles of 'paid programming' or 'no programming' in the listings, so sometimes channels will appear to be missing but are simply filtered out because they are showing infomercials.

    Finally, I'm a geek and, by definition, don't watch or even understand sports (heck, I even got my arm broken in 6th grade wrestling!), so for now the channels above 619 are not shown right now.

    I'd like to understand the missing LA local channels so let me know the zip and I'll take a look. It is probably infomercial filtering though.

    I'll have a look at personalizing channel lists. I know how I'd like it to look and it has great potential but I have some learning to do so this will be a little while yet. I'll study a bit over the holidays.
     
  3. Nov 20, 2010 #23 of 279
    ciurca

    ciurca Godfather

    428
    0
    Apr 14, 2009
    +1 on the droid app. Freaaked my wife out when I changed the channel. She had the remote.
     
  4. Nov 20, 2010 #24 of 279
    HoTat2

    HoTat2 Hall Of Fame

    7,138
    171
    Nov 16, 2005
    Los...
    Zip here is 90037, and the app is only displaying six local stations;

    KNBC 4
    KTLA 5
    KTTV 11
    KWHY 22
    KCET 28
    KOCE 50

    Therefore quite a few from the DirecTV lineup in the LA market are missing. 21 to be exact;

    KCBS 2
    KABC 7
    KCAL 9
    KCOP 13
    KSCI 18
    KBBC 20
    KVCR 24
    KPXN 30
    KVMD 31
    KMEX 34
    KXLA 44
    KFTR 46
    KVEA 52
    KAZA 54
    KDOC 56
    KJLA 57
    KLCS 58
    KLCS 58-2
    KRCA 62
    KBEH 63
    KHIZ 64

    Otherwise good app though, thanks ...
     
  5. Nov 20, 2010 #25 of 279
    ciurca

    ciurca Godfather

    428
    0
    Apr 14, 2009
    I like the app just for the fact I can mess with my son.
     
  6. Nov 20, 2010 #26 of 279
    brian188

    brian188 Legend

    137
    0
    Oct 13, 2007
    Most items work fine on Samsung Epic with an HR20-700.

    Local channels only thing that doesn't seem to work. They aren't listing even with my zip. And missing some movie channels, Showtime, etc. but assume you don't have them set up if you don't get em.
     
  7. Nov 20, 2010 #27 of 279
    Hdhead

    Hdhead Hall Of Fame

    1,241
    2
    Jul 30, 2007
    Doesn't list any locals for me in zip 54650.
     
  8. Nov 21, 2010 #28 of 279
    waltz49

    waltz49 AllStar

    66
    0
    Nov 19, 2010
    Thanks HoTat2. I think this fixed. I was inadvertently restricting the locals list to those in my own zip code. Station names should appear as text since I don't have associations to networks. When I get to adding customization, we'll be able to knock out those shopping or alternate language channels as desired (but that might be a little while yet).
     
  9. Nov 21, 2010 #29 of 279
    hilmar2k

    hilmar2k Hall Of Fame

    5,251
    4
    Mar 18, 2007
    Replace "son" with "wife" and that's exactly why I tried so hard to get this to work for me. :lol:
     
  10. Nov 21, 2010 #30 of 279
    BurnX

    BurnX Cool Member

    31
    0
    Oct 16, 2006
    Works with iPhone. Works with Firefox 4.0b7.

    Had an issue with Chrome v8.0.552.200 beta. The last 2 octets of the IP address are cleared from the DVR's IP Address box when clicking the set button. This causes the needs Valid IP message to pop up.

    Overall awesome job!! Thanks for putting this together.
     
  11. Nov 21, 2010 #31 of 279
    cypherx

    cypherx Hall Of Fame

    3,447
    64
    Aug 27, 2010
    PA - Berks...
    I'm not home to try it, so I put in 127.0.0.1 in the IP address box just so I can proceed and look around. But when I hit set, the IP address changes to 127.0 and a box comes up saying invalid IP. Every time I correct the IP address, as soon as I hit set it goes away.

    Java is fully updated, not sure if that matters (i know some java updates can break legacy code).

    I'll try later tonight on my iphone when I get home.
     
  12. Nov 21, 2010 #32 of 279
    bleggett29

    bleggett29 Legend

    156
    0
    Feb 2, 2008
    I'm also having difficulty setting the IP address in Chrome v8.0.552.200 (last 2 octets disappearing).
    It does, however, work great on my Droid Incredible over WiFi.
    Also works OK in IE 8.
    Occasional locals missing from guide(ZIP 20653) but I'm sure it's due to filtering. Currently only missing CH 7 WJLA which is showing paid programming.
     
  13. Nov 21, 2010 #33 of 279
    HoTat2

    HoTat2 Hall Of Fame

    7,138
    171
    Nov 16, 2005
    Los...
    Yes that "practically," for me anyhow :) did the trick since the channels still not coming up, or consistently up, are almost all Spanish speaking stations I don't watch anyhow. But for the record, right now the channels not presently showing are.

    KSCI 18, KWHY 22, KMEX 34, KFTR 46, KVEA 52, KAZA 54, KJLA 57, KLCS 58-2, KRCA 62, and KHIZ 64.

    Still thanks-a-much for the work so far and love the additional remote functions you've recently added I see.
     
  14. Nov 21, 2010 #34 of 279
    ciurca

    ciurca Godfather

    428
    0
    Apr 14, 2009
    My thoughts...

    With a little more layout, the keypad tab and the controls tab can be just one tab.

    I downloaded the page and files onto my local machine and ran it from there. The app worked just as it does off your server except the channels page wouldn't fetch. I'm sure since this is just in early beta, you could easily work on that coding. So, I think it could be a great app. I'd download a finished app and be happy to pay a buck for it, rather than deal with an ad crawl. Keep up the evolution of it.
     
  15. Nov 21, 2010 #35 of 279
    cypherx

    cypherx Hall Of Fame

    3,447
    64
    Aug 27, 2010
    PA - Berks...
    Ok I'm home now and it works great on my iphone. Great job! Many props to you!

    Nice platform to build upon. It can only get fine tuned from here!
     
  16. Nov 21, 2010 #36 of 279
    jmh139

    jmh139 AllStar

    87
    0
    Aug 10, 2007
    Great Job, works faster than the DTV remote on my iPhone to my HR20-100. My kids love this with their iPhones!
     
  17. Nov 21, 2010 #37 of 279
    bleggett29

    bleggett29 Legend

    156
    0
    Feb 2, 2008
    You can edit the html file to have a hard link to the php file on the OPs server. I spent several hours over night trying to get Chrome to work. A lot of it was editing a local copy of the html.
     
  18. Nov 21, 2010 #38 of 279
    waltz49

    waltz49 AllStar

    66
    0
    Nov 19, 2010
    Chrome chopping off the IP address should be fixed.

    Geek note: Looks like Chrome and Safari interpret the HTML5 standard for input type="number" differently. iPhones just change the keypad to numbers but Chrome validates a real number which, of course, can't have multiple decimals. The fix was to use type=number only on ipod/iphone/ipad. Yuck... but I think it should work.

    Also, I did filter out a few of the non-English channels in some areas. Since this is really an early version, I'm not providing a means for users to do that and so I thought it reasonable to filter out the non-English channels most current users would not care to see in the lists.
     
  19. Nov 21, 2010 #39 of 279
    waltz49

    waltz49 AllStar

    66
    0
    Nov 19, 2010
    I originally had it that way, but I found that there was too much scrolling around and it was not intuitive.

    It does need some work on button placement though. For example, if you accidentally change channels, you can only find the 'previous channel' button on the keypad page. I added a temporary 'prev' button on the listings but I still find myself looking for the previous button. So maybe a frequently used button bar or something.

    One tip though, you can disable sending commands to the DVR with the 'disable' button on the info page.
     
  20. Nov 21, 2010 #40 of 279
    bleggett29

    bleggett29 Legend

    156
    0
    Feb 2, 2008
    Thanks. :D
    Code:
    if (!apple) { // God why can't browsers be standard!?!?!
           document.getElementById('rmipaddr').type="text";
           document.getElementById('zipCode').type="text";
    Good to know for future references.;)
     

Share This Page