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 Sensor program inquiry

Featured Replies

Posted

I am not sure where to post this, so I'll start here in a casual setting.

I am not a newbie but my programming skills need some "brushing up" (or maybe I just need to educate myself.) I have not figured a simple way to accomplish the following:

Motion Sensor A senses motion,

Turns on Light B

Once motion sensor has returned to off state, 

Light  is turned off.

 

Does this need two programs?

 

 

Edited by glacier991

Solved by jec6613

Go to solution

Youi don't need any programs - if the MS is sending both on and off, you just need a scene to handle it.

Create a scene, Put the light and motion sensor in the scene, add the motions sensor as a controller.

If you want the light to come on at a lower intensity then you'll need to set the light on level in the scene.

 

  • Author

My bad, I forgot to mention the light switch is an x 10 device, so cannot act as a responder. Which left me to ponder a programming solution.

(yes. I could change it..but if I can program it to work....)

If your motion sensor sends periodic “on” commands during continuous motion (e.g. Insteon MS), you could use one program:

If
    Motion Sensor A is switched on
Then
    Turn Switch B On
     Wait 5 minutes 
   Turn Switch B off
Else
    Nothing

This would turn the light on on motion and turn it off 5 minutes after the LAST motion command was sent.

  • Solution
7 hours ago, glacier991 said:

My bad, I forgot to mention the light switch is an x 10 device, so cannot act as a responder. Which left me to ponder a programming solution.

(yes. I could change it..but if I can program it to work....)

In that case, yeah, I'd use two programs.  MS On fires your X10 On, MS Off fires your X10 Off.

There are tons of other ways to do it, but I'd keep it simple.

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.