Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Birthdays

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Birthdays

    This topic has been deleted. Only users with topic management privileges can see it.
    • haus-automatisierung
      haus-automatisierung Developer Most Active @Thaibodo last edited by

      @thaibodo sagte in Test Adapter Birthdays:

      ich habe den Link von Synology Kalender kopiert in im Adapter eingefügt.

      Welchen Link nimmst Du denn? Da Du fragst ob "Thunderbird oder iOS" nimmst Du scheinbar einen CalDAV link, oder? Das habe ich noch nie getestet.

      1 Reply Last reply Reply Quote 0
      • haus-automatisierung
        haus-automatisierung Developer Most Active @Thaibodo last edited by

        @thaibodo sagte in Test Adapter Birthdays:

        aber ich habe den Link von Synology Kalender kopiert in im Adapter eingefügt.

        So, ich habe jetzt extra für Dich Synology Calendar bei mir installiert, das getestet, die iCal-Optionen mit Benutzername und Passwort erweitert und das ganze dokumentiert. Hier:

        https://github.com/klein0r/ioBroker.birthdays/blob/v2.1.0/docs/de/ical.md#synology-calendar

        Bitte iCal nutzen! Nicht CardDAV. Man kann keine CalDAV-Url nehmen und für CardDAV nutzen. Das sind zwei verschiedene paar Schuhe.

        T 1 Reply Last reply Reply Quote 0
        • T
          Thaibodo @haus-automatisierung last edited by Thaibodo

          @haus-automatisierung Hallo Matthias,
          vielen Dank für die Mühe, die du dir gemacht hast. Deine Gründlichkeit kenne ich ja schon von deinem ioBroker Kurs, der wirklich sehr verständlich ist.
          Ich habe alles kontrolliert. Es ist genau so, wie du es beschrieben hast.
          ich bekomme aber immer noch die Fehlermeldung:
          birthdays.0
          2022-05-31 23:05:57.930 warn Error: connect ECONNREFUSED 180.183.34.7:5001
          Das scheint ja mit den eigentlichen Daten nichts zu tun zu haben.
          Die Portfreigaben sind alle gesetzt.
          Ich habe keine Ideen mehr.

          Update:
          ich habe es jetzt noch einmal mit dem Google Kalender probiert.
          Dank der guten Anleitung funktioniert es. Ich wäre nie darauf gekommen, die Privatadresse zu nehmen.
          Mit dem Synology Kalender werde ich dann in Ruhe weiter probieren.
          Vielen Dank fur deine Unterstützung.

          1 Reply Last reply Reply Quote 1
          • merlin1102
            merlin1102 last edited by

            Grüße euch
            ich bin kompletter Neuling in dem Bereich, habe schon einiges zum Laufen bekommen (learning by doing).
            Aber mein Iobroker möchte dieses Adapter nicht Installieren und ich finde keine passende Hilfe dazu.
            Das ist das was er mir bei der Installation sagt, könnt ihre mir weiterhelfen?

            $ iobroker add birthdays --host iobroker
            
            NPM version: 6.14.16
            
            Installing iobroker.birthdays@2.1.0... (System call)
            
            host.iobroker Cannot install iobroker.birthdays@2.1.0: 1
            
            ERROR: Process exited with code 25
            
            Glasfaser 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @merlin1102 last edited by

              @merlin1102 sagte in Test Adapter Birthdays:

              Zeige mal :

              iobroker add birthdays --debug
              
              Phantomkommander merlin1102 2 Replies Last reply Reply Quote 0
              • Phantomkommander
                Phantomkommander @Glasfaser last edited by Phantomkommander

                Post war anscheinend wichtig.

                Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Phantomkommander last edited by

                  @phantomkommander

                  Er hat aber noch NodeJS 14

                  NPM version: 6.14.16

                  1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Phantomkommander last edited by

                    @phantomkommander sagte in Test Adapter Birthdays:

                    das ist ein IoBroker Problem

                    Nein, ist es nicht. Es ist ein Problem mit einem unsauberen npm tree (meistens). Error 25 bedeutet nicht, dass die gleiche Ursache wie bei dir vorliegt.

                    Phantomkommander 1 Reply Last reply Reply Quote 0
                    • Phantomkommander
                      Phantomkommander @Thomas Braun last edited by

                      @thomas-braun sagte in Test Adapter Birthdays:

                      @phantomkommander sagte in Test Adapter Birthdays:

                      das ist ein IoBroker Problem

                      Nein, ist es nicht. Es ist ein Problem mit einem unsauberen npm tree (meistens). Error 25 bedeutet nicht, dass die gleiche Ursache wie bei dir vorliegt.

                      das meinte ich doch, dass es nicht am Adapter selber liegt aber ok.

                      Thomas Braun Phantomkommander 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Phantomkommander last edited by

                        @phantomkommander sagte in Test Adapter Birthdays:

                        das meinte ich doch, dass es nicht am Adapter selber liegt aber ok.

                        Es liegt aber auch nicht 'am iobroker'.

                        1 Reply Last reply Reply Quote 0
                        • Phantomkommander
                          Phantomkommander @Phantomkommander last edited by

                          @phantomkommander sagte in Test Adapter Birthdays:

                          Es ist ein Problem mit einem unsauberen npm tree (meistens

                          das ist für mich als Laie ein teil des IoBrokers. aber ich halte mich da jetzt mal raus. war ja auch nich böse gemeint.

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Phantomkommander last edited by Thomas Braun

                            @phantomkommander sagte in Test Adapter Birthdays:

                            das ist für mich als Laie ein teil des IoBrokers.

                            npm ist Teil von nodeJS, was wiederum lediglich eine Laufzeitumgebung für tausende Projekte ist. Wie der iobroker eins ist.

                            1 Reply Last reply Reply Quote 0
                            • merlin1102
                              merlin1102 @Glasfaser last edited by

                              @glasfaser
                              entschuldige das ich gestern nicht mehr geantwortet habe, im Privaten ist was passiert.
                              Hier das Debug:

                              NPM version: 6.14.16
                              Installing iobroker.birthdays@2.1.0... (System call)
                              npm ERR! code ENOTSUP
                              npm ERR! notsup Unsupported engine for iobroker.birthdays@2.1.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.22.12","npm":"6.14.16"})
                              npm ERR! notsup Not compatible with your version of node/npm: iobroker.birthdays@2.1.0
                              npm ERR! notsup Not compatible with your version of node/npm: iobroker.birthdays@2.1.0
                              npm ERR! notsup Required: {"node":">=14.0.0"}
                              npm ERR! notsup Actual:   {"npm":"6.14.16","node":"12.22.12"}
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2022-06-24T04_01_13_077Z-debug.log
                              host.iobroker Cannot install iobroker.birthdays@2.1.0: 1
                              
                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @merlin1102 last edited by

                                @merlin1102

                                Zeige mal :

                                sudo ln -s /usr/bin/node /usr/bin/nodejs
                                
                                uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                
                                merlin1102 1 Reply Last reply Reply Quote 0
                                • merlin1102
                                  merlin1102 @Glasfaser last edited by

                                  @glasfaser said in Test Adapter Birthdays:

                                  uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                                  Aufgrund der Nachrichten zu meinem Problem, habe ich Node auf 14 aktualisiert und siehe da, dass Programm lässt sich installieren. Also Danke für eure Hilfe!
                                  Aber auf Nummer sichergehen falls @Glasfaser noch was Entdeckt.

                                  armv7l
                                  /usr/bin/nodejs
                                  /usr/bin/node
                                  /usr/bin/npm
                                  v14.19.3
                                  v14.19.3
                                  6.14.17
                                  pi
                                  /opt/iobroker
                                  Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                  Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                  Hit:3 https://deb.nodesource.com/node_14.x bullseye InRelease
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  35 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                  nodejs:
                                    Installed: 14.19.3-deb-1nodesource1
                                    Candidate: 14.19.3-deb-1nodesource1
                                    Version table:
                                   *** 14.19.3-deb-1nodesource1 500
                                          500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                                          100 /var/lib/dpkg/status
                                       12.22.5~dfsg-2~11u1 500
                                          500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                  
                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @merlin1102 last edited by Glasfaser

                                    @merlin1102 sagte in Test Adapter Birthdays:

                                    noch was Entdeckt.

                                    alles gut ...

                                    EDIT :

                                    35 packages can be upgraded.

                                    nur dein System mußt du noch Updaten

                                    merlin1102 1 Reply Last reply Reply Quote 0
                                    • merlin1102
                                      merlin1102 @Glasfaser last edited by

                                      @glasfaser
                                      wunderbar. Dann noch mal vielen Dank für die Hilfe!

                                      1 Reply Last reply Reply Quote 0
                                      • FredF
                                        FredF Most Active Forum Testing last edited by

                                        @haus-automatisierung
                                        Ich nutze in meiner Nextcloud mehrere Adressbücher, die alle Geburtstagsinformationen haben können. CardDAV kann ich somit bei deinem Adapter nicht nutzen um alle Geburtstage anzeigen zu lassen. Oder gibt es da einen Kniff?

                                        In Nextcloud Kalender kann ich mir Geburtstage der Kontakte zeigen lassen und diese sind dann aus allen Adressbüchern.
                                        Also müsste doch mit der ical Funktion deines Adapters möglich sein diese Geburtstage abzufragen, tut sie hier aber nicht.
                                        Der Link

                                        https://<url>/remote.php/dav/calendars/<user>/contact_birthdays/?export
                                        

                                        ausgeführt im Browser jedenfalls läd die Datei nach Benutzername und Passwort eingabe herunter.
                                        Im Debug Log werden die Geburtstage gezeigt (ich habe das auf einen gekürzt und den Namen geändert):

                                        2022-07-22 17:26:49.605 - info: birthdays.0 (12297) starting. Version 2.1.0 in /opt/iobroker/node_modules/iobroker.birthdays, node: v16.16.0, js-controller: 4.0.23
                                        2022-07-22 17:26:49.658 - debug: birthdays.0 (12297) [settings] done
                                        2022-07-22 17:26:49.658 - debug: birthdays.0 (12297) [ical] url/path: https://<url>remote.php/dav/calendars/<user>/contact_birthdays/?export
                                        2022-07-22 17:26:49.659 - debug: birthdays.0 (12297) [ical] addByCalendar - looks like an http url, performing get request
                                        2022-07-22 17:26:49.659 - debug: birthdays.0 (12297) [ical] addByCalendar - performing https requests with rejectUnauthorized = false
                                        2022-07-22 17:26:49.685 - debug: birthdays.0 (12297) [carddav] done - url not configured - skipped
                                        2022-07-22 17:26:52.017 - debug: birthdays.0 (12297) [ical] http(s) request finished with status: 200
                                        2022-07-22 17:26:52.030 - debug: birthdays.0 (12297) [ical] found 151 events
                                        2022-07-22 17:26:52.032 - debug: birthdays.0 (12297) [ical] processing event: {"component":["vevent",[["dtstamp",{},"date-time","2022-07-15T12:51:47Z"],["dtstart",{},"date","1972-05-20"],["dtend",{},"date","1972-05-21"],["uid",{},"text","176a74a9-0e17-4d8f-9e4a-99b41bad8c3e"],["rrule",{},"recur",{"freq":"YEARLY"}],["summary",{},"text","🎂 Fritz Müller (1972)"],["transp",{},"text","TRANSPARENT"],["x-nextcloud-bc-field-type",{},"unknown","BDAY"],["x-nextcloud-bc-unknown-year",{},"unknown","0"],["x-nextcloud-bc-year",{},"unknown","1972"]],[["valarm",[["trigger",{},"duration","-PT0M"],["action",{},"text","DISPLAY"],["description",{},"text","🎂 Fritz Müller (1972)"]],[]]]],"_rangeExceptionCache":{},"exceptions":{},"rangeExceptions":[]}
                                        2022-07-22 17:26:52.033 - debug: birthdays.0 (12297) [ical] missing birth year in event: 🎂 Fritz Müller (1972)
                                        


                                        Die Geburtstage werden also erkannt, allerdings wird ein fehlendes Geburtsjahr angemeckert. Das steht aber in Klammern dabei.

                                        Ist es möglich deinen Adapter entsprechend zu erweitern?

                                        PS: Ich kann dann gerne noch einen Request auf Github stellen

                                        haus-automatisierung 2 Replies Last reply Reply Quote 0
                                        • haus-automatisierung
                                          haus-automatisierung Developer Most Active @FredF last edited by

                                          @fredf sagte in Test Adapter Birthdays:

                                          Das steht aber in Klammern dabei.

                                          Also soll ich jetzt auch noch das Geburtsjahr aus dem Namen parsen? 🙂 Bitte trag das Geburtsdatum einfach in das richtige Feld ein und dann läuft es auch.

                                          Siehe https://github.com/klein0r/ioBroker.birthdays/blob/master/docs/de/ical.md

                                          amg_666 FredF 2 Replies Last reply Reply Quote 0
                                          • haus-automatisierung
                                            haus-automatisierung Developer Most Active @FredF last edited by

                                            @fredf sagte in Test Adapter Birthdays:

                                            Ich nutze in meiner Nextcloud mehrere Adressbücher, die alle Geburtstagsinformationen haben können.

                                            Ich habe NextCloud nicht laufen um das zu testen. Was ist denn jetzt der Wunsch? Dass man mehrere CardDAV Urls pflegen kann?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            732
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter birthday erinnerung geburtstag tester
                                            55
                                            335
                                            45906
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo