I'm wanting to setup a notification if my garage door is open for an hour. I've got two sensors on the door. One that reads when the door reaches the top of it's travel which is means it's open, the other is at the bottom of it's travel when it's closed. I know I can do it with one but what the hell, I've got the input sensors with the EZIO2X4, why not use them
My thought was to set up a variable (DoorTime) and when it's open have it true, closed = false. Then on the open trigger I'd put a action that would check the DoorTime variable, it it's true then send an alert if false do nothing. Delay it an hour and voila I have my timer. Well, I can't find a routine that will check the variable at an interval after a specified start point (when door is opened) I suppose you can do that with an apple script but I'm not that apple script literate. Is there a simple way to do this?