Read contact state (on/off) with routerboard

Hi, I would to read state of an electrical contact (close/open), with routerboard hardware, it’s possible? ideas?
Thanks in advance

Hello,

perhaps this could get you started

http://gregsowell.com/?p=2093