Trigger: speed vs audio volume

vm53

Member
Hi everyone
In the car I use waze on my smartphone, when I'm at high speed, it's great that the audio is maxed out, but when the speed is low, or I'm stationary, the maxed out audio is quite annoying.
I've tried creating a macro with the activity trigger in the vehicle, audio at max, and another activity trigger on the bike,
audio at 50%, but it doesn't seem to work, it always stays at max.
Considering that there is no trigger that activates based on the real speed, how can I solve the problem?
As always, thanks in advance and sorry for my english (google)
 

Dm114

Well-known member
Hi everyone
In the car I use waze on my smartphone, when I'm at high speed, it's great that the audio is maxed out, but when the speed is low, or I'm stationary, the maxed out audio is quite annoying.
I've tried creating a macro with the activity trigger in the vehicle, audio at max, and another activity trigger on the bike,
audio at 50%, but it doesn't seem to work, it always stays at max.
Considering that there is no trigger that activates based on the real speed, how can I solve the problem?
As always, thanks in advance and sorry for my english (google)
You can use either Activity triggers, but they are not very accurate, or test Magic text {last_loc_speed_...} periodically
 

Endercraft

Moderator (& bug finder :D)
Use the compare values constraint, then in the first field use [last_loc_speed_kmh] or [last_loc_speed_mph] then if less/more than (some number in second field).
 

vm53

Member
Use the compare values constraint, then in the first field use [last_loc_speed_kmh] or [last_loc_speed_mph] then if less/more than (some number in second field).
I still can't figure out, where do I find and put "compare values constraint"?
Can you post an example for a 70 year old man?
Thanks again!
 

Dm114

Well-known member
This seems like a great idea to me, I did some tests, but I can't apply it.
Could you please post me how to do it?
Thank you
You could try something like that (attached below). Note that you must activate your GPS to get speed information.
 

Attachments

  • 20230701_164540.jpg
    20230701_164540.jpg
    217.5 KB · Views: 12

Endercraft

Moderator (& bug finder :D)
I'm not sure the condition will actually query the location so it may be necessary to use force location update too.
 

vm53

Member
Thanks everyone for your interest.
I created 2 different macros and tried them one at a time on the road.
The first on @Dm114 advice is this:

Ridimensiona di1.jpg

but unfortunately it didn't work, checking the log, there was this error:

Ridimensiona di3.jpg

Then I tried the second on the advice of @Endercraft:

Ridimensiona di2.jpg

but this also didn't work, generating the same error in the registry:

Ridimensiona di4.jpg

Surely I did something wrong, can someone correct me?
 

Dm114

Well-known member
Thanks everyone for your interest.
I created 2 different macros and tried them one at a time on the road.
The first on @Dm114 advice is this:

View attachment 5955

but unfortunately it didn't work, checking the log, there was this error:

View attachment 5957

Then I tried the second on the advice of @Endercraft:

View attachment 5958

but this also didn't work, generating the same error in the registry:

View attachment 5959

Surely I did something wrong, can someone correct me?
Amazing!
To me it works fine, as an Integer or Decimal comparison as well. 🤔
 
Top