Originally Posted by Pinmac1
That sounds like a great idea, unclemike. Any chance you could post the Tasker profile as I still struggle with setting them up.
Here's the profile that's actually in use now:
Context: Display Unlocked
Wait 1 Days
Get Location [Source:GPS Timeout:100]
Variable Set %LOCAGE = %TIMES - %LOCTMS [Do Maths]
Send SMS [Number:Me Message:As of %LOCAGE seconds ago my location within %LOCACC meters is http://maps.google.com/maps?q=%LOC]
The link in the SMS brings you to Google Maps.
One thing to note is that the Collision Handling in the Task Properties must be set to "Abort Existing Task". (This setting is specific to each task, and won't affect your other tasks.) This way, each time the screen is unlocked, the existing task is aborted and the 1 day timer starts over. If the phone never goes 1 day without being unlocked, the task never completes and the message never gets sent.
I should probably do something to allow Network locations when GPS is not available (i.e. inside a building), and it would look something like this (but it's untested):
First, change Soure:GPS to Source:Any
Replace the Variable Set action with this:
If %LOCTMS > %LOCNTMS
Variable Set %LOCAGE = %TIMES - %LOCTMS
Variable Set %MYLOC = %LOC
Variabel Set %MYLOCACC = %LOCACC
Variable Set %LOCAGE = %TIMES - %LOCNTMS
Variable Set %MYLOC = %LOCN
Variable Set %MYLOCACC = %LOCNACC
Then, in the Send SMS action, replace %LOC with %MYLOC and replace %LOCACC with %MYLOCACC