Hi all. Until a few days ago all my rules were working fine but now there is problem with delay or timing function. After waiting certain of time hub doesnât send commands. Also scheduled commands are not working.
What changed since then? Did you perform a platform update? Did you get new devices or a new wifi router?
Have you tried a reboot with the « advanced » option checked as well as the « Repair Database »?
If not, I would recommend that as the first step. If that doesnât work, you may want to turn on all debugging on one of the rules that doesnât work, share a screenshot of both the rule and its log output.
Also, have you confirmed that those same devices work without issues when triggered from the dashboard or the device screen?
Hi @Sebastien thanks for replying.
I tried everything you said but any success.
I tried simple rule with delay and command didnât work. I tried the same rule without delay and it worked fine. I donât know why but there is a problem with âtimeâ. Delay not working, scheduled rules are not workingâŠ..
Can you share a screenshot of the rule versions that are and arenât working, along with a screenshot of the log results?
Not having the exact same issue but it seems that something is off with the internal timing.
I have a rule that has a 1h 30min delay and that delay got triggered after 1h 12min???
Just a bystander, but you should say what version of Hubitat you're on and publish the rule that failed, I think.
If reverting to the Hubitat version just prior make the problem go away that's a clue.
If someone else can verify that it fails for them too, that'd be actionable.
I'm thinking of the recent bug fix's example, below. Again, just a bystander.
Donât think the rule is necessary since you can clearly see in the log that a 1h 30min delay runs after 1h 12min.
But you are right about the version number, Iâm on 2.4.1.173.
Nothing in the change logs, for newer versions, mention anything about delays not working as intended.
Iâm not going to downgrade version (I can live with the 13min offset for now), thatâs something for the devs. They need something to do during their work days.
I just had a brain flash.
I vaguely remember that a WaitForEvent was better than Delay...for whatever reason. Maybe I didn't even remember correctly.
WRT to accuracy, there should ve no difference between a Wait or Delay.
The difference between them is related to cancelling (see blue box here).
For OP, I've run into similar long-delay timer "offness" before too... At the time, I suspected the maybe my hub just was having issues keeping track for some reason or the system had issues with longer delay periods (but I don't know what that threshold is --30-45+ min? 1+ hour? )
Shorter delays are always fine though.
Since whenver I experienced that, I've just started making my rules to avoid any longer delays -- that typically means making two rules instead of one. That's worked fine for me (and I've grown to prefer that approach anyway), but I'd still be curious to hear the staff response here.