Difference between revisions of "Constraint: Geofence"
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether the device is inside or outside a geofence.</pre> |
| − | + | ''' Options ''' | |
| + | |||
| + | * '''Inside/Outside''' - Check if the device is within the selected zone | ||
| + | * '''Zone''' - Choose the geofence zone to check | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Enable Wi-Fi at 18:00 but only when you are at home'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Time of Day - 18:00</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Wifi Configure (Enable)</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Geofence (Location) - Inside (Home)</pre> | ||
| + | |||
| + | ''' Note ''' | ||
Due to the background location update rate, there may be some lag between entering/exiting an area and the constraint returning the correct value. | Due to the background location update rate, there may be some lag between entering/exiting an area and the constraint returning the correct value. | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Trigger: Geofence Trigger|Geofence Trigger]] | ||
Latest revision as of 11:32, 9 January 2026
This constraint allows or prevents a macro/feature from running based on whether the device is inside or outside a geofence.
Options
- Inside/Outside - Check if the device is within the selected zone
- Zone - Choose the geofence zone to check
Example
Example 1: Enable Wi-Fi at 18:00 but only when you are at home
Triggers Time of Day - 18:00
Actions Wifi Configure (Enable)
Constraints Geofence (Location) - Inside (Home)
Note
Due to the background location update rate, there may be some lag between entering/exiting an area and the constraint returning the correct value.
See Also