Jump to content

Time Duration Programming Help


Jason Flippin

Recommended Posts

I have the insteon garage door kit and I am trying to figure out how to create an alert if the garage door was left open for 30 minutes from 7pm to 7am. And for bonus points how I could silence the alert with another program for a few hours (say I had the garage open for some reason that night intentionally after 7). I know I could disable the alert but then there would be a good chance I would forget to re-enable it. All ideas appreciated!

 

Thanks! 

Link to comment

If

        time is between A & B

     and garage door is open

 

Then

       wait 30 minutes

       send alert

 

Else

       nothing

--------------------------------------------------------------------

If

      a device (e.g., KPL button) is on

 

Then

       disable program

       wait x hours

       enable program

 

Else

     nothing

Link to comment
  • 3 weeks later...

I've been trying to get this set up and I have the program set up as you have outlined above but I seem to get alerts right away. It doesn't seem to be waiting the 30 minutes. Any ideas?

Right click on your notification program, select Copy to Clipboard, and paste here for us to review.

 

-Xathros

Link to comment
NestHomeAway is a variable that tracks our phones and it is working good with another program but I can take that out if needed. But, I am getting the alert it just doesn't seem to be waiting 30 minutes

 

If

        (

             $NestHomeAway > 0

        )

    And Status  'Garage-Sensor' is On

 

Then

        Wait  30 minutes 

        Send Notification to 'Jason' content 'Garage.Alarm'

 

Else

   - No Actions - (To add one, press 'Action')
Link to comment

I have to agree with oberkc on this.  Is it possible that the Wait is the last thing you added to the program and it needs to be saved for it to take effect?  If not, Right click the program tree and select Find/Replace, Set the Find drop down to "Raw Text" and search for Garage.Alarm and see if there are any other references to this notification.

 

-Xathros

Link to comment

Archived

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


×
×
  • Create New...