Matt
Hi Everyone
I am a newbie and in the learning process of this app.
I am trying to define a situation that when in certain conditions (e.g. night time) the phone (Galaxy S3) goes into silent mode, except for when a certain call number that I define rings. In this case the phone should ring.
So I defined 2 profiles, Silent profile and Caller profile as follows:
Profile Silence On when sleep at certain hours:
task:
1. Silent Mode: Vibrate
2. Variable Set %SILENTMODE to yes
On Exit:
1. Silent Mode: Off
2. Ringing Volume to 7
3. Variable Set %SILENTMODE to no
Profile Emergency Caller (single phone number)
Event -> Phone -> Phone ringing -> Caller (single caller)
task:
If %SILENTMODE ~ yes
1. Silent Mode: Off
2. Ringing Volume to 7
End if
Now, two weird things happen:
1. When the emergency caller rings and the phone is silent, the phone rings which is great. But this happens only once. So the next time he rings the phone will not ring anymore.
What is more weird is that I can see in the notification bar that when the emergency caller rings (second time), Silent mode icon disappears, yet I cannot hear the ring.
2. The other thing that is strange to me is that sometimes, in order to reset the variables, I need to disable Tasker and re-enable it, or even restart my device. Is there a better way of doing this?
Regards
Danny
I have Galaxy s4
I import the silent mode for @ night & also the emergency caller xml files
Now the silent mode works great when i plug in the phone to the ac it automatically gose silent but when a caller called it's not ringing
I import it from the Tasker Web site
> Now the silent mode works great when i plug in the phone to the ac it automatically gose silent but when a caller called it's not ringing
> I import it from the Tasker Web site
If you go in and edit the task from the task edit screen you should find a action "music play" you will need to delete the selected file in the first option then hit the mag glass on the right side, in the browser locate a ringtone or media file you want to play for emergency calls..
Could you post your profile here... Long press on the profile name / ( 3 dot menu with 4.0+ ) export / export description to clipboard (not XML)
The beginner mode needs to be off and the profile needs to have a name to be able to export.
Profile: Sleep mode (20)
Enforce: no
State: Power [ Source:AC ]
Time: From 22:00 Till 07:00
Enter: Anon (18)
A1: Silent Mode [ Mode:On ]
A2: Variable Set [ Name:%SLEEPMODE To:1 Do Maths:Off Append:Off ]
Exit: Anon (19)
A1: Silent Mode [ Mode:Off ]
A2: Variable Clear [ Name:%SLEEPMODE Pattern Matching:Off ]
Profile: Sleep mode emergency numbers (22)
Enforce: no
Event: Phone Ringing [ Caller:* ]
Enter: Anon (21)
A1: If [ %SLEEPMODE = 1 ]
A2: Silent Mode [ Mode:Off ]
A3: Wait [ MS:0 Seconds:0 Minutes:5 Hours:0 Days:0 ]
A4: Silent Mode [ Mode:On ] If [ %SLEEPMODE = 1 ]
A5: End If
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/glLQTPNhYPc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.
Tnx For you help i just upload my profile
Also i would to know if i can make a different profile for the weekends
--
Ok, that is not the profile I thought it was so disregard the above comments..
The most likely reason; for it not working is on "some" devices you can not change the volume level once the phone has started ringing.
The easiest way to check is to put a flash action in task just after A2 as outlined below. Then ckeck it with a incoming call and see if it flashes when the phone is ringing..
> Profile: Sleep mode emergency numbers (22)
> Enforce: no
> Event: Phone Ringing [ Caller:* ]
> Enter: Anon (21)
> A1: If [ %SLEEPMODE = 1 ]
> A2: Silent Mode [ Mode:Off ]
// put a flash action here//
You replied to sender in your last post, I have copied it here. Please keep the posts in the group, So others might be helped and others can help.
>I would like to know if you could give more Pacific help
>Do i need to create a new profile?
My guess would be yes.
You are going to need a better understanding of tasker to be able to make these things work.
If you have not done so already please watch this vidio
http://www.youtube.com/playlist?list=PLjV3HijScGMynGvjJrvNNd5Q9pPy255dL
And read the pocketables beginners guide (menu / info / guides)
> Profile: Sleep mode emergency numbers (22) (what is that mean) // it is the profile name and a number for the profile assigned by tasker //
> Enforce: no (where can i find this) // It is in the profile properties
> Event: Phone Ringing [ Caller:* ]
> Enter: Anon (21) (what is this) // It is the name of the task, This particular task was not given a name so tasker assigned it the anonymous name //
> A1: If [ %SLEEPMODE = 1 ]
> A2: Silent Mode [ Mode:Off ]
This is a profile that I use.
Profile: Emergency Calls (39)
State: Call [ Type:Incoming Number:C:FAV ]
State: Variable Value [ Name:%VOLR Op:Maths: Less Than Value:5 ]
Enter: Play Ringtone (40)
A1: Media Volume [ Level:13 Display:Off Sound:Off ]
A2: Music Play [ File:/system/media/audio/ringtones/Ring_Digital_02.ogg Start:0 Loop:On Stream:3 Continue Task After Error:On ]
Exit: Music Stop (42)
A1: Music Stop [ Clear Dir:Off ]
Profile: Sleep mode (7)
Time: From 22:00 Till 07:00
State: Power [ Source:Any ]
Enter: Sleepmode (8)
A1: Silent Mode [ Mode:On ]
A2: Variable Set [ Name:%SLEEPMODE To:1 Do Maths:Off Append:Off ]
Exit: Awake (9)
A1: Silent Mode [ Mode:Off ]
A2: Variable Clear [ Name:%SLEEPMODE Pattern Matching:Off ]
Profile: Emergency Night Call (15)
Event: Phone Ringing [ Caller:your caller]
Enter: Emergency Call (19)
A1: If [ %SLEEPMODE ~ 1 ]
A2: Silent Mode [ Mode:Off ]
A3: Wait [ MS:0 Seconds:30 Minutes:2 Hours:0 Days:0 ]
A4: Silent Mode [ Mode:On ]
A5: End If
On Oct 26, 2014 1:56 AM, "Danny Garcia" <toexp...@gmail.com> wrote:
>
>
> Example : My boss from a Different number then one I have in my contacts -- but he call from that number 3 times in a row within 5 minutes.
This is a bit confusing. Do you want it to ring through if any number calls 3 times in a row within 5 min?
Not just 3 calls within the time limit.
Hope that clearifies it.
> set %missedcall = 0 after 5 minutes
You could have a profile that fires on %missedcall=1 then wait 5 min then set %missedcalls to 0.
But i would prefer to keep it all in the same task, using %TIMES (epoch time).. Something like this.
>
> if %missedcall = 0
> then set %lastcall =0
>
>
> if %lastcall = %CNUM
> then %missedcall + 1
Variable set %Starttime To: %Times ; If %Missedcall =1
> else %lastcall =%CNUM
>
> if %missedcall = 2
If %TIMES-%Starttime> (5*60)
Variable set %Missedcall TO: 0
Stop
End if
> then Silent mode [off]
>
> Something like that....
Will need tweaking but that should give you the idea...