# Ability to turn off lights after x minutes of no motion is missing

**URL:** <https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798>\
**Category:** SmartApps & Automations\
**Created:** [September 5, 2015, 1:57pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798 "2015-09-05T13:57:29Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![DreamPunk](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dreampunk/32/16199_2.png) [@DreamPunk](https://community.smartthings.com/u/DreamPunk)\
**Post date:** [September 5, 2015, 1:57pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/1 "2015-09-05T13:57:29Z")

</div>

Prior to the new 2.0 app I was able to set certain light switches to turn off after no motion was detected for a certain amount of time. The new Smart Lights app can only turn off lights right away when the motion stops, with no delay. How do I get this functionality back?

---

<div class="post-metadata">

**Author:** ![SBDOBRESCU](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/sbdobrescu/32/30067_2.png) [@SBDOBRESCU](https://community.smartthings.com/u/SBDOBRESCU)\
**Post date:** [September 5, 2015, 2:05pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/3 "2015-09-05T14:05:50Z")

</div>

It is hidden. Turn on the ‘turn off after motion stops’

---

<div class="post-metadata">

**Author:** ![Mike\_Maxwell](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mike_maxwell/32/18673_2.png) [@Mike\_Maxwell](https://community.smartthings.com/u/Mike_Maxwell)\
**Post date:** [September 5, 2015, 2:10pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/4 "2015-09-05T14:10:27Z")

</div>

Yes, that exists, however there is no time delay entry when selecting that option…

---

<div class="post-metadata">

**Author:** ![ogiewon](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ogiewon/32/13743_2.png) [@ogiewon](https://community.smartthings.com/u/ogiewon)\
**Post date:** [September 5, 2015, 2:17pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/5 "2015-09-05T14:17:37Z")

</div>

Hmmm… In my Smart Lights app I can enable the toggle for “Turn off after motion stops”, which then causes a new entry to appear immediately below named “After this number of minutes” which allows data entry. I can confirm that this is working correctly, at least using the iOS app.

---

<div class="post-metadata">

**Author:** ![SBDOBRESCU](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/sbdobrescu/32/30067_2.png) [@SBDOBRESCU](https://community.smartthings.com/u/SBDOBRESCU)\
**Post date:** [September 5, 2015, 2:20pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/6 "2015-09-05T14:20:14Z")

</div>

…and Android 20char

---

<div class="post-metadata">

**Author:** ![Keo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/keo/32/86757_2.png) [@Keo](https://community.smartthings.com/u/Keo)\
**Post date:** [September 5, 2015, 2:57pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/7 "2015-09-05T14:57:04Z")

</div>

I am not seeing an option for time delay either. I thought it was just depricated. I am also missing a way to set presence sensors to unlock my doors.

---

<div class="post-metadata">

**Author:** ![DreamPunk](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dreampunk/32/16199_2.png) [@DreamPunk](https://community.smartthings.com/u/DreamPunk)\
**Post date:** [September 5, 2015, 3:32pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/8 "2015-09-05T15:32:34Z")

</div>

Please walk me through this, I am using the SmartThings 2.0.0 app in iOS.

Here are the steps I am taking:

1. SmartApps \> Smart Lighting
2. New Lighting Automation
3. Which lights do you want to control? I select the two light switches I want to control.
4. What do you want to do? Turn Off
5. How do you want to trigger action? Motion
6. Which motion sensors? I select a motion sensor
7. Turn Off When… Motion Stops
8. I open the More Options section, but there are only options for during a certain time, day or mode.

Please show me where this hidden time option is. Please send a screen shot if possible.

---

<div class="post-metadata">

**Author:** ![ogiewon](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ogiewon/32/13743_2.png) [@ogiewon](https://community.smartthings.com/u/ogiewon)\
**Post date:** [September 5, 2015, 3:43pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/9 "2015-09-05T15:43:16Z")

</div>

Ahhh, I see the issue… You need to modify the “Turn ON” Motion event to automatically turn off after a time delay. Do not create a new “Turn Off” event.

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [September 5, 2015, 3:47pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/10 "2015-09-05T15:47:03Z")

</div>

@ogiewon, but what if someone doesn’t want lights on when motion detected, just off after it stops? I can currently do that in the Lights & Switches dashboard.

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [September 5, 2015, 3:48pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/11 "2015-09-05T15:48:05Z")

</div>

It is there for me, as long as I choose either a contact sensor or a motion sensor as the trigger for the light to come on.

There is a slider button for the turn off again, which you have to turn to green before you will get the option to set the number of minutes.

Here Is what mine looks like. Notice the green slider next to “turn off after motion stops.” That is what lets you then enter the “after this number of minutes” field.

 ![](https://global.discourse-cdn.com/smartthings/original/3X/7/c/7c585d580b54c2dcf1f52f4c240ffb4827090b04.jpg)

Now I can enter the number of minutes:

 ![](https://global.discourse-cdn.com/smartthings/original/3X/4/f/4f4ec5155d60647b955775e198159198e9a87311.jpg)

---

<div class="post-metadata">

**Author:** ![ogiewon](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ogiewon/32/13743_2.png) [@ogiewon](https://community.smartthings.com/u/ogiewon)\
**Post date:** [September 5, 2015, 3:53pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/12 "2015-09-05T15:53:28Z")

</div>

@johnconstantelo - I guess it is another feature that seems to have been lost during the “upgrade” to v2.0… It does seems like it would be very simple for ST to add that back in for a “Turn Off” event.

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [September 5, 2015, 4:02pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/13 "2015-09-05T16:02:13Z")

</div>

Totally agree @ogiewon, a lot of functionality has either moved around too much or lost in my opinion. I have 11 motion sensors in my house doing a lot of automation, and the loss of functionally from the previous Dashboards is causing me more effort to do the same thing, or to develop my own work arounds with custom smart apps.

Luckily all my previous Dashboards are still there. Until ST does a lot more with the new lighting automation tool, I have no plans to convert over.

---

<div class="post-metadata">

**Author:** ![Mike\_Maxwell](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mike_maxwell/32/18673_2.png) [@Mike\_Maxwell](https://community.smartthings.com/u/Mike_Maxwell)\
**Post date:** [September 5, 2015, 4:57pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/14 "2015-09-05T16:57:27Z")

</div>

Right, but you must enable the motion sensor to turn on the light.  
What we’re looking for is “turn off after motion stops for x minutes”, without having the motion turn the light on.

---

<div class="post-metadata">

**Author:** ![DreamPunk](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dreampunk/32/16199_2.png) [@DreamPunk](https://community.smartthings.com/u/DreamPunk)\
**Post date:** [September 5, 2015, 5:24pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/16 "2015-09-05T17:24:08Z")

</div>

If you follow the steps I outlined, you will see that there is no slider that reveals the minutes field. That slider only appears if you are creating a “Turn On When there is Motion and then Turn Off When Motion Stops” scenario. The slider disappears if you want something that is already onto turn off when the motion stops.

The bedroom lights are always getting left on, so I want them to turn off automatically after a certain amount of time when no motion is detected. This is no longer possible in the new app.

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [September 5, 2015, 5:30pm UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/17 "2015-09-05T17:30:52Z")

</div>

> [@DreamPunk](#):
>
> If you follow the steps I outlined, you will see that there is no slider that reveals the minutes field. That slider only appears if you are creating a “Turn On When there is Motion and then Turn Off When Motion Stops” scenario. The slider disappears if you want something that is already onto turn off when the motion stops.
> 
> The bedroom lights are always getting left on, so I want them to turn off automatically after a certain amount of time when no motion is detected. This is no longer possible in the new app.

Got it, my bad, I misread your original post.

Yes, you’re right, that just looks like a bug. The minutes field appears if you “turn _on_ after no motion” but the minutes field does not appear if you “turn _off_ after no motion”.

I would report it to [support@smartthings.com](mailto:support@smartthings.com)

 ![](https://global.discourse-cdn.com/smartthings/original/3X/a/f/af85e6b7bebafcc19c73839015e0acbeac25c334.jpg)

But the minutes field is just missing for the off option:

 ![](https://global.discourse-cdn.com/smartthings/original/3X/1/6/16a397ceb6fa1f60b9f5ed9e39665d39fa9bd0bc.jpg)

---

<div class="post-metadata">

**Author:** ![ffingers](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ffingers/32/94156_2.png) [@ffingers](https://community.smartthings.com/u/ffingers)\
**Post date:** [September 9, 2015, 2:06am UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/18 "2015-09-09T02:06:56Z")

</div>

Glad someone already posted this…I was just about to post up on this as well. Just as an extra use case…I need a separate turn off even that is reliant on no movement after a period time but only in certain modes.

In my den where we watch tv, we may not move enough or fidget enough over five minutes to kick off the sensor so the lights would go off. My work around was my harmony remote, whenever we turn it on, kicks off a virtual switch that changes my mode to “TV time”. During this mode, the turn off even won’t fire. Since I have a different turn off event, I can’t use a delay. Now they go off very quick if I walk in and out of the room.

Really would like to have that option back ASAP!

---

<div class="post-metadata">

**Author:** ![woodeezy](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/woodeezy/32/15794_2.png) [@woodeezy](https://community.smartthings.com/u/woodeezy)\
**Post date:** [September 14, 2015, 12:00am UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/19 "2015-09-14T00:00:21Z")

</div>

It used to be called “Light Power Allowance” under the green living smart app which has been removed. I’m looking for the same thing here. No sensors involved just manually turn the light on and have it shut off after x minutes.  
[/quote]

---

<div class="post-metadata">

**Author:** ![bravenel](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/bravenel/32/13223_2.png) [@bravenel](https://community.smartthings.com/u/bravenel)\
**Post date:** [September 14, 2015, 3:02am UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/20 "2015-09-14T03:02:45Z")

</div>

Light Power Allowance is missing also. The other missing feature is to select how many minutes after motion stops to turn something off. There is no input for minutes in that case in Smart Lights. That’s an omission that should be fixed. I would assume that turn off after some time missing is an oversight, and they should fix that also.

I just wrote two very small apps to do these two functions:

For Turn off after motion stops:

> <https://github.com/bravenel/SmartThings/blob/master/Turn%20off%20after%20motion%20stops>

For Turn off after some minutes:

> <https://github.com/bravenel/SmartThings/blob/master/Turn%20off%20after%20some%20minutes>

---

<div class="post-metadata">

**Author:** ![3one5](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/3one5/32/17263_2.png) [@3one5](https://community.smartthings.com/u/3one5)\
**Post date:** [September 14, 2015, 3:33am UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/21 "2015-09-14T03:33:53Z")

</div>

Thank you Sir! I was really hoping that ST would have put this in Smart Lighting for local processing.

---

<div class="post-metadata">

**Author:** ![bravenel](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/bravenel/32/13223_2.png) [@bravenel](https://community.smartthings.com/u/bravenel)\
**Post date:** [September 14, 2015, 3:39am UTC](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798/22 "2015-09-14T03:39:45Z")

</div>

I think both of these functions missing are just oversights on their part. Write to Support, complain, explain, etc. These are super easy for them to add to Smart Lights, but they need to hear from us to do it. 😀

[Next page](https://community.smartthings.com/t/ability-to-turn-off-lights-after-x-minutes-of-no-motion-is-missing/21798.md?page=2)
