I have a ECOLINK dry contact sensor I have used with a IR beam for a couple years. The contacts don't seem to last so I am looking for a replacement. I don't want a relay switch, I need a contact sensor. I need a zigbee or zwave device that can sense when a switch closes and opens and report that to hubitat, like the zooz zwave contect does.
There's some good direct wire options that others will put forth but I've never used them myself (edit add: as many are Z-Wave). If you aren't happy with any of those I have done the following hack to a couple of different magnetic (window) style "contact" sensors with great success and have, thus far, lasted years.
There is no gate. I use the IR beam combined with person detection by by ring doorbell, it notifies Alexa, who flips a switch, in case anyone is curious.
This way I can ignore the beam by itself! Cats, lizards and frogs and other critters cut the beam occasionally. Even had a bird fly through it. So my rule that notifies me only kicks off if a person is detected AND the beam is cut. This is on the entrance to my car port.
If that happens at night sirens go off, I get my gun and investigate
I do use zooz vibration sensors on my gates.. Important ones are backed with ring person detection also, same strategy.
ahh, that's pretty cool. i did something similar on a small scale to notify me when my dog's feeder got low on food. never thought about doing it for entryways