<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Tesla – teqqy</title><link>https://www.teqqy.de/tags/tesla/</link><description>Ein Blog über Technik und mehr</description><language>de</language><managingEditor>teqqy</managingEditor><lastBuildDate>Fri, 31 Jul 2026 22:33:33 +0000</lastBuildDate><generator>Hugo 0.164.0</generator><atom:link href="https://www.teqqy.de/tags/tesla/index.xml" rel="self" type="application/rss+xml"/><item><title>Tesla Model 3: Warum ich nach 5 Jahren &amp; 77.000 km verkaufe</title><link>https://www.teqqy.de/zahlen-daten-fakten-nach-fuenf-jahren-tesla-model-3/</link><pubDate>Sun, 16 Mar 2025 12:00:00 +0100</pubDate><lastBuildDate>Sun, 16 Mar 2025 12:00:00 +0100</lastBuildDate><guid isPermaLink="true">https://www.teqqy.de/zahlen-daten-fakten-nach-fuenf-jahren-tesla-model-3/</guid><description>Tesla Model 3 Langzeittest: 77.000 km nach 5 Jahren - Ehrliche Bilanz zu Kosten, Verbrauch &amp;amp; Akkugesundheit Nach fünf Jahren und 77.000 Kilometern mit unserem Tesla Model 3 ziehen wir Bilanz. Spoiler: Der Akku hat noch 93 % seiner Kapazität, wir haben rund 3.500 Euro fürs Laden ausgegeben und der Durchschnittsverbrauch liegt bei 20,6 kWh/100 km. Trotzdem verkaufen wir das Auto jetzt. Warum? Das erfährst du in diesem ehrlichen Erfahrungsbericht mit allen Zahlen, die du für deine Kaufentscheidung brauchst.</description><content:encoded>&lt;![CDATA[<h1 id="tesla-model-3-langzeittest-77000-km-nach-5-jahren---ehrliche-bilanz-zu-kosten-verbrauch--akkugesundheit">Tesla Model 3 Langzeittest: 77.000 km nach 5 Jahren - Ehrliche Bilanz zu Kosten, Verbrauch &amp; Akkugesundheit<a href="#tesla-model-3-langzeittest-77000-km-nach-5-jahren---ehrliche-bilanz-zu-kosten-verbrauch--akkugesundheit" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h1><p>Nach fünf Jahren und 77.000 Kilometern mit unserem Tesla Model 3 ziehen wir Bilanz. Spoiler: Der Akku hat noch 93 % seiner Kapazität, wir haben rund 3.500 Euro fürs Laden ausgegeben und der Durchschnittsverbrauch liegt bei 20,6 kWh/100 km. Trotzdem verkaufen wir das Auto jetzt. Warum? Das erfährst du in diesem ehrlichen Erfahrungsbericht mit allen Zahlen, die du für deine Kaufentscheidung brauchst.</p><h2 id="der-start-corona-sei-dank-fast-ohne-auto-dastanden">Der Start: Corona sei Dank fast ohne Auto dastanden<a href="#der-start-corona-sei-dank-fast-ohne-auto-dastanden" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Vor ziemlich genau fünf Jahren haben wir unser Tesla Model 3 abgeholt. Wir hatten sehr viel Glück, denn es wurden reichlich Überstunden der Mitarbeitenden geschoben damit alle ihr Auto noch rechtzeitig bekommen. Am Folgetag sollte nämlich die erste Corona Ausgangsbeschränkung gelten und wir hätten auf unbestimmte Zeit auf unser neues Auto warten müssen. Dahingehend fing der Start eigentlich schon mal ziemlich gut an.</p><h2 id="verarbeitungsqualität-nach-5-jahren-besser-als-ihr-ruf">Verarbeitungsqualität nach 5 Jahren: Besser als ihr Ruf<a href="#verarbeitungsqualit%c3%a4t-nach-5-jahren-besser-als-ihr-ruf" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>In den Anfangsjahren haben sich viele Menschen über die Qualität der Autos lustig gemacht. Wir hatten das Glück ein, auf den ersten Blick, mängelfreies Auto zu erhalten. Zugegebenermaßen bin ich nicht wie andere mit einer X-seitigen Checkliste um das Auto herum gelaufen. Als ob die Personen das jemals bei anderen Neufahrzeugen gemacht hätten&hellip;</p><p>Im Laufe der Jahre fiel auf, dass die eine oder andere Fixierung durch Plastikteile nicht vorhanden waren. Es wurde da also ein wenig an den Cent-Artikel gespart. Bei den heutigen Modellen wird das sicherlich nicht mehr der Fall sein.</p><p><strong>Was nach 5 Jahren auffällt:</strong></p><ul><li>Keine größeren Qualitätsprobleme</li><li>Einzelne fehlende Plastikfixierungen im Innenraum</li><li>Lackierung und Verarbeitung insgesamt solide</li><li>Keine Rostprobleme oder Spaltmaße-Dramen</li></ul><h2 id="verbrauch-und-kosten-im-detail-die-nackten-zahlen">Verbrauch und Kosten im Detail: Die nackten Zahlen<a href="#verbrauch-und-kosten-im-detail-die-nackten-zahlen" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p><img src="/zahlen-daten-fakten-nach-fuenf-jahren-tesla-model-3/images/tesla-model-3-fahrten_hu_1b2a2b81fb97a0db.webp" srcset="/zahlen-daten-fakten-nach-fuenf-jahren-tesla-model-3/images/tesla-model-3-fahrten_hu_dc2d5b24886fdc36.webp 384w, /zahlen-daten-fakten-nach-fuenf-jahren-tesla-model-3/images/tesla-model-3-fahrten_hu_1b2a2b81fb97a0db.webp 768w, /zahlen-daten-fakten-nach-fuenf-jahren-tesla-model-3/images/tesla-model-3-fahrten_hu_a5de64b7354789f6.webp 1536w" sizes="(max-width: 768px) 100vw, 768px" alt="Übersicht der Fahrten der letzten fünf Jahre" loading="eager" fetchpriority="high" decoding="async" width="768" height="364"/><p>Ich hatte das Auto fast die ganze Zeit bei Tronity in der Datenerfassung. Es könnte sein, dass zwar einzelne Fahrten fehlen, aber das Gesamtbild wird trotzdem stimmen.</p><p><strong>Die harten Fakten:</strong></p><ul><li><strong>Gesamtkilometer:</strong> 76.922 km (davon 76.310 km getrackt)</li><li><strong>Durchschnittsverbrauch:</strong> 20,6 kWh/100 km</li><li><strong>Gesamte Ladekosten:</strong> ca. 3.500 Euro</li><li><strong>Kosten pro Kilometer:</strong> ca. 4,6 Cent</li><li><strong>AC/DC-Verhältnis:</strong> 80/20</li></ul><h3 id="warum-unser-verbrauch-höher-liegt">Warum unser Verbrauch höher liegt<a href="#warum-unser-verbrauch-h%c3%b6her-liegt" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h3><p>Wir fahren kaum schnell und Langstrecke häufig mit ca. 120 - 140 km/h Tempomat. Allerdings mag ich die sehr zügige Beschleunigung des Elektroautos. Entsprechend geht viel Energie immer hier verloren. Zudem kommt, dass die Heizung fast das ganze Jahr auf ca. 22,5 °C eingestellt ist und wir die Vorklimatisierungsfunktion sehr häufig nutzen. Das fällt alles in den Verbrauch mit rein und ist entsprechend zu bedenken.</p><p><strong>Zum Vergleich:</strong> Ein vergleichbarer Verbrenner (z.B. BMW 320i) hätte bei ähnlichem Fahrprofil etwa 7-8 Liter auf 100 km verbraucht. Bei einem Benzinpreis von durchschnittlich 1,70 Euro wären das Kraftstoffkosten von rund 9.000 Euro gewesen.<strong>Ersparnis: ca. 5.500 Euro</strong> - und das obwohl wir zu 80 % an der heimischen Wallbox laden konnten.</p><h2 id="akkugesundheit-nach-77000-km-das-ist-der-wichtigste-wert">Akkugesundheit nach 77.000 km: Das ist der wichtigste Wert<a href="#akkugesundheit-nach-77000-km-das-ist-der-wichtigste-wert" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Das Verhältnis zwischen AC und DC laden beträgt 80/20. Das ergibt einen derzeitigen<strong>State of Health (SoH) von 93 %</strong> laut Tronity. Bedeutet: Der Akku unseres Autos hat noch 93 % der Leistung seines Neuzustandes.</p><p><strong>Was bedeutet das konkret?</strong></p><ul><li>Von ursprünglich ca. 500 km Reichweite (WLTP) bleiben noch ca. 465 km</li><li>Der Verlust von 7 % in 5 Jahren ist völlig im Rahmen</li><li>Hochgerechnet hätte der Akku nach 10 Jahren noch etwa 86 % Kapazität</li><li>Tesla gibt 8 Jahre Garantie auf mindestens 70 % Restkapazität</li></ul><h2 id="6-länder-0-ladeprobleme-langstreckentauglichkeit-im-test">6 Länder, 0 Ladeprobleme: Langstreckentauglichkeit im Test<a href="#6-l%c3%a4nder-0-ladeprobleme-langstreckentauglichkeit-im-test" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Wir waren mit dem Auto in sechs Ländern und in keinem hatten wir jemals das Problem eine funktionierende Ladesäule zu finden. Durch Corona sind wir allerdings dann doch nicht so viel im Ausland gewesen als wir eigentlich gedacht hätten.</p><p>Lediglich unser Roadtrip im Jahr 2024 hat uns durch Frankreich, Spanien und Portugal geführt. Damals sind wir knapp<strong>6.200 km in 14 Tagen</strong> gefahren. Ein Urlaub der toll und zugleich ansträngend war.</p><p><strong>Ladeerfahrung auf Langstrecke:</strong></p><ul><li>Tesla Supercharger: Quasi immer verfügbar und zuverlässig</li><li>Andere Anbieter: Mittlerweile deutlich besser als vor 5 Jahren</li><li>Ladeplanung: Mit der Tesla-Navigation eigentlich kein Thema</li></ul><h2 id="warum-wir-nach-5-jahren-verkaufen-die-ehrlichen-gründe">Warum wir nach 5 Jahren verkaufen: Die ehrlichen Gründe<a href="#warum-wir-nach-5-jahren-verkaufen-die-ehrlichen-gr%c3%bcnde" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Nach fünf Jahren werden wir das Auto verkaufen. Das hat mehrere Gründe:</p><p><strong>1. Die Marke und ihr Geschäftsführer</strong>
Wir möchten die Marke mit seinem derzeitigen Geschäftsführer nicht mehr repräsentieren. Das ist eine persönliche Entscheidung, die jeder für sich treffen muss.</p><p><strong>2. Zeit für etwas Neues</strong>
Nach fünf Jahren wird es Zeit für etwas neues. Die aktuellen Modelle sind sehr spannend und scheinen weiterhin ein extrem gutes Preis-/Leistungsverhältnis zu haben.</p><p><strong>3. Zu viel Touchscreen, zu wenig Tasten</strong>
Der Weg den Tesla mit der immer voranschreitenden Reduzierung von physischen Knöpfen und Hebeln beschreitet, ist nicht mehr unseres. Wir mögen das reduzierte und aufgeräumte Interieur aber manche Funktionen haben für mich lieber einen Knopf als eine Geste im Infotainmentsystem. Ein gefühltes Flugzeugcockpit wie bei den deutschen Herstellern brauche ich aber auch überhaupt nicht.</p><h2 id="was-kommt-als-nächstes">Was kommt als Nächstes?<a href="#was-kommt-als-n%c3%a4chstes" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Wir haben uns jetzt einen<strong>NIO</strong> zugelegt den wir mindestens die nächsten drei Jahre fahren werden. Warum? Das wird ein eigener Erfahrungsbericht - stay tuned!</p><h2 id="fazit-lohnt-sich-ein-tesla-model-3-nach-5-jahren-noch">Fazit: Lohnt sich ein Tesla Model 3 nach 5 Jahren noch?<a href="#fazit-lohnt-sich-ein-tesla-model-3-nach-5-jahren-noch" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p><strong>Die Top 3 Vorteile:</strong></p><ol><li><strong>Niedrige Betriebskosten:</strong> 4,6 Cent/km sind unschlagbar günstig</li><li><strong>Akkugesundheit:</strong> 93 % nach 77.000 km spricht für die Batteriequalität</li><li><strong>Ladeinfrastruktur:</strong> Supercharger-Netz ist und bleibt der Goldstandard</li></ol><p><strong>Die Top 3 Nachteile:</strong></p><ol><li><strong>Bedienkonzept:</strong> Immer mehr Funktionen nur über Touchscreen nervig</li><li><strong>Markenimage:</strong> Das Thema Elon Musk polarisiert stark</li><li><strong>Kleine Qualitätsmängel:</strong> Cent-Artikel wie Plastikclips wurden gespart</li></ol><p><strong>Für wen lohnt sich ein gebrauchter Tesla Model 3?</strong></p><ul><li>Wer primär Kurzstrecke und gelegentlich Langstrecke fährt</li><li>Wer Zugang zu günstigen Lademöglichkeiten hat (Wallbox, Arbeit)</li><li>Wer mit dem Touchscreen-Konzept gut zurechtkommt</li><li>Wer ein Auto mit niedrigen laufenden Kosten sucht</li></ul><p><strong>Wer sollte die Finger davonlassen?</strong></p><ul><li>Wer viele physische Bedienelemente bevorzugt</li><li>Wer ausschließlich öffentlich laden müsste</li><li>Wer mit der Marke Tesla nicht identifizieren möchte</li></ul><hr><h2 id="häufige-fragen-zum-tesla-model-3-langzeittest">Häufige Fragen zum Tesla Model 3 Langzeittest<a href="#h%c3%a4ufige-fragen-zum-tesla-model-3-langzeittest" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p><strong>Wie hoch ist der Wertverlust nach 5 Jahren?</strong><em>[Falls du den Verkaufspreis schon kennst, könntest du das hier ergänzen]</em></p><p><strong>Würdest du das Auto nochmal kaufen?</strong>
Ja, für die damalige Zeit war es die richtige Entscheidung. Heute würde ich mir aber die Konkurrenz genauer anschauen - der Markt hat sich stark entwickelt.</p><p><strong>Wie oft musstest du an die Werkstatt?</strong><em>[Hier könntest du deine Erfahrungen ergänzen]</em></p><p><strong>Lohnt sich ein Tesla Model 3 gebraucht?</strong>
Absolut, wenn du mit dem Bedienkonzept klarkommst und günstig laden kannst. Die Technik ist ausgereift, die Akkus halten gut.</p>
]]></content:encoded><category>tesla</category></item><item><title>Teslamate Setup: Docker, Fleet API &amp; Grafana</title><link>https://www.teqqy.de/teslamate-datenlogger-fur-tesla-fahrzeuge/</link><pubDate>Mon, 27 Mar 2023 20:19:57 +0200</pubDate><lastBuildDate>Mon, 01 Dec 2025 00:00:00 +0000</lastBuildDate><guid isPermaLink="true">https://www.teqqy.de/teslamate-datenlogger-fur-tesla-fahrzeuge/</guid><description>Update Dezember 2025: Dieser Artikel wurde überarbeitet und berücksichtigt die wichtigen Änderungen der Tesla Fleet API sowie aktuelle Teslamate-Versionen.
Moderne Fahrzeuge bieten mittlerweile eine API-Schnittstelle, um alle möglichen Daten auslesen zu können. Tesla war einer der ersten Hersteller, der dies umfangreich zur Verfügung stellt. Entsprechend sind Softwareprodukte wie Teslamate entstanden. Teslamate ist ein selbstgehosteter Open-Source-Datenlogger, der deine Tesla-Daten kontinuierlich erfasst, speichert und mit Grafana visualisiert.
Was hat sich 2025 geändert? Die wichtigsten Updates auf einen Blick:</description><content:encoded>&lt;![CDATA[<p><strong>Update Dezember 2025:</strong> Dieser Artikel wurde überarbeitet und berücksichtigt die wichtigen Änderungen der Tesla Fleet API sowie aktuelle Teslamate-Versionen.</p><p>Moderne Fahrzeuge bieten mittlerweile eine API-Schnittstelle, um alle möglichen Daten auslesen zu können. Tesla war einer der ersten Hersteller, der dies umfangreich zur Verfügung stellt. Entsprechend sind Softwareprodukte wie Teslamate entstanden. Teslamate ist ein selbstgehosteter Open-Source-Datenlogger, der deine Tesla-Daten kontinuierlich erfasst, speichert und mit Grafana visualisiert.</p><h2 id="was-hat-sich-2025-geändert">Was hat sich 2025 geändert?<a href="#was-hat-sich-2025-ge%c3%a4ndert" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Die wichtigsten Updates auf einen Blick:</p><p><strong>Tesla Fleet API:</strong> Tesla hat die inoffizielle &ldquo;Owner API&rdquo; durch die offizielle Fleet API ersetzt. Seit Februar 2025 gilt ein Pay-per-Use-Modell mit monatlichem $10-Freikontingent. Für Privatnutzer mit 1-2 Fahrzeugen reicht das Kontingent meist aus, zusätzliche Kosten liegen bei etwa $2-5/Monat bei intensiver Nutzung.</p><p><strong>PostgreSQL 17:</strong> Teslamate benötigt nun mindestens PostgreSQL 16.7 oder 17.3. Die Entwickler empfehlen PostgreSQL 17.</p><p><strong>Fleet Telemetry:</strong> Neu ist die Möglichkeit, dass das Fahrzeug Daten direkt streamt. Das ist präziser und günstiger als klassisches Polling, aber komplexer in der Einrichtung. Fleet Telemetry erfordert einen eigenen Server-Endpunkt und TLS-Zertifikate. Die Daten werden dann vom Fahrzeug per WebSocket gestreamt, sobald sich Werte ändern. Das spart API-Kosten, da du nicht mehr aktiv pollen musst. Besonders bei Fahrten erhältst du hochfrequente Daten mit minimaler Latenz. Für die meisten Nutzer funktioniert das bewährte Polling jedoch weiterhin problemlos und ist deutlich einfacher einzurichten.</p><h2 id="teslamate--installieren-oder-einkaufen">Teslamate – Installieren oder einkaufen?<a href="#teslamate--installieren-oder-einkaufen" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Teslamate ist keine Software-as-a-Service, sondern wird vom Nutzer selbst installiert. Ob im heimischen Homelab oder auf einem VPS-Server in der Cloud, z. B. bei<a href="https://www.netcup.de/?ref=60644" target="_blank" rel="noopener noreferrer">Netcup<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a>
– beides funktioniert. Ich hoste die Software auf meinem eigenen Server im Heimnetzwerk.</p><p>Die Installation ist mit<a href="/wordpress-docker-performance/">Docker</a>
sehr einfach. Du benötigst eine Datenbank (PostgreSQL) und den Anwendungscontainer. Für die Visualisierung setzt Teslamate auf Grafana mit fertig konfigurierten Dashboards.</p><h2 id="voraussetzungen">Voraussetzungen<a href="#voraussetzungen" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p><strong>Hardware &amp; Software:</strong></p><ul><li>Server mit mindestens 2 GB RAM (Raspberry Pi 4/5, NAS, VPS)</li><li>Docker und Docker Compose installiert</li><li>Dauerhaft aktive Internetverbindung</li></ul><p><strong>Tesla-Account:</strong></p><ul><li>Tesla-Konto mit Zwei-Faktor-Authentifizierung</li><li>Tesla Developer Account (kostenlos bei<a href="https://developer.tesla.com" target="_blank" rel="noopener noreferrer">developer.tesla.com<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a>
)</li></ul><h2 id="tesla-developer-account-einrichten">Tesla Developer Account einrichten<a href="#tesla-developer-account-einrichten" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Seit der Umstellung auf die Fleet API brauchst du einen Developer Account:</p><ol><li>Melde dich bei<a href="https://developer.tesla.com" target="_blank" rel="noopener noreferrer">developer.tesla.com<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a>
mit deinem Tesla-Konto an</li><li>Erstelle eine neue Application (z.B. &ldquo;Teslamate Homelab&rdquo;)</li><li>Gib eine kurze Beschreibung an</li><li>Bei lokaler Nutzung kannst du localhost als Domain verwenden</li></ol><p>Die Prüfung dauert ein paar Tage, für private Zwecke erfolgt die Freigabe normalerweise problemlos. Das monatliche $10-Guthaben ist ein echtes Guthaben – du musst keine Kreditkarte hinterlegen, solange du darunter bleibst.</p><h2 id="token-erstellung">Token-Erstellung<a href="#token-erstellung" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Früher funktionierte die Anmeldung mit Benutzerdaten. Heute benötigst du einen „Refresh Token" und „Access Token". Diese generierst du am einfachsten mit Apps:</p><ul><li><strong>iOS:</strong> &ldquo;Auth for Tesla&rdquo; (Apple AppStore)</li><li><strong>Android:</strong> &ldquo;Tesla Tokens&rdquo; oder &ldquo;Auth for Tesla&rdquo;</li><li><strong>Windows/Mac:</strong> &ldquo;Tesla Auth&rdquo; oder Web-basierte Tools</li></ul><p><strong>Vorgehensweise:</strong></p><ol><li>App installieren und mit Tesla-Benutzernamen anmelden</li><li>Passwort eingeben</li><li>Beim zweiten Prompt deinen 2FA-Code eingeben (nicht nochmal das Passwort!)</li><li>App zeigt Refresh Token und Access Token – beide sicher aufbewahren</li></ol><p>Die Tokens bleiben mehrere Monate gültig. Teslamate erneuert den Access Token automatisch.</p><p><img src="/teslamate-datenlogger-fur-tesla-fahrzeuge/images/teslamate-tesla-token_hu_b53628674ab82b23.webp" srcset="/teslamate-datenlogger-fur-tesla-fahrzeuge/images/teslamate-tesla-token_hu_ecfb7a72ba31093e.webp 384w, /teslamate-datenlogger-fur-tesla-fahrzeuge/images/teslamate-tesla-token_hu_b53628674ab82b23.webp 768w" sizes="(max-width: 768px) 100vw, 768px" alt="" loading="eager" fetchpriority="high" decoding="async" width="768" height="595"/><h2 id="installation-mit-docker-compose">Installation mit Docker Compose<a href="#installation-mit-docker-compose" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Die einfachste Installation erfolgt über Docker Compose. Falls du Docker Compose noch nicht installiert hast:</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">bash</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="bash"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#8b949e;font-style:italic"># Auf Ubuntu/Debian</span></span></span><span style="display:flex;"><span>sudo apt install docker-compose-plugin</span></span><span style="display:flex;"><span>docker compose version</span></span></code></pre></div></div><p>Erstelle ein Arbeitsverzeichnis:</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">bash</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="bash"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>mkdir ~/teslamate<span style="color:#ff7b72;font-weight:bold">&amp;&amp;</span> cd ~/teslamate</span></span></code></pre></div></div><p>Ich verweise auf die<a href="https://docs.teslamate.org/docs/installation/docker" target="_blank" rel="noopener noreferrer">offizielle Dokumentation<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a>
, da sich die Konfiguration regelmäßig ändert.</p><p><strong>Wichtige Anpassungen für 2025:</strong></p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">yaml</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="yaml"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#7ee787">version</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">"3"</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#7ee787">services</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">teslamate</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">image</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">teslamate/teslamate:latest</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">restart</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">always</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">environment</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">ENCRYPTION_KEY=dein_sicherer_schluessel</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">DATABASE_USER=teslamate</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">DATABASE_PASS=sicheres_passwort</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">DATABASE_NAME=teslamate</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">DATABASE_HOST=database</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">TZ=Europe/Berlin</span><span style="color:#6e7681"/><span style="color:#8b949e;font-style:italic"># Deine Zeitzone!</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">MQTT_DISABLE=true</span><span style="color:#6e7681"/><span style="color:#8b949e;font-style:italic"># Falls kein MQTT benötigt</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">ports</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">4000</span>:<span style="color:#a5d6ff">4000</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">cap_drop</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">all</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">database</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">image</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">postgres:17</span><span style="color:#6e7681"/><span style="color:#8b949e;font-style:italic"># Mindestens 16.7 oder 17.3!</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">restart</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">always</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">environment</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">POSTGRES_USER=teslamate</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">POSTGRES_PASSWORD=sicheres_passwort</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">POSTGRES_DB=teslamate</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">volumes</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">teslamate-db:/var/lib/postgresql/data</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">grafana</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">image</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">teslamate/grafana:latest</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">restart</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">always</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">environment</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">DATABASE_USER=teslamate</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">DATABASE_PASS=sicheres_passwort</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">DATABASE_NAME=teslamate</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">DATABASE_HOST=database</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">ports</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">3000</span>:<span style="color:#a5d6ff">3000</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">volumes</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#a5d6ff">teslamate-grafana-data:/var/lib/grafana</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#7ee787">volumes</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">teslamate-db</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#a5d6ff">teslamate-grafana-data:</span></span></span></code></pre></div></div><p><strong>MQTT für Home Assistant:</strong></p><p>Wenn du die Daten an einen MQTT-Server weiterleiten willst (z. B. für<a href="/tesla-ueberschussladen-mit-home-assistant/">Home-Assistant</a>
), ersetze<code>MQTT_DISABLE=true</code> durch<code>MQTT_HOST=mosquitto</code> und füge einen Mosquitto-Container hinzu.</p><p><strong>Container starten:</strong></p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">bash</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="bash"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker compose up -d</span></span></code></pre></div></div><p>Teslamate ist anschließend unter<code>http://{IP-deines-Servers}:4000</code> erreichbar. Beim ersten Aufruf gibst du die zuvor generierten Tokens ein. Nach 1-2 Minuten (ggf. Fahrzeug mit der App aufwecken) sollten erste Daten angezeigt werden.</p><h2 id="auswertung-mit-grafana">Auswertung mit Grafana<a href="#auswertung-mit-grafana" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Ein großer Vorteil der vordefinierten Docker-Compose-Datei: Grafana ist direkt mit dabei. Grafana läuft standardmäßig unter<code>http://{IP-deines-Servers}:3000</code>.</p><p>Standard-Login (sofort ändern!):</p><ul><li>Benutzername:<code>admin</code></li><li>Passwort:<code>admin</code></li></ul><p><a href="/docker-monitoring-mit-prometheus-und-grafana/">Grafana</a>
hat die PostgreSQL-Datenbank als Datenquelle bereits konfiguriert und alle Dashboards sind importiert. Bei Nutzung einer eigenen Grafana-Instanz musst du die JSON-Dateien aus dem<a href="https://www.github.com/cbirkenbeul" target="_blank" rel="noopener noreferrer">GitHub<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a>
Repository manuell importieren.</p><p><strong>Wichtige Dashboards:</strong></p><ul><li><strong>Overview:</strong> Gesamtübersicht aller Kennzahlen – der perfekte Einstieg</li><li><strong>Drives:</strong> Fahrtenauswertung mit interaktiven Karten, zeigt Route, Geschwindigkeit und Verbrauch</li><li><strong>Charges:</strong> Detaillierte Ladehistorie mit Kostenanalyse pro Ladevorgang, Vergleich verschiedener Ladestationen</li><li><strong>Battery Health:</strong> Langzeitentwicklung der Batteriekapazität, zeigt Degradation über Zeit und Kilometer</li><li><strong>Efficiency:</strong> Verbrauchsanalysen nach Geschwindigkeit, Temperatur, Höhenmetern – erkenne was deine Reichweite beeinflusst</li><li><strong>Vampire Drain:</strong> Standby-Verbrauch im geparkten Zustand, hilft Phantom Drain zu identifizieren</li><li><strong>Locations:</strong> Häufige Aufenthaltsorte, automatische Geofencing-Erkennung</li><li><strong>Updates:</strong> Historie aller Software-Updates mit Zeitstempeln</li></ul><h2 id="langzeitnutzung-und-erkenntnisse">Langzeitnutzung und Erkenntnisse<a href="#langzeitnutzung-und-erkenntnisse" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Der wahre Wert zeigt sich nach mehreren Monaten. Hier konkrete Beispiele aus meiner Nutzung:</p><p><strong>Batteriedegradation:</strong> Mein Model Y zeigte nach 50.000 km etwa 4% Kapazitätsverlust. Typisch sind 3-5% in den ersten 50.000 km, danach verlangsamt sich die Degradation deutlich. Mit Teslamate siehst du die exakte Entwicklung und kannst Ausreißer (z.B. durch BMS-Kalibrierung) erkennen.</p><p><strong>Saisonale Unterschiede:</strong> Im Winter (Temperaturen um 0°C) liegt mein Verbrauch bei ca. 20-22 kWh/100km, im Sommer bei 15-17 kWh/100km. Das sind rund 30% Mehrverbrauch durch Heizung und kalte Batterie. Diese Daten helfen bei der Routenplanung.</p><p><strong>Kostenoptimierung:</strong> Heimladen (0,30 €/kWh) vs. Supercharger (0,52 €/kWh) – der Unterschied summiert sich. Bei 15.000 km jährlich spare ich durch Heimladen etwa 400 € pro Jahr. Noch besser:<a href="/tesla-ueberschussladen-mit-home-assistant/">PV-Überschussladen</a>
reduziert die Kosten auf ca. 0,08 €/kWh.</p><p><strong>Effizienz:</strong> Überraschend war, dass mein optimaler Geschwindigkeitsbereich bei 90-110 km/h liegt, nicht wie erwartet bei 70 km/h. Unter 70 km/h steigt der relative Verbrauch durch Hilfsaggregate wieder leicht an.</p><h2 id="troubleshooting">Troubleshooting<a href="#troubleshooting" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p><strong>Teslamate zeigt &ldquo;offline&rdquo; statt &ldquo;asleep&rdquo;:</strong>
Das ist seit Tesla-Firmware 2024.8+ normal. Tesla hat die API-Rückmeldung geändert – kein Teslamate-Bug.</p><p><strong>Token wird nicht akzeptiert:</strong>
Verwende den Refresh Token (der längere der beiden Strings), nicht den Access Token.</p><p><strong>Keine Daten:</strong>
Prüfe die Docker-Logs mit<code>docker compose logs teslamate</code>. Häufige Ursachen: Fahrzeug im Tiefschlaf, falsche Zeitzone, Netzwerkprobleme.</p><p><strong>Hohe API-Kosten:</strong>
Reduziere die Polling-Frequenz, nutze Fleet Telemetry oder prüfe auf unnötige Wake-Befehle.</p><h2 id="sicherheit-und-backup">Sicherheit und Backup<a href="#sicherheit-und-backup" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p><strong>Netzwerk:</strong></p><ul><li>Nicht direkt ins Internet exponieren</li><li>Reverse Proxy mit HTTPS nutzen (Nginx, Caddy, Traefik)</li><li>Firewall-Regeln aktivieren</li></ul><p><strong>Backup:</strong></p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">bash</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="bash"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker compose exec database pg_dump -U teslamate teslamate &gt; backup.sql</span></span></code></pre></div></div><p><strong>Updates:</strong></p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">bash</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="bash"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker compose pull</span></span><span style="display:flex;"><span>docker compose up -d</span></span></code></pre></div></div><h2 id="häufige-fragen">Häufige Fragen<a href="#h%c3%a4ufige-fragen" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p><strong>Kostet Teslamate Geld?</strong>
Die Software ist kostenlos. Tesla API-Kosten fallen an, werden aber meist vom $10-Freikontingent abgedeckt. Nur bei intensiver Nutzung entstehen ca. $2-5/Monat zusätzlich.</p><p><strong>Funktioniert es mit der neuen Fleet API?</strong>
Ja, vollständig kompatibel und aktuell gehalten.</p><p><strong>Entlädt es die Batterie?</strong>
Nein, der Zusatzverbrauch ist vernachlässigbar.</p><p><strong>Mehrere Fahrzeuge möglich?</strong>
Ja, jedes wird separat erfasst.</p><h2 id="fazit">Fazit<a href="#fazit" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Teslamate ist für mich die beste Lösung für umfassende Fahrzeugdatenanalyse. Die Vorteile:</p><ul><li>Volle Datenkontrolle durch Self-Hosting</li><li>Detaillierte Analysen mit Grafana</li><li>Geringe Kosten dank Freikontingent</li><li>Aktive Community</li><li>Perfekt für Home-Assistant-Integration</li></ul><p>Die Nachteile: Technisches Know-how erforderlich, eigener Server nötig, kein offizieller Support.</p><p>Für Tesla-Besitzer mit Smart-Home- oder Homelab-Affinität ist Teslamate eine hervorragende Software. Nach einigen Monaten Nutzung werden die Auswertungen besonders interessant, da sich Tendenzen und Langzeitentwicklungen zeigen. Selbst während der Fahrt liefern die Grafana-Dashboards diverse interessante Daten.</p><h2 id="tipps-für-fortgeschrittene">Tipps für Fortgeschrittene<a href="#tipps-f%c3%bcr-fortgeschrittene" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p><strong>Reverse Proxy Setup:</strong>
Für sicheren Zugriff von unterwegs empfehle ich einen Reverse Proxy mit Let&rsquo;s Encrypt SSL-Zertifikat. Traefik oder Caddy automatisieren den Prozess komplett.</p><p><strong>Datenbank-Optimierung:</strong>
Bei sehr alten Installationen kann ein manuelles Vacuum der Datenbank helfen:</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">bash</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="bash"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker compose exec database vacuumdb -U teslamate -d teslamate -z -v</span></span></code></pre></div></div><p><strong>Custom Dashboards:</strong>
Grafana bietet unendliche Möglichkeiten. Du kannst beispielsweise Vergleiche mit anderen Tesla-Fahrern erstellen oder Korrelationen zwischen Wetter und Verbrauch visualisieren.</p><p><strong>Weiterführende Links:</strong></p><ul><li><a href="https://docs.teslamate.org" target="_blank" rel="noopener noreferrer">Teslamate Dokumentation<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a></li><li><a href="https://github.com/teslamate-org/teslamate" target="_blank" rel="noopener noreferrer">GitHub Repository<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a></li><li><a href="https://github.com/teslamate-org/teslamate/discussions" target="_blank" rel="noopener noreferrer">Community Forum<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a></li></ul>
]]></content:encoded><category>selfhosted</category><category>tesla</category><category>docker</category><category>grafana</category><category>homelab</category></item><item><title>Tesla Überschussladen mit Home-Assistant</title><link>https://www.teqqy.de/tesla-ueberschussladen-mit-home-assistant/</link><pubDate>Tue, 08 Mar 2022 18:30:00 +0100</pubDate><lastBuildDate>Tue, 08 Mar 2022 18:30:00 +0100</lastBuildDate><guid isPermaLink="true">https://www.teqqy.de/tesla-ueberschussladen-mit-home-assistant/</guid><description>Wir haben seit ein paar Wochen eine Photovoltaikanlage und natürlich möchten wir mit unserem Tesla Überschussladen realisieren. Die verkaufte kWh bringt nicht wirklich viel ein, sodass ich den Strom lieber ins Auto packe. Da Tesla eine gute API anbietet und mit Home-Assistant schon eine Software vorhanden ist, die viele Dinge steuern kann, wollte ich beides zusammenbringen um dieses Vorhaben zu realisieren.
Warum Home-Assistant zum Tesla Überschussladen? Natürlich fragt sich der geneigte Leser jetzt warum ich nicht einfach eine Wallbox gekauft habe die das schon von sich aus mitbringt? Wir haben damals eine Mennekes Amtron Compact gekauft welche recht günstig war. Erst im letzten Jahr ist die Auswahl an Wallboxen wirklich groß geworden und die Auswahl an intelligenten Wallboxen hat zugenommen. Zudem hatten wir zum damaligen Zeitpunkt noch eine andere Dachkonstruktion die eine PV-Anlage nicht möglich machten. Das „Schicksal“ nötigte uns allerdings zu einer Dachsanierung und somit wurde natürlich auch recht zeitnah (was man bei den derzeitigen Lieferschwierigkeiten nicht sagen kann) eine Solaranlage angeschafft und installiert.</description><content:encoded>&lt;![CDATA[<p>Wir haben seit ein paar Wochen eine Photovoltaikanlage und natürlich möchten wir mit unserem<a href="/warum-ein-tesla-der-grund-hinter-unserer-entscheidung/">Tesla</a>
Überschussladen realisieren. Die verkaufte kWh bringt nicht wirklich viel ein, sodass ich den Strom lieber ins Auto packe. Da Tesla eine gute API anbietet und mit Home-Assistant schon eine Software vorhanden ist, die viele Dinge steuern kann, wollte ich beides zusammenbringen um dieses Vorhaben zu realisieren.</p><h2 id="warum-home-assistant-zum-tesla-überschussladen">Warum Home-Assistant zum Tesla Überschussladen?<a href="#warum-home-assistant-zum-tesla-%c3%bcberschussladen" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Natürlich fragt sich der geneigte Leser jetzt warum ich nicht einfach eine Wallbox gekauft habe die das schon von sich aus mitbringt? Wir haben damals eine Mennekes Amtron Compact gekauft welche recht günstig war. Erst im letzten Jahr ist die Auswahl an Wallboxen wirklich groß geworden und die Auswahl an intelligenten Wallboxen hat zugenommen. Zudem hatten wir zum damaligen Zeitpunkt noch eine andere Dachkonstruktion die eine PV-Anlage nicht möglich machten. Das „Schicksal“ nötigte uns allerdings zu einer Dachsanierung und somit wurde natürlich auch recht zeitnah (was man bei den derzeitigen Lieferschwierigkeiten nicht sagen kann) eine Solaranlage angeschafft und installiert.</p><h2 id="voraussetzungen">Voraussetzungen<a href="#voraussetzungen" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><p>Um ein Überschussladen überhaupt zu ermöglichen sollten natürlich die Komponenten der PV-Anlage wie Wechselrichter (und Batterie) in Home-Assistant eingebunden werden. Bei unserem Kostal Plenticore mache ich das via Integration. Hierzu muss nur der Modbus im Plenticore aktiviert werden und schon kann Home-Assistant darauf zugreifen. Grundsätzlich wird aber nur die Gesamtleistung sowie ggf. der Batterieladestatus benötigt. Sollte man keine Batterie haben, müssen die Automatisierungen dann nur entsprechend angepasst werden.</p><p>Zudem muss die<a href="https://github.com/alandtse/tesla" target="_blank" rel="noopener noreferrer">Tesla Integration<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a>
installiert werden. Home-Assistant bringt diese nicht mehr von Haus aus mit. Via<a href="https://hacs.xyz" target="_blank" rel="noopener noreferrer">HACS<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a>
lässt diese sich aber problemlos installieren. Bitte bedenkt das ein Zugriff auf die Tesla API nur noch mittels Tokens und nicht mehr mit Benutzername und Passwort möglich ist. Das ist eine Restriktion seitens Tesla.</p><h2 id="setup-in-home-assistant">Setup in Home-Assistant<a href="#setup-in-home-assistant" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h2><h3 id="sensor">Sensor<a href="#sensor" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h3><p>Die Tesla API erlaubt es die Stromstärke der Ladung feiner zu justieren als das in der App möglich ist. In dieser ist bei 5 A Schluss. Via API kann man das allerdings kleiner definieren. Allerdings dann in Umrechnung auf km/h-Ladeleistung. Entsprechend brauchen wir ein Sensor der die Wattzahl in Tesla-Ladestärke umrechnet</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">yaml</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="yaml"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#7ee787">sensor</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">platform</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">template</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">sensors</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">tesla_max_charge</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">unit_of_measurement</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">A</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">value_template</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>{{<span style="color:#6e7681"/><span style="color:#a5d6ff">(states('sensor.pv_prod_ges') | float(0) - states('sensor.pv_wr_pc_pv_to_battery_power') | float(0) - 500) * 0.0014 }}</span></span></span></code></pre></div></div><p>Aus diversen Gründen arbeite ich noch mit einem Zwischensensor der<em>sensor.pv_prod_ges</em> errechnet. Dieser symbolisiert nur die aktuell produzierte Leistung in Watt. Davon ziehe ich die derzeitige Ladeleistung zur Batterie ab, subtrahiere noch 500 W Puffer fürs Haus (hier kann man natürlich auch den realen Wert als Sensor verwenden) und Multipliziere das mit 0,0014 um die km/h-Ladestärke zu bekommen.</p><h4 id="automatisierung">Automatisierung<a href="#automatisierung" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h4><p>Ich verwende mehrere Automatisierungen. Die erste startet den Ladevorgang wenn die Batterie mehr als 90 % SoC über 20 Sekunden hat. Natürlich kann man auch sagen, sobald ins Netz eingespeist wird oder ähnliches. Da ist man natürlich nicht festgelegt. Die Automatisierung startet nur wenn das Auto zuhause und angesteckt ist, aber keine Ladung initiiert wurde (z. B. am Auto oder in der App).</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">yaml</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="yaml"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#7ee787">automation</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'Tesla001'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">alias</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">Tesla - Start charging above 2 kW power to grid</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">trigger</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">platform</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">numeric_state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">sensor.pv_wr_pc_battery_soc</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">above</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'90'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">for</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">00</span>:<span style="color:#a5d6ff">00</span>:<span style="color:#a5d6ff">20</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">and</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">conditions</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">device_tracker.tesla_location_tracker</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">home</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">binary_sensor.tesla_charger_sensor</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'on'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.tesla_charger_switch</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'off'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">action</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">service</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.turn_on</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">target</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.tesla_charger_switch</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">mode</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">single</span></span></span></code></pre></div></div><p>Nun fängt das Auto an zu laden. Allerdings mit maximaler bzw. Vorangestellter Geschwindigkeit. Im Regelfall 16 A bzw. dann 11 kW. Für meine 9,6 kWp Anlage natürlich zu viel. also müssen wir den maximalen Ladestrom drosseln. Das allerdings muss häufig angepasst werden. Dafür gibt es die zweite Automatisierung</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">yaml</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="yaml"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">alias</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">Adjust charging speed</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">trigger</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">platform</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">time_pattern</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">minutes</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'/1'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">seconds</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">00</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">and</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">conditions</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.tesla_charger_switch</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'on'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">device_tracker.tesla_location_tracker</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">home</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.tesla_maxrange_switch</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'off'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">action</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">service</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">script.adjust_tesla_charging</span></span></span></code></pre></div></div><p>Diese schaut jede Minute (du kannst das natürlich auch feiner justieren) ob das Auto daheim ist, das Auto lädt und nicht der Max Range Switch aktiviert wurde. Sollten die Bedingungen passen, wird ein Script ausgeführt.</p><p>Als nächste Automatisierung brauchen wir noch etwas das die Ladung stoppt. Sonst würde ja weiter geladen werden obwohl die Sonne schon längst weg ist, oder die Batterie unter einen gewünschten State of Charge fällt. Je nach Wunsch…</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">yaml</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="yaml"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'Tesla002'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">alias</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">Tesla - Stop charging if solar generation is below 1 kW</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">description</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">''</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">trigger</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">platform</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">numeric_state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">sensor.pv_prod_ges</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">below</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'1000'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">for</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">00</span>:<span style="color:#a5d6ff">01</span>:<span style="color:#a5d6ff">00</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">and</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">conditions</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">device_tracker.tesla_location_tracker</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">home</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">numeric_state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">sensor.tesla_charging_rate_sensor</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">above</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'2'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">not</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">conditions</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.tesla_maxrange_switch</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'on'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">action</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">service</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.turn_off</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">target</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.tesla_charger_switch</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">mode</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">single</span></span></span></code></pre></div></div><p>In meiner dritten Automatisierung schauen wir ob die produzierte Strommenge unter 1 kW fällt. Den Wert habe ich mir einfach so ausgesucht. Zumal es dann noch reicht um meine Batterie noch weiter zu füllen bzw. das der Hausverbrauch nicht an die Batterie muss. Natürlich wird diese Automatisierung auch nur dann getriggert wenn wir zuhause laden.</p><p>Die letzte Automatisierung zielt auf den SoC der Batterie der PV-Anlage ab</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">yaml</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="yaml"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'Tesla003'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">alias</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">Tesla - Stop charging if solar battery is under 90 %</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">description</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">''</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">trigger</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">platform</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">numeric_state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">sensor.pv_wr_pc_battery_soc</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">below</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'90'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">and</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">conditions</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">device_tracker.tesla_location_tracker</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">home</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">not</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">conditions</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">condition</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">state</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.tesla_maxrange_switch</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">state</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'on'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">action</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">service</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.turn_off</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">target</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">entity_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">switch.tesla_charger_switch</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">mode</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">single</span></span></span></code></pre></div></div><p>Wir stoppen also die Ladung wenn der State of Charge der PV-Battarie unter 90 % fällt.</p><h4 id="script">Script<a href="#script" class="heading-anchor" aria-label="Diesen Abschnitt verlinken"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></a></h4><p>Du hast dich sicherlich schon gefragt was für ein Script in der zweiten Automatisierung benutzt wird. Dazu kommen wir jetzt. Dieses Script habe ich durch das Home-Assistant Forum gefunden und ist eigentlich die ganze Intelligenz. Dieses regelt die eigentliche Ladeleistung des Teslas.</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">yaml</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="yaml"><svg class="icon-copy" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><svg class="icon-check" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg></button></div><div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#7ee787">script</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">'adjust_tesla_charging'</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">alias</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">Charge tesla</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">sequence</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/>-<span style="color:#7ee787">service</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">tesla_custom.api</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">data</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">command</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">CHARGING_AMPS</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">parameters</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">path_vars</span>:<span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">vehicle_id</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'{{ state_attr("binary_sensor.tesla_online_sensor", "id") }}'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">charging_amps</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">'{{ (states("sensor.tesla_max_charge"))| int }}'</span><span style="color:#6e7681"/></span></span><span style="display:flex;"><span><span style="color:#6e7681"/><span style="color:#7ee787">mode</span>:<span style="color:#6e7681"/><span style="color:#a5d6ff">single</span></span></span></code></pre></div></div><p>Das alles im Zusammenspiel lässt das Auto sauber mit dem überschüssigen Strom laden sobald die Batterie voll ist. Ohne Batterie kann man das natürlich viel früher starten lassen. Ich habe dieses Script und die Automatisierungen jetzt seit knapp vier Wochen aktiv und es funktioniert wirklich gut. Auch wenn die Sonne noch nicht die Kraft hat viel Leistung zu erbringen reicht es jetzt im Winter schon um 30 – 40 % der Autobattarie mit dem Tesla Überschussladen zu betanken. Mit größerer Anlage oder später im Jahr wird sicherlich mehr möglich sein.</p><p><img src="/tesla-ueberschussladen-mit-home-assistant/images/tesla-ueberschussladen-homeassistant-verbrauch_hu_1f496df5f9cb8b68.webp" srcset="/tesla-ueberschussladen-mit-home-assistant/images/tesla-ueberschussladen-homeassistant-verbrauch_hu_c665575b8d0b4e5c.webp 384w, /tesla-ueberschussladen-mit-home-assistant/images/tesla-ueberschussladen-homeassistant-verbrauch_hu_1f496df5f9cb8b68.webp 768w" sizes="(max-width: 768px) 100vw, 768px" alt="Tesla Überschussladen in Home-Assistant" loading="eager" fetchpriority="high" decoding="async" width="768" height="255"/>
]]></content:encoded><category>tesla</category><category>home-assistant</category><category>smart-home</category></item><item><title>Warum ein Tesla? Der Grund hinter unserer Entscheidung</title><link>https://www.teqqy.de/warum-ein-tesla-der-grund-hinter-unserer-entscheidung/</link><pubDate>Tue, 05 Jan 2021 13:27:00 +0100</pubDate><lastBuildDate>Tue, 05 Jan 2021 13:27:00 +0100</lastBuildDate><guid isPermaLink="true">https://www.teqqy.de/warum-ein-tesla-der-grund-hinter-unserer-entscheidung/</guid><description>Als wir vor mehr als drei Jahren ein Auto brauchten, wollten wir eigentlich schon auf ein Plug-In Hybrid Fahrzeug wechseln. Damals stand der Audi A3 e-tron hoch im Kurs. Auf Grund sehr langer Lieferzeiten, mussten wir uns anderes entscheiden. Warum Tesla werden wir sicherlich auch noch häufiger in diesem Blog erläutern.
Ich bin weiterhin ein großer Audi-Fan. Ich mag die Designsprache, die Anmutung des Interieuer und das Fahrverhalten der Autos sehr. Entsprechend war die Begeisterung groß, als Audi ein rein elektrisch betriebenes KfZ vorstellte: Der Audi e-Tron (externer Link) .</description><content:encoded>&lt;![CDATA[<p>Als wir vor mehr als drei Jahren ein Auto brauchten, wollten wir eigentlich schon auf ein Plug-In Hybrid Fahrzeug wechseln. Damals stand der Audi A3 e-tron hoch im Kurs. Auf Grund sehr langer Lieferzeiten, mussten wir uns anderes entscheiden. Warum Tesla werden wir sicherlich auch noch häufiger in diesem Blog erläutern.</p><p>Ich bin weiterhin ein großer Audi-Fan. Ich mag die Designsprache, die Anmutung des Interieuer und das Fahrverhalten der Autos sehr. Entsprechend war die Begeisterung groß, als Audi ein rein elektrisch betriebenes KfZ vorstellte: Der<a href="https://www.audi.de/de/brand/de/neuwagen/tron/audi-e-tron.html" target="_blank" rel="noopener noreferrer">Audi e-Tron<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a>
.</p><p>Kurze Zeit später sickerten die ersten Preisinformationen durch und das Auto sollte bei knapp 80.000 Euro starten. Schon ein ziemlich großer Haufen Geld.</p><p><img src="/warum-ein-tesla-der-grund-hinter-unserer-entscheidung/images/tesla_hu_b3851bf61870e58a.webp" srcset="/warum-ein-tesla-der-grund-hinter-unserer-entscheidung/images/tesla_hu_f930b2e0e53bf200.webp 384w, /warum-ein-tesla-der-grund-hinter-unserer-entscheidung/images/tesla_hu_b3851bf61870e58a.webp 768w" sizes="(max-width: 768px) 100vw, 768px" alt="Bild eines Tesla Model 3 von hinten" loading="eager" fetchpriority="high" decoding="async" width="768" height="768">
Zu diesem Zeitpunkt hatte Tesla auch noch massive Probleme mit der Produktion des<a href="https://www.tesla.com/de_de/model3/design#battery" target="_blank" rel="noopener noreferrer">Telsa Model 3<svg class="link-external-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg><span class="visually-hidden"> (externer Link)</span></a>
. Ein Start in Deutschland war noch nicht avisiert und die Gedanken sich ein Computer auf Rädern zu kaufen war noch nicht wirklich geboren.</p><p>Vor jetzt ziemlich genau einem Jahr befassten wir uns also erneut mit der Fahrzeugwahl. Wir wussten, dass wir unser Auto nach Finanzierungsende lieber wieder zurück geben, als weiter zu verwenden.</p><p>Auf diversen Messen schaute ich mir verschiedene Konzepte von Elektroautos an. Bei vielen störten mich aber eine größere Menge an Kleinigkeiten. Warum baut man ein Elektroauto z. B. ohne vollständige LED Beleuchtung? Sei es Scheinwerfer, Rückleuchten oder Innenraumbeleuchtung.</p><p>„Warum Tesla“ ist immer noch die Frage. Schlussendlich war es nach viel Recherche, Testfahrten, garantierte Verfügbarkeit im Mai 2020 eine gewisse Auschlussentscheidung. Recht früh haben wir bereits eine Probefahrt im einem Tesla Model 3 Performance gemacht um uns primär von der Verarbeitungsqualität zu „überzeugen“.</p><p>Was soll ich sagen: Diese ist weiterhin kein Plus-Punkt für den Kauf dieses Autos. Gerade wenn man von einem deutschen Premiumhersteller kommt, sind die Unterschiede schon teils gewaltig.</p><p>Aber: Warum Tesla, wenn es im Preis-/Leistungsverhältnis eigentlich nicht wirklich passt?</p><p>Wie gesagt: Mangels Alternativen. Wir wollten keinen Verbrenner mehr. Plug-Ins sind nett, aber nicht mehr state of the art. Viele Hersteller konnten ihre angekündigten Fahrzeuge nicht garantiert bis Mai liefern. Es lieben nur sehr wenige Modelle übrig. Zieht man von diesen noch die preislich nicht realisierbaren Modelle (i-Pace, e-tron), die Fahrzeuge bei denen ich die Fahrdynamik nicht gut fand (Mercedes EQC) und ein paar andere Punkte ab: Es blieb quasi nur Tesla übrig.</p><p>Wir werden das Auto jetzt für fünf Jahre fahren und wohl anschließend weiter verkaufen. Dann werden die Karten völlig neu gemischt. Stand jetzt wäre es sehr unseriös zu sagen welches Fahrzeug man sich anschaffen wird. Ein Audi wäre allerdings sehr wünschenswert. 🙂</p>
]]></content:encoded><category>tesla</category></item></channel></rss>