Difference between revisions of "Trigger: Geofence Trigger"
(Created page with "This trigger will fire when you enter or exit a specified area. It is equivalent to the Location Trigger but uses the standard Android Geofence APIs so may work better and/or...") |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | This trigger will fire when you enter or exit a specified area. | + | <pre class="header-style"> |
+ | 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 your new location is within the area. | ||
− | It is equivalent to the Location Trigger but uses the | + | It is equivalent to the Location Trigger but uses the Google Play Services Geofence APIs so may work better and/or use less battery. |
+ | </pre> | ||
+ | |||
+ | Please see [[Trigger:_Location_Trigger|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. |
Latest revision as of 13:33, 13 June 2024
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 your new location is within the area. It is equivalent to the Location Trigger but uses the Google Play Services 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.