Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Bosch ebik connect / flow

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tombox @Marcus007 last edited by

      @marcus007 ja bitte beta channel von iobroker verwenden

      draexler 1 Reply Last reply Reply Quote 0
      • draexler
        draexler @tombox last edited by

        @tombox Seit heute (evtl. auch schon länger) wird der Adapter nicht mehr grün:

        Das ist im LOG:

        	2023-12-01 18:46:34.962	error	instance system.adapter.bosch-ebike.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
        host.iobroker
        2023-12-01 18:46:34.962	error	Caught by controller[0]: at BoschEbike.onReady (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:79:7)
        host.iobroker
        2023-12-01 18:46:34.962	error	Caught by controller[0]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
        host.iobroker
        2023-12-01 18:46:34.961	error	Caught by controller[0]: at BoschEbike.loginFlow (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:149:41)
        host.iobroker
        2023-12-01 18:46:34.961	error	Caught by controller[0]: TypeError: Cannot read properties of undefined (reading 'value')
        host.iobroker
        2023-12-01 18:46:34.960	error	Caught by controller[0]: 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(). The promise rejected with the reason:
        
        bosch-ebike.0
        2023-12-01 18:46:34.339	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
        
        bosch-ebike.0
        2023-12-01 18:46:34.313	error	Cannot read properties of undefined (reading 'value')
        
        bosch-ebike.0
        2023-12-01 18:46:34.312	error	TypeError: Cannot read properties of undefined (reading 'value') at BoschEbike.loginFlow (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:149:41) at processTicksAndRejections (node:internal/process/task_queues:95:5) at BoschEbike.onReady (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:79:7)
        
        bosch-ebike.0
        2023-12-01 18:46:34.310	error	unhandled promise rejection: Cannot read properties of undefined (reading 'value')
        
        bosch-ebike.0
        2023-12-01 18:46:34.308	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().
        
        admin.0
        2023-12-01 18:45:36.024	warn	bosch-ebike has an invalid jsonConfig: [{"instancePath":"","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"type"},"message":"must have required property 'type'"}]
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @draexler last edited by

          @draexler

          iobroker und nodejs sind auf dem letzten Stand?
          Auf welchem?

          iob diag
          

          anschauen.

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

            @thomas-braun: Jetzt wo du so schreibst mit der nodejs..
            Das habe ich heute morgen mit:

            curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
            chmod 744 iob_node_update
            /iob_node_update
            

            geupdatet und evtl. funktioniert es seit dem nicht mehr.

            hier das iob diag:

            ======================= SUMMARY =======================
                                    v.2023-10-10
            
            
               Static hostname: iobroker
                     Icon name: computer-vm
                       Chassis: vm
                Virtualization: kvm
              Operating System: Debian GNU/Linux 11 (bullseye)
                        Kernel: Linux 5.10.0-26-amd64
                  Architecture: x86-64
            
            Installation:           kvm
            Kernel:                 x86_64
            Userland:               amd64
            Timezone:               Europe/Berlin (CET, +0100)
            User-ID:                1000
            X-Server:               false
            Boot Target:            graphical.target
            
            Pending OS-Updates:     0
            Pending iob updates:    0
            
            Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                    /usr/bin/node           v18.19.0
                                    /usr/bin/npm            10.2.3
                                    /usr/bin/npx            10.2.3
                                    /usr/bin/corepack       0.22.0
            
            Recommended versions are nodejs 18.19.0 and npm 10.2.3
            Your nodejs installation is correct
            
            MEMORY: 
                           total        used        free      shared  buff/cache   available
            Mem:            7.9G        4.8G        2.1G        0.0K        1.0G        2.9G
            Swap:           974M          0B        974M
            Total:          8.9G        4.8G        3.1G
            
            Active iob-Instances:   57
            Active repo(s): Stable (default)
            
            ioBroker Core:          js-controller           5.0.16
                                    admin                   6.12.0
            
            ioBroker Status:        iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Status admin and web instance:
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            
            Objects:                27161
            States:                 21499
            
            Size of iob-Database:
            
            37M     /opt/iobroker/iobroker-data/objects.jsonl
            35M     /opt/iobroker/iobroker-data/states.jsonl
            
            
            
            =================== END OF SUMMARY ====================
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @draexler last edited by

              @draexler sagte in Test Adapter Bosch ebik connect / flow:

              evtl. funktioniert es seit dem nicht mehr.

              Nee, das passt.
              Besser aber den stabilen Befehl

              iob nodejs-update
              

              verwenden.

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

                Ich habe auch seit Heute im log:

                host.iobroker
                2023-12-02 10:38:18.898	error	instance system.adapter.bosch-ebike.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                host.iobroker
                2023-12-02 10:38:18.898	error	Caught by controller[1]: at BoschEbike.onReady (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:79:7)
                host.iobroker
                2023-12-02 10:38:18.898	error	Caught by controller[1]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
                host.iobroker
                2023-12-02 10:38:18.898	error	Caught by controller[1]: at BoschEbike.loginFlow (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:149:41)
                host.iobroker
                2023-12-02 10:38:18.898	error	Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'value')
                host.iobroker
                2023-12-02 10:38:18.898	error	Caught by controller[0]: 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(). The promise rejected with the reason:
                
                bosch-ebike.0
                2023-12-02 10:38:18.322	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                
                bosch-ebike.0
                2023-12-02 10:38:18.321	info	terminating
                
                bosch-ebike.0
                2023-12-02 10:38:18.311	error	Cannot read properties of undefined (reading 'value')
                
                bosch-ebike.0
                2023-12-02 10:38:18.311	error	TypeError: Cannot read properties of undefined (reading 'value') at BoschEbike.loginFlow (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:149:41) at processTicksAndRejections (node:internal/process/task_queues:95:5) at BoschEbike.onReady (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:79:7)
                
                bosch-ebike.0
                2023-12-02 10:38:18.307	error	unhandled promise rejection: Cannot read properties of undefined (reading 'value')
                
                bosch-ebike.0
                2023-12-02 10:38:18.307	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().
                
                javascript.0
                2023-12-02 10:38:17.427	info	script.js.Scripte.Licht.Flur2_EG: Licht Flur 2 EG ausgeschaltet.
                
                bosch-ebike.0
                2023-12-02 10:38:17.265	info	Login to eBike flow
                

                Keine Veränderung durchgeführt. Und ich bin aktuell.
                Habe auch gleich ein issue erstellt.

                https://github.com/TA2k/ioBroker.bosch-ebike/issues/12

                bahnuhr created this issue in TA2k/ioBroker.bosch-ebike

                closed iob Fehler im log; Adapter wird nicht grün #12

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

                  Habe 0.1.5 installiert.
                  Dann war alles ok.

                  1 Reply Last reply Reply Quote 0
                  • M
                    Marcus007 last edited by

                    Hallo zusammen,
                    der Adapter funktioniert gut (Flow-App).
                    Toll ist, dass die letzte Fahrt immer 01 ist.
                    Was mache ich falsch, dass der Batteriestatus nicht angezeigt wird?
                    Ein entsprechender Datenpunkt ist ja vorhanden.

                    Viele Grüße
                    Marcus

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

                      @marcus007 sagte in Test Adapter Bosch ebik connect / flow:

                      Ein entsprechender Datenpunkt ist ja vorhanden.

                      zeig den mal.
                      ich habe bei den Objekten kein DP.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Marcus007 @bahnuhr last edited by

                        @bahnuhr
                        1912d34f-ffdc-45c4-ac1b-369042b449c3-image.png

                        Gruß
                        Marcus

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

                          @marcus007
                          Ah, ja doch den hab ich auch.

                          Steht aber nix drin.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Marcus007 @bahnuhr last edited by

                            @bahnuhr
                            Gibts keine Aussicht auf Übernahme des Akkustands?

                            Gruß
                            Marcus

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

                              @marcus007

                              Keine Ahnung,
                              Ich glaube auch nicht, dass dies der Akkustand ist.
                              Sieht für mich eher aus wie: Verbrauch des Akkus während des trips.

                              Denn dieser DP gibt es ja bei allen trips.

                              Aber mach doch mal ein issue auf git auf.

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tombox @bahnuhr last edited by

                                @bahnuhr Ja das ist der Verbrauch pro trip. Wird denn sowas in der app angezeigt? im Debug log sieht man auch immer was direkt von der API kommt

                                bahnuhr 2 Replies Last reply Reply Quote 0
                                • bahnuhr
                                  bahnuhr Forum Testing Most Active @tombox last edited by

                                  @tombox
                                  Habe gerade mal in die app auf dem Handy unter Statistiken geschaut.
                                  Dort steht bei den trips nichts von Battery.

                                  Aber den DP musst du doch irgendwo her haben. Vielleicht gibt es diesen ja bei dem connect System.
                                  Nur halt nicht bei flow.

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

                                    @tombox

                                    Aber mal eine andere Frage:
                                    In der app sieht man bei den trips ein kleines Bild (google maps oder unten links steht mapbox).
                                    Könnte man dieses Bild auch einlesen um es dann in vis darstellen zu können.

                                    Unter Details sind jede Menge Infos bzgl. lat und lon. Nur wie macht man daraus ein Bild ?

                                    bahnuhr 1 Reply Last reply Reply Quote 0
                                    • T
                                      tombox @bahnuhr last edited by

                                      @bahnuhr Er kommt via API als leerer Wert zurück. Er wird nur nicht in der App dargestellt

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        IOMax last edited by

                                        Ich hatte gestern auf redis umgestellt und dabei ist mir aufgefallen, dass die Instanz nicht grün wird. Das ging noch mit den selben Credentials vor ein paar Wochen.
                                        Der Log sagt:
                                        error Error: getaddrinfo ENOTFOUND singlekey-id.comundefined
                                        info Login to eBike flow
                                        info starting. Version 0.1.5 in /opt/iobroker/node_modules/iobroker.bosch-ebike, node: v18.19.0, js-controller: 5.0.17

                                        Ich habe den Adapter auch schon gelöscht und neu installiert. Ändert aber leider nichts.
                                        Gruß, Max

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          tombox @IOMax last edited by

                                          @iomax die npm version sollte das problem nicht haben nur die GitHub version. GitHub version ist jetzt gefixt

                                          bahnuhr 1 Reply Last reply Reply Quote 1
                                          • I
                                            IOMax last edited by

                                            @tombox klappt jetzt über die GItHub Version. Vorher hatte ich den über das iobroker repository (nutze iobroker im Synology Docker) geladen. Die hatte ich ja auch nicht verändert und plötzlich lief es nicht mehr.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            610
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            32
                                            174
                                            22062
                                            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