CoRE - Get peer assistance here with setting up Pistons

Well, I would do a latching piston and setup Group Conditions. You have the concept in your description of what you want to do.

IF
Contacts 1 and 2 and 5 IS OFF
AND
Motion 1 and 2 is inactive
(When True
Wait 2 hours
Then Set Location Mode to Stay
Wait 10 Hours) - Cancel on State Change
OR
Both of Presence Sensor 1 and 2 are away
(When True
Set Location Mode to Away)

Something like this. Also have you looked at these? https://community.smartthings.com/t/share-core-show-tell-all-about-pistons/50255/12

1 Like