Falcosc / locus-addon-tasker

Locus Maps API useable as Tasker Plugin
GNU General Public License v3.0
9 stars 2 forks source link

"Request sensors and Stats" as Global Variable #33

Open ThomasKeim opened 1 year ago

ThomasKeim commented 1 year ago

I want to have the variable not as state but as global. Then I can retrieve it from another task. Could I add a checkbox to make the variable global (at least one uppercase letter)?

Falcosc commented 1 year ago

It is cached for 900ms, so wouldn't mind if you request the value again. Otherwise, copy it to a custom global one. It is quite a hassle to introduce this without braking things since tasker has some context aware features and if you change the variable name based on a checkbox tasker will get confused if the variable name isn't the same one as it was the last time.

ThomasKeim commented 1 year ago

Thanks, good idea with the copy. I have one more question: What is Navipoint1 Extra / Navipoint1 Action / Navigation Point Index ? I can't imagine anything with the names. I could not find anything in the wiki.

Falcosc commented 1 year ago

it's the data of the next navigation point.