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

Tasker: Set vibrate pattern for incoming e-mail/SMS/phone

I can get incoming SMS to vibrate a certain pattern.

1) Event: Received Text *.*
2) Task: Vibrate Pattern 200, 200, 200, 200, 200, 200 (buzz 3x)

I've disabled the vibrate function on my Galaxy S itself, but the vibrate comes after the ringtone, I was hoping they'd happen at the same time.

I cannot find "Event: Received Email" or similar to set up something like the above. Can someone point me in the right direction.

I was able to get the phone ringing vibrate pattern going in a loop, but it won't stop once I've answered my phone or it goes to voicemail. I was following the "Counter Loop" setup on Tasker's main page

Could someone enlighten me please?

I am using a couple of useful profiles
1) Silent at night with special callers filtering through I've changed the context to a Time/Day only context
2) Vibrate only according to my Google calendar *note: requires your calendar to be synced*
Context: Calendar Entry, "Available: No" (if marked as Busy on Google Calendar only)
Task: Silent Mode: Vibrate
 
I can get incoming SMS to vibrate a certain pattern.

1) Event: Received Text *.*
2) Task: Vibrate Pattern 200, 200, 200, 200, 200, 200 (buzz 3x)

I've disabled the vibrate function on my Galaxy S itself, but the vibrate comes after the ringtone, I was hoping they'd happen at the same time.

I cannot find "Event: Received Email" or similar to set up something like the above. Can someone point me in the right direction.

I was able to get the phone ringing vibrate pattern going in a loop, but it won't stop once I've answered my phone or it goes to voicemail. I was following the "Counter Loop" setup on Tasker's main page

Could someone enlighten me please?

I am using a couple of useful profiles
1) Silent at night with special callers filtering through I've changed the context to a Time/Day only context
2) Vibrate only according to my Google calendar *note: requires your calendar to be synced*
Context: Calendar Entry, "Available: No" (if marked as Busy on Google Calendar only)
Task: Silent Mode: Vibrate

The only email app that Tasker supports for notification of new email is K9. But you can use the Event>Notification context, and specify Gmail (or your email app) as the "owner" and that should work. That's how my Missed Notification Reminder works.

If the phone ringing task is looping, you'll have to put in some sort of check to see if the phone has stopped ringing. As the first action in the task, set a variable (i.e. %RINGING), in the Goto action specify action 2 as the target, and make it conditional on %RINGING Is Set.

Then create two more profiles, like this:

Context: Phone Idle
Task: Variable Clear %RINGING

Conetxt: Phone Offhook
Task: Variable Clear %RINGING

This way, when the phone stops ringing, the variable gets cleared, and the loop stops.
 
  • Like
Reactions: maryhadalamb17
Upvote 0
So, I have followed the advice of UncleMike and made the following:

Profile 1
"Phone Ringing"
Context>Event: Phone Ringing*
Task>1. Variable Set %Ringing TO on
2. Stop If %Ringing !~ (doesn't match) on
3. Vibrate Pattern 200,700,200,700
4. Goto Action Number 2

Profile 2
Phone Offhook
Context> Event: Phone Offhook
Task> Variable Clear %Ringing

Profile 3
Phone Idle
Context> Event: Phone Idle
Task> Variable Clear %Ringing

I clicked on the test button and my phone is buzzing at random intervals and wouldn't stop!! I had to do a KillAll.

Did I miss something?

By the way, the Event>Notifications>app context works wonderfully now for both my email and SMS. Thank you.
 
Upvote 0
So, I have followed the advice of UncleMike and made the following:

Profile 1
"Phone Ringing"
Context>Event: Phone Ringing*
Task>1. Variable Set %Ringing TO on
2. Stop If %Ringing !~ (doesn't match) on
3. Vibrate Pattern 200,700,200,700
4. Goto Action Number 2

Profile 2
Phone Offhook
Context> Event: Phone Offhook
Task> Variable Clear %Ringing

Profile 3
Phone Idle
Context> Event: Phone Idle
Task> Variable Clear %Ringing

I clicked on the test button and my phone is buzzing at random intervals and wouldn't stop!! I had to do a KillAll.

Did I miss something

The Event context only changes when the actual event occurs. So, when you pressed Test, you tested Profile 1, but since the actual event of the phone being answered never occurred, there was no way to change your %RINGING variable.

Try testing it by calling from a different phone.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones