Answered: How to turn on switch after a sequence of motion sensors

Is there an app that will let me turn on a light after a sequence of two motion sensors. So at night if the upstairs sensor is followed by one of the main floor sensors (and only if it is in that order) I want a light on the main floor to turn on. Any app that does this - or source code close to this - would be appreciated.

Thanks to daven and CSC for their quick replies.

Yes, install CoRE and use the IF Then-IF structure. Search the threads as there are examples and help over there.


Try this


Hi. Did you find a way to do it? I am looking for a solution for same thing. Thanks