Plugin variables not working - anyone?

Started by Tapio, Yesterday at 15:45:02

1 Member and 1 Guest are viewing this topic.

Tapio

Hi,

Locus status variables aren't really working for me. Eg, Request Sensors and Stats, "is track recording"

Here it always returns false to %is_track_rec_recording.

I'm on the recent new database beta.
Also,there were some updates on Tasker plugin recently.

Anyone else? That effectively broke all my automation.

Tapiola MFV4+ theme for OAM Maps:
Discuss - Releases - DL latest - Install latest
  •  

alang

Hi,
I just found the same 30 mins ago.
All the variables I use from Request Sensors and Stats are empty or 'null'.
Get Locus Info is still OK.

My tasker project is also now broken.

It was working for sure on December 27 , the plugin was updated on my phone on Jan 10th.  Locus itself was not changed in the meantime.

I guess the API probably has had quite a few updates since the previous plugin version was created.
  •  

40°

While the developer fixes the bug, I can offer you a temporary solution.
The recording status of a track can be detected by a tasker from the status bar.:
The owner application:Locus Map
Name:!* - * Text:~R\d+:\d\d:\d\d | .*m |\d+ Dots

Below is a working "Description To Clipboard". It's in Russian, but I'm quoting it unchanged so that the translator doesn't change the content. You'll have to adapt it for yourself.



    Профиль: State: Track Record StartStop.LM4
       Событие: Новое уведомление [ Приложение-владелец:Locus Map Название:!* - * Текст:~R\d+:\d\d:\d\d | .*m | \d+ Точки Subtext:* Messages:* Other Text:* Cat:* New Only:Выключить ]
   
   
   
    Начальная Задача: Без имени
   
    <Запись трека: 1-трек записывается.
    Покатушка (99 m | 1s)•0:00:00 | 0 m | 0 Точки
    Покатушка (99 m | 1s)•4:00:24 | 104 km | 14085 Точки>
    A1: Anchor
   
    A2: Добавить к перем. [
         Имя: %LocusRec
         Значение: 1
         Обнулить при: 2 ]
   
    A3: Если [ %LocusRec = 1 ]
   
        A4: Произнести [
             Текст: Запись трека включена.
             Синтезатор: Голос: default:default
             Поток: 3
             Тональность: 5
             Скорость: 5
             Respect Audio Focus: Включить ]
   
    A5: Else
   
        A6: Произнести [
             Текст: Запись трека остановлена.
             Синтезатор: Голос: default:default
             Поток: 3
             Тональность: 5
             Скорость: 5
             Respect Audio Focus: Включить ]
   
    A7: Конец Если
   
   
  •  

Tapio

Read notification, nice idea, thx 👍
Tapiola MFV4+ theme for OAM Maps:
Discuss - Releases - DL latest - Install latest
  •