PURPOSE
I use my phone for my job which requires me to be on-call and receive phone calls and SMS text (pages) from work. At night however, I use tasker to put my phone into a profile which has no sounds to avoid friends from texting me or calling me in the middle of the night. Follow this setup to allow SMS texts to come through as audible and repeat no matter what your current profile.
DOWNLOADS
ASSUMPTIONS
I am assuming you do not put your phone into dock mode where the screen constantly stays on. If you do, you will have to modify the condition on how you set the %VSMSREPEAT variable below.
TASKS REQUIRED
- Full Audio - this task is what to do when you want your phone to be audible
- Sleep Audio - this tasks is what to do when you go to sleep/work when you want your phone to be silent/quiet.
- PagerAction - this is the magic. See below on how to create it.
- DisableProfiles - does what it says.
- EnableProfiles - does what it says.
PROFILES REQUIRED
- HOME - this profile is your full audio profile. You need at least one profile that has full audio for this to work.
- SLEEP - this is your silent mode profile. This wiki doc is pointless to you if your phone is never in silent.
VARIABLES REQUIRED
- %VSMSREPEAT - controls whether to repeat the SMS alert.
ACTION PROFILES REQUIRED
- Page - When an SMS comes in it will fire off the PagerAction task
- UnlockVariableSets - When you unlock your phone (to check the SMS) it will set a variable used in a loop condition (%VSMSREPEAT)
SETUP INSTRUCTIONS
TASKS
Click the Tasks button and click "New" for each one of the tasks below
Full Audio
- AUDIO: Silent Mode - Off
- AUDIO: Notification Volume - 7
- AUDIO: Ringer Volume - 7
- AUDIO: Media Volume - 15
- AUDIO: In-Call Volume - 5
- AUDIO: Vibrate On Notify - On
Sleep Audio
- AUDIO: Silent Mode - On
- AUDIO: Vibrate On Notify - Off
I put some other settings in here like WIFI On. You can add as you see fit but for the scope of this doc it is audio only.
DisableProfiles
For every profile *EXCEPT* the Page and UnlockVariableSets action profiles add a step:
*TASKER: Profile Status
Name yournamehere Set Off
EnableProfiles
For every profile add a step:
*TASKER: Profile Status
Name yournamehere Set On
PagerAction (this is where it gets pretty advanced)
1. TASKER: Perform Task
Name: DisableProfiles Stop Off
2. TASKER: Wait
MS 0 Seconds 6 Minutes 0 Hours 0 (Captivate takes about 6 seconds for the screen to go back to sleep)
3. TASKER: Variable Set
Name %PAGECOUNT To 1
4. TASKER: Variable Set
Name %VSMSREPEAT To On
If %SCREEN ~ off
5. TASKER: Perform Task
Name EnableProfiles Stop On
If %VSMSREPEAT ~ Off
6. TASKER: Variable Set
Name %VSMSREPEAT to Off
If %PAGECOUNT > 3 (After 3 repeats it will stop)
7. TASKER: Wait
MS 0 Seconds 10 Minutes 0 Hours 0 (This is the delay you want inbetween re-notify sound)
If %VSMSREPEAT ~ On
8. TASKER: Notify Sound
Title path to your audio here
If %VSMSREPEAT ~ On
9. TASKER: Variable Add
Name %PAGECOUNT Value 1
10. TASKER: Goto Action
Number 5
PROFILES
HOME Profile
- Create a profile however you want. I personally create mine on cell tower location.
- Entry Task : Full Audio (I personally call mine full audi wifi b/c I turn on wifi)
SLEEP Profile
- Create a profile however you want. I personally create mine on AC Power and From 11pm - 10am.
- Entry Task : Sleep Audio (I personally call mine sleep wifi b/c I turn on wifi)
ACTION PROFILES
UnlockVariableSets
- Create an action profile for Display Unlocked.
- Entry Task:
TASKER: Variable Set
Name %VSMSREPEAT To Off
If %VSMSREPEAT ~ On
Page
*Create an action profile for Received SMS
Sender *410* (410 is where all my pages come from. ie. 410-555-1111)
You can filter your mesage too here if you want.
Entry Task: PagerAction
CONCLUSION
If you did it right, when an SMS comes in and your phone is on a silent/mute profile it will switch to a full audio profile, repeate an sms alert 3 times, and then go back into a silent profile again.