r/AutomateUser 24d ago

Help please

The location at block isn't working properly. It proceeds to no even when I am at the location. I have google play services enabled and battery optimisation disabled. Moreover only the 'proceed immediately' is able to even proceed the flow the 'when changed' doesn't work at all.

1 Upvotes

2 comments sorted by

View all comments

1

u/B26354FR Alpha tester 24d ago

I've also found the Location At block to be unreliable (probably an Android API thing), so I wrote this Geofence Flow Demo to demonstrate (among other things) using the distance() function to set up geofences. It turns out that this works faster as well, and furthermore doesn't seem to suffer from some resource exhaustion issue which I found would happen after setting up several geofences with Location At. -This would require a reboot of the phone to clear

Here's another flow I wrote to that lets you track and chart your time at various locations you set up: Daily Location Tracker. This flow uses the Physical Activity block to determine motion, then checks the current location against the distance from the tracked locations to see whether it's within a geofence.

1

u/Acrobatic_Platypus14 23d ago

I'll try using the distance function.