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.

Basic questions on motion sensor for night time use only

Featured Replies

Posted

I have a Scene "Downstairs"

I have a program "bedtime"

Bedtime turns downstairs off at 10:30pm every day

 

If someone walks downstairs after 10:30pm I want the lights to switch on.

So I bought a motion sensor.

 

I am trying to write a program.

Do I have to say "if downstairs is off"

OR do I say after 10:30pm?

 

If motion is on

 

Not really sure how to do this

Do I have to say "if downstairs is off"

 

If downstairs is already on, turning it on again will not hurt anything.

 

OR do I say after 10:30pm?

 

No. For the same reason.

 

Having said that, you did not specify if your intentions were also to turn them off after a certain period of time after sense of motion. If so, then there may be benefits to including one of those conditions in your program.

 

Also, if someone has made a manual adjustment to the scene (dimmed, bright, etc...) then turning the scene "back on" will cause it to resort to the devault settings. This may or may not be a factor in your case.

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.