Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Another motion (MSII) Program question

Featured Replies

Posted

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.... ???

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.

Edited by mwester
clarification with diagnostics

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.