Rule Not Working

Any idea why this rule would not be working? I'm just trying to create a rule that will unlock the kitchen door if either garage door is opened. I have tried using "opening" and "open" for the trigger but neither triggers the action to run. I do not have "All of these?" selected.

I have checked the logs for the rule - nothing is happening when I open the garage door. I have checked the event logs for the door lock and there is no command being sent. The door lock does get triggered properly by other rules.

A couple suggestions to help debug. First, I'd turn on all the logging for the rule. Second, are you seeing events coming from the garage doors themselves?

Here is the event log for the rule. I was testing at 1:55. The interesting thing is that the events at 11:29 and 8:48 were caused by another rule which unlocks the door and opens the garage door when I arrive home (Life360 presence). That rule works fine. But this rule is different.. just want it to unlock the door when the garage door opens.

Hmm. I'm not sure I get that part. What is the app # of the new rule and is logging on for that? And what is the app # of the other two rules you mentioned? Screen shots from a browser would be easier to interpret.

OK, I see where you're going with that. Those events are linked to the rule in question. Here are the event logs for both. App 158 is the "If garage door opens, unlock kitchen door" rule. App 47 is the "If Gregg gets home, unlock door and open garage door" rule. I'm also attaching the actual rule for App 47 and re-attaching the rule for 158 to make it easier to compare.

My thoughts... both rules would be activated when I get home. Both apps are going to open the garage door and unlock the kitchen door. Both event logs shows they are doing so. They both do the same thing so I guess there's no conflict. In that case, Rule 158 is fine.

But when Rule 47 isn't activated (when I am already home and I manually open the garage door), Rule 158 isn't running. Could it be because I am manually opening the garage door using its own remote? I don't know why that would matter since the garage door should still be reporting "Open" or "Opening" to Hubitat.
Screenshot 2023-02-19 151654



OK that explains why rule 158 appears to fire. Makes sense and honestly under most conditions I don't think that would cause any issues.

Hmm you might be onto something there. When you manually open and close the garage door does anything show up in the event tab on the device page for the left or right garage doors? Can you post a screen shot of that page?

Hmm you might be onto something there. When you manually open and close the garage door does anything show up in the event tab on the device page for the left or right garage doors? Can you post a screen shot of that page?

Aha.. there is the issue. The garage door is not reporting anything when it's manually opened or closed. I watched the status as the door opened - it did not change. Then, with the door physically opened, I clicked "Open" in Hubitat and the status changed to opening and then to closed (not open). Despite it being open the whole time. When I do the reverse (click Close in Hubitat when the door is already physically closed), the status will go from Closing to Closed (despite always being open.

So, the garage door is only reporting status changes if Hubitat initiated the change? It's not reporting manual changes it seems.

Well that's annoying. But at least you found the issue! It must either be a limitation of the garage door opener itself or the integration.

How about adding a tilt sensor or a contact sensor to each of the doors?

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.