Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lutron RA2 & Caseta drivers
#1
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:


ButtonCnt=0
ContactClCnt=0
DimmerCnt=0
FanCnt=1
Fan=fan1,22:0
LEDCnt=0
LtSwitchCnt=1
Switch=ls1,23:0
OccSensorCnt=0
ShadeCnt=1
Shade=sh1,24:0
ShadeGroupCnt=1
ShadeGroup=sg,25:0
ThermoCnt=0

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
Reply
#2
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
Reply
#3
Updated the first post to show examples of the new configuration and potential values.
Mark Stega
Reply
#4
I imported the updated an loaded it, I dont see the new options it in the driver client`
Reply
#5
(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
Reply
#6
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
Reply
#7
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Weather Drivers simplextech 10 4,107 01-05-2020, 10:51 AM
Last Post: simplextech
  Lutron Radio RA2 Dean Roddey 222 83,144 02-26-2019, 06:13 PM
Last Post: rtarver
  Using Drivers within CML Macro Jnetto 1 2,706 01-01-2017, 09:33 AM
Last Post: wuench
  Drivers for new equipment George M 10 7,163 12-17-2016, 07:36 AM
Last Post: Mark Stega
  Non-Shipped Drivers Links Dean Roddey 6 9,866 01-09-2016, 10:42 AM
Last Post: Dean Roddey
  Wuench's Drivers wuench 3 12,270 06-09-2014, 02:44 PM
Last Post: Dean Roddey
  Lighting IP Drivers willplaice 3 4,433 04-27-2013, 02:30 AM
Last Post: znelbok
  Any drivers need to be added/updated for 4.2? Dean Roddey 8 6,560 08-01-2012, 10:01 AM
Last Post: Dean Roddey
  Any PTZ Drivers In Existence? zpollock 0 3,496 11-03-2009, 11:37 AM
Last Post: zpollock
  Drivers in Progress Discussion IVB 296 114,438 04-14-2009, 10:08 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)