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.
    • lobomau
      lobomau @tombox last edited by

      @tombox Fehler 403 kommt weiterhin (einige IDs und tokens habe ich eingekürzt):

      
      bmw.0
      2022-03-09 09:51:39.190	error	""
      
      bmw.0
      2022-03-09 09:51:39.190	error	Error: Request failed with status code 403
      
      bmw.0
      2022-03-09 09:51:39.189	error	getVehicles failed
      
      bmw.0
      2022-03-09 09:51:38.904	debug	{"gcid":"65fc0d28-3650-4e13-aeb7-x","token_type":"Bearer","access_token":"iRwx","refresh_token":"scEofB1x","scope":"smacc vehicle_data perseus dlm svds openid profile vsapi remote_services authenticate_user cesim offline_access email fupo","expires_in":3599,"id_token":"eyJ0eXAiOiJKV1xEA"}
      
      bmw.0
      2022-03-09 09:51:38.749	debug	_B4VCex
      bmw.0
      2022-03-09 09:51:38.744	debug	"com.bmw.connected://oauth?code=_B4VCePx3KQ&client_id=31c357x9-33b97244d048&nonce=login_nonce"
      
      bmw.0
      2022-03-09 09:51:37.533	debug	{"redirect_to":"redirect_uri=com.bmw.connected://oauth?client_id=31cx0-aa99-33b9x048&response_type=code&scope=openid profile email offline_access smacc vehicle_data perseus dlm svds cesim vsapi remote_services fupo authenticate_user&state=cwU-gIE27j67poy2UcL3KQ&authorization=lGf9Sxs.*AAJxIwMQ..*"}
      
      bmw.0
      2022-03-09 09:51:37.026	info	starting. Version 2.5.2 (non-npm: TA2k/ioBroker.bmw) in /opt/iobroker/node_modules/iobroker.bmw, node: v14.19.0, js-controller: 4.0.18
      
      bmw.0
      2022-03-09 09:51:36.293	debug	Plugin sentry Initialize Plugin (enabled=true)
      host.ioBrokerCT
      2022-03-09 09:51:33.534	info	instance system.adapter.bmw.0 started with pid 163106
      host.ioBrokerCT
      2022-03-09 09:51:30.886	info	instance system.adapter.bmw.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      
      T 1 Reply Last reply Reply Quote 0
      • T
        tombox @lobomau last edited by

        @lobomau Ok sollte jetzt weg sein

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

          @tombox sagte in Test Adapter BMW v2.0.0:

          @lobomau Ok sollte jetzt weg sein

          so, hatte von npm installiert.
          Jetzt auch von git.
          V ist nun auch 2.5.2

          Und ja, kein 403 im debug log ersichtlich.

          Super, so machts Spaß.

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

            @tombox @community

            habt ihr das selbe Problem mit den Adapter seit gestern Nachmittag?

            2022-03-17 14:24:08.931 - info: host.raspberrypimodbus "system.adapter.bmw.0" enabled
            2022-03-17 14:24:09.099 - info: host.raspberrypimodbus instance system.adapter.bmw.0 started with pid 27880
            2022-03-17 14:24:12.219 - info: bmw.0 (27880) starting. Version 2.5.2 in /opt/iobroker/node_modules/iobroker.bmw, node: v12.22.6, js-controller: 4.0.19
            2022-03-17 14:24:12.733 - error: bmw.0 (27880) Login failed
            2022-03-17 14:24:12.734 - error: bmw.0 (27880) Error: Request failed with status code 401
            2022-03-17 14:24:12.735 - error: bmw.0 (27880) {"error":"invalid_client","error_description":"Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)"}
            2022-03-17 14:24:12.736 - error: bmw.0 (27880) Please check username and password or too many logins in 5 minutes
            2022-03-17 14:24:12.737 - error: bmw.0 (27880) Start relogin in 5min
            2022-03-17 14:24:12.738 - error: bmw.0 (27880) undefined
            

            natürlich hab ich die Logindaten überprüft und den Adapter für über eine Stunde gestoppt.

            Hoffentlich bin ich nicht der einzige...

            EDIT: habs gelöst, der BMW Account hat das Passwort selbstständig geändert👍 🙄

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

              Hallo,
              seit heute wieder folgendes im debug:

              bmw.0
              2022-03-24 19:09:09.180	error	{"error":"invalid_request","error_description":"The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed"}
              
              bmw.0
              2022-03-24 19:09:09.180	error	Error: Request failed with status code 400
              
              bmw.0
              2022-03-24 19:09:09.179	error	Login step 3 failed
              
              bmw.0
              2022-03-24 19:09:09.070	debug	{"redirect_to":"redirect_uri=com.bmw.connected://oauth?client_id=31c357a0-7a1d-4590-aa99-33b97244d048&response_type=code&scope=openid profile email offline_access smacc vehicle_data perseus dlm svds cesim vsapi remote_services fupo authenticate_user&state=cwU-gIE27j67poy2UcL3KQ&authorization=4VgjSefihLAANDVFMAAlMxAAIwMQ..*"}
              
              bmw.0
              2022-03-24 19:09:08.701	info	starting. Version 2.5.2 (non-npm: TA2k/ioBroker.bmw) in /opt/iobroker/node_modules/iobroker.bmw, node: v14.19.1, js-controller: 4.0.21
              

              Bitte bereinigen; oder Rückinfo was ich machen kann/soll.
              Danke.

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

                @bahnuhr Der login via app funktioniert ohne Probleme?

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

                  @tombox sagte in Test Adapter BMW v2.0.0:

                  @bahnuhr Der login via app funktioniert ohne Probleme?

                  Jo,
                  am Handy bin ich rein gekommen.
                  Es steht aber da: aktualisiert vom Fahrzeug am 18.03.22 um 14:32
                  Dies ist aber schon alt.

                  Funktioniert bei BMW da was nicht ?

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

                    @bahnuhr Auch ausloggen und einloggen geht noch.

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

                      @tombox

                      Habe eben mal "aufleuchten" gedrückt.
                      Jetzt steht da:
                      aktualisiert vom Fahrzeug am 24.03.22 um 19:17

                      Das scheint geklappt zu haben.
                      jetzt probier ich mal ausloggen.....

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

                        @bahnuhr sagte in Test Adapter BMW v2.0.0:

                        jetzt probier ich mal ausloggen.....

                        und ja, das hat auch geklappt.

                        Nachtrag:
                        Adapter bleibt gelb.

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

                          @tombox

                          Hat du schon eine Idee?
                          Adapter ist weiterhin gelb.

                          Kann ich irgendwas testen ?

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

                            @bahnuhr bitte die 2.5.3 ausprobieren. Irgendwie wurden die Cookies von BMW falsch konfiguriert und das fand die http library schlecht

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

                              @tombox sagte in Test Adapter BMW v2.0.0:

                              @bahnuhr bitte die 2.5.3 ausprobieren. Irgendwie wurden die Cookies von BMW falsch konfiguriert und das fand die http library schlecht

                              2.5.3. installaiert und die Instanz wurde sofort grün.

                              Danke schön für das schnelle reagieren und nachschauen.

                              Du kümmerst dich um deine Adapter (gibt ja auch andere).

                              nochmals Danke.
                              Läuft wieder.

                              E 1 Reply Last reply Reply Quote 0
                              • E
                                Eufi @bahnuhr last edited by

                                Also bei mir funktioniert das Update nicht mehr. Passwort neu gesetzt, Adapter gelöscht und neu installiert.
                                Meldung: Please check username and password or too many logins in 5 minutes
                                Installiert ist die 2.5.3

                                Gibt es irgendwelche Tipps?

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

                                  @eufi das Offensichtlichste wäre es, den Adapter etwas länger nicht zu benutzen. 5min aus wirst du wahrscheinlich schon probiert haben, oder? Vielleicht mal einen Tag auslassen und nochmal testen?

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

                                    @lobomau
                                    Der war ne Woche aus bis ich es wieder probiert habe jetzt…

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

                                      @eufi da der Adapter bei mir störungsfrei läuft, müssen wir den Fehler bei dir suchen.
                                      Wir können ja einmal die installierten Versionen/Einstellungen vergleichen. Ich habe:

                                      • BMW Adapter: 2.5.3
                                      • js-controller: 4.0.23
                                      • Nodejs: 14.19.1
                                      • npm: 6.14.16
                                      • Adapter Update interval: 1 min

                                      Zu guter Letzt könnte man über die BMW Handy-App neues Passwort vergeben und/oder BMW-Adapter neu installieren.

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

                                        @lobomau
                                        Sorry für die späte Antwort. Bei mir war leider die letzten Tage leider Stress angesagt...
                                        BMW Adapter: 2.5.3
                                        js-controller: 4.0.15
                                        Nodejs: 14.19.1
                                        npm: 6.14.16
                                        Adapter Update interval: 5 min

                                        Ich versuche mal den js-controller heute upzudaten.
                                        Meinst du es kann daran liegen?

                                        E 1 Reply Last reply Reply Quote 0
                                        • E
                                          Eufi @Eufi last edited by

                                          @lobomau

                                          Ich habe jetzt noch einmal ein neues Passwort vergeben und jetzt geht es wieder.... ganz dubiose Sache.
                                          Sorry für die Mühe, die ich gemacht habe.

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

                                            Ich glaube der Server/Api hat heute ein Problem. Die Werte über den Adapter kommen sauber rein in ioBroker. Es gibt aber den Fehler im log und ich komme grad nicht per Handy-App auf den BMW:

                                            
                                            bmw.0
                                            2022-05-18 14:54:53.649	error	Error: Request failed with status code 500
                                            
                                            bmw.0
                                            2022-05-18 14:54:53.648	error	getvehicles v2 failed
                                            
                                            bmw.0
                                            2022-05-18 14:54:29.280	error	Error: Request failed with status code 500
                                            
                                            bmw.0
                                            2022-05-18 14:54:29.280	error	getvehicles v2 failed
                                            
                                            bmw.0
                                            2022-05-18 14:54:24.462	error	Error: Request failed with status code 500
                                            
                                            bmw.0
                                            2022-05-18 14:54:24.461	error	getvehicles v2 failed
                                            
                                            bmw.0
                                            2022-05-18 14:53:59.191	error	Error: Request failed with status code 500
                                            
                                            bmw.0
                                            2022-05-18 14:53:59.190	error	getvehicles v2 failed
                                            
                                            bmw.0
                                            2022-05-18 14:53:53.616	error	Error: Request failed with status code 500
                                            
                                            bmw.0
                                            2022-05-18 14:53:53.616	error	getvehicles v2 failed
                                            
                                            bmw.0
                                            2022-05-18 14:53:21.173	error	Error: Request failed with status code 500
                                            
                                            bmw.0
                                            2022-05-18 14:53:21.172	error	getvehicles v2 failed
                                            
                                            bahnuhr 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            798
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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