calendartask, looking for a specific event name in the next day calendar. if found preform action

339 views
Skip to first unread message

Rexx DZN

unread,
Sep 27, 2023, 9:28:32 AM9/27/23
to Tasker
I have been struggling with this for weeks since autoweb and auto calendar do not work. I want to make an automated profile that looks at my calendar to see if i have work and when and then sets a wake up and sleeping alarm accordingly. But also at the same time if i have work, or college it will input things in google maps automatically with the arrival time and destination using google calendar and sets a reminder alarm to leave to not miss the public transport (a feature that exists on gmaps iphone but not andorid?)
for this i need to use autocalendar or autoweb plugin for tasker, however both apps return an error:
""This app is blocked.This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access."
another related: in autoweb i can't sign in with my g account to get todoist api since it is not a "safe browser" embedded webpage in autoweb app..

The only app that i have gotten to work is I think calendartask, now i have searched a lot on the web but i have not found any tutorials on the plugin nor a profile i can copy for my usecase. 

so the question is this how can i use calendartask to look
 for a specific event name in the next day calendar i.e. work or look if a specific calendar has any events for the following day (my outlook synced with gcal college calendar). if found preform action.

The actions part i will figure out on my own, creating an alarm and destination thing i think i will do this via autoinput and AmDroid or clocktask and the first party list of actions notification popup from tasker.

aa6vh

unread,
Sep 27, 2023, 12:02:29 PM9/27/23
to Tasker
You might consider a different tack. I use the Test App->Calendar Title to scan the calendar. This will return the active calendar events at a given specific time A parameter that you input specifies the time (epoch time, number of seconds since 1/1/70). You do have to iterate through the times of the day your interested in. I scan the current day at fifteen minute intervals to find out what is happening today (part of my good morning announcement, i.e "you have a doctors appointment at 10:30"). It is run at 4am, so I don't care if the loop takes a little bit of time (with the actual announcement speaking when my wake alarm goes off).

Check out the Tasker Help files for further information on Test App.

Rich D

unread,
Sep 27, 2023, 1:03:12 PM9/27/23
to Tasker Google Groups Post
This task uses purely Tasker actions and will retrieve your next days calendar events.  For next day calendar events enter 1,1


macbannai

unread,
Sep 11, 2024, 1:27:41 PM9/11/24
to Tasker
This is a great task, you practically grabbed everything.  In my case, I only want Tasker to take action on the variables related to my work calendar, how would I modify this query to only apply it to a specific calendar instead of all of them?
Reply all
Reply to author
Forward
0 new messages