I am trying to set up a bunch of Shortcuts for specific pomodoro style timers that set focus for meditation or writing etc. All follow the same principle:
Set timer for 25 minutes (or whatever)
Set the appropriate Focus
(this is where I am stuck) when the timer finishes remove focus
although there are triggers in the Personal Automation that kick in when the Alarm is stopped etc I cannot find anyway of setting a trigger that kicks in when a Timer finishes.
Thanks as ever @sylumer. There is no trigger for a timer finishing that I can see, but it looks great. I have emailed the developer and asked if it is on his roadmap.
Just checking… as in the article linked by @sylumer, are you on the beta of Just Timers? This is a new feature not yet in the public release.
There is also another app Focused Work that allows pomodoro timers to be set and a Shortcut run as each stage is completed. This does need a subscription or lifetime purchase but it is a really polished app. You can also integrate with Toggl.
Right now there’s no way to use a timer as an automation trigger in Shortcuts, but you could instead set up a shortcut that simultaneously starts a timer for X minutes, and sets a Focus for the same X minutes, so they’ll both end at the same time.
Something like this should do the trick (you can replace Do Not Disturb with whichever Focus you prefer):