klein0r / ioBroker.birthdays

ioBroker adapter which calculates the next birthdays of your friends and family
https://haus-automatisierung.com/
MIT License
6 stars 7 forks source link

Support for new Birthday Entries in Google Calendar #226

Open gitknd opened 1 month ago

gitknd commented 1 month ago

I'm sure that

Source of birthdays

ical Google Calendar

The problem

The new way to add birthdays to the Google Calendar is not supported right now. The adapter couldn't find those new entries.

iobroker.current.log (in debug mode!)

No response

Version of nodejs

v20.17.0

Version of ioBroker js-controller

6.0.11

Version of adapter

3.0.1

github-actions[bot] commented 1 month ago

Thanks for reporting a new issue @gitknd!

  1. Please make sure your topic is not covered in the documentation
  2. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  3. Search for the issue topic in other/closed issues to avoid duplicates!

    Otherwise this issue will be closed.

klein0r commented 1 month ago

The new way to add birthdays to the Google Calendar is not supported right now.

Which "new way"? Please add a link to an api documentation

gitknd commented 1 month ago

By adding an Event in the Android Google Calendar App, you can now choose between "Event, Task, Birthday". "Birthday" is the new Event Type. Here is an example from the ICS export:

BEGIN:VEVENT
DTSTART;VALUE=DATE:20230202
DTEND;VALUE=DATE:20230203
RRULE:FREQ=YEARLY;BYMONTHDAY=2;BYMONTH=2
DTSTAMP:20241003T045303Z
UID:ckp32e1iclj38bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@google.com
CLASS:PRIVATE
CREATED:20240929T061827Z
LAST-MODIFIED:20240929T061827Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Geburtstag von Max Mustermann
TRANSP:TRANSPARENT
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:P0DT9H0M0S
DESCRIPTION:This is an event reminder
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-P6DT15H0M0S
DESCRIPTION:This is an event reminder
END:VALARM
END:VEVENT

https://workspaceupdates.googleblog.com/2024/09/create-birthdays-in-google-calendar.html

klein0r commented 1 month ago

@gitknd The birth year is missing. So it's not possible to use those events for the adapter.

gitknd commented 1 month ago

ok, thanks, i understand, May it's a kind of solution to add a configurable "dummy year" (e.g. 1900) in those cases, because i think that this function will get more attention in the future.... Just an idea....

klein0r commented 1 week ago

May it's a kind of solution to add a configurable "dummy year" (e.g. 1900) in those cases

Okay, but ... where?

gitknd commented 4 days ago

May, you can add this in the adapter setting when the birth year is missing. Just as an optional workaround