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.
    • T
      tombox @Kasi-m3 last edited by

      @kasi-m3
      tesla-motors.0 already running
      hast du eine idee warum die instanz zweimal läuft

      Gibt es noch mehr log einträge. du kannst es auch per privat nachricht schicken

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

        Hm, ich habe aber nur die eine Instanz. Mehr Log-Einträge gibt es gerade nicht. Ich habe noch keinen weiteren login gemacht.

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

          @kasi-m3 ok vielleicht kannst du es ja nochmal nachstellen

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

            Habe gerade die Instanz gelöscht und neu installiert. Dann den login gemacht. Jetzt ist der Adapter erstmal grün.

            tesla-motors.0
            2021-10-13 16:09:46.921 info Login successful
            tesla-motors.0
            2021-10-13 16:09:46.921 error Start relogin in 1min
            tesla-motors.0
            2021-10-13 16:09:46.921 error {"response":null,"error":"https://mobilesvc.teslamotors.com:443/users/100405034/vehicles => operation_timedout with 10s timeout","error_description":""}
            tesla-motors.0
            2021-10-13 16:09:46.921 error Error: Request failed with status code 408
            tesla-motors.0
            2021-10-13 16:09:46.921 error own token failed
            tesla-motors.0
            2021-10-13 16:09:36.301 info Start own Token Refresh
            tesla-motors.0
            2021-10-13 16:09:35.978 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.tesla-motors, node: v14.18.1, js-controller: 3.3.18
            tesla-motors.0
            2021-10-13 16:09:32.485 info Got terminate signal TERMINATE_YOURSELF
            tesla-motors.0
            2021-10-13 16:09:32.471 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            tesla-motors.0
            2021-10-13 16:09:32.470 info terminating
            tesla-motors.0
            2021-10-13 16:09:32.470 info Got terminate signal TERMINATE_YOURSELF
            tesla-motors.0
            2021-10-13 16:08:14.937 info Waiting for codeURL please visit instance settings and copy url after login
            tesla-motors.0
            2021-10-13 16:08:14.914 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.tesla-motors, node: v14.18.1, js-controller: 3.3.18
            tesla-motors.0
            2021-10-13 15:40:30.005 error Please relogin in the settings and copy a new codeURL
            tesla-motors.0
            2021-10-13 15:40:30.004 error {"error":"invalid_grant","error_description":"Internal server error","error_uri":"https://auth.tesla.com/error/reference/3e65011a-2aaf-4e98-8f97-9bee3b297675-1634132429920"}
            tesla-motors.0
            2021-10-13 15:40:30.004 error Error: Request failed with status code 403
            tesla-motors.0
            2021-10-13 15:39:58.788 warn Terminated (ADAPTER_ALREADY_RUNNING): Without reason
            tesla-motors.0
            2021-10-13 15:39:58.787 error tesla-motors.0 already running

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

              ....hoppla, jetzt ohne mein Zutun wieder nur noch Dreieck:

              tesla-motors.0
              2021-10-13 16:16:02.418 info Waiting for codeURL please visit instance settings and copy url after login
              tesla-motors.0
              2021-10-13 16:16:02.395 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.tesla-motors, node: v14.18.1, js-controller: 3.3.18
              tesla-motors.0
              2021-10-13 16:15:59.122 error Cannot read property 'val' of null
              tesla-motors.0
              2021-10-13 16:15:59.122 error TypeError: Cannot read property 'val' of null at Teslamotors.onStateChange (/opt/iobroker/node_modules/iobroker.tesla-motors/main.js:914:48)
              tesla-motors.0
              2021-10-13 16:15:59.121 error unhandled promise rejection: Cannot read property 'val' of null
              tesla-motors.0
              2021-10-13 16:15:59.121 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              tesla-motors.0
              2021-10-13 16:15:58.948 info Got terminate signal TERMINATE_YOURSELF
              tesla-motors.0
              2021-10-13 16:15:58.930 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
              tesla-motors.0
              2021-10-13 16:15:58.930 info terminating
              tesla-motors.0
              2021-10-13 16:15:58.927 error Cannot read property 'val' of null
              tesla-motors.0
              2021-10-13 16:15:58.927 error TypeError: Cannot read property 'val' of null at Teslamotors.onStateChange (/opt/iobroker/node_modules/iobroker.tesla-motors/main.js:914:48)
              tesla-motors.0
              2021-10-13 16:15:58.926 error unhandled promise rejection: Cannot read property 'val' of null
              tesla-motors.0
              2021-10-13 16:15:58.926 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              tesla-motors.0
              2021-10-13 16:10:50.717 info Waiting for codeURL please visit instance settings and copy url after login
              tesla-motors.0
              2021-10-13 16:10:50.696 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.tesla-motors, node: v14.18.1, js-controller: 3.3.18
              tesla-motors.0
              2021-10-13 16:10:47.211 info Got terminate signal TERMINATE_YOURSELF
              tesla-motors.0
              2021-10-13 16:10:47.195 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              tesla-motors.0
              2021-10-13 16:10:47.195 info terminating
              tesla-motors.0
              2021-10-13 16:10:47.194 info Got terminate signal TERMINATE_YOURSELF
              tesla-motors.0
              2021-10-13 16:10:47.171 error Please relogin in the settings and copy a new codeURL
              tesla-motors.0
              2021-10-13 16:10:47.171 error {"error":"invalid_grant","error_description":"Internal server error","error_uri":"https://auth.tesla.com/error/reference/697a5f19-0d3f-49e9-9464-d1f05f07dbb5-1634134247102"}
              tesla-motors.0
              2021-10-13 16:10:47.170 error Error: Request failed with status code 403
              tesla-motors.0
              2021-10-13 16:09:46.921 info Login successful

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

                @kasi-m3 Danke für den Hinweis das passiert wenn tesla nicht erreichbar ist. Installier nochmal und probiere nochmal

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

                  @tombox ich habe auch wieder mal updated.
                  Bei mir weiterhin alles ok, inkl. login nach dem restart

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

                    OK, danke. Jetzt scheint der Adapter erstmal zu laufen. Ich beobachte das weiter.
                    Grüße
                    Kasi

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      StefanRied @Kasi-m3 last edited by

                      Hallo,

                      ich habe immer wieder komische Fehler, dass State-Changes des Adapters nicht im Web Admin-Object-Baum angezeigt werden, sehr wohl aber auf anderen Wegen (Vis oder Node-Red oder eigene Scripts) korrekt lesbar sind. (Kenne ioBroker seit Jahren und bin da kein Neuling 🙂

                      Danke an @tombox für den privaten Austausch und die Klasse Arbeit.
                      Die State Changes kommen aus dem Adapter, aber die Admin zeigt sie nicht.

                      Jetzt habe ich gesehen dass die Admin diesen Fahler jede Minute oder öfter geschrieben hat:

                      admin.0 2021-10-13 21:05:52.527 info Subscribe on all states again
                      admin.0 2021-10-13 21:04:51.578 info Unsubscribe from all states, except system's, because over 3 seconds the number of events is over 200 (in last second 0)

                      Dann ist es nicht verwunderlich, das State-Updates willkürlich verloren gehen.
                      Wird der Tesla Adapter gestoppt, ist es weg.
                      Ein Blick auf den Tesla Adapter zeigt, dass er bei weitem die größten Event Traffic auf meinem iobroker hat:
                      ⇥27590/↦27592

                      Dabei steht die Polling Zeit auf 600 Sekunden und das Stream Beta ist aus.
                      Er sollte also nur alle 10 Minuten einmal die vehicle_data stats neu schreiben.

                      Trotzdem scheint es so viel Traffic zu sein, dass die Web-Admin regelmäßig aussteigt. Das erklärt wohl all meine Probleme.

                      Vielleicht ist im Adapter Code irgendwo ein setState loop entstanden, der das erzeugt.
                      Mein iobroker rennt auf einem RPI4 mit 8 GB und hat eigentlich reichlich Ressourcen.
                      Vielleicht haben ja noch mehr Leute das Problem und merken es nicht.

                      Ich hoffe das Feedback hilft & schönen Abend

                      Grüße
                      Stefan

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

                        @stefanried seit meinem heutigen update über guthub, explodiert es bei mir ebenfalls.

                        Mein Raspberry4 4GB lief mit durchschnittlichem load von 0.45
                        Nach dem update ging er nach wenigen Minuten auf 3.5 hoch und die IN events welche sonst um die 500 sind stiegen auf 30000 dann habe ich die tesla Instanz gestoppt und danach hat sich alles wieder beruhigt. Beim nochmaligem starten der tesla Instanz ging es wieder hoch.
                        Momentan kann ich ihn also nicht laufen lassen.
                        Ich werde morgen wohl mal ein downgrade machen

                        S T 2 Replies Last reply Reply Quote 0
                        • S
                          StefanRied @marlan99 last edited by

                          @marlan99
                          toll dann bin ich nicht alleine 🙂

                          Am liebsten würde ich den Adapter mit einer sehr lange Polling Zeit von 10 Minuten laufen lassen, dass er ganz wenig traffic erzeugt (es macht ja auch Mobilfunk Traffic, wenn man unterwegs ist).
                          Damit füttert man das Daten Logging für Batterie- und Lade Historie. Da würde ein Punkt alle 10 Minuten schon reichen.

                          Gleichzeitig soll der Adapter aber super-schnell sein, wenn man etwas interaktiv macht. Also Garagentor geht zu und Ladeklappe automatisch auf wenn ich laden muss :))
                          Um dazu schnell die vehicle_data zu aktualisieren (ohne auf den Poll zu warten), gibt es ja seit heute den remote/force_update dank @tombox

                          Mit der Strategie bekommt man sehr wenig Traffic und kann auch wake-Ups vermeiden usw.
                          Gleichzeitig bekommt man aber über den gleichen Adapter die gleiche interaktive Geschwindigkeit in eine Smart-Home Anwendung, wie es in der Original Tesla Handy App ist.

                          Das ist schon Mega cool.

                          S M 2 Replies Last reply Reply Quote 0
                          • S
                            StefanRied @StefanRied last edited by

                            aber vielleicht ist bei der Aktion was schief gegangen?

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

                              @marlan99 wann hattest du von github installiert?

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

                                @tombox gestern 13.10. ca. 16:00-16:30

                                ich habe den Adapter soeben wieder gestartet, ohne etwas seit gestern zu ändern. Bis jetzt ist alles normal. Kein erhöhter traffic

                                Ich musste die URL der auth Seite erneut eingeben in der config. Evtl. weil die Instanz ca 15h nicht lief?

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

                                  @marlan99 sehe es auch. Habe nochmal was bei GitHub geändert aber bin noch nicht sicher was es ist nochmal testen

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

                                    @tombox update von github soeben durchgeführt. Instanz hat normal gestartet

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

                                      @stefanried hast du ebenfalls eine Powerwall?
                                      Da werden bei mir die meisten Daten geladen. Bei den Fahrzeugen wird nur wenig aktualisiert.

                                      Es gab auch wieder eine neue Version der App für ios.

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

                                        @marlan99
                                        Nein, habe nur ein Model3. Powerwall kommt nächstes oder übernächstes Jahr 🙂

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

                                          Jetzt scheint alles stabil zu laufen. Auch in Web-Admin erscheinen die States sofort korrekt.
                                          Vielen Dank @tombox

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

                                            @stefanried bei mir in den letzten zwei Stunden ebenfalls alles stabil

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            717
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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