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