monica icon indicating copy to clipboard operation
monica copied to clipboard

CalDAV Event Reminders

Open ItsShadowCone opened this issue 4 years ago • 2 comments

Problem Monica doesn't support modifying CalDAV resources and doesn't add calendar notifications (VALARM) itself.

Solution The option to put (maybe configurable) notifications as calendar VALARMS additionally or instead of sending emails.

Alternatives Putting birthdays into a seperate calendar, but that defeats the point of having monica. Also, this applies to other notifications than birthdays as well.

Additional context An example event, as generated manually on my phone (Google Calendar, synced via radicale), emphasis on the VALARM section that google calendar generates (set to same day, 7am in the morning)

BEGIN:VEVENT
UID:7e64d8ea-6c43-471e-b05a-e39b5b77dea2
DTSTART;VALUE=DATE:19620412
DTEND;VALUE=DATE:19620413
DTSTAMP:20190601T164702Z
LAST-MODIFIED:20190601T164702Z
SUMMARY:Someones Birthday
TRANSP:TRANSPARENT
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:Someones Birthday
TRIGGER:PT7H
END:VALARM
X-MOZ-GENERATION:1
X-MOZ-LASTACK:20190601T164702Z
END:VEVENT

ItsShadowCone avatar Apr 24 '20 10:04 ItsShadowCone

Hi I don't know if its related? But I am unable to sync my caldav to my Android through DAVx. Carddav is working fine. Its giving me error NotFoundExcption: HTTP 404

Further where can one see the calendar in Monica for the events?

anmol26s avatar Mar 04 '21 18:03 anmol26s

I've created a hardcoded reminder if anyone is looking for a stopgap. It'll popup a reminder for 9am of the birthday event.

https://github.com/sahoahfoa/monica/pull/1

Specifically this commit: https://github.com/sahoahfoa/monica/pull/1/commits/b6c9f497f601f33c0d3b946a4847c0a4d8116528#diff-851f97d6acf3fbb9e553fc1934d34e899fb518e68163894c33ee95f51911dc52

sahoahfoa avatar Sep 09 '23 02:09 sahoahfoa