This is a case for the "The $14 Sophisticated Coffee Grinder Timer" by GatCodeIt is made to srew it under a shelf.I used an endstop to realize the button.
Happy grinding.
The author hasn't provided the model origin yet.