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

    • 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 Tesla-Motors v1.0.0

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kasi-m3 last edited by

      Wieder grün!

      Vielen Dank tombox, das hast Du rasendschnell repariert!

      Gruß
      Kasi

      1 Reply Last reply Reply Quote 1
      • caravandriver
        caravandriver @tombox last edited by

        @tombox Vielen Dank für deine tolle Arbeit!

        1 Reply Last reply Reply Quote 0
        • S
          StefanRied last edited by

          Hallo,
          ich hatte das gleiche Problem mit der "stable" version 1.1.1. nachdem ich die Node Version auf 14.19.1. upgedated hatte.
          Reinstall der neuen Version 1.2.0 direkt aus github scheint das Problem auch bei mir zu fixen.
          Danke @tombox

          Ich befürchte nur, dass in die Falle einige laufen weil iobroker den Node.js update auf der Info-Seite empfiehlt.

          Grüße
          Stefan

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

            Eigentlich hatte ich keine Probleme mit 1.0.9.
            Mit 1.2.0 habe ich aber nun welche. Adapter ist grün. Merkwürdig.

            tesla-motors.0	2022-03-22 21:06:41.689	error	(261141) {"response":null,"error":"not_found","error_description":""}
            tesla-motors.0	2022-03-22 21:06:41.689	error	(261141) Error: Request failed with status code 404
            tesla-motors.0	2022-03-22 21:06:41.688	error	(261141) https://owner-api.teslamotors.com/api/1/energy_sites/undefined/calendar_history?kind=self_consumption&period=day&time_zone=Europe%2FBerlin&end_date=2022-03-22T21:06:41.439Z
            tesla-motors.0	2022-03-22 21:06:41.688	error	(261141) General error
            tesla-motors.0	2022-03-22 21:06:41.685	error	(261141) {"response":null,"error":"not_found","error_description":""}
            tesla-motors.0	2022-03-22 21:06:41.685	error	(261141) Error: Request failed with status code 404
            tesla-motors.0	2022-03-22 21:06:41.684	error	(261141) https://owner-api.teslamotors.com/api/1/energy_sites/undefined/calendar_history?kind=self_consumption&start_date=2016-01-01T00%3A00%3A00%2B01%3A00&period=lifetime&time_zone=Europe%2FBerlin&e
            tesla-motors.0	2022-03-22 21:06:41.683	error	(261141) General error
            tesla-motors.0	2022-03-22 21:06:41.673	error	(261141) {"response":null,"error":"not_found","error_description":""}
            tesla-motors.0	2022-03-22 21:06:41.673	error	(261141) Error: Request failed with status code 404
            tesla-motors.0	2022-03-22 21:06:41.672	error	(261141) https://owner-api.teslamotors.com/api/1/energy_sites/undefined/history?kind=backup
            tesla-motors.0	2022-03-22 21:06:41.672	error	(261141) General error
            tesla-motors.0	2022-03-22 21:06:41.668	error	(261141) {"response":null,"error":"not_found","error_description":""}
            tesla-motors.0	2022-03-22 21:06:41.667	error	(261141) Error: Request failed with status code 404
            tesla-motors.0	2022-03-22 21:06:41.667	error	(261141) https://owner-api.teslamotors.com/api/1/energy_sites/undefined/site_info
            tesla-motors.0	2022-03-22 21:06:41.665	error	(261141) General error
            tesla-motors.0	2022-03-22 21:06:41.644	error	(261141) {"response":null,"error":"not_found","error_description":""}
            tesla-motors.0	2022-03-22 21:06:41.644	error	(261141) Error: Request failed with status code 404
            tesla-motors.0	2022-03-22 21:06:41.643	error	(261141) https://owner-api.teslamotors.com/api/1/energy_sites/undefined/calendar_history?kind=energy&start_date=2016-01-01T00%3A00%3A00%2B01%3A00&time_zone=Europe/Berlin&period=lifetime&end_date=2022
            tesla-motors.0	2022-03-22 21:06:41.643	error	(261141) General error
            
            T 1 Reply Last reply Reply Quote 0
            • T
              tombox @lobomau last edited by

              @lobomau er kann die powerwall id nicht richtig finden.
              Ein debug log per PN wäre hilfreich

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            673
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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