Rule delay

I am running a C8 pro and have started experiencing some delays. In the example below, it shows a contact sensor that monitors a door open state then activates a ceiling light accordingly. The sensor is a full minute before the light switch (controlled by rule machine). Any ideas why the delay is so long and where I should troubleshoot?

image

Several things would help. For a start:

  1. Screenshot of your rule.
  2. Logs (events, triggers, actions) for the rule when it executes.



Is the pantry sensor battery based? Might the battery be low?

It is battery based. This is one of several rules/switches I am having delays with. Most are 120V switches. Seems like there is something going on that I can't identify.

What's the firmware version?

important

Have you tried the usual reboot w/database rebuild and (I suppose) the graceful shutdown and power cycle?

Can you recall anything you might have done to the Hubitat network in that timeframe?

How about characterizing your system? Z-Wave and Zigbee devices-roughly how many of each type and power source, age of devices? You wouldn't have any old Jasco/GE Z-Wave switches, would you, lol.

It only takes one bad actor device in a Z-Wave mesh to bring it all down. No idea about Zigbee, lol.

Your log indicates that the issue isn't with the Rule. The rule calls for off() at 3:01.21, corresponding to when the sensor reports closed (3:01.20).

However, your switch actually turns off a minute later at 3.02.20, indicating an issue with the switch responding to receiving an off() command. What technology does your switch use? If it is z-wave or zigbee, how robust are the z-wave and/or zigbee mesh networks?

If it is a WiFi switch, how is it connected to Hubitat?

@sully_sullivan - Also, do you have your dimmers configured to ramp to “off” over a time period? Most dimmers will only report “off” after the ramp down completes.

As @aaiyar menrioned, enable the more detailed logging for the rule, and enable debug logging on the switch/dimmer. Then, allow things to settle and try triggering the sensor again to collect the log data.

Note: Debug logging on the device typically automatically disables after 30 minutes. So please run the test while debug logging is still enabled on the device.

To expand a little bit. This issue is not confined to just the device in the screenshots. I am just using that device as an example of what I am seeing in the logs. I see this in other devices controlled with the C8. It is not constant and is not every day. As an example, today all is working well and there are no delays, One thing to note is I do run some Hue lights off a Hue hub and have never had a delay with any of those. I am just searching for a solution as it frustrates my wife when she is trying to back her car out of the driveway and the gate has a long delay. So because it is affecting several of my devices randomly, I am lost as to why. The next time it happens, I will enable detailed logging and post those screen shots.

It is difficult to for the community to help resolve this without knowing what these devices are and how they are connected to your hub. If they are Matter, zigbee, and/or zwave, then a satisfactory resolution will require evaluating the health of those networks. All of which requires data that is on your hub.

The observation that there is no delay with your Hue bridge-connected devices reiterates the conclusion that there is no issue with automations executing on your hub.