Jump to content

Don't Turn Off Yet


Deuce

Recommended Posts

Hi, first-time-poster here...

 

I graduated from the Insteon Hub to the ISY and WOW, what a difference.  It seems like there are no limitations with regard to programming, if you know what you're doing...

 

I have a long driveway (1/3 mile) that has many lamp posts along the way.  At both ends, I have an Insteon motion sensor stashed in a little bird house in a tree.  The motion sensors have their jumpers set to have the device controlled by software.  I have built simple programs that when motion is sensed, the post lights go from dim to full-on.  After a few minutes, the program returns the lamps to their dim state.  For the most part, this works perfectly for motorists.  For pedestrians however, there is a hitch.  Walking down the driveway, the first motion kicks on and your good for the journey.  But, before the turn-off event of the program, you hit the second sensor as you turn around to return.  It then starts the same program.  But a half-minute into the return trip, down goes the lights.

 

I think that while my expectation is that the trigger of the second sensor is starting the time period for lights full-on, what is happening is that the first program's time has expired and it is calling for lights down.

 

So my question is, how do we get the two motion sensors to work together so that together, they act more as a single occupancy sensor, restarting the clock whenever motion is sensed, either side?

 

Thanks.

 

Link to comment

Hi, welcome to the UDI Forums!

 

If I understand correctly, the idea would be to "stop" the first program, if and only if the second triggers, so it doesn't interfere with the lights?

 

If so, in the 'Then' part of the second program, add a 'Stop' statement as the first statement

  • Select Program from the first Action drop down,
  • Pick stop from the second drop down
  • Pick the program name of the first program from the list
  • Use the "Move Line Up" button to make it the first statement under 'Then'

If that doesn't do it, please post the programs here and we'll take a look

 

Paul

Link to comment

I agree with Stu. You also say it triggers the same program. I would think that would restart it?

Welcome to ISY. I'm still learning it after about 3 years.

 

Edit: I also agree with Paul. Depending on your program structure you may want to stop a program.

 

I've just started posting here but have been reading this forum for a while. Thanks everyone for sharing your knowledge!

 

Sent from my iPhone using Tapatalk

Link to comment

If nearMS is switched ON

Then turn on lights, Wait 30 seconds, enable program farMSstop, Wait 20 minutes, turn off lights.

 

If farMS is switched On

Then turn on lights, Wait 30 seconds, enable program nearMSstop, Wait 20 minutes, turn off lights.

 

Program farMSstop (disabled)

If farMS is switched On

Then Wait 1 minutes, turn lights Off, disable program self

 

Program nearMSstop (disabled)

If nearMS is switched On

Then Wait 1 minutes, turn lights Off, disable program self

 

There is some logical problems like two people entering the zone from each end or people changing their minds and turning around or MS motion missed but the 20 minutes Waits should handle those just-in-case elements.

Link to comment

Thanks all for the suggestions.  I tried the single program approach without the desired result.  It is notable however, that if I trigger a motion sensor (and the subsequent program), then halfway through the "wait" cycle activate it again, it does not seem to start the clock again.  Here's the code:

 

If

From    Sunset 
To        11:29:00PM (same day)

     And Status 'Motion Sensors / Driveway' is On

      Or Status 'Motion Sensors / Driveway' is On 

 

Then

        Set 'Driveway / Pole Lights' On 

        Set 'Driveway / Carriage Lights' 10% 

        Set 'Porch / Porch-Front' 40% 

        Set 'Porch / Porch-Side' 40% 

        Wait  1 minute  

        Set Scene 'Dim Driveway' On 

        Wait  1 minute  

        Set 'Porch / Porch-Side' Off 

        Set 'Porch / Porch-Front' Off 

 

Else

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

Link to comment

I'm not sure that I understand the parenthesis.  Should it look like this:

 

If

From    Sunset 
To        11:29:00PM (same day) 

     And Status 'Motion Sensors / Driveway' is On

      Or (

                 Status 'Motion Sensors / Driveway' is On 

           )

Link to comment

Is "Motion Sensors / Driveway" a scene with both sensors? There's n need to include the same scene twice. Also, an or statement should include multiple (different) commands, not just one.

 

More importantly, do you have the MS set to send ON commands only. If not, then the MS will turn it's links off no matter what you program.

Link to comment

Also...

 

Should the "Sensing Mode" also be checked?  If I'm understanding correctly, by leaving it unchecked, the MS will not report motion until the timeout expires, and that seems to be what is prohibiting my setup from working.

 

Lastly, to make settings on the motion sensors, I have to physically switch them in to setup mode, correct?

Link to comment

You have two motion sensors with identical names? Not a good practice, in fact, a terrible practice.

 

Place both sensors into the same scene. Select every option (except LED to save battery life). Use the program to turn the light scene off.

Link to comment

Deuce,

 

Sensing mode MAY help but I consider it unlikely to be the root of your problems. In addition to the parentheses, I recommend use of CONTROL rather than STATUS for your two program conditions.

 

You also have a potential problem at 11:29pm if your program is in the wait state.

 

Make sure your motion sensors are NOT in a scene controlling the lights.

 

Do you want to turn the lights off after wait timeout, or dim?

Link to comment

Archived

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


  • Recently Browsing

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

    • There are no registered users currently online
  • Forum Statistics

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