OceanDad Posted July 15, 2020 Share Posted July 15, 2020 I'd like to program a push notification that tells me if a front door has been left open for more than a certain amount of time. I'm trying to program off a generic door sensor. What's the 'correct' way, ensuring that if a timer has expired, the push notification is only triggered if the door has been open for the entire time period (thus avoiding potentially false notifications) ? Quote Link to comment Share on other sites More sharing options...
Neo1738 Posted July 16, 2020 Share Posted July 16, 2020 Put in code that when door closes to stop and reset the timer. msgreenf 1 Quote Link to comment Share on other sites More sharing options...
OceanDad Posted July 16, 2020 Author Share Posted July 16, 2020 Doh ! Of course, thank you. Neo1738 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.