Calendar block failing to detect events

41 views
Skip to first unread message

Mauro

unread,
Mar 18, 2026, 8:44:42 AMMar 18
to Automate for Android
I have a script with a calendar block detecting events, but often it fails to detect them; the odd thing is another flow seems to detect them almost always (with some missed detection, though), and the only difference is that I set a start offset.

This are the block's setting:

01.jpg02.jpg

Henrik "The Developer" Lindqvist

unread,
Mar 18, 2026, 8:56:12 PMMar 18
to Automate for Android
Difficult to tell what would be the cause.
If it misses events that's was recently added to you Google Calendar then maybe they've not synced wit the device.
Enable the "Debug logging" option in Automate settings to see some info on what the  block is doing.
Try without the "Ignore all day events" option.

Mauro

unread,
Mar 19, 2026, 4:12:36 AMMar 19
to Automate for Android
I'll try, thanks. For now I can say it's not a sync problem, since it was added days before and I checked the day before, the events were already there.

I don't know if it's the "Ignore all day events", since on another flow that optiont is enabled and it missed just one events since I made it; for now I tried enabling "Debug logging",  so I can check what happens with the same conditions, if that doesn't help I'll disable the "Ignore all day events" option, I'll update you.

Mauro

unread,
Apr 8, 2026, 8:53:53 AM (2 days ago) Apr 8
to Automate for Android
Log from the flow that fails to detect calendar events:

04-08 07:45:00.190 D 114359@71: CalendarEventQuery query 2026-04-08T07:45:00 - 2026-04-15T07:45:00
04-08 07:45:00.204 D 114359@71: CalendarEventQuery no events, await 2026-04-08T08:45:00
04-08 08:45:01.159 D 114359@71: CalendarEventQuery query 2026-04-08T08:45:00 - 2026-04-15T08:45:01
04-08 08:45:01.206 D 114359@71: CalendarEventQuery found events ending
04-08 08:45:01.216 I 114359@71: Calendar event query?
04-08 08:45:01.217 D 114359@71: CalendarEventQuery query 2026-04-08T08:45:01 - 2026-04-15T08:45:01
04-08 08:45:01.226 D 114359@71: CalendarEventQuery no events, await 2026-04-08T09:50:00

Log from another flow that detected an event:

04-08 14:01:03.006 D 114353@2: CalendarEventQuery query 2026-04-08T14:00:00 - 2026-04-15T15:30:00
04-08 14:01:03.254 D 114353@2: CalendarEventQuery found events starting

Only differences as far as I can tell, in the first calendard there is no offset in Automate, and the calendar notification is at the time of the event; while in the second calendar there is an offset, and the notification is an hour before the time of the event.

Sometimes the first flow detects the events, but not always.

Both the flows have the "Ignora all day events" active.
Reply all
Reply to author
Forward
0 new messages