Friday, November 13, 2009

[CommandFusion Group] Re: Lutron Homeworks: How To (Thanks Jarrod)

0 comments
Thanks for the excellent writeup. Wouldn't happen to have a spare few
hours to do some screenshots, or perhaps a sample GUI file that I can
add to our Google Code repository?

Jarrod

On Nov 13, 1:36 pm, Fiasco <dgvoll...@gmail.com> wrote:
> This should be sufficient to get up and running with a basic lutron
> remote w/ feedback.
>
> I'll assume you already know how to make a two state theme/button.
>
> Create a few buttons (Digital join 100,1,2)
> Create a text field (Serial join 4)
>
> Create a new system
> Enter the IP address of your lutron homeworks processor.   Enter the
> Telnet Port. (port origin is same usually 23).
>
> Tcp checked
> maintain connection checked
> Heartbeat RX/TX blank
> EOM blank
> connection join 100 (this will toggle the state of 100 if you the
> telnet connection is established)
>
> Create a LOGIN command
> Command Value USERNAME,PASSWORD\x0A\x0D
>
> Go back to the system properties page and set the startup command as
> LOGIN
>
> Create three commands
> Button 100
>
> Button 1
> Command value
> KBP,[01:06:08],1\x0A\x0D
>
> Button 2
> Command value
> KBP,[01:06:08],2\x0A\x0D
>
> The three numbers in paranethisis and number following the comma
> represent [processor:link:keypad],buttonnumber
>
> This will toggle that button on the processor.
>
> To process the feedback create feedback
> Regex
> KLS,\[01\:06\:08\],(\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d)
> (\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d)(\d).*\x0D
>
> There are 24 LEDS per keypad possible each (\d) represents the led
> state of buttons 1-24 on the keypad
>
> Regex Capture Groups
> Name Button1
> DataType Digital
> Join 1
> Min Val 0
> Max Val 0
> Off Val 0
> On Val 0
> Name Button2
> DataTypeDigital
> Join 2
> Min Val 0
> Max Val 0
> Off Val 0
> On Val 0
>
> Create a new feedback
> Regex KLS, \[01\:06\:08\], (\d*).*
>
> Capture Group
> Name output
> datatype serial
> join 100
> minval 0
> maxval 1000 (not really relevant)
>
> This will set the value of the  text field to the 24 digit string
> returned by the LED state of your keypad.
>
> If you get no output, login to the Lutron processor with the same
> username/password you are using for CommandFusion and type KBLMON (or
> create a button with KBLMON\x0D as it's command.

--

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

Comments

0 comments to "[CommandFusion Group] Re: Lutron Homeworks: How To (Thanks Jarrod)"

Post a Comment

 

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