Have tasker "say" the day, date and time of a calendar event

1,035 views
Skip to first unread message

Heather Gray

unread,
Jul 27, 2014, 8:44:05 PM7/27/14
to tas...@googlegroups.com
Under the "Say" command, I have the ability to read the calendar title, description and location. But cannot figure out how to get it to tell me the day, date and time after reading the title. I've searched all over to find the answer. I appreciate any help!

Example:

"Doctor's appontment on Tuesday, July 28th at 1:00pm"

James Watkins

unread,
Jul 27, 2014, 9:02:04 PM7/27/14
to tas...@googlegroups.com
This one took me a bit to figure out but I've been able to figure out a way to get the data from my Google Calendar and have Tasker read out the data in a.  It's pretty experimental in my opinion and every once in a while I still find something that needs to be tweaked a bit.  So far though it's worked 99% of the time. :)

Change everything in quotations accordingly: 
www.google.com/calendar/feeds/"YourUsernameGoesHere"%40gmail.com/private-"YourUniqueValueFromYourCalendarGoesHere"/full?singleevents=true&futureevents=true&orderby=starttime&sortorder=ascending&max-results="NumberOfAppointmentsToDisplay"

(I would personally leave the Number of Appointments to Display at 2 so you have not only your next appointment but your next 2)
The number of appointments is just a number (1, 2, etc..). Your username is your Gmail address without @gmail.com behind it. In order to get your unique value, login to your Google calendar, go to your calendar settings, select the calendar you want to pull data from (if you have more than one calendar), scroll down to the private address, click xml, and on the popup the value you need is everything after the "private-" and before the "/basic", just copy and paste your unique string of numbers and letters into the above URL.

The attached file is the task I use to fetch data from my Google Calendar, please change the HTTP Get Server:Port accordingly as I've mentioned above to your own calendar's value.
calendar.tsk.xml

James Watkins

unread,
Jul 27, 2014, 9:03:08 PM7/27/14
to tas...@googlegroups.com
*have Tasker read it out in an appropriate/useful manner.

Heather Gray

unread,
Jul 27, 2014, 9:06:59 PM7/27/14
to tas...@googlegroups.com

Thank you so much! I'll experiment with this.  ☺

--
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/4Ptc3nyghCw/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/d/optout.

Jeremy Harris

unread,
Jul 27, 2014, 9:57:46 PM7/27/14
to tas...@googlegroups.com
That's pretty sweet, thanks for sharing! By any chance, could you attach the task "Second Apt Becomes First"? It gets called at A:87.

James Watkins

unread,
Jul 27, 2014, 10:03:19 PM7/27/14
to tas...@googlegroups.com
Oh yeah I forgot about that one.  I have a series of profiles and tasks that all work together as a "smart" alarm clock system I have on my phone that uses the data from my google calendar and GPS from my phone to determine when I should be woken up in the morning to make schedule appointments based on times and locations.  That one I'm still tinkering with and is the pride and joy of all my profiles and tasks on my phone.  I'll share the requested "second apt becomes first" but my "auto alarm" is going to stay with me until I can fully perfect it. :)
Second_Apt_Becomes_First.tsk.xml

James Watkins

unread,
Jul 27, 2014, 10:06:58 PM7/27/14
to tas...@googlegroups.com
Also, the following variables need to be entered in manually:

%Data211Error = %Data211
%Data21Error = %Data21
%Data411Error = %Data411
%Data41Error = %Data41

Heather Gray

unread,
Jul 27, 2014, 10:12:34 PM7/27/14
to tas...@googlegroups.com

Thanks,  James

--

James Watkins

unread,
Jul 27, 2014, 10:15:24 PM7/27/14
to tas...@googlegroups.com
No problem, I always feel like I'm the only one around me who uses Tasker so I'm glad to see that there's others out there who actually understand this sort of thing other than me.  Whenever I mention Tasker to friends I feel like they think it's stupid.

Jeremy Harris

unread,
Jul 27, 2014, 10:22:39 PM7/27/14
to tas...@googlegroups.com

No problem, I always feel like I'm the only one around me who uses Tasker so I'm glad to see that there's others out there who actually understand this sort of thing other than me.  Whenever I mention Tasker to friends I feel like they think it's stupid.

Lol, I hear ya! Nobody understands... Then one day they need a ride somewhere and get to actually see my masterpiece car mode in it's full wonder... and it blows their mind.

James Watkins

unread,
Jul 27, 2014, 10:30:36 PM7/27/14
to tas...@googlegroups.com
I'm the exact same way.  I drive a black Dodge Charger with Decepticon logos on the side, when I get into my car my phone connects to the bluetooth stereo.  Tasker sees the connection and acts accordingly once it's connected:  It turns off an ambient volume detection I have setup with AutoVoice, It gives a greeting based on the time of day (good morning/day/afternoon/evening sir), It turns on a notification reader I created to read emails and texts aloud while I'm driving, it opens the application Torque, plays a sound effect from the game Titanfall that says "A.I. offline, transferring control to pilot," and begins playing music via Poweramp.  Buddies of mine have commented that it seems like they're getting into a fighter jet when they sit in my car and hear it start up but at the same time they never seem to want to bother with how I set it all up.  

Bob Hansen

unread,
Jul 27, 2014, 11:22:26 PM7/27/14
to tas...@googlegroups.com
The calendar start date-time is in time-seconds format. Here is a task that will convert and process the time-seconds into a properly spoken (english) statement. Here is a link to the task file which can be imported into Tasker: Say_Current_Day_Date_Time.tsk.xml

Say Current Day Date Time (264)
        <Set %start to the desired datetime seconds to be spoken.
        (Replace %TIMES with your variable.)>
        A1: Variable Set [ Name:%start To:%TIMES Do Maths:On Append:Off ]
        A2: Variable Set [ Name:%suffix To:1st,2nd,3rd,4th,5th,6th,7th,8th,9th,10th,11th,12th,13th,14th,15th,16th,17th,18th,19th,20th,21st,22nd,23rd,24th,25th,26th,27th,28th,29th,30th,31st Do Maths:Off Append:Off ]
        A3: Variable Split [ Name:%suffix Splitter:, Delete Base:On ]
        A4: Variable Convert [ Name:%start Function:Seconds to Long Date Time Store Result In: ]
        A5: Variable Search Replace [ Variable:%start Search:\, \d{4} 0? Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In: Replace Matches:On Replace With: at  ]
        A6: Variable Search Replace [ Variable:%start Search: \d\d Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In:%match Replace Matches:Off Replace With:%suf ]
        A7: Variable Set [ Name:%match To:%match1*1 Do Maths:On Append:Off ]
        A8: Variable Set [ Name:%suf To:%suffix(%match) Do Maths:Off Append:Off ]
        A9: Variable Search Replace [ Variable:%start Search: \d\d Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In: Replace Matches:On Replace With: %suf ]
        A10: Flash [ Text:%start Long:Off ]
        A11: Say [ Text:%start Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]

Heather Gray

unread,
Jul 27, 2014, 11:24:03 PM7/27/14
to tas...@googlegroups.com

Thanks,  Bob!

--

Ryoen Deprouw

unread,
Jul 28, 2014, 4:08:20 AM7/28/14
to tas...@googlegroups.com
That XML file was something I created in the past, see original tutorial: https://www.youtube.com/watch?v=vlRT-uH-BnA
Nowadays, I'm using AutoCalendar, its way more easier, I dont have to split anything, etc.. just using variables. If you are subscribed to the AutoApps, you have access to this alpha plugin as well... It works pretty good...

Op maandag 28 juli 2014 02:44:05 UTC+2 schreef Heather Gray:

Heather Gray

unread,
Jul 28, 2014, 3:15:38 PM7/28/14
to tas...@googlegroups.com
Ryoen, can you help me out with the AutoCalendar? I cannot find it in the app store. I am not sure what you mean. If there's something easier, I'd prefer to use it.

Ryoen Deprouw

unread,
Jul 28, 2014, 3:18:53 PM7/28/14
to tas...@googlegroups.com
I wrote a whole post about to access AutoApps, here is the link: https://plus.google.com/116748651052467942212/posts/XfsLveyXv4y

Op maandag 28 juli 2014 21:15:38 UTC+2 schreef Heather Gray:

James Watkins

unread,
Jul 28, 2014, 5:56:44 PM7/28/14
to tas...@googlegroups.com
I just subscribed to AutoApps and I'm going to be experimenting with AutoCalendar here shortly.  Thanks for informing me that this app is in Alpha stage!!

Ryoen Deprouw

unread,
Jul 28, 2014, 6:00:58 PM7/28/14
to tas...@googlegroups.com
Follow my tutorials on Google+ community: goo.gl/k52Di6
Also my videotutorials are on my youtube channel: goo.gl/GQYiSq

Op maandag 28 juli 2014 23:56:44 UTC+2 schreef James Watkins:

Heather Gray

unread,
Jul 28, 2014, 7:04:08 PM7/28/14
to tas...@googlegroups.com

Thanks.  I'll check out your tutorials

--

droopie

unread,
Dec 7, 2015, 7:24:28 PM12/7/15
to Tasker
I want something similar but I would like to have a reminder 15min from the event on calendar. I don't want the calendar notification but rather tasker so I can run other tasks before the events. So know an upcoming event, trigger an alert 15min before.

Rich D

unread,
Dec 7, 2015, 7:30:45 PM12/7/15
to Tasker Google Groups Post


> I want something similar but I would like to have a reminder 15min from the event on calendar. I don't want the calendar notification but rather tasker so I can run other tasks before the events. So know an upcoming event, trigger an alert 15min before.

This has been discussed several times. You should be able to find a few approaches with a search of this group and  a google search.

droopie

unread,
Dec 7, 2015, 7:32:42 PM12/7/15
to Tasker
I actually did and which is how I ended up here...

Rich D

unread,
Dec 7, 2015, 7:48:16 PM12/7/15
to Tasker Google Groups Post

> I actually did and which is how I ended up here...
>

Try searching for this..

get next calendar event

Rich D

unread,
Dec 7, 2015, 8:07:02 PM12/7/15
to Tasker Google Groups Post

> > I actually did and which is how I ended up here...
> >

I also think there is a 'auto calendar' plug in that will do this as well.  

droopie

unread,
Dec 8, 2015, 12:22:20 AM12/8/15
to Tasker
Who makes that auto calendar I couldn't find it. Also searched for auto-calendar. Is it by the same guy that makes autoapps?

Rich D

unread,
Dec 8, 2015, 5:41:09 AM12/8/15
to Tasker Google Groups Post


> Who makes that auto calendar I couldn't find it. Also searched for auto-calendar

Your search skills are terrible. I found this when i searched for 'auto calendar'

https://groups.google.com/forum/m/#!topic/tasker/XD1J7o8gzPI

Be sure to read entire post.

Message has been deleted

droopie

unread,
Dec 8, 2015, 11:57:40 AM12/8/15
to Tasker
My question was also asked by another person LOL so my search skills seem to be the same...

Rich D
> For easier, use a plugin like auto-calendar.

Why are some of his apps so hard to find? It does not show on a search in play store and is not mentioned on his main site?? Where did you find it?

droopie

unread,
Dec 8, 2015, 12:00:14 PM12/8/15
to Tasker
Just teasing tho I know that developer I'll look into his app of it didn't work I'll read that thread you linked. Thanks!

Rich Belthoff

unread,
Dec 8, 2015, 8:08:52 PM12/8/15
to Tasker
That's because I think it is still either an alpha or a beta APP and you can only get it if you subscribe to his full auto apps application.
Reply all
Reply to author
Forward
0 new messages