Difference between revisions of "Trigger: Geofence Trigger"

m
m
Line 1: Line 1:
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
This trigger will fire when you enter or exit a specified area.
 
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 use less battery.</pre>
+
It is equivalent to the Location Trigger but uses the standard Android Geofence APIs so may work better and/or use less battery.
<br>
+
</pre>
'''Example Usage'''<br/>
 
Turns off WIFI and turns on mobile data when I leave the house.
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
 
 
Geoference (Home)
 
</pre><br>
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
 
Disable WIFI
 
Enable mobile data
 
</pre><br>
 
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
 
Constraints
 
 
 
 
 
</pre><br>
 
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
 
 
 
 
</pre><br>
 

Revision as of 23:37, 22 January 2024

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 use less battery.