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

Sleep profile with gmail exception

AJ4VS

Newbie
I have a profile set up for my sleep time (ringer up, but everything else silent). However, I want to be alerted if I get an email with a particular GMail label attached. How could I have tasker recognize the gmail label and turn my notification volume up when the phone is in the sleep profile?

Secondly (and sorta related) I have an app (Active911) that I'd like the same thing to happen. How would I get tasker to turn up the notification volume when Active911 receives a message/is activated when my phone is in sleep mode?

Both of these situations are important for the city/state/county to reach me for emergencies overnight. I have a pager they issued me that works great but I'm much rather have my phone do it all so I won't need the pager.

Thanks,
AJ4VS
 
As a starting point, for Active911, you can play a ringtone when the app receives a notification.

Profile:
Event > UI > Notification > Owner Application = Active911

Task:
Media > Play Ringtone > Type = Notification, Sound = pick one, Stream = Ringer (since your phone is set up to be able to ring at that time)


For Gmail, I'm still looking.
 
For Gmail, we could use the same method if we can filter emails by their title, as it's an option in the 'Notification' event.
 
As a starting point, for Active911, you can play a ringtone when the app receives a notification.

Profile:
Event > UI > Notification > Owner Application = Active911

Task:
Media > Play Ringtone > Type = Notification, Sound = pick one, Stream = Ringer (since your phone is set up to be able to ring at that time)


For Gmail, I'm still looking.


I like this!! Very nice and easy. My only question though, how do I make this active ONLY when my sleep profile is active?
 
Very good point!

Add the condition %SILENT ~ On to the profiles.

That assumes that your phone can never be completely silent.
 
that wouldn't work since there are many times that I have to have my phone completely on silent :-(

We're sooo close to a solution... Just gotta figure out how to make this work ONLY when the sleep profile is active.
 
No it's fine! :)

What you need to set up is a custom Silent Mode.
Have a variable called (for example) %MySilentMode and set it to On depending on time (and/or other things, it's up to you).

And replace my suggested 2nd condition "%SILENT ~ On" with "%MySilentMode ~ On".
 
Okay. Thanks. I'm going to learn how to use variables tonight (never got around to that) and will try this suggestion ASAP. Thanks again for the help! :-)
 
Back
Top Bottom