Jump to content

Another motion (MSII) Program question


simplextech

Recommended Posts

Here are the programs.  Why is this turning Off when people are in the Kitchen and moving around?

Configuration:

MSII - On-Only linked to a KPL 6 button

Kitchen.Lights-State - [ID 002B][Parent 0018]

If
        'Kitchen / Motion Sensor / Kitchen.1 Motion' is switched On
 
Then
        $Kitchen_Motion_State  = 1
        Wait  5 minutes 
        $Kitchen_Motion_State  = 0
 
Else
   - No Actions - (To add one, press 'Action')
 

 

Kitchen Lights - Off - [ID 0011][Parent 0018]

If
        $Kitchen_Motion_State is 0
 
Then
        Wait  5 minutes 
        Set 'Kitchen / KPL6 / Kitchen.KPL6.1' Off
 
Else
   - No Actions - (To add one, press 'Action')
 

People can be in the Kitchen and moving around and the lights turn off.... ???

Link to comment

One would presume that it's because the motion sensor is not repeatedly sending the "on" signal when people are moving about -- rather, it simply does not send the "off" signal until it determines that motion has ceased.  Check the diagnostic log, at level 3, to see what's being sent by the motion sensor as you test the scenario.

 

I would guess that you might get the results you're looking for if you implemented the following logic:

  a) When the motion sensor sends an "On" signal, turn on the lights and stop the timer, if it's running.

  b) When the motion sensor status switches to "Off", start the timer.

  c) When the timer expires, turn off the lights.

Link to comment

Archived

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


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

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