Jump to content
C4 Forums | Control4

Push notifications of timer expires and a variable is not met...


Wolfaslov

Recommended Posts

I have a semi advanced command that I'd like to set up. 

Often my garage door is left open by kids or whatever reason..... I'd like to get a push notification if it's open for more than 10 minutes. 

 

I created the push notification in "agents". 

I created a timer for 10 minutes in "agents". 

I am having a hard time figuring out how to set that up in "programming". 

 

Was thinking about...

 

"start timer"

---then "if" garage overhead door state is "false"

---then send the "push notification"

 

any help on this would be appreciated as I am not sure I am seating them properly under each command 

 

----noob

Link to comment
Share on other sites


On 1/24/2017 at 11:05 AM, Michael Tyler Buell said:

When garage door opens...

-Start Timer

 

When garage door closes...

-Stop Timer

 

When timer expires...

-Send push notification

 

You could also make it a repeating timer and get a push notification every 10 minutes the garage door is open.

Close, but use reset timer as the open action. That way it resets to 10 minutes.

Link to comment
Share on other sites

On 1/25/2017 at 7:55 PM, funnyfarm299 said:

Close, but use reset timer as the open action. That way it resets to 10 minutes.

On 1/25/2017 at 8:54 PM, Cyknight said:

That was my thought, but I just found out that that is not/no longer accurate - start will also start the timer from scratch.....

On 1/25/2017 at 10:07 PM, funnyfarm299 said:

EDIT: turns out you're right. Today I learned...

@funnyfarm299 I'm bookmarking this post for you in the future.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.