Checking contact sensor state

I have a rule that announces when contacts are open. It also changes the visual state of a "ready to arm" indicator on a virtual keypad.

Is there a better way to do this? Since setting up my second hub, I have been diving into improving efficiency.

The other option would be to trigger on “any opened”, remove the “if”, set “open” as the initial command, and add a “Wait for all sensors “closed” before the “Close” command.

You could potentially then add a required condition of “Ready to Arm” closed which would avoid it triggering any more while it is in the “Open” condition.

Not sure that there would be much of a performance impact though as this rule would likely not be triggered very often.

1 Like

Interesting take. I'll try that!

It would probably cut down on run time

You can simplify this by grouping contact sensors using Dominick's app.

1 Like