Looking for a bit of help. I have two gates that need to be closed if my dog wants to go out. The problem I have faced is my smaller kids look out and if the gate looks closed they let him out, but it may not be latched. I was looking for some outdoor sensor or ideas to track if a gate is closed and latched, as we live on a very busy road.

One gate is a leaver latch and leads onto the road, one is a bolt type and leads to the driveway. I tried using cameras but the view of the latches are blocked most of the time so its a non runner.