System setting change - volume=0 (Samsung)

hsurB

Well-known member
I need to trigger macro when media volume=0 and when its >0.
I already have macro for it using standard volume change trigger and variables that saves current volume into variable whenever I change volume and then perform actions when it reaches mentioned earlier values. Its not too reliable tho (not at all when using volume slider on screen after clicking button).
So I was wondering if using system change trigger could help but I have no experience with it.
With a macro created by @Endercraft I already found that its under:
"volume_music_speaker" (category 'System') = 0 when changed to 0 but I haven't really managed to use it as a trigger yet.
Could you guide me what should I put there for it to work and if its gonna be more reliable?
 

Dimlos

Well-known member
How about something like this?
 

Attachments

  • Macro.jpg
    Macro.jpg
    466.1 KB · Views: 10
  • Volume_notification.macro
    2.5 KB · Views: 2

hsurB

Well-known member
How about something like this?

Yeah. It works, thanks.
It triggers twice but thats probably because I changed in phone's settings so each time I click a button it changes volume by 10 (and it was probably set as 5 as a factory setting) but thats not a big deal. I can deal with it obviously.
Seems to be more reliable than volume change trigger as well but I will need more time to test it out.
It also gave me general idea of how to use system setting change as a trigger if I needed it in a future for other settings as well
Thanks again!

Edit. Yep! Way better than volume button press - monitor volume change!
 
Last edited:
Top