Had an older Bezzerra coffee grinder without the grind timer, which is, as you go further in to the espresso rabbit-hole a major PIA.
Got an ESP32 board with Wifi and a relay, wrote a quick webserver, some ui to access through the phone and voila, no more need for a grinder upgrade. Took about three days (moved from arduino to ESP32 due to memory issues of a large css/js UI for iphone)