Best sensors for gates?

I believe the monoprice version doesn't support the external contact due to firmware. I used to have tons of these sensors from both brand. One thing I really like them is the battery life because of the size.
I have this sensor on my gate over 2 years now.