Are you talking about a relay or a contact sensor? Maybe you're missing the contact sensor? The relay will open and close, the contact sensor will give you status. If properly set up, the contact sensor should be virtually present as a driver in the project and connected virtually and physically to a contact sensor. eg, on a controller, z2io, io extender, etc...
Sent from my BBB100-1 using Tapatalk