Setting my Day, Away and Vacation pistons with pauses


#1

1) Give a description of the problem?
I would like my 1st and 2nd piston to pause when no one is home and away has been on for four hours (which is the third piston). I would like it to unpause when someone arrives home.

2) What is the expected behavior?
See above

3) What is happening/not happening?
Not sure how to tie these all together.

4) Post a Green Snapshot of the pistonimage




#2

In the piston (third I believe) that determines if everyone Away or not

Set up a new action

If everyone is away
Then
Wait 4 hours
With location
Pause piston 1
Pause piston 2
End if
If someone comes home
Then
Restore piston 1
Restore piston 2
End if


#3

I tried what you said but the vacation mode doesn’t change after 4 hours. It runs successfully but it says in away mode.

Here is the revised piston


#4

There seems something weird with location mode right now. It doesn’t rake until second run through to see change. At least from my end.


#5

Weird. It isn’t sticking to vacation even though it is saying true in the api