Trigger event on contact closure

I have a driveway alarm that has a relay output and I am trying to figure out what to use to tie my Veralite to this to trigger an event such as turning on lights.
I currently use an x-10 plug’n power which sends a code when it sees the contact closure but my whole idea is to phase out the x-10.
Can anyone give me an idea of what to use for this?

This recent discussion covers it well:,9737.msg67546.html#msg67546

Thanks, that’s just what I’m looking for!