Lutron RadioRa2 test

551 views
Skip to first unread message

Brian Lake

unread,
May 10, 2010, 5:31:52 PM5/10/10
to CommandFusion
Hey Jarrod,
Just popped in a RadioRa2 system with 6 dimmers.
I made a page of 6 sliders and a text field with a "debugger" regex to
start my feedback parsing.
My serial control is working fine with the sliders but how do I
monitor the output of the RadioRa2 so that my sliders respond when
lights change levels by other means (global scene activated, manual
button press of dimmer) ?

Regex: (.*)
Lutron response to level changes: ~OUTPUT,2,1,55.00

(that translates into dimmer ID 2 was set to level 55)

How can I then join this to the corresponding slider whenever the
level changes?

New to this and trying to get the hang of it.
Thanks for the help all!!

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

Jarrod Bell

unread,
May 10, 2010, 7:34:09 PM5/10/10
to CommandFusion
Try a regex of:
OUTPUT,2,.,(.*)

Then assign a capture group:
index=1
datatype = analog
target = analog
join = same join as your slider
min=0
max=100 (or whatever the maximum value for light level is)

Jarrod

Fiasco

unread,
May 10, 2010, 11:41:30 PM5/10/10
to CommandFusion
RadioRa2

Your startup command should be:
username\x0D\x0Apassword\x0D\x0A#MONITORING,255,1\x0D\x0A?DEVICE,
1,109,9\x0D\x0A

Typical ra keypad command
#DEVICE,9,7,3\x0D\x0A
(device, integrationid,button,press)

Feedback for keypad (find led state of button 7 above, LED is the
button number +80)
~(?i)DEVICE,9,87,9,(.*)

Request feedback from a dimmer
?OUTPUT,6,1\x0D\x0A

Parse feedback from same dimmer (you could set this to set the value
of an analog slider
~OUTPUT,6,1,(.*)\..*

Set dimmer to a specific level (you could assign the value of an
analog slider [sliderval])
#OUTPUT,6,1,[sliderval]\x0D\x0A

To do a keypad dimmer action you are going to want to create a macro
press dimmer button
#DEVICE,9,19,3\x0D\x0A
second macro command (wait 300ms)
#DEVICE,9,19,4\x0D\x0A

Set the repeat delay on the button in your gui interface that triggers
this to repeat every 325 ms.

When you send commands in succession to your ra2 repeater you should
do it at 50ms intervals. The RA repeater will ignore an incoming
command until it is done parsing the current command. 50ms is enough
time between commands.

Fiasco

unread,
May 10, 2010, 11:42:34 PM5/10/10
to CommandFusion
That very first command is slightly incorrect since it contains extra
data specific to my setup.

this
username\x0D\x0Apassword\x0D\x0A#MONITORING,255,1\x0D\x0A?DEVICE,
1,109,9\x0D\x0A

should be this
username\x0D\x0Apassword\x0D\x0A#MONITORING,255,1\x0D\x0A

Brian Lake

unread,
May 12, 2010, 1:41:23 AM5/12/10
to CommandFusion
Awesome! Thanks so much for the specifics!

av_roller

unread,
Jun 20, 2010, 10:22:58 PM6/20/10
to CommandFusion
Thanks for posting info Fiasco,

Everything works good but had one question hoping someone can answer.

My dimmer level feedback comes back with two decimals, 90.00 for
example. Is there a way to just capture the 90 without the .00?


Thanks

Fiasco

unread,
Jun 20, 2010, 11:38:58 PM6/20/10
to CommandFusion
~(?i)DEVICE,9,87,9,(.*?)\.*
> > For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.- Hide quoted text -
>
> - Show quoted text -

Phil

unread,
Jun 22, 2010, 6:44:49 PM6/22/10
to comman...@googlegroups.com

Phil

unread,
Jun 22, 2010, 6:52:05 PM6/22/10
to comman...@googlegroups.com
Thanks Fiasco,

I had to use \..* at the end to get rid of both decimals.

Should the start up command be fetching my levels? When I start iviewer all my levels are at 0. What do I need to do to get full system status on start up?

Thanks

Sent from my iPad

On Jun 20, 2010, at 10:38 PM, Fiasco <dgvo...@gmail.com> wrote:

Sergio Baiao

unread,
Oct 22, 2012, 2:40:36 PM10/22/12
to comman...@googlegroups.com
Hi Fiasco,

Can you help me setting up a slider within a RadioRA2 system? I know how to control the rr2 processor, but i have no idea on how to set the slider with the current value, how to send the value from the slider, etc. If you could get me all the steps to achieve this:

1 - On startup, get values from all dimmers, and set all sliders with the corresponding values
2 - Make the sliders send the commands to the dimmers
3 - Have (-) and (+) buttons on each slider that increases or decreases according
Reply all
Reply to author
Forward
0 new messages