Log Workout with Geofencing — Needs Help!
I play squash three times a week at two different places. At the end of each month, the club manager sends me the bill for the court rental with all the dates I played. Since I travel a lot for work, I try to keep track of the days I was away — but I often forget and end up digging through WhatsApp messages to confirm whether I had told them I wouldn’t play, just so I can cross-reference the bill.
To simplify this, I created a Shortcut that logs the date and time whenever I arrive at either court (using geofencing). Because I frequently drive past these two locations on my way elsewhere, I added a 20-minute dwell-time check so it only logs if I’ve actually stayed there for at least that long. There have also been a few times when I went to play but had to leave quickly (power outage, etc.), and those are normally under 20 minutes — so the dwell-time filter makes sense.
I have two Shortcuts (one per address), each triggered by its own geofencing automation. They sort of work, but the timer/distance logic is not reliable. It still logs entries when I only drive past. Since I only play at the end of the day, any entry with an earlier timestamp is clearly wrong.
Any help making this more reliable would be greatly appreciated. And if you like the setup, feel free to use it — just let me know it was helpful.
Screenshots below. I took them on my Mac to make them easier to read, but the Shortcuts run on my iPhone. (Only one set of screenshots attached since both Shortcuts are identical except for the address.)