I need a hidden deactivation switch for a security system. I'm thinking of using a capacitive proximity sensor hidden behind a thin, non-metallic object that will activate a relay when a hand is passed over the object.

I've never worked with prox. switches before. It appears that most of these switches use a transistor for switching. Are these traditionally digital or analog outputs? Will putting a barrier in front of the switch cause it to constantly conduct some amount of current to the output (maybe in relationship to the distance of the object from the sensor)? Or do most of these have a threshold value for "on" or "off"?

Any help would be much appreciated.

-John