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 sensors and occupancy

Featured Replies

Posted

I have been getting back into my automation setup and really want to tackle my issues with motion sensors and detecting occupancy.

What I want to happen is to have devices go off if the room is empty, but not go off if I am still in the room being still (watching a movie or doing computer work). Just looking to start a dialog and see if others are doing something similar and how they are doing it. Thanks.

 

Sent from my Galaxy S4 using Tapatalk 2

The above is a quick & easy solution and should work great. I did something a little more complicated.

 

I have a motion sensor in my basement to make sure the kids don't leave the lights on. If you sit still on the couch for too long without moving much, it will time out and turn the lights off when you don't want it to. One way to resolve this is to increase the timeout period, but then you're also leaving lights on longer than you might like when nobody is there. So, here's what I did:

 

I created a scene to fade the lights off over 30 seconds. When the motion sensor sends an off while the lights are on, I set a "BsmtLightsRecover" variable to 1 and trigger my basement lamps fade scene. If the motion sensor switches back on while the BsmtLightsRecover variable is 1, I turn the lights back on (and set the variable back to 0).

 

If I'm in the room, I'll notice the lights slowly getting dimmer, and simply waving my hand returns them to full brightness. I've set the motion sensor timeout just long enough (5 minutes, I think) that this rarely happens, so I'm not constantly waving my hands around to keep the lights on.

 

Originally, I'd just tied the motion sensor's "on" command to the lights, but that made it impossible to enjoy a movie in the dark. So now the lights only come on with motion if they've previously been turned off by lack of motion. Turn them off manually and they stay off.

 

The only thing I haven't figured out how to do is capture the last known dim level of the lights and restore them to that same level. So they always return to full brightness. I can live with that.

  • Author

Thanks for the great ideas guys! I am thinking of a hybrid approach of the two suggestions. Part of my issue was placement of the sensor itself. Then updating the programs using the suggestions should really help.

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.