Calendar Event Check in advance/Check afterwards as Constraint & Condition

roetzerbub

New member
Hello!

i stumbled across the fact, that you can use calendar events with the check in advance option (+ negative values) as a trigger.
However you can´t use it as a constraint or in a condition (loops or if-clauses).

(I´m creating a macro which shall be triggered by entering a geofence/location but only, if there is a matching event in my calendar which is about to start. Also the macro needs to run a while longer as the calendar event, depending on a few things, like location... - its intended to automate during my work time, however i find it quite difficult to implement right now)

So It would honestly help me a lot to have this feature implemented.
Also (i can only imagine) it might not cause you a lot of work, since its already implemented as a trigger option.

Let me know if you have any questions - and thanks a lot for this great app! :)
 
Hi Roetzerbub, Sorry to be slow, but how did you do this? I can't find how to trigger on a calendar event except by using the notifications from calendar.

Background: I have a Macrodroid script that is triggered by calendar notifications and rings a bell. My default calendar setting put notifications in 45, 30 15 and 5 minute before each event. My life is run by these! But events that come in synced from Outlook don't have enough notifications set so I tend to miss those meetings.

Robert
 

roetzerbub

New member
Hi Robert,

I have found it here:
Trigger > Date/Time > Calendar Event
You can see it in the picture below.

Hopefully this will help you! :)
RoetzerBub

Screenshot_20210705-181758_MacroDroid.jpg
 
How does [Calendar][Check in Advance] work?

This is my scenario:

On Sunday:

var nw-isGarbageDayRestart = true

🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭

On (nw-isGarbageDayRestart == true)

[Wait Until Trigger]​
[Calendar Event]​
Check 5 Days Ahead of Time (Sunday, Monday, Tuesday, Wednesday, Thursday)​
I want it to check Sunday - Thursday, if such an event with RegEx Pattern matching event title in any of those 5 days​
If event found within these 5 days on Sunday​
Set another variable....​
CalendarCheckInAdvance.jpg

Would this be the correct usage of "Check in Advance", entering 5 would mean check 5 days in advance inclusive of the other days?

or....

Should I have

Check in Advance 0 Days​
Check in Advance 1 Day
Check in Advance 2 Days
Check in Advance 3 Days
Check in Advance 4 Days...​

🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭🢜 🢝 🢞 🢟 🢬 🢭

On Friday:

var nw-isGarbageDayRestart =false
 

Attachments

  • CalendarCheckInAdvance.jpg
    CalendarCheckInAdvance.jpg
    44.5 KB · Views: 10
  • WaitUntilTrigger.jpg
    WaitUntilTrigger.jpg
    39 KB · Views: 12
Top