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/103577826858095621290Technical 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.
- 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.