Action sequence?

Can somebody help me write down the process for a light connected to a switch
I have a motion Switch from Aeotec and a mini plug dimming switch. How do I setup so when.o walk in the room a plug in light goes on go ten minutes and shuts off after if no one in the room
My brain can not process the sequence

Thank you very much

The classic approach to motion lighting maps neatly to two Routines in the SmartThings app.

  1. If the motion sensor reports ‘motion detected’ then turn the switch on.
  2. If the motion sensor reports ‘no motion’ and stays that way for a period of time then turn the switch off.

So if your ‘period of time’ is ten minutes the lights will come on when movement is first detected in the room and stay on for ten minutes after movement is last detected in the room. If you are detected during that ten minutes the cycle starts over again. So that allows you to stand still for a while or leave and enter again without the lights going off and on.

You scenario sounds a little different. If instead the Routines were:

  1. If the motion sensor reports ‘motion detected’ then turn the switch on.
  2. If the switch is on and stays that way for a period of time, and also the motion sensor reports ‘no motion’, then turn the switch off.

So if we again say the ‘period of time’ is ten minutes the light would be turned on when movement is first detected, stay on for at least ten minutes, and then turn off as soon as movement stops being detected.

That sounds more like what you described. However if you do stay in the room for more than ten minutes those lights will go out on you unless you keep moving. So you’d probably refine 2) by also checking ‘no motion’ stays that way for a short period.

3 Likes