Lutron telnet integration processing speed

I just started setting up a new RadioRA 2 system, and I purchased a Hubitat Elevation to handle the conditional logic and to bridge commands between my new RadioRA 2 system and my older Caseta system. The only thing I've tried so far is getting Radio Powr Savr occupancy sensors from the RadioRA 2 system to control a Caseta switch. It's working, but it's slower than I expected it to be and very noticeably slower than when the sensors were paired directly to the Caseta switch. I even changed the frequency of the RA 2 Main Repeater and sensors (from default 433.6 to 434.2) to make sure there wasn't interference between the two systems based on advice from an older thread.

Overall, it looks like it's generally taking in the ballpark of 550ms between when the motion event is printed and the dimmer update is printed. Does that sound normal? When not including Hubitat in the logic, the time is reduced all the way down to about 150ms. One thing that concerns me is how long the Hubitat seems to be taking for local processing (rules, motion lighting app, etc.). For example, in the screenshot below, why is there 211ms between motion event received (rcvd: DEVICE,33,2,3) and STARTING to send the command to turn the lights on (Setting dimmers [Closet Lights] to 100)? I would expect that once the Hubitat received the motion event, it would be sending out the command to turn on the lights less than 10ms later, not over 200. Is there something wrong with the Lutron integration here, is the processor in the Hubitat just extremely slow, or am I missing something?

Similarly, when using Rule Machine, I have noticed that there is usually about 200ms between when Rule Machine prints triggered and when it prints the action in a (simple) if statement. An if statement shouldn't take that long to run.

Thanks

Not to screw up your question. How did you have those occupancy sensors paired to a caseta bridge?

They didn't pair to the bridge. They were paired directly to switches / dimmers. A warning though, when you pair them directly to switches, the switches then can't be paired to the bridge either, so the switches will no longer be "smart" apart from being controlled by the motion sensor.

So I’m not the only one.

Did you ever find a way to speed this up?

Not really. I try to use Motion Lighting instead of Rule Machine where possible because it’s faster.

Using Motion Lighting and RA2 Occupancy Sensors, my timing is 246 msecs from motion active reported to RA2 phantom button press (that turns on several loads).

Bruce this is just weird.

His problem is in line with my experience too. So at least this shows it’s just not me.

I’d love to have support go through my entire hub.

Everything is connected back to a Cisco 2960s and I’ve cable tested the lines. Everything is good.

If my experience is not normal, is it possible to get an rma ?

Start with a freshly refreshed Logs page. Trip the motion sensor. Take a screenshot of the logs for the motion sensor, and for Motion Lighting, and for the lights being turned on. Make sure first that logging is turned on for all elements. Post those screenshots. Also show the Lutron Telnet log.

Are these RA2 devices?

I can get this later when I’m home.

It’s Caseta with iris v2 motion sensors.

Long and short of it, if I use another product tied into maker API that other HA software turns the light on faster.

The actual time once Hubitat makes the call out to Lutron in minimal. It’s the execution process of when motion lighting sees the active sensor and then reaches out to Lutron. That process is where the delay is happening.

I don't think that's directly comparable to the observations noted by @graysoncarr

1 Like

Apples and oranges -- this topic was about Lutron Radio Power Savr occupancy sensors and RA2. Never mind about what I suggested to post.

Break the problem down into elements to find where the time is spent. It is typical for Motion Lighting to take 150 to 250 milliseconds to activate a light, depending on a lot of variables. The motion sensor throws an event, that fires an instance of Motion Lighting, and it sends a command to turn on a light. Each of those steps involves some time.

1 Like

Here's a situation from my house that's comparable to yours:

Dome z-wave plus motion sensor (Kitchen Motion) being used as a trigger to turn on a Caseta Switch (Kitchen Tube):

It took just 327 msec from when Kitchen Motion reported motion to Hubitat to the Kitchen Tube being turned on.

I think that is very fast.

1 Like

Yeah and mine is like the following.

And that error brings me to the default rule machine setup page.

I wonder if you have some database corruption. Try these steps:

  1. Download a backup to your computer
  2. Peform a Soft Reset from [your-hub-ip]:8081
  3. When the hub's startup green screen comes up, select Restore from Backup at the bottom
  4. Select the downloaded backup you made earlier, and hit Restore
  5. When the hub has been restored, go to [your-hub-ip]:8081 and reboot the hub
1 Like

I've done this like 3 times in the last two weeks.

What's the reasoning to do this now? The rule machine error?

OK, then contact support@hubitat.com. The "rule machine error" is a database error. Is that new? That's not normal. Is your hub acting slow on other things? Is the web UI slow? Be prepared for the inevitable question of what custom apps and custom drivers do you have installed. One of those could be slowing your hub down. What you are showing is certainly not normal.

Okay, let me just do a restore one more time and watch the logs.

I have very little in terms of apps and drivers.

Average temp
Presence virtual switch
Http momentary
Darksky

Okay done, i'm not seeing that error after 10 mins of live logging.

Looks like I still have the error.

app:62019-10-25 03:05:08.090 pm errororg.h2.jdbc.JdbcSQLException: Column "disabled" not found [42122-197] on line 586 (ruleList)

OK, that's very odd. This, however, would not have anything to do with your timing issue. Were you doing something with editing or creating a rule, or global variable? At the time of this error occurring?