Looking for a DTH for the ST MultiPurpose for Acceleration

I tried to play with coding my own, but I really have no idea what I am doing. I would like a DTH for the ST Multi sensor that has the Open/Close capability disabled. My goal is to use the ST Multi as an accelerometer to detect a doorbell ringing.

Thanks