Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Tesla-Motors v1.0.0

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Tesla-Motors v1.0.0

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

      @tombox ich habe ja auch keine powerwall 🙂

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

        @tombox leider lief 1.2.0 nur bis heute morgen - seit dem stand im Log:

        2022-03-23 08:29:25.415  - ESC[31merrorESC[39m: tesla-motors.0 (29921) refresh token failed
        2022-03-23 08:29:25.415  - ESC[31merrorESC[39m: tesla-motors.0 (29921) Error: Request failed with status code 403
        2022-03-23 08:29:25.416  - ESC[31merrorESC[39m: tesla-motors.0 (29921) "<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n \nYou don't have permission to access \"http&#58;&#47;&#47;auth&#46;tesla&#46;com&#47;oauth2&#47;v3&#47;token\" on this server.<P>\nReference&#32;&#35;18&#46;86ef19b8&#46;1648020565&#46;275ee0d7\n</BODY>\n</HTML>\n"
        2022-03-23 08:29:25.416  - ESC[31merrorESC[39m: tesla-motors.0 (29921) Start relogin in 1min
        2022-03-23 08:30:25.484  - ESC[31merrorESC[39m: tesla-motors.0 (29921) Error: Request failed with status code 403
        2022-03-23 08:30:25.484  - ESC[31merrorESC[39m: tesla-motors.0 (29921) "<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n \nYou don't have permission to access \"http&#58;&#47;&#47;auth&#46;tesla&#46;com&#47;oauth2&#47;v3&#47;token\" on this server.<P>\nReference&#32;&#35;18&#46;86ef19b8&#46;1648020625&#46;2761014d\n</BODY>\n</HTML>\n"
        2022-03-23 08:30:25.485  - ESC[31merrorESC[39m: tesla-motors.0 (29921) Please relogin in the settings and copy a new codeURL
        2022-03-23 08:30:25.490  - ESC[32minfoESC[39m: tesla-motors.0 (29921) State value to set for "tesla-motors.0.info.connection" has to be type "vehicle" but received type "boolean"
        2022-03-23 08:30:26.376  - ESC[31merrorESC[39m: tesla-motors.0 (29921) General error
        2022-03-23 08:30:26.376  - ESC[31merrorESC[39m: tesla-motors.0 (29921) https://owner-api.teslamotors.com/api/1/vehicles/930104369105876/vehicle_data
        2022-03-23 08:30:26.377  - ESC[31merrorESC[39m: tesla-motors.0 (29921) Error: Request failed with status code 404
        2022-03-23 08:30:26.377  - ESC[31merrorESC[39m: tesla-motors.0 (29921) {"response":null,"error":"not found","error_description":""}
        2022-03-23 08:31:26.431  - ESC[31merrorESC[39m: tesla-motors.0 (29921) General error
        2022-03-23 08:31:26.431  - ESC[31merrorESC[39m: tesla-motors.0 (29921) https://owner-api.teslamotors.com/api/1/vehicles/930104369105876/vehicle_data
        2022-03-23 08:31:26.432  - ESC[31merrorESC[39m: tesla-motors.0 (29921) Error: Request failed with status code 404
        2022-03-23 08:31:26.432  - ESC[31merrorESC[39m: tesla-motors.0 (29921) {"response":null,"error":"not found","error_description":""}
        2022-03-23 08:32:26.638  - ESC[31merrorESC[39m: tesla-motors.0 (29921) General error
        2022-03-23 08:32:26.639  - ESC[31merrorESC[39m: tesla-motors.0 (29921) https://owner-api.teslamotors.com/api/1/vehicles/930104369105876/vehicle_data
        2022-03-23 08:32:26.639  - ESC[31merrorESC[39m: tesla-motors.0 (29921) Error: Request failed with status code 404
        2022-03-23 08:32:26.639  - ESC[31merrorESC[39m: tesla-motors.0 (29921) {"response":null,"error":"not found","error_description":""}
        
        

        und jetzt nach Neuanmeldung/neuem Token:

        2022-03-23 10:04:53.569  - ESC[32minfoESC[39m: tesla-motors.0 (5715) starting. Version 1.2.0 in /opt/iobroker/node_modules/iobroker.tesla-motors, node: v14.19.1, js-controller: 4.0.19
        2022-03-23 10:04:53.782  - ESC[31merrorESC[39m: tesla-motors.0 (5715) Error: Request failed with status code 403
        2022-03-23 10:04:53.783  - ESC[31merrorESC[39m: tesla-motors.0 (5715) "<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n \nYou don't have permission to access \"http&#58;&#47;&#47;auth&#46;tesla&#46;com&#47;oauth2&#47;v3&#47;token\" on this server.<P>\nReference&#32;&#35;18&#46;86ef19b8&#46;1648026293&#46;280b441b\n</BODY>\n</HTML>\n"
        2022-03-23 10:04:53.784  - ESC[31merrorESC[39m: tesla-motors.0 (5715) Please relogin in the settings and copy a new codeURL
        
        
        T 1 Reply Last reply Reply Quote 0
        • T
          tombox @JLeg last edited by

          @jleg kannst du 1.2.1 probieren?

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

            @tombox sagte in Test Tesla-Motors v1.0.0:

            @jleg kannst du 1.2.1 probieren?

            leider wohl das gleiche Problem:

            2022-03-23 10:34:12.212  - ESC[32minfoESC[39m: tesla-motors.0 (9436) starting. Version 1.2.1 (non-npm: iobroker-community-adapters/ioBroker.tesla-motors) in /opt/iobroker/node_modules/iobroker.tesla-motors, node: v14.19.1, js-controller: 4.0.19
            2022-03-23 10:34:12.441  - ESC[31merrorESC[39m: tesla-motors.0 (9436) Error: Request failed with status code 403
            2022-03-23 10:34:12.442  - ESC[31merrorESC[39m: tesla-motors.0 (9436) "<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n \nYou don't have permission to access \"http&#58;&#47;&#47;auth&#46;tesla&#46;com&#47;oauth2&#47;v3&#47;token\" on this server.<P>\nReference&#32;&#35;18&#46;86ef19b8&#46;1648028052&#46;2845d32a\n</BODY>\n</HTML>\n"
            2022-03-23 10:34:12.443  - ESC[31merrorESC[39m: tesla-motors.0 (9436) Please relogin in the settings and copy a new codeURL
            
            
            T 1 Reply Last reply Reply Quote 0
            • T
              tombox @JLeg last edited by

              @jleg Das Problem liegt aber dann nicht am Adapter
              Kannst du denn aus deinem Netzwerk auf die URL zugreifen
              https://auth.tesla.com/oauth2/v3/token

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

                @tombox sagte in Test Tesla-Motors v1.0.0:

                @jleg Das Problem liegt aber dann nicht am Adapter
                Kannst du denn aus deinem Netzwerk auf die URL zugreifen
                https://auth.tesla.com/oauth2/v3/token

                denke schon - lief ja auch alles bis heute morgen 08:29 😉

                wget https://auth.tesla.com/oauth2/v3/token
                --2022-03-23 11:50:06--  https://auth.tesla.com/oauth2/v3/token
                Resolving auth.tesla.com (auth.tesla.com)... 2a02:26f0:12d:3b4::700, 2a02:26f0:12d:3a2::700, 104.108.144.88
                Connecting to auth.tesla.com (auth.tesla.com)|2a02:26f0:12d:3b4::700|:443... connected.
                HTTP request sent, awaiting response... 400 Bad Request
                2022-03-23 11:50:06 ERROR 400: Bad Request.
                
                
                ping auth.tesla.com
                PING e1792.dscx.akamaiedge.net (104.108.144.88) 56(84) bytes of data.
                64 bytes from a104-108-144-88.deploy.static.akamaitechnologies.com (104.108.144.88): icmp_seq=1 ttl=60 time=15.9 ms
                64 bytes from a104-108-144-88.deploy.static.akamaitechnologies.com (104.108.144.88): icmp_seq=2 ttl=60 time=14.8 ms
                64 bytes from a104-108-144-88.deploy.static.akamaitechnologies.com (104.108.144.88): icmp_seq=3 ttl=60 time=15.1 ms
                
                
                lobomau 1 Reply Last reply Reply Quote 0
                • lobomau
                  lobomau @JLeg last edited by

                  @jleg @tombox bei mir scheint es auf den ersten Blick mit 1.2.1 normal zu laufen 👍

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kasi-m3 last edited by

                    Hi,

                    bei mir läuft seit gestern V1.2.0. Scheint ok zu sein. Im Log kommen allerdings diese Meldungen:

                    tesla-motors.0
                    32943 2022-03-23 11:58:33.398 info State value to set for "tesla-motors.0.xxx.charge_history.charging_history_graph.data_points27.Gesamtausgaben.raw_value" has to be type "string" but received type "number"

                    tesla-motors.0
                    32943 2022-03-23 11:58:33.395 info State value to set for "tesla-motors.0.xxxxxx.charge_history.charging_history_graph.data_points22.Gesamtausgaben.raw_value" has to be type "number" but received type "string"

                    tesla-motors.0
                    32943 2022-03-23 11:58:33.394 info State value to set for "tesla-motors.0.xxxxxxx.charge_history.charging_history_graph.data_points20.Gesamtausgaben.raw_value" has to be type "string" but received type "number"

                    tesla-motors.0
                    32943 2022-03-23 11:58:33.393 info State value to set for "tesla-motors.0.xxxxxxx.charge_history.charging_history_graph.data_points19.Gesamtausgaben.raw_value" has to be type "number" but received type "string"

                    tesla-motors.0
                    32943 2022-03-23 11:58:33.393 info State value to set for "tesla-motors.0.xxxxxxxxx.charge_history.charging_history_graph.data_points18.Gesamtausgaben.raw_value" has to be type "string" but received type "number"

                    tesla-motors.0
                    32943 2022-03-23 11:58:33.391 info State value to set for "tesla-motors.0.xxxxxx.charge_history.charging_history_graph.data_points16.Gesamtausgaben.raw_value" has to be type "number" but received type "string"

                    tesla-motors.0
                    32943 2022-03-23 11:58:33.389 info State value to set for "tesla-motors.0.xxxxxx.charge_history.charging_history_graph.data_points13.Gesamtausgaben.raw_value" has to be type "string" but received type "number"

                    tesla-motors.0
                    32943 2022-03-23 11:58:33.386 info State value to set for "tesla-motors.0.xxxxxxxxx.charge_history.charging_history_graph.data_points06.Gesamtausgaben.raw_value" has to be type "number" but received type "string"

                    tesla-motors.0
                    32943 2022-03-23 11:58:33.385 info State value to set for "tesla-motors.0.xxxxxxxxx.charge_history.charging_history_graph.data_points05.Gesamtausgaben.raw_value" has to be type "string" but received type "number"

                    lobomau T 2 Replies Last reply Reply Quote 0
                    • lobomau
                      lobomau @Kasi-m3 last edited by

                      @kasi-m3 ok, hast Recht. Das vergas ich zu erwähnen.

                      1 Reply Last reply Reply Quote 0
                      • T
                        tombox @Kasi-m3 last edited by

                        @kasi-m3 Bitte mal überprüfen ob es hilft den ordner charge_history zu löschen

                        1 Reply Last reply Reply Quote 0
                        • JLeg
                          JLeg last edited by

                          @tombox sagte in Test Tesla-Motors v1.0.0:

                          @jleg Das Problem liegt aber dann nicht am Adapter
                          Kannst du denn aus deinem Netzwerk auf die URL zugreifen
                          https://auth.tesla.com/oauth2/v3/token

                          das Problem liegt am Akamei-Proxy, der auth.tesla.com bereitstellt. Meine IP ist automatisch geblockt worden, anscheinend wegen der Art/Anzahl der Zugriffe…
                          Wechsel der IP hat geholfen; mal schauen, wie lange es hält. Vielleicht sind die 60 Sekunden für‘s Intervall zu kurz?

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

                            Ich hatte/habe ja das Problem das die Daten zu langsam aktualisiert werden. Ich sehe den Zusammenhang seit der Version mit der VIN. ABer scheint nur mich zu betreffen. Ich mache nochmal ein zweites Mal ein Downgrade um es zu bestätigen.

                            aktuell: Aktualisierung nur alle >10min:
                            b4d58ae9-5fe3-4287-ada0-61ec58497348-image.png

                            alte Version:
                            d106c5dd-b603-4e9b-b8da-b244dc3e0105-image.png

                            JLeg T 2 Replies Last reply Reply Quote 0
                            • JLeg
                              JLeg @lobomau last edited by

                              @lobomau sagte in Test Tesla-Motors v1.0.0:

                              Ich hatte/habe ja das Problem das die Daten zu langsam aktualisiert werden. Ich sehe den Zusammenhang seit der Version mit der VIN. ABer scheint nur mich zu betreffen. Ich mache nochmal ein zweites Mal ein Downgrade um es zu bestätigen.

                              ich glaube mittlerweile, dass ich seit der Umstellung/neuesten Version ein ähnliches Problem habe - seit dem funktioniert nämlich meine Auswertung der Tesla-Positionsdaten zwecks passender Öffnung des Garagentores nicht mehr, bzw. viiiiiel zu spät. Ich muss aber erst noch systematischer untersuchen, inwieweit sich das Updateintervall effektiv verlängert hat (nominell steht/stand das immer auf 60s).

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

                                @lobomau Hast du den Adapter mal im debug laufen lassen ob daten kommen aber die einfach nicht aktuell sind

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

                                  @tombox nein, teste ich mal.

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

                                    @tombox habe es mal getestet. Updateinterval steht auf 30s.
                                    während sleep kommt alle 30s:

                                    tesla-motors.0
                                    2022-03-29 20:41:10.230	debug	{"response":{"id":blabla alles geheim.....":null}}
                                    
                                    tesla-motors.0
                                    2022-03-29 20:40:40.225	debug	ID-nr asleep skip update
                                    
                                    tesla-motors.0
                                    2022-03-29 20:40:40.224	debug	ID-nr: asleep
                                    

                                    Dann stecke ich Typ2 Kabel an uns starte das Laden. Alle 30s kommt folgendes. Daten werden nicht geupdatet...Habe dabei mal jede Minute Ladeleistung hochgestellt... keine Änderung... wahrscheinlich erst nach >10min:

                                    
                                    tesla-motors.0
                                    2022-03-29 20:50:40.272	debug	ID-nummer skip update. Waiting for sleep
                                    
                                    tesla-motors.0
                                    2022-03-29 20:50:40.271	debug	Since 30 min no changes receiving. Start waiting for sleep
                                    
                                    tesla-motors.0
                                    2022-03-29 20:50:40.243	debug	ID-nummer: online
                                    
                                    tesla-motors.0
                                    2022-03-29 20:50:40.241	debug	{"response":{"id":blabla....}}
                                    
                                    tesla-motors.0
                                    2022-03-29 20:50:10.258	debug	id-nr skip update. Waiting for sleep
                                    
                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      tombox @lobomau last edited by

                                      @lobomau Der Ablauf ist wenn er für 30 min keine Änderung auf

                                        ".drive_state.shift_state",
                                      "chargeState.charging_state",
                                                  ".drive_state.speed",
                                                  ".climate_state.is_climate_on",
                                                  ".charge_state.battery_level",
                                                  ".vehicle_state.odometer",
                                                  ".vehicle_state.locked",
                                                  ".charge_state.charge_port_door_open",
                                                  ".vehicle_state.df",
                                      

                                      sieht dann fragt er für 15min kein Update nach um eine Chance auf sleep zu geben.

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

                                        @tombox ja, gefühlt sind es alle 15min. Aber ich meine das macht er bei mir nur seit einem bestimmten Update, ich glaube ab 1.1.1.

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

                                          @lobomau Was würdest du denn ändern wollen

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

                                            @tombox achso... so wie du es beschrieben hast, ist es ja richtig, so sollte es sein. Nur er macht es eben nicht bei mir. Obwohl sich die Werte ändern, kommt nur alle 15min ein Update.

                                            Das führt dann bei mir zu so einer Ladekurve:
                                            ed53f7e5-6553-459c-aff6-da1330ecb248-image.png

                                            Edit: oh... downgrade geht ja gar nicht mehr (funktionstüchtig), weil da ja auch was mit dem token oder so geändert wurde. Dann gehe ich wieder zurück auf 1.2.1

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            968
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            99
                                            927
                                            201352
                                            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