1 inch is probably too far apart, I’m actually surprised it’s ever closed. But there are other possibilities. It might take a look at the following in case he give you any ideas (this is a clickable link)
And all of that said… It’s really weird if it’s reporting open and then closed again immediately throughout the day. To be honest, that sounds more like a defective device. It can happen.