Jump to content

Hidden Door sensor program


Jack D

Recommended Posts

I'm new to ISY, although I have had a 994 installed for 5 years. My original Insteon hub crapped out so I migrated some 60 devices to the 994 and I'm trying to get a simple timed program to work. I'm sure it's a simple solution but I can't find any relevant forum entries. Might be I don't know what keyword I should be using so I'll ask the question.

I want a hidden door sensor to tuen on an overhead light at the door, turn on a lamplic module in a closet and a foyer light on some stairs. Then wait 3 minutes and turn off the entry light and the closet light and 30 seconds later turn off the foyer light. It works except if the door is kept open. if the door is closed before the program runs its course nothing happens after 3 minutes.  So I'm guessing that I need to have an entry to ignore the hidden door switch closed. But I can't see how to do that.

This is what I have.

Family room entry - [ID 000A][Parent 0001]

If
        'Family Rom / Family Rm - Door Open' Status is On
 
Then
        Set 'Family Rom / Family room entry' Fade Up
        Set 'Family Rom / Family room Closet' On 100%
        Set 'Foyer / Foyer Light (top sw)' On 40%
        Wait  3 minutes 
        Set 'Family Rom / Family room Closet' Off
        Set 'Family Rom / Family room entry' Fade Down
        Wait  30 seconds
        Set 'Foyer / Foyer Light (top sw)' Fade Down
 
Else
   - No Actions - (To add one, press 'Action')
 
When Family room Door opens, the entry light, closet light and foyer light is turned on for 3 minutes
 

Link to comment

Create a 2nd program and move everything in your THEN statement to the THEN statement in the second program.

In the first program have the THEN statement call the THEN statement in the 2nd program. The 2nd program will complete even if the door is closed.

Link to comment
1 hour ago, Jack D said:

I'm new to ISY, although I have had a 994 installed for 5 years. My original Insteon hub crapped out so I migrated some 60 devices to the 994 and I'm trying to get a simple timed program to work. I'm sure it's a simple solution but I can't find any relevant forum entries. Might be I don't know what keyword I should be using so I'll ask the question.

I want a hidden door sensor to tuen on an overhead light at the door, turn on a lamplic module in a closet and a foyer light on some stairs. Then wait 3 minutes and turn off the entry light and the closet light and 30 seconds later turn off the foyer light. It works except if the door is kept open. if the door is closed before the program runs its course nothing happens after 3 minutes.  So I'm guessing that I need to have an entry to ignore the hidden door switch closed. But I can't see how to do that.

This is what I have.

Family room entry - [ID 000A][Parent 0001]

If
        'Family Rom / Family Rm - Door Open' Status is On
 
Then
        Set 'Family Rom / Family room entry' Fade Up
        Set 'Family Rom / Family room Closet' On 100%
        Set 'Foyer / Foyer Light (top sw)' On 40%
        Wait  3 minutes 
        Set 'Family Rom / Family room Closet' Off
        Set 'Family Rom / Family room entry' Fade Down
        Wait  30 seconds
        Set 'Foyer / Foyer Light (top sw)' Fade Down
 
Else
   - No Actions - (To add one, press 'Action')
 
When Family room Door opens, the entry light, closet light and foyer light is turned on for 3 minutes
 

Simply change status to control. Anytime your door is open your then will run

Link to comment

In the "IF" line in my program I had the status of the door sensor is "ON" then run the program..

 

Do you mean that in the "IF' line I should I change 'STATUS" to "Control" and that is another way to run the program without the second program??

Link to comment
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.3k
×
×
  • Create New...