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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter Birthdays

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                    • amg_666
                                      amg_666 @haus-automatisierung last edited by

                                      @haus-automatisierung sagte in Test Adapter Birthdays:

                                      Also soll ich jetzt auch noch das Geburtsjahr aus dem Namen parsen?

                                      Meine Güte, die kleinste sinnlose Anforderung und schon verweigerst du dich 🙂 🙂 🙂

                                      @FredF : So ganz habe ich es nicht verstanden, aber wenn du die Info (aus ical ??) in der Form bekommst, dass das Geburtsjahr "irgendwo anders" steht, dann müsstest du das doch durch ein Skript parsen und richtig setzen können

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

                                        @amg_666 So wie ich das verstanden habe baut NextCloud den Kalender automatisch aus den Adressbüchern zusammen. Und die haben es wohl für eine gute gehalten, das Geburtsdatum in Klammern hinter den Namen zu schreiben…

                                        1 Reply Last reply Reply Quote 0
                                        • FredF
                                          FredF Most Active Forum Testing @haus-automatisierung last edited by FredF

                                          @haus-automatisierung sagte in Test Adapter Birthdays:

                                          Bitte trag das Geburtsdatum einfach in das richtige Feld ein und dann läuft es auch.

                                          Klappt nur nicht, da von Nextcloud vorgegeben.

                                          @haus-automatisierung sagte in Test Adapter Birthdays:

                                          Dass man mehrere CardDAV Urls pflegen kann?

                                          Wenn das machbar ist, dann bitte ja.

                                          @amg_666 sagte in Test Adapter Birthdays:

                                          @FredF : So ganz habe ich es nicht verstanden, aber wenn du die Info (aus ical ??) in der Form bekommst, dass das Geburtsjahr "irgendwo anders" steht, dann müsstest du das doch durch ein Skript parsen und richtig setzen können

                                          Keine Ahnung wie das geht... Könnte man versuchen, aber es gibt ja diesen Adapter 🤡

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

                                            @fredf sagte in Test Adapter Birthdays:

                                            Wenn das machbar ist, dann bitte ja.

                                            Machbar ist das alles. Nur ein Breaking Change und ne Menge Arbeit für Dich als einzigen Nutzer mit der Anforderung. Gibts keine URL welche alle Kontakte aus allen Adressbüchern zurückgibt?!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            776
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter birthday erinnerung geburtstag tester
                                            55
                                            335
                                            47654
                                            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