I know this is a silly question.
Why not embed an accelerometer into the system
Cost: at least $7 (for accelerometer) vs 10 cents (for the button).
What I probably need then is a "pat detector" which detects me patting it - as in thanking it - and that turns the alarm off.
What I probably need then is a "pat detector"