Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lutron RA2 & Caseta drivers
I have updated the Lutron drivers mentioned above. Support has been added for fans, shades, and shadegroups. The shipped RA2 client driver does not know about these so you have to edit the configuration file by hand. Here is a very simple configuration file defining three thermostats:


Note that the groups are in alpha order.

Values for the new device types:

fan values are Off, Low, Medium, MediumHigh, High

shades and shadegroups are 0 to 100

Attached Files
.cqcdrvpack   LutronRadioRA2_Serial_V2.CQCDrvPack (Size: 50.08 KB / Downloads: 1)
.cqcdrvpack   LutronRadioRA2_IP_V2.CQCDrvPack (Size: 51.28 KB / Downloads: 1)
.cqcdrvpack   LutronCaseta_IP_V2.CQCDrvPack (Size: 51.08 KB / Downloads: 2)
Mark Stega
You should give an example of the configuration for the new types, so folks will know what to enter for those.
Dean Roddey
Explorans limites defectum
Updated the first post to show examples of the new configuration and potential values.
Mark Stega
I imported the updated an loaded it, I dont see the new options it in the driver client`
(09-23-2021, 03:49 PM)tom Wrote: I imported the updated an loaded it, I dont see the new optionsĀ  it in the driver client`
Per the first post the shipped client driver does not yet support the new options. You have to edit the configuration file by hand to add the new devices at this point.
Mark Stega
There's an issue in the Fan handler. It's creating a string based, enumerated field, but storing a Card4 field as a value. the StoreFanLevel method needs to check the value to see if it's one of the possible values and store it as text.
Dean Roddey
Explorans limites defectum
What is missing are
1) The 'back' translation from a received Card4 from the reported fan level to the string field
2) Handling in StringFldChanged to set the card4 in the automation
3) Handling for shades & shadegroups in CardFldChanged

I hate doing driver development 'by eye' with no testing possible, I should have caught #2 & #3 by setting a value, but without a fan I'd have never had a test for #1.

I'm posting replacement drivers
Mark Stega

Possibly Related Threads…
Thread Author Replies Views Last Post
  Weather Drivers simplextech 10 5,242 01-05-2020, 10:51 AM
Last Post: simplextech
  Lutron Radio RA2 Dean Roddey 222 87,856 02-26-2019, 06:13 PM
Last Post: rtarver
  Using Drivers within CML Macro Jnetto 1 7,223 01-01-2017, 09:33 AM
Last Post: wuench
  Drivers for new equipment George M 10 8,065 12-17-2016, 07:36 AM
Last Post: Mark Stega
  Non-Shipped Drivers Links Dean Roddey 6 11,118 01-09-2016, 10:42 AM
Last Post: Dean Roddey
  Wuench's Drivers wuench 3 12,843 06-09-2014, 02:44 PM
Last Post: Dean Roddey
  Lighting IP Drivers willplaice 3 4,899 04-27-2013, 02:30 AM
Last Post: znelbok
  Any drivers need to be added/updated for 4.2? Dean Roddey 8 7,321 08-01-2012, 10:01 AM
Last Post: Dean Roddey
  Any PTZ Drivers In Existence? zpollock 0 3,766 11-03-2009, 11:37 AM
Last Post: zpollock
  Drivers in Progress Discussion IVB 296 121,150 04-14-2009, 10:08 AM
Last Post: Dean Roddey

Forum Jump:

Users browsing this thread: 1 Guest(s)