Whether the screen is off or on, it occurs even several hours or days after the time I was last at that location.
Phone model, android version, etc?
Have you done all the power management steps?
I don't have this issue on my Droid Turbo 2 with Marshmallow.
Nexus 5X. I'm on Nougat, but the same issue was happening under Marshmallow. I have Tasker exempt from battery optimization.
Could you post the profile description? A link to the xml might also help.
That xml is not importable, so it doesn't help.
Please export and post the human readable DESCRIPTION of the profile. See https://redd.it/50u0vz for instructions if needed.
Just edit personal content out of the description, leaving as much as possible intact.
Profile: CopyOfY12BluetoothLocation (241)
Restore: no Enforce: no
Location: 35.98905944824219 / -84.25576782226562 / 1000.0m
State: Variable Value [ %GETLOCATION eq 1 ]
Enter: Anon (242)
A1: Write File [ File:log.txt Text:ENTERED Y12BluetoothLocation %DATE %TIME Append:On Add Newline:On Continue Task After Error:On ]
Ok, I think I see the problem.
I'll paraphrase from the UG:
> When a profile contains multiple contexts, power is saved by only
monitoring for changes in order of the least-power-hungry first. For
example, in a profile with a Variable and Location context, Tasker will
decide that it does not need to monitor the Location unless the Variable
context is active (because the profile cannot become active until both
contexts are active).
So as long as %GETLOCATION does not equal 1, the Location variables do not update and retain their old values.
Hopefully Pent will chime in to confirm my diagnosis, but I think this is why this profile sees you in the wrong location.
It was recommended that I use the auto location app but it hasn't been updated in over two years and recent users are reporting issues with its compatibility.
On September 26, 2016 9:56:03 PM Garrett <g.co...@gmail.com> wrote:
>
For example if my profile is supposed to activate in location A and I then
travel to locations B, C, and D (with %GETLOCATION being set to 1 each
time), it incorrectly decides when I arrive at D that I'm really at
A. >:(
Does it report your location accurately at B and C? If so, what is special
about D?
This is sounding more like
something wrong with your device rather than with Tasker.
> It was recommended that I use the auto location app but it hasn't been
updated in over two years
True, but it is being actively
supported by its developer and has an active
support community.