This piston will Arm Your Smart Home Monitor System when the last person leaves your home and will Disarm it when the first person arrives home. This can use the smartthings presence sensors or your phones presence. First create a device global variable caller @PresenceSensors then place all your presence sensors in that global variable. This will also send a push notification to your phone letting you know when the system has been armed and disarmed.
Here is the piston
Anyone have any questions please leave them here.