klein0r / ioBroker.birthdays

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

[addBirthday] birthday with name "..." has already been added (01.01.2024) - skipping #183

Open hansdueck opened 8 months ago

hansdueck commented 8 months ago

The problem

Ich bekomme bei Ausführung des Adapters die folgende Warnmeldung: "[addBirthday] birthday with name "..." has already been added (01.01.2024) - skipping"

Dies ist auch plausibel, weil ich tatsächlich zwei Personen mit dem gleichen Namen in meinem Kalender habe.

Wäre es möglich in einem solchen Fall dem Channel-Namen ein Inkrement zu geben (z.B. vornameName_2)? Damit wäre der Channel-Name eindeutig. Im Channel gibt es ja noch den state "name" hier kann dann wieder den Name ohne Inkrement stehen.

Version of nodejs

18.17.1

Version of ioBroker js-controller

5.0.17

Version of Adapter

2.4.1

Operating system running ioBroker

Linux Debian 11

Checklist of files to include below

Additional information & file uploads

No response

github-actions[bot] commented 8 months ago

Thanks for reporting a new issue @hansdueck!

  1. Please make sure your topic is not covered in the documentation
  2. Ensure that you use the latest beta version (not the current stable version): 2.4.1
  3. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  4. Search for the issue topic in other/closed issues to avoid duplicates!

    Otherwise this issue will be closed.

klein0r commented 8 months ago

Das ist leider nicht so einfach, da momentan alle Quellen parallel abgearbeitet werden. Das heißt, mal "gewinnt" z.B. der iCal Kalender und mal die manuellen Termine in den Settings. Also würden ständig Kanäle umbenannt. Muss ich mir mal eine Lösung überlegen, welche nicht direkt zum breaking change wird.