Change the ringer volume for non-contacts and change it back after a sleep duration

dpackage

New member
Considering how many spam calls I get, I've really enjoyed adding this based on a stackexchange post. The original post didn't have the exact behavior I had in mind and is locked to users like me with not enough reputation points, so I'm sharing here. What I like about my spin is it makes use of stored variables to reset the volume to a "desired" value after a sleep event.

 

Attachments

  • Screenshot_20231104_172026_MacroDroid (1).jpg
    Screenshot_20231104_172026_MacroDroid (1).jpg
    220.4 KB · Views: 18

dpackage

New member
Update: I let my "free operation" days expire (totally forgot that was a thing) and wondered why this wasn't working anymore (to be honest it ended up working half the time after my earlier post). When I added more free days, the macro with the "sleep" didn't ever work. I added another test macro that would *reject* incoming calls from non-contacts. That worked great and I was inspired to try to get this working again. I decided to tweak a few things and so far (the last couple of hours) it works great. The keys are
- Two separate macros (one for incoming calls, one for "missed calls")
- Changed the global variable to store as decimal format (not integer)
- Changed the action to set the "Volume" action (not the system setting action).

I'm also going to set a reminder on my phone to watch enough ads every couple of weeks to never run out of free days

Better Macros.png
 
Top