We had the same problem with our 3 year old and believe it or not we use one of these.

What we told him was that if someone walks by it, it would turn on and he would know that something was...