-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kalendar ID Outlook #91
Comments
You can try setting the |
Not much different then. When you ran the |
Another thing you could try, in the calendar_providers/outlook.py file, on line 106, add a logging.info(events_data) just before the for loop. That is
Then see what it outputs when you rerun and look at the log file |
I don't know about iphone calendars, but I am able to synchronize Google calendars into outlook. From Google Calendar I get an ICS url, and then in Outlook Calendar I add a new calendar and paste that ICS URL. The calendar syncs then I'm able to use it in the waveshare display. Your other option is to use the ICS URL directly if you can find one for your calendar, see this section: https://github.com/mendhak/waveshare-epaper-display?tab=readme-ov-file#ics-calendar |
ADD CALENDAR INFO2024-11-17:23:15:58 INFO [screen-calendar-get.py:95] Fetching ics Calendar Events
|
Yes you are right, it needs to be an You might have to search discussion threads if it isn't obvious... not sure how helpful this one is: https://discussions.apple.com/thread/5950029?sortBy=rank |
I'v now tired it by creating an CALDAV-Calendar export CALDAV_CALENDAR_URL=https://XXXX-caldav.icloud.com/XXXXXXXXXXXXXX/ export CALDAV_CALENDAR_ID=xxxxxxxxxxI always get this error log:
File "/home/Silvan/waveshare-epaper-display/.venv/lib/python3.11/site-packages/vobject/icalendar.py", line 1167, in validate
|
If you are syncing that Caldav to Outlook, could you try the Outlook calendar again? That is, run the I am really unsure about caldav, in my limited testing I found apple is just a shitshow with following standards so I had to give up on it. |
Were you able to get an https URL for the ICS calendar from that discussion thread? Yet another option... (thinking out loud) if you have a Google account you can also try syncing to a G Calendar from ICS, and see if you can use one of the G Calendars. |
If I run this script againg .venv/bin/python3 outlook_util.py I only get the ID's from the calendars I don't want, but not the Caldav one. With the help of the discussion thread I've got an URL, but it started with webcal://XXX-caldav.icloud.com/ and not with https: and it also didn't end with .ics So I might have to try the option with the google calendar. But I don't understand what you mean by trying to sync to a G calendar from ICS. How does this work? |
I believe it's very similar to the way you would sync to Outlook Calendar from an ICS URL. In Google Calendar, click the + next to Other Calendars, then From URL, and in there, paste the ICS URL. Regarding Outlook itself, in my testing I've simply added an ICS URL to the 'Subscribe from Web' dialog, then I've usually had to wait 10-15 minutes to see entries start to appear, and in the outlook_util.py script the Calendar ID appears for me, with calendar entries. |
Now I struggle to get the google calendar on to the display. Even with your instruction #19 (comment) |
In the last image in that comment, you'll see a little down arrow. Clicking that will give you a json file. Copy that file to the waveshare project directory and name it credentials.json |
Ok now I why it didn't worked, I was logged in with the wrong Outlook account so I didn't see the right Outlook ID. Sorry for the time waste this was my fault. |
Alright all the best! |
Hi it's me agian
I'm trying to link my calendar to the display.
I have two calendar-IDs, but one won't work. Do you know why?
The first one works, but I want the other calendar to be show, but this ID won't work.
AQMkADAwATM3ZmYAZS0yYjg5LWNjAGY5LTAwAi0wMAoARgAAAzL3LrFhcgHAOAXLXNoa4lAvW32BxyY3qUAAAIBBgAAAOAXLXNoa4lAvW32BxyY3qUAAAINSwAAAA==
AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEGAAAiIsqMbYjsT5e-T7KzowPTAAABuC35AAA=
This is the error:
ADD CALENDAR INFO
2024-11-15:12:00:23 INFO [screen-calendar-get.py:88] Fetching Outlook Calendar Events
Traceback (most recent call last):
File "/home/Silvan/waveshare-epaper-display/screen-calendar-get.py", line 119, in
main()
File "/home/Silvan/waveshare-epaper-display/screen-calendar-get.py", line 101, in main
calendar_events = provider.get_calendar_events()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Silvan/waveshare-epaper-display/calendar_providers/outlook.py", line 107, in get_calendar_events
for event in events_data["value"]:
~~~~~~~~~~~^^^^^^^^^
KeyError: 'value'
EXPORT TO PNG
The text was updated successfully, but these errors were encountered: