Use variable value for location context

62 views
Skip to first unread message

Duckredbeard

unread,
Mar 15, 2023, 9:12:35 AM3/15/23
to Tasker
I can't find a way to use a variable as a location context.  I would like to be reminded of something when leaving specific locations, but those locations could be among dozens of possible places.  Those places are not known until I get there.

I already have a variable set to where I am when my car disconnects bluetooth.  I'd like to use that location variable in a location context.

João Dias

unread,
Mar 15, 2023, 10:19:16 AM3/15/23
to tas...@googlegroups.com
You could have a profile that checks (every X minutes) how close you are to any place by using the Tasker Function > Distance Between Locations action and update a global variable with the distance. Then use that global variable in a new profile with the Variable Value state. :) 

Hope this helps!

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


On Wed, Mar 15, 2023 at 1:12 PM Duckredbeard <duckre...@gmail.com> wrote:
I can't find a way to use a variable as a location context.  I would like to be reminded of something when leaving specific locations, but those locations could be among dozens of possible places.  Those places are not known until I get there.

I already have a variable set to where I am when my car disconnects bluetooth.  I'd like to use that location variable in a location context.

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/6403c90d-a5ad-42da-b8fa-a9df3eadd827n%40googlegroups.com.

João Dias

unread,
Mar 15, 2023, 10:20:46 AM3/15/23
to tas...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages