mendhak / waveshare-epaper-display

At-a-glance dashboard for Raspberry Pi with a Waveshare ePaper 7.5 Inch HAT. Date/Time, Weather, Alerts, Google/Outlook Calendar
https://code.mendhak.com/raspberrypi-epaper-dashboard/
452 stars 67 forks source link

Missing CALDAV_CALENDAR_ID sample in env.sh #88

Closed msawatzky75 closed 2 months ago

msawatzky75 commented 2 months ago

Missing required config sample to setup a CALDAV calendar in the env.sh.sample file.

msawatzky75 commented 2 months ago

Despite this being part of my CALDAV url, it was still required to get calender events to show up.

mendhak commented 2 months ago

Hi there, I didn't understand. There is a caldav section in the sample file:

https://github.com/mendhak/waveshare-epaper-display/blob/60076e6281c0f71bed47d792e1b73999fe080471/env.sh.sample#L36-L39

(although just spotted the typo, "caldave" lol)

msawatzky75 commented 2 months ago

Yes, but that did not fetch my calendar events until i specified CALDAV_CALENDAR_ID as referenced here:

https://github.com/mendhak/waveshare-epaper-display/blob/60076e6281c0f71bed47d792e1b73999fe080471/screen-calendar-get.py#L26

mendhak commented 2 months ago

Ah now I get it, didn't understand it from your earlier comments. OK that's been added now thanks, hopefully that helps other people. https://github.com/mendhak/waveshare-epaper-display/blob/master/env.sh.sample#L40