Contact Sensor for Doorbell

I did exactly that, interface my existing button: