Jump to content

Motion sensors and program slow


SetMonkey13

Recommended Posts

Posted

Is it normal for a program to be slow to respond?

I have a couple motion sensors near a back door. I have the program set up to turn the light on when motion is sensed. I can see the red light on the motion senor light but but the light doesn't turn on for about 2 seconds afterwards.

Posted

That would be about right. The Motion Sensor being an RF device sends more messages than a wired device. A trace of the motion sensor that triggers a Program to turn On the master bath light takes about 1.5 to 2 seconds.

 

To avoid the delay have the motion sensor turn the light on directly and use the Program to control when the light turns Off.

 

Sun 09/01/2013 01:56:08 PM : [iNST-SRX ] 02 50 13.F2.00 00.00.01 CB 11 01 LTONRR (01)

 

Sun 09/01/2013 01:56:08 PM : [std-Group ] 13.F2.00-->Group=1, Max Hops=3, Hops Left=2

 

Sun 09/01/2013 01:56:08 PM : [ 13 F2 0 1] DON 1

 

Sun 09/01/2013 01:56:09 PM : [ 13 F2 0 1] ST 255

 

Sun 09/01/2013 01:56:09 PM : [iNST-SRX ] 02 50 13.F2.00 00.00.01 CB 11 01 LTONRR (01)

 

Sun 09/01/2013 01:56:09 PM : [std-Group ] 13.F2.00-->Group=1, Max Hops=3, Hops Left=2

 

Sun 09/01/2013 01:56:09 PM : [iNST-DUP ] Previous message ignored.

 

Sun 09/01/2013 01:56:09 PM : [iNST-SRX ] 02 50 13.F2.00 19.82.4F 41 11 01 LTONRR (01)

 

Sun 09/01/2013 01:56:09 PM : [std-Cleanup ] 13.F2.00-->ISY/PLM Group=1, Max Hops=1, Hops Left=0

 

Sun 09/01/2013 01:56:09 PM : [iNST-DUP ] Previous message ignored.

 

Sun 09/01/2013 01:56:09 PM : [iNST-TX-I1 ] 02 62 12 B7 52 0F 11 7F

 

Sun 09/01/2013 01:56:09 PM : [iNST-ACK ] 02 62 12.B7.52 0F 11 7F 06 LTONRR (7F)

 

Sun 09/01/2013 01:56:10 PM : [iNST-SRX ] 02 50 12.B7.52 19.82.4F 2B 11 7F LTONRR (7F)

 

Sun 09/01/2013 01:56:10 PM : [std-Direct Ack] 12.B7.52-->ISY/PLM Group=0, Max Hops=3, Hops Left=2

 

Sun 09/01/2013 01:56:10 PM : [ 12 B7 52 1] ST 127

Posted

So I need to set the motion sensor options to "On Commands only" and the timeout to whatever I want. (probably 30 secs). And link the sensor with the lights in a scene.

Then set up a couple programs to turn it off like the ones below?

 

MOTION SENSOR

If
       Status  'Motion- Back Door-Sensor' is On

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

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

and

TIMER (this would leave the lights on for 30 seconds after motion was detected.)

If
       Program 'Motion Sensor' is True
    Or From    Last Run Time for 'Motion Sensor'
       For      30 seconds

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

Else
       Set 'Back Entry' Off

Posted

A simple approach from a Programming perspective

 

On Only Mode: unchecked - (On commands only)

Sensing Mode: checked - (Also known as Occupancy Mode)

If
       Control 'Motion Sensor I2CS-Sensor' is switched On

Then
       Wait  30 seconds
       Set 'SwitchLinc Relay' Off

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

Each time the Motion Sensor detects motion it sends an On command. No minimum 30 seconds when in Occupancy Mode. Only if the Wait expires does the device turn Off. If motion continues to be sensed within the Wait 30 seconds a new Wait 30 seconds is established.

Posted

Awesome, thanks. Is there a way to adjust the scene so that from 3pm-6pm the lights don't come on even if there is motion? I tried adding a program that would adjust the scene, but it doesn't seem to adjust them. Yet I can manually adjust the scene.

 

If
       From     3:00:00PM
       To       6:00:00PM (same day)

Then
       In Scene 'Back entryway' Set 'Back Entry Light' 0% (On Level)

Else
       In Scene 'Back entryway' Set 'Back Entry Light' 100% (On Level)


Posted
Is there a way to adjust the scene so that from 3pm-6pm the lights don't come on even if there is motion?

 

How about:

 

If
       Control 'Motion Sensor I2CS-Sensor' is switched On
and time is from 6:00pm to 3:00pm, next day

Then
       Wait  30 seconds
       Set 'SwitchLinc Relay' Off

Else
 Set 'SwitchLinc Relay' Off

 

Light will always go off at 3:00pm, regardless of whether the timer has reached 30 seconds.

Posted

SetMonkey13

 

The idea is correct but the Adjust Scene needs a slight change. Using the Scene Name in the 'In Scene' parameter affects use of the Scene Name in a Program or through the Admin Console. To affect the Motion Sensor use the Motion Sensor - Sensor node name in the 'In Scene' parameter. The Motion Sensor - Sensor is the Controller and it is the Controller node name that is needed in the 'In Scene' parameter.

  • 4 weeks later...
Posted

Lee,

 

If I am reading the tread correctly, you said one way to make the montion sensor faster for turning on the lights is having the MS control the lights "directly".

 

What would I need to do to make that work and would I be able to do that with a 3-way lighting scene setup?

 

Also I would just add to the original poster that I also have changed the ramp up on all of my motion sensor lights to 0.5 seconds so the lights turn on faster after the delay to compensate a little.

Posted
What would I need to do to make that work and would I be able to do that with a 3-way lighting scene setup?

Yes, you would do this via a scene. Make the sensor a controller and rest responders.

 

Depending on other factors (such as whether you want ISY to turn them off or take other action) you may need to configure the motion sensor to send only ON commands.

Guest
This topic is now closed to further replies.

×
×
  • Create New...