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.

Motion OFF only on conditions?

Featured Replies

Posted

Help!

 

I'm having trouble figuring out the right programming for this.

 

I want a motion to turn OFF lights only. Easy enough: not linked to the light, only to the ISY; use a program to trigger the OFF, and ignore the ON. This way I can control via ambient light levels or time of day or whatever whether it will go on or not.

 

The challenge is that I want a "warning" before I turn it off based on the timer. I'm a bit stuck on how to do that AND have the warning work by calling OFF the "turn off the light" function if there is more motion.

How about something like this:

 

If
       Control 'Motion Sensor' is Off
   And Control 'Motion Sensor' is not On

Then
       Wait 30 seconds
       Set Scene 'Lights' Off

Else
       No Actions

 

 

I haven't tested this, but I believe this would turn the lights OFF 30 seconds after receiving the Motion Sensor's OFF command UNLESS more motion is detected during that 30 seconds.

Yes, that works Mike. Here I have added a flash for a warning.

 

If
       Control 'Motion Sensor' is switched Off
   And Control 'Motion Sensor' is not switched On

Then
       Wait 30 seconds
       Set Scene 'Lights' Fast On
       Set Scene 'Lights' On
       Wait 30 seconds
       Set Scene 'Lights' Off

Else
       No Actions

 

Rand

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.