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

      @tombox

      Könnte sein, hab dies ja relativ zeitnah gemacht.
      Komtm dieses Limit von bmw ?

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

        @tombox
        Bei mir ist es so, dass ich den Adapter verwende, um den SoC meines iX3 für eine Laderegelung mit PV-Überschuss abzufragen.
        Dazu hab ich zwei Instanzen mit den selben Zugangsdaten installiert, die natürlich NIE beide gleichzeitig laufen.

        Instanz 1 mit 60 Min. Intervall ist aktiv, wenn das Auto angesteckt ist und nicht lädt
        Instanz 2 mit 5 Min. Intervall ist aktiv, wenn das Auto angesteckt ist und lädt
        Beide Instanzen sind deaktiviert, wenn das Auto nicht angesteckt ist und oder ein Fehler in der Laderegelung auftritt (openWB)

        Bei der Umschaltung von Instanz 1 auf 2 (oder anders herum) liegt zwischen deaktivieren von der nicht mehr benötigten I. zur Aktivierung der benötigten I. etwa 15 Sekunden.
        Ist dieser Delay zu gering und wenn ja, wie hoch sollte ich diesen einstellen?

        Vor ein paar Tagen hat noch alles reibungslos funktioniert.

        Vielen Dank für eure Hilfe👍

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

          @msptrs Ich weiß nicht was BMW genau gemacht hat es sieht nur so aus für mich. Über die App ist es das gleiche verhalten wenn man sich zu oft einloggt.
          Meine Empfehlung ist einfach eine Instanz mit 5min Intervall dauerhaft laufen lassen

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

            @tombox Vielen Dank nochmal für deinen Hinweis. Ich hatte es die letzten zwei Wochen nochmal mit 15 Sekunden Delay zwischen den Umschalten der Instanzen probiert und das hat gelegentlich zu den genannten Problemen geführt.

            Jetzt hab ich den Delay dazwischen auf 5 Min. erhöht und nun läuft es reibungslos👍

            Daher kann ich deine Theorie des Loginlimits bestätigen. Zudem wird nicht nur jeder Login sondern auch jede Abfrage gezählt, sodass es bei meinen Aufbau schonmal dazu kommen kann, dass dieses Limit von 3 Logins oder Abfragen überschritten wurde.
            Durch das Delay wurde dieses Problem nun gelöst.

            Nochmals vielen Dank für den großartigen Adaptersupport🤠

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

              Hallo,

              ich habe mir ein Skript geschrieben, das mir beim öffnen des Fahrzeugs eine Nachricht mit u.a. den aktuellen Spritpreisen schickt.
              Grundsätzlich funktioniert das auch. Nur leider bekomme ich diese Nachricht während der Fahrt alle 5 Minuten (Aktualisierungsinterval).
              Der Datenpunkt "InMotion" bleibt leider dauerhaft auf "false".

              Hat jemand eine Idee, wie ich das abfangen könnte? Die Zeitstempel ändern sich ja ebenfalls (zu recht).

              Gruß Mark

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

                Hallo,

                Thema Standheizung.

                Ich kann die Standheizung mit remotev2/climate-now_START starten und mit
                remotev2/climate-now_STOP stoppen. Das kann ich auch im Remote Verlauf sehen.

                Finde aber kein Datenpunkt ob diese dann auch wirklich läuft.

                Habe ich das übersehen ?

                Gruß Hans

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

                  @icefly2k sagte in Test Adapter BMW v2.0.0:

                  Finde aber kein Datenpunkt ob diese dann auch wirklich läuft.

                  Ich glaube die Diskussion hatten wir schon einmal.
                  Diesen DP gibt es nicht (soweit mir dies bekannt ist).

                  1 Reply Last reply Reply Quote 0
                  • S
                    Strobelix @icefly2k last edited by

                    @icefly2k said in Test Adapter BMW v2.0.0:

                    Hallo,

                    Thema Standheizung.

                    Ich kann die Standheizung mit remotev2/climate-now_START starten und mit
                    remotev2/climate-now_STOP stoppen. Das kann ich auch im Remote Verlauf sehen.

                    Finde aber kein Datenpunkt ob diese dann auch wirklich läuft.

                    Habe ich das übersehen ?

                    Gruß Hans

                    Hier ist der Status:
                    bmw.0.Xxxx.properties.climateControl.activity

                    ? S 2 Replies Last reply Reply Quote 1
                    • ?
                      A Former User @Strobelix last edited by A Former User

                      Hat sich erledigt

                      1 Reply Last reply Reply Quote 0
                      • S
                        stoepselinho @Strobelix last edited by

                        @strobelix

                        der Ordner climateControl scheint bei mir leer zu sein

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

                          @stoepselinho ist bei mir auch so.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            527
                                            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