\*\*1\*(\d+)\*23\#\#
Make sure that the escaping slash is always before the character for
when you want to use a special regex character as its actual string
value (eg. Asterix).
And if its just a digital on or off, then the capture group should be:
Datatype: digital
target type: digital
join: match same join as a button you want to show light status with
onval and offval can be left empty (as the captured value of 1 or 0
dont need converting, already a digital on/off value).
Jarrod
On Jul 10, 1:20 am, Rodrigo Drumond <rodr...@quantaautomacao.com.br>
wrote:
> The regex is *\*\1*(\d+)\*23\#\#\*#\*1\#\#*
> Add a Group: Data type analog, Target type analog and change a Join; add a
> slider/gauge with the same join..
>
> I developed all about My Home in the Command Fusion :)
>
>
>
>
>
> On Fri, Jul 9, 2010 at 12:08 PM, Sandro <sandro.dima...@gmail.com> wrote:
> > Hi guys,
>
> > I am playing with commandfusion. Incredible.
>
> > I need a little help on build the regex for the following feedback.
>
> > My home automation system replay in this way (this is an example for
> > light 23).
>
> > *1*1*23##
> > *x*y*zz##
>
> > x - Type for light. It's constant, in my case is 1
> > y - Digital value =off 1=on
> > zz - Address of my light (the range is 11 to 99)
>
> > I need to make a digital join with zz number and idenfy for this if is
> > on or off with the y value.
>
> > Thanks in advance
> > Sandro
>
> > --
> > 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<commandfusion%2Bunsubscribe@goog legroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/commandfusion?hl=en.
>
> --
> Rodrigo Drumond
> Certified for Philips Pronto products
> Phone: +55 31 3377-3150
> Mobile: +55 31 8699-2549www.quantaautomacao.com.br
--
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: Help on Parsing"
Post a Comment