2-wire AC proximity switch/sensor wiring