Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [neuer Adapter] Komoot Anbindung

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [neuer Adapter] Komoot Anbindung

    This topic has been deleted. Only users with topic management privileges can see it.
    • FredF
      FredF Most Active Forum Testing @basti4557 last edited by FredF

      @basti4557
      nette Idee... gleich mal installiert...

      2021-12-20 12:17:59.972 - info: host.iobTest iobroker url https://github.com/basti4557/ioBroker.komoot.git --host iobTest
      2021-12-20 12:18:02.308 - info: host.iobTest iobroker install basti4557/ioBroker.komoot#912438aa4a899215762bc042623d5112daf1ebd0
      2021-12-20 12:18:02.502 - info: host.iobTest iobroker NPM version: 6.14.15npm install basti4557/ioBroker.komoot#912438aa4a899215762bc042623d5112daf1ebd0 --loglevel error --prefix "/opt/iobroker" (System call)
      2021-12-20 12:18:14.465 - info: host.iobTest iobroker upload [2] komoot.admin /opt/iobroker/node_modules/iobroker.komoot/admin/komoot.png komoot.png image/png
      2021-12-20 12:18:14.549 - info: host.iobTest iobroker upload [1] komoot.admin /opt/iobroker/node_modules/iobroker.komoot/admin/index_m.html index_m.html text/html
      2021-12-20 12:18:14.604 - info: host.iobTest iobroker upload [0] komoot.admin /opt/iobroker/node_modules/iobroker.komoot/admin/index.html index.html text/html
      2021-12-20 12:18:15.712 - info: host.iobTest iobroker exit 0
      2021-12-20 12:18:29.144 - info: host.iobTest iobroker add komoot auto --host iobTest
      2021-12-20 12:18:30.294 - info: host.iobTest iobroker host.iobTest create instance komoot
      2021-12-20 12:18:30.303 - info: host.iobTest iobroker host.iobTest object komoot.0.system.cookie created
      2021-12-20 12:18:30.332 - info: host.iobTest iobroker host.iobTest object komoot.0.info.movingTime created
      2021-12-20 12:18:30.362 - info: host.iobTest iobroker host.iobTest object komoot.0.info.distance created
      2021-12-20 12:18:30.390 - info: host.iobTest iobroker host.iobTest object komoot.0.info.lastTourId created
      2021-12-20 12:18:30.419 - info: host.iobTest iobroker host.iobTest object komoot.0.info.userId created
      2021-12-20 12:18:30.448 - info: host.iobTest iobroker host.iobTest object komoot.0.info created
      2021-12-20 12:18:30.476 - info: host.iobTest iobroker host.iobTest object komoot.0.system created
      2021-12-20 12:18:30.513 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.logLevel created
      2021-12-20 12:18:30.542 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.sigKill created
      2021-12-20 12:18:30.572 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.eventLoopLag created
      2021-12-20 12:18:30.605 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.outputCount created
      2021-12-20 12:18:30.635 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.inputCount created
      2021-12-20 12:18:30.665 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.uptime created
      2021-12-20 12:18:30.696 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.memRss created
      2021-12-20 12:18:30.726 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.memHeapTotal created
      2021-12-20 12:18:30.755 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.memHeapUsed created
      2021-12-20 12:18:30.784 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.cputime created
      2021-12-20 12:18:30.814 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.cpu created
      2021-12-20 12:18:30.845 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.compactMode created
      2021-12-20 12:18:30.874 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.connected created
      2021-12-20 12:18:30.903 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0.alive created
      2021-12-20 12:18:30.933 - info: host.iobTest iobroker host.iobTest Set default value of komoot.0.system.cookie:
      2021-12-20 12:18:30.960 - info: host.iobTest iobroker host.iobTest Set default value of komoot.0.info.movingTime:
      2021-12-20 12:18:30.988 - info: host.iobTest iobroker host.iobTest Set default value of komoot.0.info.distance:
      2021-12-20 12:18:31.015 - info: host.iobTest iobroker host.iobTest Set default value of komoot.0.info.lastTourId:
      2021-12-20 12:18:31.042 - info: host.iobTest iobroker host.iobTest Set default value of komoot.0.info.userId:
      2021-12-20 12:18:31.076 - info: host.iobTest iobroker host.iobTest object system.adapter.komoot.0 created
      2021-12-20 12:18:32.118 - info: host.iobTest iobroker exit 0
      2021-12-20 12:19:26.861 - info: host.iobTest "system.adapter.komoot.0" enabled
      2021-12-20 12:19:27.047 - info: host.iobTest instance system.adapter.komoot.0 started with pid 21681
      2021-12-20 12:19:28.496 - info: komoot.0 (21681) starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.komoot, node: v12.22.7, js-controller: 3.3.21
      2021-12-20 12:19:28.530 - info: komoot.0 (21681) No Valid cookie found or expired. Authorising with login credentials.
      2021-12-20 12:19:28.833 - info: komoot.0 (21681) Login successfull
      2021-12-20 12:19:33.976 - error: komoot.0 (21681) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      2021-12-20 12:19:33.976 - error: komoot.0 (21681) unhandled promise rejection: Cannot read property 'innerHTML' of null
      2021-12-20 12:19:33.977 - error: komoot.0 (21681) TypeError: Cannot read property 'innerHTML' of null
      at synchronizeTours (/opt/iobroker/node_modules/iobroker.komoot/main.js:98:106)
      at runNextTicks (internal/process/task_queues.js:62:5)
      at processImmediate (internal/timers.js:434:9)
      at async startKomootApi (/opt/iobroker/node_modules/iobroker.komoot/main.js:73:9)
      at async main (/opt/iobroker/node_modules/iobroker.komoot/main.js:62:5)
      2021-12-20 12:19:33.977 - error: komoot.0 (21681) Cannot read property 'innerHTML' of null
      2021-12-20 12:19:34.479 - info: komoot.0 (21681) terminating
      2021-12-20 12:19:34.480 - warn: komoot.0 (21681) Terminated (UNCAUGHT_EXCEPTION): Without reason
      2021-12-20 12:19:35.020 - error: host.iobTest instance system.adapter.komoot.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2021-12-20 12:19:35.021 - info: host.iobTest Restart adapter system.adapter.komoot.0 because enabled
      2021-12-20 12:20:05.035 - info: host.iobTest instance system.adapter.komoot.0 started with pid 21697
      2021-12-20 12:20:06.279 - info: komoot.0 (21697) starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.komoot, node: v12.22.7, js-controller: 3.3.21
      2021-12-20 12:20:10.555 - error: komoot.0 (21697) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      2021-12-20 12:20:10.556 - error: komoot.0 (21697) unhandled promise rejection: Cannot read property 'innerHTML' of null
      2021-12-20 12:20:10.557 - error: komoot.0 (21697) TypeError: Cannot read property 'innerHTML' of null
      at synchronizeTours (/opt/iobroker/node_modules/iobroker.komoot/main.js:98:106)
      at runNextTicks (internal/process/task_queues.js:62:5)
      at processImmediate (internal/timers.js:434:9)
      at async startKomootApi (/opt/iobroker/node_modules/iobroker.komoot/main.js:73:9)
      at async main (/opt/iobroker/node_modules/iobroker.komoot/main.js:62:5)
      2021-12-20 12:20:10.557 - error: komoot.0 (21697) Cannot read property 'innerHTML' of null
      2021-12-20 12:20:11.060 - info: komoot.0 (21697) terminating
      2021-12-20 12:20:11.060 - warn: komoot.0 (21697) Terminated (UNCAUGHT_EXCEPTION): Without reason
      2021-12-20 12:20:11.602 - error: host.iobTest instance system.adapter.komoot.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2021-12-20 12:20:11.602 - info: host.iobTest Restart adapter system.adapter.komoot.0 because enabled
      2021-12-20 12:20:41.616 - info: host.iobTest instance system.adapter.komoot.0 started with pid 21714
      2021-12-20 12:20:42.827 - info: komoot.0 (21714) starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.komoot, node: v12.22.7, js-controller: 3.3.21
      2021-12-20 12:20:46.589 - error: komoot.0 (21714) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      2021-12-20 12:20:46.590 - error: komoot.0 (21714) unhandled promise rejection: Cannot read property 'innerHTML' of null
      2021-12-20 12:20:46.590 - error: komoot.0 (21714) TypeError: Cannot read property 'innerHTML' of null
      at synchronizeTours (/opt/iobroker/node_modules/iobroker.komoot/main.js:98:106)
      at runNextTicks (internal/process/task_queues.js:62:5)
      at processImmediate (internal/timers.js:434:9)
      at async startKomootApi (/opt/iobroker/node_modules/iobroker.komoot/main.js:73:9)
      at async main (/opt/iobroker/node_modules/iobroker.komoot/main.js:62:5)
      2021-12-20 12:20:46.590 - error: komoot.0 (21714) Cannot read property 'innerHTML' of null
      2021-12-20 12:20:47.094 - info: komoot.0 (21714) terminating
      2021-12-20 12:20:47.094 - warn: komoot.0 (21714) Terminated (UNCAUGHT_EXCEPTION): Without reason
      2021-12-20 12:20:47.640 - error: host.iobTest instance system.adapter.komoot.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2021-12-20 12:20:47.640 - info: host.iobTest Restart adapter system.adapter.komoot.0 because enabled
      2021-12-20 12:20:47.640 - warn: host.iobTest Do not restart adapter system.adapter.komoot.0 because restart loop detected
      

      Edit: die gespeicherten Touren wurden als Datenpunkte angelegt

      B 1 Reply Last reply Reply Quote 0
      • B
        basti4557 @FredF last edited by

        @fredf 🤔 Hab mal was geändert aktualisier mal bitte

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

          @basti4557 Jetzt passt es

          R 1 Reply Last reply Reply Quote 1
          • bahnuhr
            bahnuhr Forum Testing Most Active last edited by

            @basti4557 sagte in [neuer Adapter] Komoot Anbindung:

            https://github.com/basti4557/ioBroker.komoot

            Bei mir erscheinen Fehler im log:

            komoot.0
            2022-06-27 15:38:07.775	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
            
            komoot.0
            2022-06-27 15:38:07.773	info	terminating
            
            komoot.0
            2022-06-27 15:38:07.215	error	Cannot read properties of null (reading 'getAttribute')
            
            komoot.0
            2022-06-27 15:38:07.214	error	TypeError: Cannot read properties of null (reading 'getAttribute') at Object.getUserId (/opt/iobroker/node_modules/iobroker.komoot/lib/komoot-api.js:153:100) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async startKomootApi (/opt/iobroker/node_modules/iobroker.komoot/main.js:70:18) at async main (/opt/iobroker/node_modules/iobroker.komoot/main.js:62:5)
            
            komoot.0
            2022-06-27 15:38:07.212	error	unhandled promise rejection: Cannot read properties of null (reading 'getAttribute')
            
            komoot.0
            2022-06-27 15:38:07.211	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
            
            komoot.0
            2022-06-27 15:38:02.281	info	starting. Version 0.3.3 (non-npm: basti4557/ioBroker.komoot#88f1fecc3b5f9e4bb135325) in /opt/iobroker/node_modules/iobroker.komoot, node: v16.15.1, js-controller: 4.0.23
            

            DP werden nicht befüllt.

            B 1 Reply Last reply Reply Quote 0
            • Raidy007
              Raidy007 @basti4557 last edited by

              @basti4557 Hey, erstmal Danke für die Ambitionen für diesen Adapter! Bin durch die Vorstellung bei Andreas aufmerksam geworden 😉

              DP werden bei mir angelegt, sieht soweit alles gut aus. 2 Sachen sind mir aufgefallen:

              • Lassen sich die distance, duration und speed (unter den touren) noch genauer einstellen? D.h. nicht gerundet?

              • Das interval sollte sich doch besser in Sekunden oder Minuten angeben lassen, oder ist eine so hohe Abtastrate nötig? (-:

              Sonst vielen Dank, schonmal!

              B 1 Reply Last reply Reply Quote 0
              • R
                Renesen @FredF last edited by

                @fredf Hallo, bei mir wird der Adapter nicht grün und verbindet sich nicht. Ausser Mailadresse und Passwort wird doch nicht benötigt, oder übersehe ich etwas? Bei Komoot kann ich keine weitere Einstellung vornehmen.

                B 1 Reply Last reply Reply Quote 0
                • B
                  basti4557 @Renesen last edited by

                  @renesen Kannst du mal einen Debug Log reinstellen ?

                  R 1 Reply Last reply Reply Quote 0
                  • B
                    basti4557 @Raidy007 last edited by

                    @raidy007 Ist mir noch gar nicht aufgefallen das die gerundet waren 🙂 Hab das mal angepasst, schaut jetzt auf den ersten Blick besser aus... Das mit der Abgleichzeit gebe ich dir Recht, könnte man vielleicht auch mal ändern 😛

                    1 Reply Last reply Reply Quote 0
                    • B
                      basti4557 @bahnuhr last edited by

                      @bahnuhr Versuch mal eine Version >= 0.3.5, auf deren Website hat sich bisschen etwas geändert und dadurch konnte die userId nicht mehr ermittelt werden...

                      1 Reply Last reply Reply Quote 0
                      • R
                        Renesen @basti4557 last edited by Renesen

                        @basti4557 2022-07-29 16:42:42.937 - error: host.raspberrypi instance system.adapter.komoot.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        2022-07-29 16:42:42.937 - info: host.raspberrypi Rebuild for adapter system.adapter.komoot.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                        NACHTRAG: npm 8.11.0 ist installiert

                        1 Reply Last reply Reply Quote 0
                        • L
                          lindi200000 last edited by lindi200000

                          Hallo, ich habe das Problem mit der Version 0.4.0 , das keine Kilometer mehr ausgelesen werden.
                          Der Wert von komoot.0.info.distance bleibt auf NULL .
                          Das gleiche mit komoot.0.info.movingTime

                          Gibt es dafür ggf. eine Lösung?
                          Nodejs 18 ist installiert

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            basti4557 @lindi200000 last edited by

                            @lindi200000 Das liegt daran das Komoot deren API Schnittstelle nicht freigibt und der Adapter anhand des Website HTML Codes die Inhalte ausließt. Da Komoot da aber öfter mal was ändert kommt das vor, im Zweifel einfach mal ab und zu neustarten und auf Github schauen ob was aktualisiert wurde. Die aktuellsten Selektoren läd der Adapter auch jeden Tag runter, welche bei einem Neustart des Adapters dann greifen.

                            1 Reply Last reply Reply Quote 0
                            • H
                              huhsoft @basti4557 last edited by

                              @basti4557 hallo basti, sehr schöner Adapter.
                              Super wäre jetzt für mich eine Liste der geplanten Touren die dann beim Anklicken in die Liste der gemachten springt.

                              1 Reply Last reply Reply Quote 0
                              • bahnuhr
                                bahnuhr Forum Testing Most Active @basti4557 last edited by

                                @basti4557

                                im iob log kommt:

                                komoot.0
                                2024-02-09 13:08:40.089	warn	Status 302: www.komoot.de/user/28xxx/tours?type=recorded
                                komoot.0
                                2024-02-09 13:03:38.050	warn	Status 302: www.komoot.de/user/28xxx/following
                                komoot.0
                                2024-02-09 13:03:37.987	warn	Status 302: www.komoot.de/user/28xxx/followers
                                komoot.0
                                2024-02-09 13:03:37.922	warn	Status 302: www.komoot.de/user/28xxx
                                

                                bitte bereinigen.
                                issue ist auch erstellt.

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

                                  im log kommt nun:

                                  komoot.0
                                  2024-02-25 11:01:01.042	error	Error while discovering the user id.
                                  
                                  komoot.0
                                  2024-02-25 11:01:01.042	warn	Status 302: www.komoot.de/account/details
                                  

                                  Der Adapter funktioniert anscheinend nicht mehr.

                                  Läuft er bei euch noch ?

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

                                    Wie @basti4557 im issue schreibt:
                                    https://github.com/basti4557/ioBroker.komoot/issues/4
                                    hat sich wohl bei der Anmeldung etwas geändert.

                                    Somit läuft tatsächlich der Adapter derzeit nicht mehr.

                                    Vielleicht hat ein anderer developer eine Idee.

                                    @apollon77 @Homoran
                                    Wenn hier nix mehr kommt, dann sollte man den Adapter aus dem latest entfernen !
                                    Er funktioniert ja nicht.

                                    mfg
                                    Dieter

                                    bahnuhr created this issue in basti4557/ioBroker.komoot

                                    open Warnmeldungen im iob log. #4

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

                                      @bahnuhr Der Adapter ist doch gar nicht im latest verfügbar 🤔
                                      Und ja, schade das er nicht mehr funktioniert

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

                                        @fredf sagte in [neuer Adapter] Komoot Anbindung:

                                        Der Adapter ist doch gar nicht im latest verfügbar

                                        Ja, hast recht.

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

                                          Wie @basti4557 hier vermerkt:
                                          https://github.com/basti4557/ioBroker.komoot/issues/4
                                          gibt es aktuell keine Lösung.

                                          Vielleicht sieht ja @apollon77 eine solche.

                                          Ansonsten ist der Adapter wohl derzeit nicht zu gebrauchen.

                                          bahnuhr created this issue in basti4557/ioBroker.komoot

                                          open Warnmeldungen im iob log. #4

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            Frank579 @bahnuhr last edited by

                                            @bahnuhr sagte in [neuer Adapter] Komoot Anbindung:

                                            Ansonsten ist der Adapter wohl derzeit nicht zu gebrauchen

                                            Der Adapter ist ja mittlerweile im Archiv 😕 gibt es eine gute Alternative kennst du oder wer anderes was ?
                                            Fahre gerne mit Komoot wen ich die Daten noch auf der Visu hätte wäre schon cool. Oder ne Erinnerung Ala: es wird nochmal Zeit das Rad auszupacken du Faulpelz 🤣

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            482
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            27
                                            2080
                                            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