Navigation

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

    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 BMW/Mini v2.0.0

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

      Bei mir kommt die Fehlermeldung auch schon seit einiger Zeit. Update heute gemacht.

      Log vom Start:

      starting. Version 2.7.0 (non-npm: TA2k/ioBroker.bmw) in /opt/iobroker/node_modules/iobroker.bmw, node: v18.18.2, js-controller: 5.0.12
      

      Leider kommt die Fehlermeldung erneut. Was mir auffällt, dass sie v.a. am Tag kommt, während der Nacht habe ich fast keine solche Meldungen. Da frage ich mich eher ob BMW ihr API resp. Infrastruktur im Griff hat?

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

        @tops4u Rate limit is exceeded habe ich jetzt als info. damit man nachvollziehen kann ob der 5sek retry funktioniert wenn ja könnte man es ausblenden.
        Für mich ist noch nicht ganz ersichtlich warum es 5s später funktioniert

        M lobomau 2 Replies Last reply Reply Quote 0
        • M
          McLane @tombox last edited by McLane

          Also mein Log ist nach wie vor sauber (Intervall=10min). Dabei habe ich gerade einige Kilometer mit meinem F31 zurückgelegt. Und mir fiel dabei ein, dass ich stets nebenbei die App AAIDrive laufen habe, welche ebenfalls über die API zugreift.
          Wenn man die Posts hier liest, kann man eigentlich von der Logik her ausschliessen, dass BMW die Zugriffe beschränkt.
          Denke die haben zur Zeit tatsächlich Probleme mit der Infrastruktur oder den Ressourcen allgemein.

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

            @tombox als eben nach 2 Std. keine Werte geupdatet wurden, habe ich den Adapter neugestartet. Da hat er wohl drei Versuche unternommen bis es geklappt hat. Werte wurde nun geholt. Ja, komisch warum es dann plötzlich doch geht.

            
            bmw.0
            2023-12-05 13:31:22.866	info	Rate limit is exceeded. Try again in 1 seconds. Retry in 5 seconds
            
            bmw.0
            2023-12-05 13:31:17.816	info	Rate limit is exceeded. Try again in 1 seconds. Retry in 5 seconds
            
            bmw.0
            2023-12-05 13:31:12.763	info	Rate limit is exceeded. Try again in 1 seconds. Retry in 5 seconds
            

            Edit.: log zeigt sich seit einigen Stunden unauffällig. Auto wird geladen und Akku % aktualisiert.

            vowill 1 Reply Last reply Reply Quote 1
            • vowill
              vowill @lobomau last edited by

              @tombox
              Super, habe den 2.7.0 seit heute, 17:00 Uhr, im Einsatz, und keine Fehlermeldung. Intervall nach wie vor auf 15min.
              VIELEN DANK!
              Einziges noch offenes Thema sind die fehlenden Datenpunkte für den Servicebedarf.

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

                @tombox

                Instanz neu starten, dann ist der Fehler wieder da.

                bmw.0
                2023-12-06 08:20:52.126	error	{"statusCode":429,"message":"Rate limit is exceeded. Try again in 1 seconds."}
                
                bmw.0
                2023-12-06 08:20:52.126	error	AxiosError: Request failed with status code 429
                
                bmw.0
                2023-12-06 08:20:52.125	error	getvehicles v2 failed
                

                bin aktuell auf git 2.7.0.
                und Intervall 15 Minuten.

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

                  @bahnuhr
                  Merkwürdig, bei mir funktioniert alles normal, Daten werden zufriedenstellend aktualisiert. Wie viele Lücken es gibt, versuche ich mal zu protokollieren.
                  Was mir in der MyBMW App auffiel und was auf generelle Probleme schließen lässt, ist, dass man mehrmals auf "Status prüfen" klicken muss, bis der Status dann tatsächlich angezeigt wird. Meldung: Sie sind offline!

                  Edit: Habe mal bissel Protokoll geführt. Sieht recht gut aus, kleine Aussetzer sind kein Problem.
                  Intervall immer noch 10 min. Version: 2.7.2
                  aktu.png

                  M 1 Reply Last reply Reply Quote 1
                  • M
                    manny4566 @McLane last edited by

                    @mclane

                    Ja, die Aktualisierung der Daten funktioniert an sich. Trotz der Meldungen, die hin und wieder auftreten und der API Zickerei. Daten kommen aber weiterhin an.

                    1 Reply Last reply Reply Quote 1
                    • M
                      mike1429 @Marc Berg last edited by

                      @marc-berg
                      Hallo. Hat jemand das Problem mit "costsGroupedByCurrency" (siehe Marc Berg 15 Nov 2023, 11:30) gelöst? Bekomme es immer wieder, und zwar seit der letzten Adapter Aktualisierung.
                      Danke!

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

                        @mike1429 ein debug log via mail wäre hilfreich
                        tombox2020@gmail.com

                        M 2 Replies Last reply Reply Quote 0
                        • M
                          mike1429 @tombox last edited by

                          @tombox
                          Gerne. Hier z.B.:

                          2023-12-28 11:04:35.136 - warn: host.buanet-iobroker1-Server States 127.0.0.1:47846 Error from InMemDB: Error: The pattern "bmw.0.xxxxxxxxx.chargingSessions.2023-11.costsGroupedByCurrency.~ 24,78 EUR" is not a valid ID pattern
                          at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2470:15)
                          at StatesInMemoryServer.handleSubscribe (/opt/iobroker/node_modules/@iobroker/db-base/src/lib/inMemFileDB.ts:324:59)
                          at StatesInMemoryServer._subscribeForClient (/opt/iobroker/node_modules/@iobroker/db-states-file/src/lib/states/statesInMemFileDB.js:258:14)
                          at RedisHandler. (/opt/iobroker/node_modules/@iobroker/db-states-jsonl/src/lib/states/statesInMemServerRedis.js:395:26)
                          at RedisHandler.emit (node:events:513:28)
                          at RedisHandler.emit (node:domain:489:12)
                          at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-base/src/lib/redisHandler.ts:209:37)
                          at processImmediate (node:internal/timers:466:21)

                          2023-12-28 11:04:35.141 - error: admin.0 (26310) Cannot subscribe "bmw.0.xxxxxxxxx.chargingSessions.2023-11.costsGroupedByCurrency.~ 24,78 EUR": Error The pattern "bmw.0.xxxxxxxxx.chargingSessions.2023-11.costsGroupedByCurrency.~ 24,78 EUR" is not a valid ID pattern

                          31ff3eae-1716-4c80-8e9c-8ce3034f04d4-image.png

                          Es kam auch mal die Meldung, dass "," durch "_" ersetzt wird, also aus 24,78 wurde dann 24_78

                          Danke!

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

                            @mike1429 ich brauch eine debug log via mail

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

                              @tombox
                              Sorry, sollte per mail raus... Reicht das so?

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

                                @tombox
                                Ist gerade raus

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

                                  @mike1429 bitte mal die GitHub version installieren und schauen ob die charging sessions so besser sind

                                  1 Reply Last reply Reply Quote 0
                                  • Marc Berg
                                    Marc Berg Most Active last edited by

                                    @tombox sagte in Test Adapter BMW/Mini v2.0.0:

                                    bitte mal die GitHub version installieren und schauen ob die charging sessions so besser sind

                                    mit der Version kommen jetzt diese Fehler:

                                    2023-12-30 21:14:02.516 - error: bmw.0 (32525) updateChargingSessionv2 failed
                                    2023-12-30 21:14:02.518 - error: bmw.0 (32525) https://cocoapi.bmwgroup.com/eadrax-chs/v1/charging-sessions?vin=Wxxxx&next_token&date=2023-12-01T00%3A00%3A00.000Z&maxResults=40&include_date_picker=true
                                    2023-12-30 21:14:02.518 - error: bmw.0 (32525) TypeError: data.costsGroupedByCurrency.replace is not a function
                                    
                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      tombox @Marc Berg last edited by

                                      nochmal installieren

                                      Marc Berg 1 Reply Last reply Reply Quote 0
                                      • Marc Berg
                                        Marc Berg Most Active @tombox last edited by Marc Berg

                                        @tombox sagte in Test Adapter BMW/Mini v2.0.0:

                                        nochmal

                                        Eine Fehlermeldung wird nun nicht mehr angezeigt, es wird ein Objekt mit der ID

                                          "_id": "bmw.0.Wxxx.chargingSessions.2023-12.costsGroupedByCurrency.~ 20_65 EUR",
                                        

                                        angelegt.
                                        262b1f53-88a7-44b6-8a42-fa57596a0653-grafik.png

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          mike1429 @Marc Berg last edited by

                                          @marc-berg
                                          Kann das bestätigen

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

                                            @mike1429
                                            Hmmm....

                                            admin.0
                                            2023-12-30 22:21:19.047 error Cannot subscribe "bmw.0.xxxxxxxxxxxxx.chargingSessions.2023-11.costsGroupedByCurrency.~ 24,78 EUR": Error The pattern "bmw.0.xxxxxxxxxxxxx.chargingSessions.2023-11.costsGroupedByCurrency.~ 24,78 EUR" is not a valid ID pattern
                                            host.buanet-iobroker1-Server
                                            2023-12-30 22:21:19.045 warn States 127.0.0.1:47846 Error from InMemDB: Error: The pattern "bmw.0.xxxxxxxxxxxxx.chargingSessions.2023-11.costsGroupedByCurrency.~ 24,78 EUR" is not a valid ID pattern at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2470:15) at StatesInMemoryServer.handleSubscribe (/opt/iobroker/node_modules/@iobroker/db-base/src/lib/inMemFileDB.ts:324:59) at StatesInMemoryServer._subscribeForClient (/opt/iobroker/node_modules/@iobroker/db-states-file/src/lib/states/statesInMemFileDB.js:258:14) at RedisHandler.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-jsonl/src/lib/states/statesInMemServerRedis.js:395:26) at RedisHandler.emit (node:events:513:28) at RedisHandler.emit (node:domain:489:12) at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-base/src/lib/redisHandler.ts:209:37) at processImmediate (node:internal/timers:466:21)

                                            admin.0
                                            2023-12-30 22:21:19.042 error Invalid pattern on subscribe: The pattern "bmw.0.xxxxxxxxxxxxx.chargingSessions.2023-11.costsGroupedByCurrency.~ 13,52 EUR" is not a valid ID pattern

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            801
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            71
                                            670
                                            129887
                                            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