Use sensor to detect a gate left open and message your phone.