Monday, February 22, 2010

Re: Feedback using hex (DirecTV)

0 comments
There appears to be an issue when assigning the 'On Value' as hex, and
its not matching correctly.

We will try to get this fixed for next release.

Jarrod

On Feb 22, 4:51 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
> Thanks for the update Jarrod.
>
> I hear ya on the whole time thing.
>
> On Feb 21, 5:20 am, Jarrod Bell <jar...@guilink.com> wrote:
>
>
>
> > Sorry for delay in getting back to you. I still haven't had time to
> > double check all this.
> > I will make some time for it tomorrow and post my findings here.
>
> > Jarrod
>
> > On Feb 16, 7:41 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > Any luck Jarrod?
>
> > > On Feb 14, 1:51 am, Jarrod Bell <jar...@guilink.com> wrote:
>
> > > > I will test this out later tonight. Perhaps there is an issue with our
> > > > code relating to the onVal match when it's defined as hex bytes.
> > > > If I do get it to work, I will post a how to in the Wiki regex
> > > > examples page.
>
> > > > Jarrod
>
> > > > On Feb 14, 7:45 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > > > I have verified that page flips and subpages DO work.  The regex is
> > > > > also correct (I tested it with your above method).  I just can't seem
> > > > > to get the subpage to appear after receiving the feedback data from
> > > > > the receiver.  I have also verified (with a serial port monitor) that
> > > > > the receiver is outputting the correct data.
>
> > > > > Would you mind giving me a detailed step by step just to ensure I
> > > > > haven't missed something?
>
> > > > > On Feb 12, 1:04 am, Jarrod Bell <jar...@guilink.com> wrote:
>
> > > > > > You can actually test the regex in the Regex Tester by escaping the
> > > > > > backslashes like so:
> > > > > > \\xF0(\\x01\\xF6)?(\\x01\\xF7)?(\\x01\\xF8)?(\\x01\\xF9)?\\xFF\\xFF\
> > > > > > \xF4
>
> > > > > > Then test data of:
> > > > > > \xF0\x01\xF7\xFF\xFF\xF4
>
> > > > > > And you will see how the matches work.
>
> > > > > > The only thing I can think of that would stop it from working is not
> > > > > > having the device registered. Subpages and page flips wont work in
> > > > > > this case.
>
> > > > > > Jarrod
>
> > > > > > On Feb 12, 6:58 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > > > > > Jarrod here is the data:
>
> > > > > > > <cmd name="get channel">\xFA\x87</cmd>
>
> > > > > > > <fb name="channel" regex="\xF0(\x01\xF6)?(\x01\xF7)?(\x01\xF8)?
> > > > > > > (\x01\xF9)?\xFF\xFF\xF4">
> > > > > > > <group name="channel 502" index="1" datatype="d" j="502"
> > > > > > > onVal="\x01\xF6" />
> > > > > > > <group name="channel 503" index="2" datatype="d" j="503"
> > > > > > > onVal="\x01\xF7" />
> > > > > > > <group name="channel 504" index="3" datatype="d" j="504"
> > > > > > > onVal="\x01\xF8" />
> > > > > > > <group name="channel 505" index="4" datatype="d" j="505"
> > > > > > > onVal="\x01\xF9" />
> > > > > > >       </fb>
>
> > > > > > > Unless I'm doing something incorrect on the subpage...  Which I don't
> > > > > > > think I am, it's rather straight forward.
>
> > > > > > > On Feb 11, 6:25 pm, Jarrod Bell <jar...@guilink.com> wrote:
>
> > > > > > > > The tester cannot test with 'fake' hex data. eg. the data you entered
> > > > > > > > into the "test data" field doesnt actually contain any hex values,
> > > > > > > > just strings like '\xFF' (4 bytes).
> > > > > > > > So to test against hex data you need to copy/paste the data from
> > > > > > > > somewhere (not sure how you would copy it though).
>
> > > > > > > > Can you open up the GUI file in a text editor and show me the "<fb>"
> > > > > > > > item that you created? It will be between the <system> tags somewhere.
>
> > > > > > > > Jarrod
>
> > > > > > > > On Feb 12, 11:18 am, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > > > > > > > I tried this and it didn't seem to work.  Am I doing something wrong?
>
> > > > > > > > > In the regex tester I had
> > > > > > > > > Regex:       \xF0(\x01\xF6)?(\x01\xF7)?(\x01\xF8)?(\x01\xF9)?\xFF\xFF
> > > > > > > > > \xF4
> > > > > > > > > Test Data:  \xF0\x01\xF6\xFF\xFF\xF4
>
> > > > > > > > > Then had all the groups setup.  When the test data was in, it wouldn't
> > > > > > > > > find a match to the group.  In the feedback properties I tried it with
> > > > > > > > > both the "hex?" box checked and unchecked.  Neither worked.
>
> > > > > > > > > I also tried this fully setup in iViewer with subpages and all and it
> > > > > > > > > didn't work on that test either.
>
> > > > > > > > > On Feb 10, 6:28 pm, Jarrod Bell <jar...@guilink.com> wrote:
>
> > > > > > > > > > Yes you could do that, but indeed a LOT of work.
>
> > > > > > > > > > You need to have a feedback regex like this:
> > > > > > > > > > \xF0(\x01\xF6)?(\x01\xF7)?(\x01\xF8)?(\x01\xF9)?\xFF\xFF\xF4
>
> > > > > > > > > > That has 3 optional capture groups, so you then have to set each
> > > > > > > > > > capture group as follows:
> > > > > > > > > > digital, join 502, onval = \x01\xF6, off val = leave blank
> > > > > > > > > > digital, join 503, onval = \x01\xF7, off val = leave blank
> > > > > > > > > > digital, join 504, onval = \x01\xF8, off val = leave blank
> > > > > > > > > > digital, join 505, onval = \x01\xF9, off val = leave blank
>
> > > > > > > > > > Then have a subpage set for each channel on the same joins (502 to
> > > > > > > > > > 505)
> > > > > > > > > > The subpage can have whatever you want on it, logo, ch name, etc.
>
> > > > > > > > > > Again, lots of work (depending how many ch numbers you want to track),
> > > > > > > > > > but should do the trick.
>
> > > > > > > > > > Jarrod
>
> > > > > > > > > > On Feb 11, 1:01 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > > > > > > > > > Fiasco,
> > > > > > > > > > > Right now, just the GC-100-12.  I suppose I could install eventghost
> > > > > > > > > > > on the HTPC and use that.  I would need a little of direction though.
>
> > > > > > > > > > > Jarrod,
> > > > > > > > > > > Would it be possible to create buttons that would appear when I query
> > > > > > > > > > > the receiver for the channel?
> > > > > > > > > > > Say I send the command \xFA\x87 to get the channel from the receiver.
> > > > > > > > > > > When the receiver sends back \xF0\x01\xF6\xFF\xFF\xF4 (for channel
> > > > > > > > > > > 502), can I have a button appear that I have created that has the text
> > > > > > > > > > > 502 on it.  And just do this for every channel?  I know it would be
> > > > > > > > > > > alot of work, but would that work?
>
> > > > > > > > > > > On Feb 10, 7:27 am, Fiasco <dgvoll...@gmail.com> wrote:
>
> > > > > > > > > > > > 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.
>
> ...
>
> read more »

--
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