SmartThings Community

Turn off light once EVERYONE is home


(George McIntyre) #1

Is there a way to create a rule or SmartApp that will leave the outside light on, until ST senses that all four of our phones are present? After the last family member comes home, the light can shut off after a few minutes.


#2

This can’t be done easily with the regular features, but can be done with core:


(Ben W) #3

I have a rule that turns on the porch light when someone “arrives”. Typically the arrival happens 1-3 minutes before the person actually arrives. It works for the most part.


(Dave N) #4

Yup CoRE. Latching piston, IF sunset using x light turn on(turn light on at some point) BUT IF each of a,b,c,d is present then wait 2 minutes, turn x light off.


(Robin) #5

As noted above, easy to do with CoRE:


Routine when "Everyone Arrives" possible?
(George McIntyre) #6

Thanks for the help! CoRE installed, and I can successfully set up the first trigger… but then HOW do I get to the area where I enter the ‘But If’ condition, as outlined above?

I’m sure it’s simple… forgive my noobiness.


(Chris) #7

You have to change the piston type. It defaults to Basic, but if you tap on that you can select one of several different types. The one referenced in the screenshots above is Latching.

Here’s a good explanation of the different piston types I swiped from someone on the boards here, for future reference…


(George McIntyre) #8

Thank you. Did not notice the option to change the Piston type until after your reply.