Every morning I prepare my coffee using my grinder and AeroPress. Usually I resort to using Google Home to provide me two timers, a twenty second timer for the grind, and a thirty second timer for the brewing. Most mornings the Google Home is fine, but sometimes the Google Home gets profoundly hard of hearing, or won’t stop the alarm, a whole host of irritating behaviors. So I thought, maybe I could get a Shortcut to do this task for me, some tapping and a convenient run of the single-shot iOS timer per task. Here’s how I got it to work:
I created a new Shortcut, starts with “Show Alert” from the Scripting Group. The phone waits until I measure out my coffee beans to grind. Once this alert gets a tap, it calls Clock from the Apps Group, runs a timer for 20 seconds, then opens the Clock app, which shows the time count down there, and the script itself waits 20 seconds for the timer to expire before moving forward.
The next task is to “Ask for Input” from the Scripting group, “Ready to Brew?”, when the tap is Yes, which is the default, the Shortcut returns control back to Shortcuts app, then opens Clock again. This was oddly necessary because without Shortcuts getting a shot at the foreground, it just wandered off, functionless.
The next task is to start the Clock timer for 30 seconds. If the user taps anything but Yes to “Ready to Brew” the Shortcut ends.
I already used this particular Shortcut this morning and it worked delightfully well! I didn’t have to have a screaming match with Google Home, and the phone behaved pretty much as I wanted it to.