Tasker to make an calender entry that logs any incomming/outgoing phonecall. - Tasker Tips & Tricks

Hi,
I need some help with Tasker > Call Log > Calender
I want Tasker to log the the phone call details after the call has been made.
so if today is 16-Nov and i received or made a phone call at 11:07 and stopped the same call at 11:15
i want a log in Calendar to show on 16 november:
LINE 1: Incoming Call from XXXnameXXX - XXXTel NumberXXX
LINE 2: Call started at 11:07 and call ended at 11:15
But the line 2 seems to be difficult to make
Also when a phone call is done by myself to someone Tasker needs to wait until the call is finished as current calls are not supported
this is what the manual says about the variable used (see red)
Call Name / Number/ Date / Time / Duration (Out)(dynamic, monitored)
%CONAME / %CONUM / %CODATE / %COTIME / %CODUR
The called name, number, date and time of the last (not the current) outgoing call made.
Called Name is set to the called number if the contact couldn't be looked up. It's unavailable on Android versions prior to 2.0.
I do not understand how to tell tasker to wait until the call is finished and then get the data from my phone book to make an entry in Calendar.
There is an app that can do this called "call track" but i want this in Tasker and not done from yet another app that i cannot tweak.
Can somebody shed some light on this with some sort of an example or a push into the right direction
I have an Edge S7, also note that i'm a beginner at tasker, and i'm in the learning process.
just to give you a heads up
I have this now
Profile> received call
Call - Incomming + phone offhook
Task
A1 Wait 15 Minutes
A2 Calender Insert
- in.for = 0/0
- Selected calendar
- TITLE - Tel.In - %CNAME %CNUM
- DESCRIPTION - %CTIME
Profile - Outgoing Call
Call - Outging + phone offhook
Task
A1 Wait 15 Minutes
A2 Calender Insert
- in.for = 0/0
- Selected calendar
- TITLE - Tel.Uit - %CONAME %CONUM
- DESCRIPTION - %COTIME %CODUR
But again, i want this to show "LINE 2: Call started at 11:07 and call ended at 11:15"
and i cannot get it to work.
Regards
Trek

I don't know if this helps but why not just use the veriable set %callstart %callend to %TIME for both profiles?

HatchetEgg said:
I don't know if this helps but why not just use the veriable set %callstart %callend to %TIME for both profiles?
Click to expand...
Click to collapse
Perhaps yes, can you give me an example in one of my profiles as i would not know how to implement this,
I'm still learning about %variables and at this point i would not know how to do this.

Ok for example with
Profile> received call
Call - Incomming + phone offhook
Task
A1 Wait 15 Minutes
A2 Calender Insert
- in.for = 0/0
- Selected calendar
- TITLE - Tel.In - %CNAME %CNUM
- DESCRIPTION - %CTIME
Profile - Outgoing Call
Call - Outging + phone offhook
Task
A1 Set vairiable %Callend to %TIME
A2 Set vairable %Tcalltime to %CTIME - %Callend Do maths on
A3 Wait 15 Minutes
A4 Calender Insert
A5
- in.for = 0/0
- Selected calendar
- TITLE - Tel.Uit - %CONAME %CONUM
- DESCRIPTION - %Tcalltime %CODUR
I'm not sure if this works but give this a try. Also you can have incoming and outgoing in one profile. you just have to set the incloming profile with the exit task for outgoing.

HatchetEgg said:
Ok for example with
Profile> received call
Call - Incomming + phone offhook
Task
A1 Wait 15 Minutes
A2 Calender Insert
- in.for = 0/0
- Selected calendar
- TITLE - Tel.In - %CNAME %CNUM
- DESCRIPTION - %CTIME
Profile - Outgoing Call
Call - Outging + phone offhook
Task
A1 Set vairiable %Callend to %TIME
A2 Set vairable %Tcalltime to %CTIME - %Callend Do maths on
A3 Wait 15 Minutes
A4 Calender Insert
A5
- in.for = 0/0
- Selected calendar
- TITLE - Tel.Uit - %CONAME %CONUM
- DESCRIPTION - %Tcalltime %CODUR
I'm not sure if this works but give this a try. Also you can have incoming and outgoing in one profile. you just have to set the incloming profile with the exit task for outgoing.
Click to expand...
Click to collapse
It does something but the result after a 1.3 minute call = 0 and it writes it in the description line were in fact it should be written in the "- in.for = 0/0" line
it should result in Callstart / Callend. This is the beginning and end time of the call and it should then be the exact time in my google calendar.
would below work ?
Profile - Outgoing Call
Call - Outging + phone offhook
Task
A1 Set variable %Callstart to %TIME
A2 Wait 15 Minutes
A3 Set variable %Callend to %TIME
A4 Calendar Insert
A5
- in.for = %Callstart / %Callend
- Selected calendar
- TITLE - Tel.Uit - %CONAME %CONUM

Trekstaaf said:
It does something but the result after a 1.3 minute call = 0 and it writes it in the description line were in fact it should be written in the "- in.for = 0/0" line
it should result in Callstart / Callend. This is the beginning and end time of the call and it should then be the exact time in my google calendar.
would below work ?
Profile - Outgoing Call
Call - Outging + phone offhook
Task
A1 Set variable %Callstart to %TIME
A2 Wait 15 Minutes
A3 Set variable %Callend to %TIME
A4 Calendar Insert
A5
- in.for = %Callstart / %Callend
- Selected calendar
- TITLE - Tel.Uit - %CONAME %CONUM
Click to expand...
Click to collapse
Ah ok I think I understand, those adjustment you made above should work. the only down side is that it's not the actual call duration time. Because it starts before the call has been answerd. But never the less it is in the right ball park.

HatchetEgg said:
Ah ok I think I understand, those adjustment you made above should work. the only down side is that it's not the actual call duration time. Because it starts before the call has been answerd. But never the less it is in the right ball park.
Click to expand...
Click to collapse
No, it does not work but i found a solution on the internet yesterday evening and this works, i have it now running on Tasker.
i thought that it would be a simple thing to create but it was not.
https://groups.google.com/forum/#!topic/tasker/XyWyRSPKGT8
with thanks to the original creator Bart Bernardes

Dang that's a serious profile!

Related

Call Duration hack

Hey does any1 have a registry hack for call duration - i need to turn back time - anyidea how i can do that - i checked out the post of making some1 call me and stuff dint work for me - plz let me know
reset call duration
You can try this (I have read it in this forum before)
reset for dummies (just an expression, nothing personal) :
tap on the Flag (left top corner)
tap settings
tap the tab System (in the botttom)
tap Device information
tap the tab Call duration (in the bottom)
write down incoming and outgoing
for example :
incoming = 48hr 27 min. 55 sec
outgoing = 14r 57 min 01 sec
Outgoing reset :
Call someone, (with the phone, not with your voice).
While the conversation is ongoing :
tap on the Flag (left top corner)
tap settings
tap the tab system
tap clock & alarms
tap the tab Time
change the Time
for example
if it is 15:37 18/01/2005
change it -14hr 57min 01 sec (outgoing)
to 00:41 18/01/2005
tap OK (right top corner)
end the conversation/ hang up the phone.
Set your clock back to reality
incoming reset :
let someone call you.
While the conversation is ongoing :
tap on the Flag (left top corner)
tap settings
tap the tab system
tap clock & alarms
tap the tab Time
change the Time
if it is 15:37 18/01/2005
change -48hr 27 min. 55 sec (incoming)
to 15:10 16/01/2005
tap OK (right top corner)
end the conversation/ hang up the phone.
Set your clock back to reality
good luck :wink: :wink:
Re: reset call duration
hadisatria said:
...
Call someone, (with the phone, not with your voice).
...
Click to expand...
Click to collapse
:lol: :lol: :lol:

Delayed ringtone?

I'm disappointed with HTC diamond because of this delayed ringtone, about 80% of my incomming call going to mailbox, its costing me too much , I have to calling back them. What is an idiot mobile phone, there is no any solution I think?!
there is a registry tweak to prevent a 3 second delay on incoming calls - also go to start phone/ options services and select call fowarding and tap get settings change whatever settings for no answer fromk what ever it is to 30 seconds
Thanks Ekksman! where can I find this registry tweak, and the other option u described is not a good solution, i ve changed from the service itself to 30 seconds, but I need it to ring from the first signal, not at the 3 ringingsignal.
I presume ekksman was talking about this: http://forum.xda-developers.com/showthread.php?t=258109
It seems to work. Downside: you have to convert your ringtones to wav's.
Quoted...
hope it helps...
Change duration of ringtone/vibrate/LED flash characteristics"
HKCU\ControlPanel\Sounds\RingTone0\Script = "v1w1v1w1v1"
E.g. vibrate 1 second (v1), wait 1 second (w1) sequence
Looping Ringtones Delay
Ring tone has a standard 3 seconds delay before repeating. You can set the delay from 0 second to how many second that you want.
HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0
Change 'Script' from 'av0pw3r' to 'av0pr' and you'll get 0 sec delay.
OR change it to
av0pw1r = wait for 1 sec
av0pw2r = wait for 2 sec
and so on...
Plus heres the code
a - stands for display
r - repeat/replay the script again
c - sets the volume C50, c150, c100
f - means flash .. f1 flash for 1 second and f0 stands for flash continuously
p -means play ringtone
v- vibrate then incorporate with number to state how many seconds it will vibrate example. v3 vibrate for 3seconds or v - for continous
w - stands for wait or pause then specify how many seconds like w3(wait for 3 seconds)
Heres the example
Flash - af1w60f0
Ring - apw3r
Ring Once - ap
Increasing Ring - c50apw3c150r
Vibrate Then Ring - v3w3apw3r
Vibrate - av3w3r
Short Vibrate - av1w3r
Vibrate Long Then Ring - v3w3v3w3apw3r
Vibrate And Ring - av0pw3r
Increasing Ring And Vibrate - c50apv3w3c150r
Fast Vibrate And Flash - af1v1w1f0r
Vibrate and Ring Continously without pausing - av0pr
Htc86 said:
Quoted...
hope it helps...
Change duration of ringtone/vibrate/LED flash characteristics"
HKCU\ControlPanel\Sounds\RingTone0\Script = "v1w1v1w1v1"
E.g. vibrate 1 second (v1), wait 1 second (w1) sequence
Looping Ringtones Delay
Ring tone has a standard 3 seconds delay before repeating. You can set the delay from 0 second to how many second that you want.
HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0
Change 'Script' from 'av0pw3r' to 'av0pr' and you'll get 0 sec delay.
OR change it to
av0pw1r = wait for 1 sec
av0pw2r = wait for 2 sec
and so on...
Plus heres the code
a - stands for display
r - repeat/replay the script again
c - sets the volume C50, c150, c100
f - means flash .. f1 flash for 1 second and f0 stands for flash continuously
p -means play ringtone
v- vibrate then incorporate with number to state how many seconds it will vibrate example. v3 vibrate for 3seconds or v - for continous
w - stands for wait or pause then specify how many seconds like w3(wait for 3 seconds)
Heres the example
Flash - af1w60f0
Ring - apw3r
Ring Once - ap
Increasing Ring - c50apw3c150r
Vibrate Then Ring - v3w3apw3r
Vibrate - av3w3r
Short Vibrate - av1w3r
Vibrate Long Then Ring - v3w3v3w3apw3r
Vibrate And Ring - av0pw3r
Increasing Ring And Vibrate - c50apv3w3c150r
Fast Vibrate And Flash - af1v1w1f0r
Vibrate and Ring Continously without pausing - av0pr
Click to expand...
Click to collapse
When I set av0pr then in Ringtone Settings should still be Vibrate and Ringtone but in my device it is automatically set to Ringtone and when I change it to Vibrate and Ringtone av0pw3r value is set.
I can set it up to av0pr and still have Vibrate and Ringtone in settings
Any idea?
Changing the HKCU\ControlPanel\Sounds\RingTone0\Script does not work. The Diamond will switch back to the default script after soft reset, that is, 3 seconds delay after the call comes.
The delay as stated in the post about regtweak RingTone0 is not for the delay of incoming calls. It is about the duration and loopdelay of vibration and sound.
What the xom is talking about is the moment a call gets connected, only light will flash, but no vibration and sound for the first few seconds..
Yes djin, its correct, the delay is just light flushing with out vibr. or ringsignal, man hear the ringtone after 2 incoming calls tone? I'm searching the solution of this, by the way what is HkEY? and how can I get it or changeit, how can I go in to controlpanel? can any body explain plz.?
for outcall delay and end call delay here below the reg strings (expressed values are in seconds):
HKCU\ControlPanel\Phone\CallProgressIdleTimeout
HKLM\Software\HTC\Phone\PhoneExtendSetting\EndCallTime
for prevent 3 rings there is only a way: you must use a wav ring or a very short/compressed mp3 (max 30/40 seconds) anyway 1 ring you'll never hear
bye,
davide
I have the same problem and, at the same time, something happens with some ringtones assigned to contacts. First, it starts ringing with the default ringtone and suddenly (maybe 1 sec later), changes to the ringtone assigned to the contact that is calling me. The ringtones assigned to the contacts are not mp3 nor large files, i selected the "oldphone" ringtone for some special contacts that is included with the phone.
Any ideas to avoid this?
Thanks
bookmarked
angler said:
Changing the HKCU\ControlPanel\Sounds\RingTone0\Script does not work. The Diamond will switch back to the default script after soft reset, that is, 3 seconds delay after the call comes.
Click to expand...
Click to collapse
I think not. I did soft reset and setting remains the same...
yaneck said:
I think not. I did soft reset and setting remains the same...
Click to expand...
Click to collapse
yup,same here
Settings will be restored after a while, anyway to fix this?
Remius said:
Settings will be restored after a while, anyway to fix this?
Click to expand...
Click to collapse
Setting won't be restored until you get back again into Settings>souns & notifications. But managing ringtones in TF3D Settings>Sounds doesn't have influence on that so you can use that.
I have set Registry key to pattern I wanted and I've exported that registry key and put shortcut to it in startup so it is back again after every reset and if I need I can run mentioned registry key to get back my setting
change car forwarding delay
thanks ekksman for the suggestion. it worked.... i changed the car forwarding to 30 seconds and now i am not missing any calls.
changing the mp3 ringtone files to wav making a big difference in the ring volume.
bookmarked for further info !!
tried altering the HKEY settings with no joy it helped went from 3 rings to 2 but still no immediate, cheers for trying

How can I set alarm clock few minutes after profile active?

I set in profile task what At a specific time enable wifi and internet radio - that should wake me up.
But if radio don't wake me up I want that few minutes later set/on oryginal alarm clock (where i can set my ring tone or ex. set snooze for 5min/10min or off alarm if I wake up).
I randomly wake up so when i whant that radio wake me up i set time to ON only on tasker profile.
How i can add/what task add to this if I want Get the effect when radio will ON , 5min later clock alarm will ON
try this:
- in profile task, do math on current time, plus x min times 60,
- than convert the result back to normal time format
- do a variable split, splitter empty, to split it by space, to get time only
- you will have to trim possible preceding zero in hour
- than set alarm with the result time
Sorry but You write too complicated for me :|
Can You write this same but maybe on the example and write step by step what to do
Thank so much
Yeah that's far too complicated. Try this.
In your first profile, that turns on your alarm, set a variable %ALARMTIMERCOUNTDOWN =%TIMES+120 (%TIMES is the current time in seconds, and + 120 is two minutes after the current time
Then create a time context profile and click the little tag you change it from time, to variable, and enter %ALARMTIMERCOUNTDOWN as the time.
Then, when the current time=ALARMTIMERCOUNTDOWN the profile will trigger.
Now remember to clear the variable in both exit tasks so if you wake up, the variable will be empty and thus will never trigger
Can You write this step by step. Like this: Go to your profile that turns on your alarm -> in task what enable radio add new variable -> action ("+") -> variables -> add variable - here in "........." write "....... " -> then go to action variable and "set variable" -> ........
In profile I can add new time context and to start time set %ALARMTIMERCOUNTDOWN but i bust add task to this context - what task i should add?
"Now remember to clear the variable in both exit tasks" - I had add variable only on one task "In your first profile, that turns on your alarm, set a variable.... "
someone can help?
gonzolex said:
someone can help?
Click to expand...
Click to collapse
ok, here goes:
new profile1
- trigger: event/date-time/alarm clock: alarm info
- action: set variable %Trigger to %TIMES+120, do math
btw profile2
- trigger: state/variables/values: %TIMES eq %Trigger
- action: do your task

Make a missed call at specefic time

Hey can someone give me detailed instruction about
- Make a call at 5:50AM to 'X' number
- Let the phone ring twice
- Hangup
-Turn airplane mode off afterwards
4th one isnt important (optional) so actually its how to perform a missed call
Thanks
@[email protected]@[email protected] said:
Hey can someone give me detailed instruction about
- Make a call at 5:50AM to 'X' number
- Let the phone ring twice
- Hangup
-Turn airplane mode off afterwards
4th one isnt important (optional) so actually its how to perform a missed call
Thanks
Click to expand...
Click to collapse
Why not:
PROFILE:
Time at 5:50 am
TASK:
-Action: Call to %NumbertoCall (you must have this variable created with your 'X' number)
- Wait 4 seconds
-Action: hangup
-For airplane mode, you can use secure settings plugin.
Regards,
kurokirasama said:
Why not:
PROFILE:
Time at 5:50 am
TASK:
-Action: Call to %NumbertoCall (you must have this variable created with your 'X' number)
- Wait 4 seconds
-Action: hangup
-For airplane mode, you can use secure settings plugin.
Regards,
Click to expand...
Click to collapse
Thanks.

[Q] How to get Tasker to read/show Amazfit bip battery level

Firstly some info
Tasker app (full) v 5.15.14
Amazefit Bip U
Notify For Amazefit v 14.5.0
Problem: I was wondering on how to get Tasker to read the Amazefit Bip U battery level & then if it's below a certain level to send a notification to watch to remind me to charge it up
I know that the watch is suppose to let me know when it's below 10% but I'd like a bit of an earlier warning
I have found in the Notify for amazfit app the information for Tasker intergration & it seems that I can receive events from the App using the 'Get band battery value' action of 'com.mc.miiband.batteryStatGot' with an Extra of 'value - contains battery value (integer)'
Reading the tutorial of 'How to receive an intent' (Profiles > Event > System > Intent Received) I can do this but what's next ? - what do I put in the task?
Also what triggers the event ?
- I would prefer the 'batterystatget' to be in a Task instead & then trigger it perhaps a 'once a day' or 'every 12 hrs' to check the watch battery level
I also assume I will somehow have a value that I can look at & then decide on what to do when the value is less than 20 (BTW I know how to send a notification to the watch - already have tasks that sends 'missed text/message/ phone battery full/low already on a repeat every minute since Motorola phone doesn't do 'repeats' notifications) but whats the varible name I need to look at (it's not %BATT' as that's the phone battery level)
Any help appreciated
+1
Well - I had completely forgot about this post until I got a notification.
Anyway, I have managed to make 'something' that works despite no help from anyone & a lot of trial & error
Not sure how to post a 'tasker' profile/task here but here goes - I hope it's understandable
-----------------------------------
Start Tasker
Select [Profiles]
+ (add)
[Event]
[System]
[Intent Received]
(I renamed this as 'Band Battery Level' afterwards)
Under 'Action' type 'com.mc.miband.batteryStatGot'
'Cat': None
Scheme: blank
Mime Type: blank
Priority: Normal
Stop Event: Unticked
Go back & main screen should now show popup to select which task to assign Profile to..
[New Task]
(Call it whatever you like - I used 'Band Batt Level')
Enter the following
-------------------------
If %value eq 99 & %WCharged neq true
Flash Text Watch Charged
Variable Set Name %WCharged to True
End if
if %value < 95
Variable Clear Name %WCharged
End if
if %value < 15
Notify Configuration
Icon: Messager Icon
Icon Repeat: 1
Show a Number: OFF
Show a text: ON - ** Low Battery **
- Needs Charging --
Title: ON - * WATCH *
Vibration: ON
Number Vibration: 3
Vibration length:250
End if
---------------------------------
Here's what the Task does
If %value is equal to '99' then on my phone a pop-up flashes up stating 'Watch Charged', so that I'll know when to go & take my watch off charge & get it on my wrist
%WCharged is a flag I use to cause the popup to only show up once otherwise while the watch is @ 99% I keep getting the pop-up showing - even while its off charge. This flag is reset to false once the voltage of watch drops below 95% (%value<95)
If %value is less than 15 then tasker send a notification to the watch stating that 'Watch' (Title) has '** Low Battery ** -- Needs Charging --', while giving 3 pulses of vibration.
I guess you could add 'Flash' messages if you want pop-ups to show on your phone as well
Note that some of the Icons used in 'Notify' will not give a title, a text or even both of these - the 'Messager' Icon is one that does allow both title & Text to show on watch & the reason I used it. I do wish we could use custom icons (like a battery etc) but I guess this is a limitation of the watch
Anyway I hope this help

Categories

Resources