Using PLEG and ping sensor

Hi. I’m struggling with a thing with the ping sensor.

I want to make a scenaro that checks if mine or my wifes phone is connected to wifi.

when neither of them is connected I want to start a timer. At the end of that timer I want my house to start turning of lights and sockets.

But how do I compile this?

Is it possible to have the timer stop and reset if one of our phones connects during the countdown?

Input Triggers:
MrConnected - Ping Indicates Home for Mr
MrsConnected - Ping Indicates Home for Mrs

Condition:
BothAway !MrConnected and Not MrsConnected
AutoAway BothAway; NOW > 15:00

What does it mean when there’s a “!” in the beginning?

And will this reset the timer if one of us comes back home?

! = NOT

! = NOT so
“!Home” is the same as “Not Home”

Yes sort of. There really is no timer, but the condition says if your both gone for 15:00 then do…
If one comes back before 15min then above is not true and nothing happens. Bottomline is everything is done with time stamps. It looks at the last time you were away and if both say that time has been more then 15min then it becomes true and does what ever action you have it