Quote:
Originally Posted by Jim Clamage 
Re setting up a NFL Sunday Ticket Page with program info:
I never heard back from the guys at Waltz Remote but after further digging it looks like they use scripts/JSON/AJAX to get their program info from the DirecTV guide on the website, parse it and put it into a layout on a web page.
I wasn't sure how that would work in the iRule environment, so I went back and looked more carefully at what SeldomSeen31 had done previously (http://www.avsforum.com/t/1351981/irule/7230#post_22603300) since it looked like he got soooo close...and late last night I got an NFL Sunday Ticket page with program info to work. Here's a quick layout and proof of concept (I'll finish up the page layout later tonight):

As I said, SeldomSeen31 was very close. For each channel number that you want to display program info for, for example 704, you need:
1) A unique DirecTV HTTP Remote Device in the builder (ie. DirecTV704)
2) A unique Channel Info Query Network Code in that Device that references the channel (ie. tv/getProgInfo?major=704)
3) A unique Entrance in the Panel that executes that Channel Info Query (fyi, I use repeat every 10 secs)
4) A unique Feedback in the builder that references that DirecTV704 Device in the feedback properties
5) Place the Title Feedback Code for that unique Feedback in the page
6) Save
7) Sync your iPad
8) Go to Panel, Gateway, add a new HTTP Gateway, add the DirecTV704 device and your IP address etc
9) and that's it.
The problem before was that if you had multiple query's on the same device and feedback, the latest query would apply to all feedbacks on that device and confuse everything. The key is to have a separate device, code, query, feedback, and gateway for each channel.
Yes, it's a giant PITA, but if someone has a better way, I'm all ears.
Enjoy,
Clam
PS. I also kept a unique DirecTV device and gateway for the current channel query, that way my regular remote control page can query the current channel without affecting any of the channel specific queries on the NFL page.

Re setting up a NFL Sunday Ticket Page with program info:
I never heard back from the guys at Waltz Remote but after further digging it looks like they use scripts/JSON/AJAX to get their program info from the DirecTV guide on the website, parse it and put it into a layout on a web page.
I wasn't sure how that would work in the iRule environment, so I went back and looked more carefully at what SeldomSeen31 had done previously (http://www.avsforum.com/t/1351981/irule/7230#post_22603300) since it looked like he got soooo close...and late last night I got an NFL Sunday Ticket page with program info to work. Here's a quick layout and proof of concept (I'll finish up the page layout later tonight):
As I said, SeldomSeen31 was very close. For each channel number that you want to display program info for, for example 704, you need:
1) A unique DirecTV HTTP Remote Device in the builder (ie. DirecTV704)
2) A unique Channel Info Query Network Code in that Device that references the channel (ie. tv/getProgInfo?major=704)
3) A unique Entrance in the Panel that executes that Channel Info Query (fyi, I use repeat every 10 secs)
4) A unique Feedback in the builder that references that DirecTV704 Device in the feedback properties
5) Place the Title Feedback Code for that unique Feedback in the page
6) Save
7) Sync your iPad
8) Go to Panel, Gateway, add a new HTTP Gateway, add the DirecTV704 device and your IP address etc
9) and that's it.

The problem before was that if you had multiple query's on the same device and feedback, the latest query would apply to all feedbacks on that device and confuse everything. The key is to have a separate device, code, query, feedback, and gateway for each channel.
Yes, it's a giant PITA, but if someone has a better way, I'm all ears.
Enjoy,
Clam
PS. I also kept a unique DirecTV device and gateway for the current channel query, that way my regular remote control page can query the current channel without affecting any of the channel specific queries on the NFL page.
OK, this is my first attempt at feedback with DirecTV. I did every step that you have listed above (or thought I did) and get no feedback whatsoever. Obviously I'm not doing something right. I'm not sure I understand the Query Code. I created a new query code in the unique Channel 704 Device -- I used the same code you did (tv/getProgInfo?major=704). I put this code into a unique entrance for the panel. I imported a new DirecTV feedback and renamed it DirecTV 704. I attached this to the new device. I placed the title feedback on the page and added the new gateway -- but nothing happened after syncing. Any idea where I messed up?






















