• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Unmuting Phone - Tasker

I'm a newbie to Tasker so would be grateful for some help. I want to unmute my phone if one particular number rings. I have set up a task that sets the phone volume to 13 when a particular name calls. I have associated with a call profile. When the number rings the phone switches out of mute mode but there is no audible ring sound. Also when the call finishes of doesn't switch back to mud. Can anyone help?
 
I have been working with Android volume controls for a couple of years. The attraction is that it is one of the most complicated aspects of Android.

There are eight volume controls in Android and seven are readily accessible. (Yes really.) They have different purposes. The most complicated is System that sets multiple volume controls and is constantly being revised from one Android release to the next.

Different apps use different streams and to control them with Tasker you need to know what stream is being used by what app.

They are ...
A Alarm
C In-Call
D DTMF
M Media
N Notification
R Ringer
S System

This task will display their current values ...
devC (99)
A1: Flash [ Text:A%VOLA C%VOLC D%VOLD M%VOLM N%VOLN R%VOLR S%VOLS Long:On ]

My guess is that you will be playing with the Ringer and Media controls.

... Thom
 
Upvote 0
The way to learn Tasker is to start out small and add to it as you learn new things. The most absurd new thing I learned occurred after using it for over a year.

The task I posted lists the value of the seven controls. Id does not change them.

The current value for each is in the global variable referenced. Each is set with a Volume action ... like Audio / Media Volume.

... Thom
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones