AutoLocation Car Audio Volume with Speed

Discussion in 'AutoApps' started by Thahim, Apr 24, 2015.

  1. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    Can i check Speed of my Car with AL? I want to set bluetooth volume with car speed but taskers native variable %LOCSPD is not population or not working.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Did you try
    - in a Task start location monitor with high accuracy
    - in a profile react to location changing
    - in the task for that profile check %alspeed
     
  3. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    Task location monitor whats that?
    I tried get location timeout:100 and flash; %alspeed that was empty.
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    There's an AutoLocation action called "AutoLocation Location" which allows you to enable the location monitor.
     
  5. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    Still empty

    Autoloc (38)
    A1: AutoLocation Location [ Configuration:Starting Location Monitor
    Interval: 1 seconds
    Number Of Updates: 3
    Update Type: High Accuracy
    Smallest Displacement: 1 meters Package:com.joaomgcd.autolocation Name:AutoLocation Location Timeout (Seconds):60 ]
    A2: Flash [ Text:%alspeed Long:Off ]
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    You need to create a new profile with an AutoLocation Location condition and in the task of that profile use the flash.
    Also, %alspeed is not always populated. You need to actually be moving and it only has a value if you have a GPS lock, so set the number of updates to something like 120 for example
     
  7. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    Gps lock? Will the profile trigger after 120seconds?
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    No, the location tracking will be active for 120 seconds then shut down.
     
  9. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    So the speed will be tracked after 120 seconds, and the profile will trigger after that?
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    No the profile will be triggered every interval, which is 1 second in the task you exported.
    You could set that to 3 seconds for example, and that would trigger the task every 3 seconds.
     

Share This Page