Need help for first piston


#1

Hi everyone, looking into using smarthings and webcore together but i need your help understanding how this works.

I have installed Websore on my smarthings account already and ready to go

So what i wanna do atm is this

In my house atm I have 3 Philips light bulb and 2 presence detector (my phone and my GF phone)

So I have a routine that if BOTH our phones are not present then the house is in away mode.

So I want my piston. To run ONLY if the house is in away mode and it needs to do this

If my phone Arrives after 8 PM, OR my GF phone arrivers after 8 PM If none of our phone arrives then at 10PM turn on my living room light. But only if one of those 3 arrives

But I want only 1 conditions to actually work.

I don’t know if my demand is actually clear enough, if not feel free to ask, ask english is my 2nd language

Thanks