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.

Program for 2 motion sensors

Featured Replies

Posted

Getting stuck making this work.  In my bathroom I have 2 motion sensors, one that covers all the bathroom, then a second aiming right at the shower to prevent it from turning off when someone is in there.  I set it low, to turn off after 2 minutes.  It works to keep the light on but what's the best way to turn the light off after 2 minutes of no motion at all?  My programs are below but the Off one doesn't work, light never turns off I guess since the way I have it means both have to go off at the same time.  I feel like this is easy but mind is blank, thanks!!!

 

Motion On

Master Bath Motion On - [iD 0023][Parent 0025]

 

If

        Control 'System Devices / Master Bedroom and Bath / Motion Sensor-Sensor' is switched On

     Or Control 'System Devices / Master Bedroom and Bath / Z-Wave Shower Motion Sensor' is switched On

 

Then

        Set Scene 'Scenes / Master Bathroom and Shower' On

Else

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

 

 

Motion Off (Doesn't work, only with 1 sensor it does)

Master Bath Motion Off - [iD 0024][Parent 0025]

 

If

        Control 'System Devices / Master Bedroom and Bath / Z-Wave Shower Motion Sensor' is switched Off

    And Control 'System Devices / Master Bedroom and Bath / Motion Sensor-Sensor' is switched Off

 

Then

        Wait  2 minutes

        Set Scene 'Scenes / Master Bathroom and Shower' Off

 

Else

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

Edited by edokid

Use "If Status" for the Off check.  If Control ..... is switched Off does not And well.  There will not be two Off commands received at the same time but  there will be If Status Off for both at the same time.

I have the same setup in my bathroom. I set my motion detectors to "On only" mode and paired them with the lights. Then an ISY program turns off the lights if no "On" command has been sent from either detector within 15 minutes.

Edited by aliensk8terboy

Or, you could narrow this down to one program:

Motion On

Master Bath Motion On - [ID 0023][Parent 0025]


If
        Control 'System Devices / Master Bedroom and Bath / Motion Sensor-Sensor' is switched On
        Or Control 'System Devices / Master Bedroom and Bath / Z-Wave Shower Motion Sensor' is switched On

 
Then

        Set Scene 'Scenes / Master Bathroom and Shower' On
        Wait 2 minutes
        Set Scene 'Scenes / Master Bathroom and Shower' Off 

Else

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

In this program, the wait restarts with each new Motion On received and will timeout and turn off the lights after 2 minutes with no motion detected.

 

Hope this helps.

 

-Xathros

Edited by Xathros

  • Author

Great thanks everyone, I can't remember why I did it as 2 programs.  I was removing things to make it simple but the actual program has schedules on it like it only runs during the day and not middle of the night etc.

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.