Wednesday, February 10, 2010

Re: Feedback using hex (DirecTV)

0 comments
I wrote a plugin for the DirecTV HR20 tuner for EventGhost and have
the complete HR20 protocol.

Jarrod is right. DirecTV's serial protocol sucks. ACK responses
are variable length and there is no
delimiter to differentiate the end of one ack response from the start
of the next.

What do you have between your DirecTV and your CommandFusion interface
(I have EventGhost as mentioned).

I stopped developing my DirecTV plugin because I had so many other
devices to write plugins for related to the particular job I was on
(Denon Receivers, HR20 boxes, Lutron Lighting System, Security System,
Pioneer, Mitsubishi and Samsung televisions ect ect).

Why cant all manufacturers have a nice easy to use protocol like Onkyo
(all commands and ack responses start with !), Pioneer or LG (all ack
responses end in X)

On Feb 10, 2:23 am, stbluesrul <paul.l.cra...@gmail.com> wrote:
> I had the "hex" box checked the first time I tried and it returned the
> "M".  Unchecking it, still deplayed the "M".
>
> Here is the link on AVS Forum:http://www.avsforum.com/avs-vb/showthread.php?t=1124844&page=23
> About half way down the page, Itai's answer to me basically hints at
> it.
>
> On Feb 9, 11:35 pm, Jarrod Bell <jar...@guilink.com> wrote:
>
>
>
> > iRule doesnt mention support of this on their website. Can you link me
> > to where this is mentioned (perhaps you read it on AVS Forum
> > somewhere?)
>
> > You can also try checking the "hex" box in the feedback group
> > properties. But I don't think this will work.
>
> > The main problem is that they send the number in two hex bytes, which
> > gives a range from 0-65535, so stupid of them.
> > Sending "502" is much easier, and only a single byte more....can't
> > believe the brains behind some of these companies sometimes. </rant>
>
> > If all else fails, we will look at ways we can allow parsing like this
> > to work.
>
> > Jarrod
>
> > On Feb 10, 6:11 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > That's no fun DIRECTV...
>
> > > The good news is that the feedback is working, however, as you said
> > > I'm getting the ascii output for the text.  So for channel 77 I get a
> > > capital "M".  I know that the iRule (iRuleathome.com) will be coming
> > > out soon for the iPhone/iTouch and will be able to do this.  An chance
> > > that commandfusion will support it too?
>
> > > I don't understand why DirecTV doesn't have good for support for
> > > RS232.  I have two H23's and two HR23's and all the documentation for
> > > RS232 seems to stop at the HR20.  However, all the commands still for
> > > the H23 and HR23.  Don't they know that there are people that want to
> > > build automation systems around this stuff?  I also wish that they
> > > wouldn't have canceled the work on the HDPC-20 for Windows MCE.
>
> > > On Feb 9, 9:37 pm, Jarrod Bell <jar...@guilink.com> wrote:
>
> > > > Due to the poorly designed protocol of the DirecTV box, I don't think
> > > > this will be possible. How hard would it be for them to just provide
> > > > the number in ascii...sheesh.
>
> > > > Anyway, you can try creating a feedback entry in the System Manager as
> > > > follows:
> > > > regex: \xF0(..)\xFF\xFF\xF4
> > > > capture group 1: serial join 1
>
> > > > Then create a text object on serial join 1 and see what it displays
> > > > when the channel status is parsed. Most likely it will convert to the
> > > > ascii equivalent (which is not what you will be expecting to see).
>
> > > > You must have your system setup to "maintain connection" for this to
> > > > work. And if all commands come back with a \xF4 delimiter, then set
> > > > the system EOM property to \xF4 (this helps split messages that come
> > > > in quickly).
>
> > > > Jarrod
>
> > > > On Feb 10, 4:16 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > > > I want to receive feedback from DirecTV receivers (current channel,
> > > > > date/time, signal strength, etc...).  So far I have everything working
> > > > > great in commandfusion.  The only thing I am having a problem with is
> > > > > getting feedback.  Basically, I want to hit a button on commandfusion
> > > > > and have the channel number be displayed above the button or overlay
> > > > > onto another one.  I just need some direction as to go about doing
> > > > > this...
>
> > > > > Everything is hex.
> > > > > The command to query the receiver for the current channel is \xFA\x87
> > > > > The receiver will then send back \xF0\x01\xF6\xFF\xFF\xF4 for the
> > > > > channel number (in this case it's 502)
> > > > > or \xF0\x00\x05\xFF\xFF\xF4 if it were channel 5.
>
> > > > > The only bytes that change are the 2nd and 3rd. (\x01\xF6 - for
> > > > > channel 502) or (\x00\x05 - for channel 5).- Hide quoted text -
>
> - Show quoted text -

--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

Comments

0 comments to "Re: Feedback using hex (DirecTV)"

Post a Comment

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com