Groups
Groups

set other volume levels

67 views
Skip to first unread message

kurtkaufman

unread,
Jun 24, 2026, 4:12:20 PM (7 days ago) Jun 24
to Automate for Android
Is it possible to set the following audio volumes: ringtone, notifications, system, alarm along with media, which I believe is the default?

мJ ZЖУ

unread,
Jun 24, 2026, 11:46:48 PM (7 days ago) Jun 24
to Automate for Android

Yes it's possible to change it from Set audio volume block and one block for each type of audio.

Can you be more specific what condition you want to set volume audio here?

Kurt Kaufman

unread,
Jun 25, 2026, 7:40:28 AM (7 days ago) Jun 25
to automa...@googlegroups.com
Thank you for your reply. I would like, when I adjust the media volume up or down using the rocker (already set per Samsung accessibility) that all of the other volume levels should adjust accordingly. I normally keep all volume levels the same, so I should be able to assign the media volume level to all others (rather than having to be concerned about relative shifts in level).

Put another way: 
•Await change in media volume level.
•Assign changed media volume level to variable x.
•Set all other volume levels to x.

Samsung S26, One UI 8.5



--
You received this message because you are subscribed to a topic in the Google Groups "Automate for Android" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/T2n63EU_R8c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/automate-user/dac80775-10b6-4fbd-a72b-ad62f08cd48cn%40googlegroups.com.
Message has been deleted

мJ ZЖУ

unread,
Jun 25, 2026, 8:16:00 AM (7 days ago) Jun 25
to Automate for Android
I guess it's a bit tricky with Automate while you can set different trigger to switch to different volume.

For example if you press a button single click it could set all volume to 25% or if you press a button double click and set all volume to 100%, or if you don't press anything for certain minutes and set the volume to 0%.

Henrik "The Developer" Lindqvist

unread,
Jun 25, 2026, 8:59:09 AM (7 days ago) Jun 25
to Automate for Android
Use the Audio volume block to await a change in volume for a particular stream, then the Audio volume set block to change it for the other streams.
A major problem is how to avoid cyclic updating the volume forever, the example flow below DO NOT address that issue.

WARNING flow below is an untested example, may loop in indefinitely!

1. Flow beginning
2. Variable set: streams = [0,1,2,3,4,5,6,7,8,9,10]
3. For each: Container=streams, Entry value=stream
3.1. Fork -> [see "Await change fork" below]
3.2. (connect #3.1 OK to #3 IN

"Await change fork"
1. Audio volume: Stream=stream, Audio volume=volume
2. For each: Container=streams, Entry value=stream2
2.1. Expression true: stream != stream2
2.2. Audio volume set: Audio stream=stream2, Audio volume=volume
2.3. (connect #2.2 OK and #2.1 NO to #2 IN)

Kurt Kaufman

unread,
Jun 25, 2026, 1:08:06 PM (7 days ago) Jun 25
to automa...@googlegroups.com
Thank you, I will test this soon, when I have some time to spend on the project.

Kurt Kaufman

unread,
Jun 25, 2026, 9:53:57 PM (6 days ago) Jun 25
to automa...@googlegroups.com
How about a different approach: Rather than wait for a change, is it possible to assign through Automate the audio level(s) via the physical volume rocker switch? 
I currently have this assigned using Accessibility settings, but only the media or system volume level can be adjusted this way. I don't know whether this is a system limitation or perhaps just the way Samsung has it configured.

On Thu, Jun 25, 2026, 08:59 Henrik "The Developer" Lindqvist <henrik.l...@gmail.com> wrote:

kurtkaufman

unread,
Jun 26, 2026, 12:19:40 PM (6 days ago) Jun 26
to Automate for Android
Figured it out. The answer is yes, using the 3-second volume up&down button hold. This way I still can adjust media volume via Android accessibility function. :-)
Reply all
Reply to author
Forward
0 new messages
Search
Clear search
Close search
Google apps
Main menu