Trigger: Geofence Trigger

Revision as of 13:32, 13 June 2024 by MacroDroidDev (talk | contribs)
This trigger will fire when you enter or exit a specified area (defined as a Geofence). The trigger will fire once when you transition from one state to another. For example if you select the 'enter area' option the trigger will fire when you were previously outside the area and the newest location is within the area.

It is equivalent to the Location Trigger but uses the standard Android Geofence APIs so may work better and/or use less battery.

Please see Location Trigger and Geofences

Configuration Options

  • Zone name

The name of the Geofence area that you wish to trigger on.

  • Area Entered/Exited

You can choose to trigger either when you enter the area or when you exit the area.

  • Trigger if previous location unknown

If MacroDroid doesn't know your previous location (for example you have just rebooted your device) then the trigger will not typically fire if you meet the right criteria (as it doesn't know if you have transitioned from one state to another). If you want the trigger to fire in this situation then you can enable this option.

  • Location Update Rate

This is just guidance for the Play Services library advising it how often you would like to check for location updates. The library will take this into consideration when deciding to check for Geofences but updates may vary considerably from the requested time.