Jump to content

Motion Sensors and off


Steve Sullivan

Recommended Posts

Hey all,

 

Very new to ISY and Insteon so I'm sking for a bit of help.

 

I'm having difficulty with a program. I have a utility light using a switchlinc relay along with a insteon motion sensor.

 

The program is simple,

if motion is on

set utility light on

wait 2 minutes

turn off utility light

 

This seems to work fine is I set the time to less than 63 seconds, if it's at 2 minutes the light never gets switched off.

 

I removed the motion sensor, factory reset the motion sensor then added it back in. I also changed the motion sensor to send on only.

 

This also happens in a bathroom where I have the same type of program.

 

Not sure what I'm doing incorrectly.

 

Thanks

Link to comment
Hey all,

 

Very new to ISY and Insteon so I'm sking for a bit of help.

 

I'm having difficulty with a program. I have a utility light using a switchlinc relay along with a insteon motion sensor.

 

The program is simple,

if motion is on

set utility light on

wait 2 minutes

turn off utility light

 

This seems to work fine is I set the time to less than 63 seconds, if it's at 2 minutes the light never gets switched off.

 

I removed the motion sensor, factory reset the motion sensor then added it back in. I also changed the motion sensor to send on only.

 

This also happens in a bathroom where I have the same type of program.

 

Not sure what I'm doing incorrectly.

 

Thanks

 

Stay tuned, Moved the PLM and rebooted the ISY, Seems OK now. Wierd.

Link to comment

Just a thought, but perhaps the motion sensor is going off after 1 minute? I am relatively new to this so I might be off base, if so someone can jump in and correct me, but I am pretty sure if the condition changes state while you are in a "wait" status in the Then....the program will immediately run the Else command and terminate the wait. This is why it works fine up to one minute but will not longer, because the motion sensor is no longer on.

 

Eric

Link to comment

The default setup for the Motion Sensor. Sends an Off after 1 minute of not detecting any motion.

It can be set to never send an Off and it can also be reprogrammed by software to time out in 30 seconds. I have not calculated the max timeout.

There are a few other I2 commands to do things, but I have no idea if they really work.

Link to comment

Steve- I agree with Ulrick65. I wanted to do something similar with my motion detector. Here is what I did that works. Please ignore the extra X10 stuff and the extra status conditions.

 

The following program turns on my outside lights if motion is detected on the lanai after we have gone to bed. Note that everything executes well before the motion detector switches off after 1 minute.

 

If
       Status  'LLDIM-FAM ROOM TRACK' is Off
   And Status  '*KPDIM-KITCHEN LIGHTS' is Off
   And Control 'LANAI MOTION SENSOR' is switched On

Then
       Set Scene 'OUTSIDE LIGHTS' Fast On
       Wait  1 second
       Send X10 'N9/On (3)'
       Run Program 'MOTION SENSOR TIMER' (Then Path)

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

 

The following program (MOTION SENSOR TIMER) turns my outside lights off after 5 minutes. This program is NOT enabled. It will not run unless called by another program.

 

If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
       Wait  5 minutes 
       Set Scene 'OUTSIDE LIGHTS' Fast Off
       Wait  1 second
       Send X10 'N9/Off (11)'

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

 

Hope this helps.

Link to comment

Steve- Sorry, I just noticed that you said you have set the motion sensor to send ON only. If your motion sensor works like mine, you definitely do NOT want to do that. Setting mine to only send ON makes it switch from OFF to ON the first time it senses motion and to stay ON forever thereafter, rendering the motion detector virtually useless. I had thought that setting it to send only ON would make it send ON whenever it detected motion and then immediately switch back OFF. Mine does not work that way, but simply stays ON. If yours works the way I had thought it would, then perhaps mine is defective. Please let me know which way yours works.

Link to comment
Steve- Sorry, I just noticed that you said you have set the motion sensor to send ON only. If your motion sensor works like mine, you definitely do NOT want to do that. Setting mine to only send ON makes it switch from OFF to ON the first time it senses motion and to stay ON forever thereafter, rendering the motion detector virtually useless. I had thought that setting it to send only ON would make it send ON whenever it detected motion and then immediately switch back OFF. Mine does not work that way, but simply stays ON. If yours works the way I had thought it would, then perhaps mine is defective. Please let me know which way yours works.

 

Thanks Guys for the feedback.

When set to send off commands my sensor waits about a minute then is shown off. I found this to work well as my programming before was flawed.

 

I made a program to turn off the bathroom lights

 

If

- No Conditions - (To add one, press 'Schedule' or 'Condition')

 

Then

Set '1st Floor Bath Main' Off

Set '1st Floor Bath Vanity' Off

 

Else

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

 

 

I also made one to turn just the main light on.

 

If

- No Conditions - (To add one, press 'Schedule' or 'Condition')

 

Then

Set '1st Floor Bath Main' On

 

Else

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

 

I then made one as the trigger for when motion is on, This runs the program to turn the light on and also stops the Motion off program I made.

 

If

Status 'Motion Bath-Sensor' is On

 

Then

Run Program '1st Bath Main Light On' (If)

Stop program '1st Bath Motion Off'

 

Else

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

 

 

Motion off program.

 

If

Status 'Motion Bath-Sensor' is Off

 

Then

Wait 2 minutes

Run Program '1st Bath Lights Off' (If)

 

Else

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

 

 

Basically when Motion is on the lights just turn on. Once the Sensor sends an off signal the next program waits 2 minutes then runs the lights off program. If the Motion is on again it just cycles until no motion then finally the lights turn off.

 

I used this for my outside lights as well and a basement utility room and it seems to work very well.

 

My problem before was I was setting the If as motion on and trying to turn off lights in the same program, they would never turn off after a minute because the sensor had a off state and therefore the program was false.

 

I still need to figure out the timer programs for switchlincs like i've seen in other posts, I have my upstairs bathroom on a 15 minute timer and my wife isn't too thrilled when she's in the shower and it goes dark:)

Link to comment

Archived

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


×
×
  • Create New...