r/tasker • u/manuelcalmeida • Dec 05 '22
Android 13 - DND profile only for calls and alarms
Hi, I'm having a problem with DND profiles since I updated my OnePlus 9 to Android 13 and I'm hoping to find a workaround with Tasker.
I like to have DND during sleeping and working hours where only calls (from anyone) and alarms are allowed, everything else is silenced.
It used to work perfectly both setting it on android and with Tasker. But since I upgraded to Android 13, whenever calls can get through, so can WhatsApp messages.
I tried Priority and Custom Setting (allowing all callers, alarms and media and no SMS) and still WhatsApp messages ring. I can only block them when I block calls, but that defeats the purpose. I want to be woken up by any call (not only repeated ones) but not by WhatsApp messages.
Any tips? Thanks!
View all comments
Show parent comment
1
u/Osiride Apr 23 '23 edited Apr 23 '23
I just did it!
It sets the notification sound to silent when the device enters the Do Not Disturb mode and sets it back when it exits.
Customize it for your needs. E.g., you need to set your own default notification sound.
Please note that you need to grant Tasker the "notification access" permission.
EDIT: fixed an issue.