tasker uses incorrect GPS location

Been trying to learn Tasker so I started with a task on found online
I created a task that grabs my GPS location and sends it to a Twitter feed every 10 min.
I start the task and it posts while I'm out and about, then when I get to my destination (Locaton A) I stop the task.
Later, when I'm somewhere else several miles away (Location B), I start the task and the first post it sends to the Twitter feed is the GPS coordinates from Location A. Then the next time post in 10 minuets is correct.
My first thought was maybe having a GPS issue, but when I check my location or use an app that will manually post the GPS location to Twitter, then the Location is correct.

any thoughts on how to make it post the correct location when I start the task?


Location (3)
A1: Get Location [ Source:GPS Timeout (Seconds):10 Continue Task Immediately:On Keep Tracking:On ]
A2: Send SMS [ Number:40404 Message:Current Location
http://maps.google.com/?q=%LOC
%DATE %TIME
Battery %BATT% Store In Messaging App:Off ]
A3: Wait [ MS:0 Seconds:0 Minutes:10 Hours:0 Days:0 ]
A4: Goto [ Type:Action Number Number:1 Label: ]
 
With a real phone number this works for me ...
Code:
BBBB
A1: Get Location [ Source:GPS Timeout (Seconds):10 Continue Task Immediately:On Keep Tracking:On ]
A2: Send SMS [ Number:(999)9999999Message:%LOCN
%DATE %TIME %BATT Store In Messaging App:Off ]
A3: Wait [ MS:0 Seconds:0 Minutes:10 Hours:0 Days:0 ]
A4: Goto [ Type:Action Number Number:1 Label: ]

... Thom
 

strangedays75

Newbie
Thread starter
thanks Thom,
I tested this while driving around town yesterday and that's how I encountered the location discrepancy.
I've change the GPS source from GPS to NET and to ANY, and get this result.
Also the phone number you see in the code is the number used to post to Twitter via SMS from a Verizon phone.
 

strangedays75

Newbie
Thread starter
I'm wondering if there is a way to null the previous GPS coordinate value before getting the new GPS coordinates.
Im pretty new to this, but willing to learn.
 
The approach to Tasker that I recommend ...

Start out with something simple that works.
Tweak it and see that it works.
Keep tweaking it until you get it to the state that you want.

There are many variables. Tasker is not perfect. Some capabilities have not been incorporated in Tasker. Experimentation is the only thing I can recommend.

I have found GPS reception to be a little flakey as you move around.

... Thom
 

lareya

Lurker
If Tasker doesn't update with a GPS location, it will use the last location. Clear the GPS variable first, then get your location. You will vary in how long it takes to set GPS by location, so give ample time for connection.
 

strangedays75

Newbie
Thread starter
Im probably not using the correct terminology. Im pretty new to Tasker and im not afeaid to say it is above my pay grade.

As you can see in my profile posted above, im telling Tasker to get my current GPS location. Before it gets my current location i want to clear the GPS location value otherwise it im having the problem as stated above.
 
Top