speedyg0nz / MagInkCal

E-Ink Magic Calendar that automatically syncs to Google Calendar and runs off a battery powered Raspberry Pi Zero
Apache License 2.0
3.08k stars 105 forks source link

CalDav Calendar Integration #15

Open Ge0rg3 opened 2 years ago

Ge0rg3 commented 2 years ago

This PR allows users to pull calendar events from CalDav instead of Gcal. Almost all major calendar providers (gcal, nextcloud) offer a CalDav interface, so this is useful for custom integrations. In my case, I'm using this to sync Nextcloud calendar configs 😄

I've tried to keep the same code standard that's currently used.

Configuring to this instead of gcal is done through the config.json file's calendarSource parameter.