Don't run for

Hi all,

I remember an option somewhere to prevent an action from occuring for a specified amount of time. I think I may have heard it mentioned in a video but I can't remember which one.

I have a button device that I'm using as a sick bell. Ring it when my daughter needs something and I get a notification. The problem is, I only need one notification at a time, not everytime the device is rung.

Where can I find this option?

You can use the Private Boolean function of Rule Machine. The actions portion of the rule will be something like:

IF (Private Boolean is False): Exit Rule
Set Private Boolean False
Ring Bell
Set Private Boolean True -> delayed 0:10:00

This will allow one "ring" every 10 minutes.

3 Likes

If you’re just trying to get a text Notification when the button device is pressed, you can use the Hubitat Notifications App. It has an option to limit how frequently it will send a notification. Here is a quick example that I just created.

3 Likes