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.
    • bahnuhr
      bahnuhr Forum Testing Most Active last edited by

      Hallo,
      bekomme seit heute (zumindest vorher noch nicht aufgefallen) code 403 angezeigt:

      bmw.0
      2022-03-05 21:49:00.043	error	""
      bmw.0
      2022-03-05 21:49:00.042	error	Error: Request failed with status code 403
      bmw.0
      2022-03-05 21:48:57.919	info	starting. Version 2.5.1 in /opt/iobroker/node_modules/iobroker.bmw, node: v14.19.0, js-controller: 4.0.18
      

      Der Adapter wird grün, und die DP scheinen auch aktualisiert zu werden (neuer TS).

      habt ihr das auch ?
      403 bedeutet doch, dass BMW da irgendwas ablehnt, richtig ?

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

        ich muss nochmal fragen.
        hat denn keiner von euch den fehler code 403 ?

        Ich bekomme diesen immer wenn der Adapter neu startet !

        T 1 Reply Last reply Reply Quote 0
        • lobomau
          lobomau last edited by

          @bahnuhr habe es Mal getestet. Ja, kommt bei mir auch. Aber ich starte den Adapter auch nicht regelmäßig.

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

            @bahnuhr Bitte mal via github installieren um herauszufinden welcher aufruf das ist

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

              @tombox sagte in Test Adapter BMW v2.0.0:

              @bahnuhr Bitte mal via github installieren um herauszufinden welcher aufruf das ist

              habe von git installiert und dann zusätzlich nochmal upload gedrückt.
              Instanz neu gestartet; es kommt wieder 403
              auf debug umgestellt.
              im log kommt dann:

              bmw.0
              2022-03-09 09:21:45.614	error	""
              
              bmw.0
              2022-03-09 09:21:45.613	error	Error: Request failed with status code 403
              
              bmw.0
              2022-03-09 09:21:45.145	debug	{"gcid":"15108c75-cfe9-4fc7-bdc1-5c6c120b7644","token_type":"Bearer","access_token":"8TWzIdsRvdJ9i5XvrWiwYpvADmM","refresh_token":"0JaXQvF80Zl0wiyk8dLwyDTQO5Y","scope":"smacc vehicle_data perseus dlm svds openid profile vsapi remote_services authenticate_user cesim offline_access email fupo","expires_in":3599,"id_token":"eyJ0eXAiOiJKV1QiLCJraWQiOiJiMDZEZXIvYndra04reFNHMVFKQ0puQ1djK0k9IiwiYWxnIjoiUlMyNTYifQ.eyJhdF9oYXNoIjoiN2tJVHhQSkdienBndFVCZVRRYWJqUSIsInN1YiI6IjE1MTA4Yzc1LWNmZTktNGZjNy1iZGMxLTVjNmMxMjBiNzY0NCIsImF1ZGl0VHJhY2tpbmdJZCI6IjA0ODM3Y2QzLTEwNmUtNGE3Yi04NzUzLWNjMDQxNjc3MTMyZC0xMzk4NzY3OTkiLCJnY2lkIjoiMTUxMDhjNzUtY2ZlOS0IwYjc2NDQiLCJob21lX21hcmtldCI6IkRFIiwiZ2l2ZW5fbmFtZSI6IkRpZXRlciIsIm5vbmNlIjoibG9naW5fbm9uY2UiLCJhdWQiOiIzMWMzNTdhMC03YTFkLTQ1OTAtYWE5OS0zM2I5NzI0NGQwNDgiLCJjX2hhc2giOiJsVFp0V3F4MENSWl9jRi15cWxVdktRIiwib3JnLmZvcmdlcm9jay5vcGVuaWRjb25uZWN0Lm9wcyI6IlN2NHljckI2X3hxWjdiVHN2emJiQzNFdUdIOCIsInNfaGFzaCI6IlNGOE9qOXQwRDFTVDNwVV8tOF9QVVEiLCJsb2dpbl9uYW1lIjoibmV3c0BkYnJwLW11ZWxsZXIuZGUiLCJyZWFsbSI6Ii9jdXN0b21lciIsInNhbHV0YXRpb24iOiJTQUxfTVIiLCJ0b2tlblR5cGUiOiJKV1RUb2tlbiIsImZhbWlseV9uYW1lIjoiTcO8bGxlciJ9.L-MOovPNqsT1cPvuh-IvlJdclibdDQWDlQKs5JLcY7oUzPO6UIuJREOhkKVzrQLg9p4GE0o-nstUHQ3qgpiGXastKRDo05UzAcmDjPipSxOyjUwmpdxfqZ6i5QgGz_G96ZkvTfhIjrMVgZB5fFYSKN0phSd2RmJCUC6Lc8TcXCeSwo0gXqAcOzXRkemcQe6lN-9sTeh9pRJfcBvtHVXE85PHFHk7TbKITOuX4Ihy-0pRRwiHAYE7fLfGShaPV5ebiROFRzZmDMUJDnYHKNJn1s8Hg2nlidYhU7mKndxLhmgf-Cd2Ql8KLl4JMrBvfsw"}
              
              bmw.0
              2022-03-09 09:21:45.032	debug	NONkDu87M3Z8fYWM
              
              bmw.0
              2022-03-09 09:21:45.030	debug	"com.bmw.connected://oauth?code=NONkDu87M3aAzA-qyWDqqZ8fYWM&state=cwU-gIE27j67poy2UcL3KQ&client_id=31c357a0-7a1d-4590-aa99-33b97244d048&nonce=login_nonce"
              
              bmw.0
              2022-03-09 09:21:44.932	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=ELlKK44IwerHBzq0.*AAJTSQACMDIAAlNNW82Q289AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}
              
              bmw.0
              2022-03-09 09:21:44.571	info	starting. Version 2.5.1 in /opt/iobroker/node_modules/iobroker.bmw, node: v14.19.0, js-controller: 4.0.19
              
              • token hab ich gekürzt.

              mfg

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

                @bahnuhr Probier bitte nochmal sollte eigentlich 2.5.2 sein

                lobomau 1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            881
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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