<?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>Smart-Home – teqqy</title><link>https://www.teqqy.de/tags/smart-home/</link><description>Ein Blog über Technik und mehr</description><language>de</language><managingEditor>teqqy</managingEditor><lastBuildDate>Thu, 16 Jul 2026 10:53:16 +0000</lastBuildDate><generator>Hugo 0.164.0</generator><atom:link href="https://www.teqqy.de/tags/smart-home/index.xml" rel="self" type="application/rss+xml"/><item><title>Aqara E1 - Smartes Heizkörperthermostat mit ZigBee</title><link>https://www.teqqy.de/aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/</link><pubDate>Thu, 24 Nov 2022 11:41:50 +0100</pubDate><lastBuildDate>Thu, 24 Nov 2022 11:41:50 +0100</lastBuildDate><guid isPermaLink="true">https://www.teqqy.de/aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/</guid><description>Vor einiger Zeit sind die neuen Heizkörperthermostate von Aqara auf den Markt gekommen: Die Aqara E1 (externer Link) . Diese verwenden das ZigBee Protokoll und können so mit vielen verschiedenen Smart-Home Gateways verbunden werden, nicht nur mit dem Aqara eigenen.</description><content:encoded>&lt;![CDATA[<p>Vor einiger Zeit sind die neuen Heizkörperthermostate von Aqara auf den Markt gekommen: Die<a href="https://amzn.to/3AGZSgS" target="_blank" rel="noopener noreferrer">Aqara E1<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>
. Diese verwenden das ZigBee Protokoll und können so mit vielen verschiedenen Smart-Home Gateways verbunden werden, nicht nur mit dem Aqara eigenen.</p><p><img src="/aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/images/aqara-e1-verpackung_hu_8ebad66f95e82c8f.webp" srcset="/aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/images/aqara-e1-verpackung_hu_8ebad66f95e82c8f.webp 384w" sizes="(max-width: 768px) 100vw, 768px" alt="Aqara E1 Verpackung" loading="eager" fetchpriority="high" decoding="async" width="384" height="512">
Ich bin schon seit Jahren auf der Suche nach einigermaßen bezahlbaren und guten Thermostaten. Meine Lieblinge bisher waren die Eurotronics Z-Wave, leider gibt es diese nur noch in der neuen Version welche häufiger zu Problemen führen. Meine alten hingegen funktionieren nach jetzt 5 Jahren immer noch sehr gut. Batteriewechsel ist hier so alle 1,5 – 2 Jahre notwendig.</p><p>Als die<a href="https://amzn.to/3AGZSgS" target="_blank" rel="noopener noreferrer">Aqara E1<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>
jetzt bei Amazon im Angebot waren, musste ich mir mal zwei Stück bestellen um diese auszuprobieren. Optisch kommen sie ziemlich wuchtig daher, aber ohne für mich klobig zu wirken. Das Display vorne ist natürlich nicht unbedingt für jede Montage gut geeignet. Dafür ist die Anzeige schön hell und kann so auch in einem nicht optimalen Winkel gut eingesehen werden.</p><h2 id="lieferumfang-der-aqara-e1">Lieferumfang der Aqara E1<a href="#lieferumfang-der-aqara-e1" 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>Im Lieferumfang befinden sich</p><ul><li>Das Heizkörperthermostat</li><li>drei Adapterringe</li><li>Anleitung</li></ul><p>Die Anleitung ist natürlich in den gängigen Sprachen incl. Deutsch vorhanden.</p><p><img src="/aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/images/aqara-e1-lieferumfang_hu_3c337b95860b82b8.webp" srcset="/aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/images/aqara-e1-lieferumfang_hu_6f10c11be5c8ddda.webp 384w, /aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/images/aqara-e1-lieferumfang_hu_3c337b95860b82b8.webp 768w" sizes="(max-width: 768px) 100vw, 768px" alt="Lieferumfang Aqara E1" loading="lazy" fetchpriority="auto" decoding="async" width="768" height="576"/><h2 id="verbindung-mit-einem-gateway">Verbindung mit einem Gateway<a href="#verbindung-mit-einem-gateway" 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 meinem Smart-Home werden die<a href="https://amzn.to/3AGZSgS" target="_blank" rel="noopener noreferrer">Aqara E1<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<a href="https://www.zigbee2mqtt.io" target="_blank" rel="noopener noreferrer">zigbee2mqtt<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>
verbunden. Ich verwende dieses Gateway schon lange und ist nicht direkt mit meiner<a href="/tesla-ueberschussladen-mit-home-assistant/">Home Assistant</a>
Instanz auf dem gleichen System. Beim Einbinden der neuen Thermostate habe ich festgestellt, dass man mindestens die Version 1.28 verwenden muss, weil vorher das Gerät nicht erkannt wurde. Stand Ende November 2022 sind wir bei Version 1.28.2, also sollte es für dich kein Problem sein, das Gerät zu betreiben.</p><p>Es werden Stand jetzt aber noch nicht alle Funktionen unterstützt die mit dem<a href="https://amzn.to/3tV0hsn" target="_blank" rel="noopener noreferrer">Aqara Hub E2<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>
möglich wären. Hier können nämlich externe<a href="https://amzn.to/3ECPx75" target="_blank" rel="noopener noreferrer">Temperatursensoren wie die von Aqara<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>
direkt verbunden werden. So wird eine realistischere Temperatur des Raumes an das Thermostat übermittelt. Ebenso die Türerkennung über die Tür- und Fenstersensoren sind noch nicht aktiv. Beides aber eine Frage der Zeit, weil es hierfür schon bereits eine aktive Entwicklung bei<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>
gibt.</p><p><img src="/aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/images/aqara-e1-zigbee2mqtt_hu_f84f374163c8f22e.webp" srcset="/aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/images/aqara-e1-zigbee2mqtt_hu_eed5f30a0d6fdb90.webp 384w, /aqara-e1-smartes-heizkoerperthermostat-mit-zigbee/images/aqara-e1-zigbee2mqtt_hu_f84f374163c8f22e.webp 768w" sizes="(max-width: 768px) 100vw, 768px" alt="Aqara E1 Screenshot aus zigbee2mqtt" loading="lazy" fetchpriority="auto" decoding="async" width="768" height="365">
Im Betrieb sind die Geräte ziemlich schnell. Wird die Temperatur via Software oder am Gerät geändert, stellt der Motor die Heizung direkt ein. Allerdings ist dieser bei meinen zwei Geräten nicht wirklich leise. Zwar hört man diese in 1 – 2 m Entfernung nicht mehr, aber empfindliche Menschen könnten diese doch wahrnehmen.</p><p>Zum Batterieverbrauch kann man natürlich nach zwei Wochen noch nichts sagen. Andere ZigBee Thermostate alten bei mir aber immer mindestens ein Jahr. Da ich alle mit Akkus betreibe werden diese im Sommer, wenn die Heizung eh aus ist, gerade geladen und wieder neu eingelegt.</p><p>In der kurzen Zeit machen die Geräte aber einen sehr guten Eindruck und bisher kann ich sie gut weiterempfehlen. Der Markt an smarten Heizkörperthermostaten wird in den nächsten Jahren sicherlich umkämpfter werden, da ist es gut qualitativ gute Alternativen zu haben.</p>
]]></content:encoded><category>smart-home</category><category>zigbee</category><category>home-assistant</category><category>iot</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>Mein Homelab Dashboard 2022</title><link>https://www.teqqy.de/mein-homelab-dashboard-2022/</link><pubDate>Sat, 08 Jan 2022 18:04:52 +0100</pubDate><lastBuildDate>Sat, 08 Jan 2022 18:04:52 +0100</lastBuildDate><guid isPermaLink="true">https://www.teqqy.de/mein-homelab-dashboard-2022/</guid><description>Inspiriert durch r/selfhosted (externer Link) dachte ich mir, dass ich auch mal mein Homelab Dashboard vorstellen möchte. Der Sinn und Zweck eines solchen Homelab „Dashboards“ ist es möglichst viele Dinge als quasi Lesezeichen parat zu haben. Verschiedene andere Softwareprodukte können z. B. auch noch Livezahlen darstellen.</description><content:encoded>&lt;![CDATA[<p>Inspiriert durch<a href="https://www.reddit.com/r/selfhosted/" target="_blank" rel="noopener noreferrer">r/selfhosted<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>
dachte ich mir, dass ich auch mal mein Homelab Dashboard vorstellen möchte. Der Sinn und Zweck eines solchen Homelab „Dashboards“ ist es möglichst viele Dinge als quasi Lesezeichen parat zu haben. Verschiedene andere Softwareprodukte können z. B. auch noch Livezahlen darstellen.</p><p>Ich nutze bei mir Hajimari. Das ist eine Software welche für den Einsatzzweck in Kubernetes-Umgebungen gedacht ist.<a href="https://github.com/toboshii/hajimari" target="_blank" rel="noopener noreferrer">Hajimari<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>
hat den Vorteil, dass es Ingress Defintionen auslesen kann und man somit weniger Einstellungen manuell machen muss.</p><p>Auf meinem<a href="https://www.youtube.com/channel/UCnBQ7GosWO57aTpm2wR7Q7Q" target="_blank" rel="noopener noreferrer">YouTube Kanal<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>
habe ich vor längerer Zeit schon mal<a href="https://www.youtube.com/watch?v=Dmw7nAEizWk" target="_blank" rel="noopener noreferrer">Heimdall<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>
und<a href="https://www.youtube.com/watch?v=3A4m69i6TZE" target="_blank" rel="noopener noreferrer">Organizer<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>
vorgestellt. Du kannst dir diese zwei Videos ja gern einmal ansehen.</p><p><img src="/mein-homelab-dashboard-2022/images/homelab-dashboard-hajimari_hu_900f1bd68b515a82.webp" srcset="/mein-homelab-dashboard-2022/images/homelab-dashboard-hajimari_hu_7747dc8a1922a42c.webp 384w, /mein-homelab-dashboard-2022/images/homelab-dashboard-hajimari_hu_900f1bd68b515a82.webp 768w, /mein-homelab-dashboard-2022/images/homelab-dashboard-hajimari_hu_53747a4307c1c513.webp 1536w" sizes="(max-width: 768px) 100vw, 768px" alt="Screenshot meines Homelab Dashboard" loading="eager" fetchpriority="high" decoding="async" width="768" height="433"/><h2 id="aufteilung">Aufteilung<a href="#aufteilung" 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>Grundsätzlich ist das Dashboard in zwei Bereich aufgeteilt. Der obere welcher meine ganzen Homelab Dienste und Systeme darstellt und der untere Teil der verschiedene Lesezeichen immer parat hält.</p><p>Während die oberen quasi automatisch dargestellt werden, müssen die Bookmarks unten komplett manuell in die Konfiguration übertragen werden.</p><p>Meine ganze Kubernetes Konfiguration findest du übrigens auf<a href="https://githbub.com/cbirkenbeul/k3s-homelab" 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>
.</p><h2 id="was-sind-das-für-dienste">Was sind das für Dienste?<a href="#was-sind-das-f%c3%bcr-dienste" 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>Ich gehe einmal von links oben nach rechts unten die Liste durch. Ich verlinke jedes Produkt sodass du dich selbst genauer über die einzelnen Softwareprodukte informieren kannst.</p><h3 id="paperless">Paperless<a href="#paperless" 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>Paperless ist mein Dokumenten Management System. Hier werden alle aufzuhebenen Dokumente eingescannt oder per Email weiter geleitet und verarbeitet. Anfangs recht viel Aufwand bis man viele Korrespondenten hinterlegt hat, aber jetzt habe ich mich an den Workflow gewöhnt.</p><p>Link:<a href="https://github.com/jonaswinkler/paperless-ng" target="_blank" rel="noopener noreferrer">https://github.com/jonaswinkler/paperless-ng<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><h3 id="teslamate">Teslamate<a href="#teslamate" 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>Teslamate ist eine Software um mittels Tesla API die Werte des Fahrzeuges auszulesen und in eine Datenbank zu speichern. Hiermit lassen sich hervorragend Langzeitstatistiken erstellen.</p><p>Eine Alternative wäre<a href="https://app.tronity.io/signup/00lmQnOh4" target="_blank" rel="noopener noreferrer">Tronity<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>
, welche auch für viel anderen Hersteller von Elektroautos verfügbar ist.</p><p>Link:<a href="https://github.com/adriankumpf/teslamate" target="_blank" rel="noopener noreferrer">https://github.com/adriankumpf/teslamate<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><img src="/mein-homelab-dashboard-2022/images/homelab-dashboard-teslamate_hu_858728bd21b3159f.webp" srcset="/mein-homelab-dashboard-2022/images/homelab-dashboard-teslamate_hu_98daf3672dfeb186.webp 384w, /mein-homelab-dashboard-2022/images/homelab-dashboard-teslamate_hu_858728bd21b3159f.webp 768w" sizes="(max-width: 768px) 100vw, 768px" alt="" loading="lazy" fetchpriority="auto" decoding="async" width="768" height="363"/><h3 id="home-assistant--home-assistant-codeserver">Home Assistant &amp; Home Assistant Codeserver<a href="#home-assistant--home-assistant-codeserver" 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><a href="/2021-11-meine-top-10-homelab-services/">Home Assistant</a>
sollte den meisten wohl bekannt sein: Eine Software zur Steuerung von Smart-Home Geräten. Home Assistant konzentriert sich darauf komplett offline funktionieren zu können und den Datenschutz als eine der wichtigsten Komponenten zu nehmen. Theoretisch könnte man auch Home Assistant als Homelab Dashboard nehmen, da sich hier auch viele Services integrieren lassen.<br>
Der Code Server ist dazu Visual Studio Code im Browser um meine Konfiguration editieren zu können.</p><p>Link Home Assistant:<a href="https://www.home-assistant.io" target="_blank" rel="noopener noreferrer">https://www.home-assistant.io<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><br>
Link Code Server:<a href="https://github.com/coder/code-server" target="_blank" rel="noopener noreferrer">https://github.com/coder/code-server<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><h3 id="node-red">Node-Red<a href="#node-red" 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>Mittels Node-Red lassen sich Abläufe für Automatisierungen erstellen. Eine gute Ergänzung zu Home Assistant. Ich nutze es aber nur dafür um von einem Wechselrichter unser PV-Anlage die Daten via XML auszulesen und per MQTT weiter zu leiten.</p><p>Link:<a href="https://nodered.org" target="_blank" rel="noopener noreferrer">https://nodered.org<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><h3 id="zwavejs2mqtt">ZwaveJS2MQTT<a href="#zwavejs2mqtt" 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>Noch besitze ich einige ZWave Geräte. Diese werden mittels einem Aeotec Z-Wave Stick als Bridge ausgelesen und via dieser Software per MQTT übertragen. Home-Assistant kümmert sich dann um den Rest.</p><p>Link:<a href="https://github.com/zwave-js/zwavejs2mqtt" target="_blank" rel="noopener noreferrer">https://github.com/zwave-js/zwavejs2mqtt<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><aside class="callout callout-info" role="note" aria-label="Hinweis"><svg class="callout-icon" aria-hidden="true" focusable="false" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg><div class="callout-content"><p class="callout-title">Hinweis</p><div class="callout-body">MQTT steht für Message Queuing Telemetry Transport. Es handelt sich dabei um ein Protokoll für das Internet der Dinge (Internet of Things, IoT), das speziell für Geräte entwickelt wurde, die nur eine begrenzte Bandbreite und Energie haben. MQTT ist ein auf Publish/Subscribe basierendes Protokoll, was bedeutet, dass Geräte Nachrichten zu bestimmten “Themen” veröffentlichen und andere Geräte diese Themen abonnieren können, um Updates zu erhalten. Dies ermöglicht eine effiziente Kommunikation zwischen Geräten und reduziert den Netzwerkverkehr im Vergleich zu anderen Ansätzen, wie dem ständigen Abfragen von Geräten nach Updates. Das Protokoll ist leichtgewichtig und benötigt nur eine geringe Menge an Netzwerkbandbreite und Rechenleistung. Es ermöglicht eine zuverlässige Nachrichtenübertragung, selbst wenn die Netzwerkverbindung schlecht ist oder die Geräte nur intermittierend verbunden sind.</div></div></aside><h3 id="jellyfin">Jellyfin<a href="#jellyfin" 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>Jellyfin ist ein Fork von Emby. Dieser wurde, wenn ich das recht in Erinnerung habe, erstellt weil Emby einen sehr merkwürdigen Weg der Datenverwaltung und Monetarisierung hatte. Mittlerweile erfreut sich Jellyfin immer größerer Beliebtheit und ist definitiv eine Alternative zu Plex.</p><p>Link:<a href="https://jellyfin.org" target="_blank" rel="noopener noreferrer">https://jellyfin.org<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><h3 id="lidarr--radarr--sonarr--sabnzbd">Lidarr / Radarr / Sonarr / Sabnzbd<a href="#lidarr--radarr--sonarr--sabnzbd" 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>Auf diese Produkte gehe ich nicht genauer ein. Wer sie googelt wird schon finden wofür sie sind. 😉</p><h3 id="navidrome">Navidrome<a href="#navidrome" 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>Diese Software stellt mir meinen Musikserver bereit und mittels Subsonic Protokoll sind damit auch verschiedene Clients Kompatibel. Ich habe ein paar andere Musikserver ausprobiert und bin jetzt bei Navidrome hängen geblieben. Ehrlich gesagt, ohne besonderen Grund. Läuft einfach.</p><p>Link:<a href="https://www.navidrome.org" target="_blank" rel="noopener noreferrer">https://www.navidrome.org<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><h3 id="plex">Plex<a href="#plex" 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>Neben Kodi (wollte schon gerade xmbc schreiben 🙄) wohl der bekannteste Medienserver. Diesen nutze ich zum Teilen von Mediatheken. Jellyfin wird rein für mich verwendet. In einem älteren Beitrag habe ich auch beschrieben wie man einen<a href="/low-end-plex-server/">low-end Plex Server</a>
aufsetzen kann.</p><p>Link:<a href="https://www.plex.tv/de/" target="_blank" rel="noopener noreferrer">https://www.plex.tv/de/<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><h3 id="grafana">Grafana<a href="#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></h3><p>Die Mutter aller Visualisierungstools. Mit Grafana lässt sich so jede Datenquelle anzapfen und visualisieren. Entsprechend stellt sie mir diverse Informationen aus dem Prometheus Monitoring des Kubernetes Clusters bereit. Aber auch Teslamate visualisiert hiermit die gewonnenen Daten.</p><p>Link:<a href="https://grafana.com" target="_blank" rel="noopener noreferrer">https://grafana.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></p><p><img src="/mein-homelab-dashboard-2022/images/homelab-dashboard-grafana_hu_26f32ca880381789.webp" srcset="/mein-homelab-dashboard-2022/images/homelab-dashboard-grafana_hu_6195f1501721bef2.webp 384w, /mein-homelab-dashboard-2022/images/homelab-dashboard-grafana_hu_26f32ca880381789.webp 768w" sizes="(max-width: 768px) 100vw, 768px" alt="" loading="lazy" fetchpriority="auto" decoding="async" width="768" height="382"/><h3 id="authentik">Authentik<a href="#authentik" 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>Authentik ist ein Single-Sign-On-Provider. Verschiedene Produkte lassen sich hieran anbinden um nicht immer einzelne Zugangsdaten pflegen zu müssen. Authentik hat auch die Möglichkeit verschiedene Quellen an Nutzerinformationen anzubinden (z. B. GitHub, Microsoft AAD, LDAP, etc)<br>
Es ist sehr angenehm sich nur noch mit einem paar Zugangsdaten anmelden zu können. Auch Authentik bietet die Möglichkeit Links in einer Art Startseite zu sammeln. So fungiert Authentik auch fast als kleines Homelab Dashboard.</p><p>Link:<a href="https://goauthentik.io" target="_blank" rel="noopener noreferrer">https://goauthentik.io<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><h3 id="unifi">Unifi<a href="#unifi" 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 Controllersoftware meiner<a href="https://www.amazon.de/shop/teqqyde/list/3M2TIB7XEB7CS?ref_=aip_sf_list_spv_ons_mixed_d" target="_blank" rel="noopener noreferrer">Ubiquiti<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>
Unifi Geräte. Ohne diese lassen sich die ganzen Komponenten nicht konfigurieren.</p><p>Link:<a href="https://ui.com" target="_blank" rel="noopener noreferrer">https://ui.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></p><h3 id="rook-ceph">Rook-Ceph<a href="#rook-ceph" 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>Mein Kubernetes Cluster braucht natürlich auch ein Speicher. Da ich mehrere Hosts verwende muss dieser Speicher natürlich allen Systemen bekannt sein. Ich setzte hierfür<a href="https://ceph.io/en/" target="_blank" rel="noopener noreferrer">Ceph<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>
als verteiltes Dateisystem ein. Rook-Ceph ist dabei die Implementation für Kubernetes um Ceph als Cluster Storage Interface (CSI) verwenden zu können.</p><p>Link:<a href="https://rook.io" target="_blank" rel="noopener noreferrer">https://rook.io<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><aside class="callout callout-info" role="note" aria-label="Hinweis"><svg class="callout-icon" aria-hidden="true" focusable="false" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg><div class="callout-content"><p class="callout-title">Hinweis</p><div class="callout-body">Ceph ist ein Open-Source-Projekt, das ein hochskalierbares und verteiltes Speichersystem bietet. Es wurde ursprünglich von der Firma Inktank entwickelt, die später von Red Hat übernommen wurde. Ceph ist besonders gut geeignet für Umgebungen, die große Mengen an Daten verwalten müssen, wie z.B. Cloud-Infrastrukturen und Data-Center.</div></div></aside><h3 id="unraid">UnRaid<a href="#unraid" 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>Natürlich braucht ein Homelab auch ein NAS. Da dieses bei mir wirklich nur „kalte Daten“ speichern muss, habe ich mich für UnRaid entschieden. Zwar kostet die Software ein paar Dollar, allerdings lassen sich wie beim<a href="https://www.amazon.de/shop/teqqyde/list/3N2DZNYBV6VGD?ref_=aip_sf_list_spv_ons_mixed_d" target="_blank" rel="noopener noreferrer">Synology<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>
SHR verschieden große Festplatten miteinander kombinieren. Bei dem Wust an 2, 3 und 4 TB HDDs sehr angenehm. Wird nur langsam mal Zeit neue Disks zu kaufen.</p><p>Link:<a href="https://unraid.net/de" target="_blank" rel="noopener noreferrer">https://unraid.net/de<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><h3 id="opnsense">opnSense<a href="#opnsense" 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>Vor ein paar Monaten habe ich meine Unifi USG verkauft. Nicht das sie schlecht war, aber für meinen Kubernetes Cluster wollte ich auf<a href="https://de.wikipedia.org/wiki/Border_Gateway_Protocol" target="_blank" rel="noopener noreferrer">BGP<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>
setzen. Das wird so nicht offiziell unterstützt und auf einen nervigen weg über eingepflanzte json-Dateien habe ich keine Lust. OpnSense „gefällt“ mir besser als pfSense. Eine Featureentscheidung hat es hier nicht gegeben.</p><p>Link:<a href="https://opnsense.org" target="_blank" rel="noopener noreferrer">https://opnsense.org<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><h3 id="vzlogger">vzlogger<a href="#vzlogger" 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>Eine sehr große Hassliebe! vzlogger ist ein Teil des Volkszähller-Projektes. Damit lassen sich Smart-Meter auslesen. Leider haben wir in Deutschland ja immer noch ein Problem mit dem Datenschutz, sodass seit Jahren diese Dinger verbaut werden, aber ohne zusätzlich Strom zu fressen sind sie zu nix zu gebrauchen.</p><p>Link:<a href="https://volkszaehler.org" target="_blank" rel="noopener noreferrer">https://volkszaehler.org<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><h3 id="zigbee2mqtt">Zigbee2MQTT<a href="#zigbee2mqtt" 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>Ähnlich zu zwavejs2mqtt bietet mit zigbee2mqtt die Möglichkeit Zigbee-Geräte per MQTT mit Home Assistant verbinden zu können. Ich nutze hierfür das<a href="https://www.amazon.de/shop/teqqyde/list/3JR8DIQ92BDIQ?ref_=aip_sf_list_spv_ons_mixed_d" target="_blank" rel="noopener noreferrer">Raspberry Pi<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>
Modul RaspBee II und verzichte somit auf sämtliche Herstellerbridges die mir Zigbee bereit stellen wrüden.</p><p>Link:<a href="https://www.zigbee2mqtt.io" target="_blank" rel="noopener noreferrer">https://www.zigbee2mqtt.io<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><aside class="callout callout-info" role="note" aria-label="Hinweis"><svg class="callout-icon" aria-hidden="true" focusable="false" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg><div class="callout-content"><p class="callout-title">Hinweis</p><div class="callout-body">ZigBee ist ein drahtloser Kommunikationsstandard, der speziell für die Anforderungen von Geräten in der Haus- und Gebäudeautomation, der industriellen Steuerung und der Sensor-Netzwerktechnik entwickelt wurde. ZigBee-Geräte sind in der Regel klein, verbrauchen wenig Strom und kommunizieren in Netzen mit niedriger Datenrate, was sie ideal für batteriebetriebene und eingebettete Anwendungen macht.</div></div></aside><h3 id="pgadmin">PGAdmin<a href="#pgadmin" 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>Meine Kenntnisse bei MySQL/MariaDB sind ganz okay. PostgresQL kann ich allerdings so gut wie gar nicht. Entsprechend habe ich hier ein Webinterface zur Verwaltung meines PostgresQL Servers. Die MySQL/MariaDB Alternative<a href="https://www.phpmyadmin.net" target="_blank" rel="noopener noreferrer">phpMyAdmin<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>
sollte ja auch jedem bekannt sein.</p><p>Link:<a href="https://www.pgadmin.org" target="_blank" rel="noopener noreferrer">https://www.pgadmin.org<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>
]]></content:encoded><category>homelab</category><category>home-assistant</category><category>smart-home</category><category>kubernetes</category></item><item><title>Z-Wave USB Stick in Proxmox LXC nutzen</title><link>https://www.teqqy.de/z-wave-usb-stick-in-proxmox-lxc-nutzen/</link><pubDate>Thu, 28 Dec 2017 22:32:42 +0100</pubDate><lastBuildDate>Thu, 28 Dec 2017 22:32:42 +0100</lastBuildDate><guid isPermaLink="true">https://www.teqqy.de/z-wave-usb-stick-in-proxmox-lxc-nutzen/</guid><description>Fast alle meine Systeme laufen in LXC Container auf meinem Proxmox Host, so natürlich auch Home Assistant. Damit dieser USB-Stick auch in Home Assistant (externer Link) funktioniert, reiche ich diesen mit ein paar kleinen Befehlen weiter. Um einen Z-Wave USB Stick in Proxmox LXC nutzen zu können, sind einige kleine Anpassungen der Konfiguration notwendig. Dieser Blogbeitrag hilft dir dabei.</description><content:encoded>&lt;![CDATA[<p>Fast alle meine Systeme laufen in LXC Container auf meinem Proxmox Host, so natürlich auch Home Assistant. Damit dieser USB-Stick auch in<a href="https://www.home-assistant.io/" target="_blank" rel="noopener noreferrer">Home Assistant<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>
funktioniert, reiche ich diesen mit ein paar kleinen Befehlen weiter. Um einen Z-Wave USB Stick in Proxmox LXC nutzen zu können, sind einige kleine Anpassungen der Konfiguration notwendig. Dieser Blogbeitrag hilft dir dabei.</p><p><img src="images/proxmox-lxc-zwave-1024x282.webp" alt="Screenshot eines Proxmox LXC für Z-Wave" loading="lazy" fetchpriority="auto" decoding="async"/><p>Mein<a href="https://amzn.to/2DuYUsx" target="_blank" rel="noopener noreferrer">Aeotec Z-Wave Stick<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>
wird unter Debian und Debianderivaten als<code>/dev/ttyACM0</code> erkannt. Entsprechend möchte auch Home Assistant diesen so ansprechen. Wir müssen dafür die zugehörige Gruppe unter Linux heraus finden. Das funktioniert mit</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>ls -l /dev/ttyACM0</span></span></code></pre></div></div><p>In unserem Fall ist die Zahl 166 die entscheidende. Um den Stick auch korrekt an Home Assistant weiter zu reichen, editieren wir nun die Konfigurationsdatei des LXC Containers. Diese liegt bei mir unter</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label"/><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang=""><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><pre tabindex="0"><code>/etc/pve/lxc/[ID].conf</code></pre></div><p>Ganz unten fügen wir nun folgende zwei Zeilen ein und speichern die Datei ab.</p><div class="code-block"><div class="code-block-header"><span class="code-lang-label">conf</span><button class="code-copy-btn" type="button" aria-label="Code kopieren" data-umami-event="Code Copy" data-umami-event-lang="conf"><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><pre tabindex="0"><code class="language-conf" data-lang="conf">lxc.cgroup2.devices.allow: c 166:* rwmlxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file</code></pre></div><p>Zudem sollten noch die Rechte auf die /dev/ttyACM0 angepasst werden</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>chmod o+rw /dev/ttyACM0</span></span></code></pre></div></div><p>Nun kannst du deinen Z-Wave USB Stick in Proxmox LXC nutzen und dein Smarthome aufbauen.</p>
]]></content:encoded><category>proxmox</category><category>home-assistant</category><category>smart-home</category></item></channel></rss>