Geofence Detection

Geofence Detection




This plug-in for Locale and Tasker detects when you cross into or out of an area surrounding a location. Set up a perimeter around your house or work, and you can trigger actions when you arrive or leave, or even change set phone settings while you are NOT at a location. For instance, you can set up one profile to send a text to your wife when you leave work, and another profile to set your ringtone to your favorite song while you are not at work.



If you find a bug, please email me at [email protected], and let me know. If your email leads to the discovery of a real bug, I'll refund your purchase price.



Note: If you don't have Locale or Tasker installed, this plug-in will do you no good.



Tasker Users: To use: go to Profiles, and add a "State" condition. Within the pop-up that appears, you will see a button labeled "Plugin." Tap that, and you will see "Perimeter Detection."



Locale Users: Locale has recently begun popping up a note that this plug-in duplicates their native Location function. Unlike Locale's native Location condition, this plug-in is mostly about the act of arriving at or departing from a location, not simply being at a place; you can read more details about what makes it different below. Give this plug-in a shot, compare it to Locale's built-in Location Condition, and if you are not happy with it, I'll refund your purchase anytime.



Discuss this plug-in, or Locale in general, at https://plus.google.com/u/0/communities/103577826858095621290



Technical information below - if you are interested in how it works.



Google recently provided Android devices with a low-power way to detect arrivals and departures at places you set up. This plug-in makes use of that service to set Locale or Tasker conditions. Please note: this service from Google makes use of multiple sensors (including WiFi and GPS) to determine location. When you disable these sensors, precise location becomes more challenging. Google Play Services are very good at determining location with whatever sensors it can, but bear in mind that if you disable WiFi and GPS, location will likely be in-precise at best. If you typically leave these off, consider setting perimeters with a large radius.



There are other plug-ins that use the same service to provide "geofence" detection. I believe mine is unique, though, in that I have written algorithms to prevent (or at least severely minimize) random (& inaccurate) "Exit" occurrences, which can occur with low-power geofences. My algorithm only kicks in when the Google Play Service detects an Exit transition, so it also minimizes power consumption.



Another problem some similar apps have is that the geofences you set up don't always work after a restart. This plug-in does not suffer that problem, nor will geofences remain in use after you've stopped using them.



What makes this different from Locale's built-in Location Condition?
Perimeter Detection is not simply about "where you are", but about entry and exit. Say you've set up a "Disable Bluetooth while I am home" type condition - then say you manually enabled BT while you are at home. Sooner or later, you will find that BT has been disabled again, because Locale detects that you are at home. With perimeter detection, you set up a "Disable BT when I arrive home" condition, and once you are at home, if you enable BT, it will stay on - because the plug-in recognizes that you aren't continually "arriving" home, you simply are STILL at home.

Recent changes:
- Fix for the mysterious missing map (not sure what happened there, sorry about that!)
- You asked for it, so now you can search for addresses as well as select locations from the map
- Renamed from "Perimeter Detection" to "Geofence Detection"
- Some bug fixes still outstanding, so another release will be coming soon, but I wanted to get the map fix out ASAP.
Add to list
$1.29
79
4.0
User ratings
24
Installs
100+
Concerns
1
File size
1444 kb
Screenshots
Screenshot of Geofence Detection Screenshot of Geofence Detection Screenshot of Geofence Detection
About Geofence Detection


This plug-in for Locale and Tasker detects when you cross into or out of an area surrounding a location. Set up a perimeter around your house or work, and you can trigger actions when you arrive or leave, or even change set phone settings while you are NOT at a location. For instance, you can set up one profile to send a text to your wife when you leave work, and another profile to set your ringtone to your favorite song while you are not at work.



If you find a bug, please email me at [email protected], and let me know. If your email leads to the discovery of a real bug, I'll refund your purchase price.



Note: If you don't have Locale or Tasker installed, this plug-in will do you no good.



Tasker Users: To use: go to Profiles, and add a "State" condition. Within the pop-up that appears, you will see a button labeled "Plugin." Tap that, and you will see "Perimeter Detection."



Locale Users: Locale has recently begun popping up a note that this plug-in duplicates their native Location function. Unlike Locale's native Location condition, this plug-in is mostly about the act of arriving at or departing from a location, not simply being at a place; you can read more details about what makes it different below. Give this plug-in a shot, compare it to Locale's built-in Location Condition, and if you are not happy with it, I'll refund your purchase anytime.



Discuss this plug-in, or Locale in general, at https://plus.google.com/u/0/communities/103577826858095621290



Technical information below - if you are interested in how it works.



Google recently provided Android devices with a low-power way to detect arrivals and departures at places you set up. This plug-in makes use of that service to set Locale or Tasker conditions. Please note: this service from Google makes use of multiple sensors (including WiFi and GPS) to determine location. When you disable these sensors, precise location becomes more challenging. Google Play Services are very good at determining location with whatever sensors it can, but bear in mind that if you disable WiFi and GPS, location will likely be in-precise at best. If you typically leave these off, consider setting perimeters with a large radius.



There are other plug-ins that use the same service to provide "geofence" detection. I believe mine is unique, though, in that I have written algorithms to prevent (or at least severely minimize) random (& inaccurate) "Exit" occurrences, which can occur with low-power geofences. My algorithm only kicks in when the Google Play Service detects an Exit transition, so it also minimizes power consumption.



Another problem some similar apps have is that the geofences you set up don't always work after a restart. This plug-in does not suffer that problem, nor will geofences remain in use after you've stopped using them.



What makes this different from Locale's built-in Location Condition?
Perimeter Detection is not simply about "where you are", but about entry and exit. Say you've set up a "Disable Bluetooth while I am home" type condition - then say you manually enabled BT while you are at home. Sooner or later, you will find that BT has been disabled again, because Locale detects that you are at home. With perimeter detection, you set up a "Disable BT when I arrive home" condition, and once you are at home, if you enable BT, it will stay on - because the plug-in recognizes that you aren't continually "arriving" home, you simply are STILL at home.

Recent changes:
- Fix for the mysterious missing map (not sure what happened there, sorry about that!)
- You asked for it, so now you can search for addresses as well as select locations from the map
- Renamed from "Perimeter Detection" to "Geofence Detection"
- Some bug fixes still outstanding, so another release will be coming soon, but I wanted to get the map fix out ASAP.

User reviews of Geofence Detection
Write the first review for this app!
Android Market Comments
A Google User
Nov 15, 2014
Don't work always I'm trying to make this app work like it suppose to, but it don't always work like it should.
A Google User
Nov 3, 2014
Really excellent! This plugin works so well on my Galaxy Note 2... I spent about a month using another popular plugin for geofences, but wasn't very happy with that one. I tried this app, and it works perfectly! Very nice job!
A Google User
Jun 27, 2014
Keeps giving me false positives, which is a shame because the UI is sweet. Will come back and give it another go in a few months but, for now, too unreliable.
A Google User
May 5, 2014
Works very nicely and doesn't seem to use too much battery
A Google User
Dec 3, 2013
Better Than In house Location More options than Tasker locations and works.