{"id":251,"date":"2025-07-20T01:08:42","date_gmt":"2025-07-19T23:08:42","guid":{"rendered":"https:\/\/escher.cc\/?p=251"},"modified":"2025-07-23T23:56:15","modified_gmt":"2025-07-23T21:56:15","slug":"home-assistant-auf-proxmox-8-installieren","status":"publish","type":"post","link":"https:\/\/www.escher.cc\/index.php\/2025\/07\/20\/home-assistant-auf-proxmox-8-installieren\/","title":{"rendered":"Home Assistant auf Proxmox oder Raspberry installieren"},"content":{"rendered":"\n<p>Das Smart Home System &#8222;Home Asisstant&#8220; erfreut sich zunehmender Beliebtheit. Ich habe es schon sehr lange auf einem Raspberry Pi 4 laufen und stelle nun auf Proxmox um. Damit spare ich ein Ger\u00e4t.<\/p>\n\n\n\n<p>Ich erkl\u00e4re hier beide Installationswege.<\/p>\n\n\n\n<p>Angeschlossene Hardware wie ein Zigbee-Stick funktionieren beim Raspberry direkt (nach HA Neustart), und bei Proxmox erst nach dem Durchreichen an die VM (mehr dazu im Proxmox-Teil der Doku).<\/p>\n\n\n\n<p>Auf geht&#8217;s&#8230;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<details class=\"wp-block-details\"><summary><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color is-layout-flow wp-block-details-is-layout-flow\">Installation von Home Assistant OS auf Proxmox<\/mark><\/strong><\/summary>\n<p>Geht in Proxmox auf eure Shell und startet folgendes Script:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bash -c \"$(wget -qLO - https:\/\/github.com\/community-scripts\/ProxmoxVE\/raw\/main\/vm\/haos-vm.sh)\"<\/pre>\n\n\n\n<p>Folgende Settings sollten beachtet werden&#8230;<\/p>\n\n\n\n<p>W\u00e4hrend der Installation die &#8222;advanced&#8220; Settings w\u00e4hlen und die &#8222;stable&#8220; Version (derzeit 16.0) installieren.<br>Die Machine-ID k\u00f6nnt ihr nach euren W\u00fcnschen anpassen. Den Machine-Type stellt ihr bitte auf q35 um.<br>Ansonsten kann eigentlich alles \u00fcbernommen werden. Hostname k\u00f6nnt ihr noch \u00e4ndern, m\u00fcsst ihr aber nicht&#8230;<br>Den RAM w\u00fcrde ich aber noch auf 4096MB erh\u00f6hen.<\/p>\n\n\n\n<p>Als Storage-Pool habe ich &#8222;local-lvm&#8220; gew\u00e4hlt.<\/p>\n\n\n\n<p>Um die angeschlossene Hardware &#8211; z. B. ein Zigbee-Stick durchzureichen, m\u00fcsst ihr auf Proxmox in den VM-Einstellungen bei Hardware das USB-Device durchschleifen (Add USB-Device). Dazu muss die VM ausgeschaltet sein. Nach dem n\u00e4chsten Start von der VM steht die Hardware zur Verf\u00fcgung.<\/p>\n\n\n\n<p>Wenn das Script durchgelaufen ist, wechselt ihr in die &#8222;Console&#8220; von Home Assistant auf eurem Proxmox. Ihr seht dort auch die IP-Adresse (bei mir gerade 192.168.200.53).<\/p>\n\n\n\n<p>Dann kann ich auf https:\/\/192.168.200.53:8123 Home Assistant aufrufen. Es kann sein, dass ihr noch etwas &#8222;warten&#8220; m\u00fcsst. Home Assistant w\u00fcrde dies aber dann anzeigen.<\/p>\n\n\n\n<p>Ansonsten ist Home Assistant entsprechend einsatzbereit und l\u00e4sst euch mit der Einrichtung starten.<\/p>\n\n\n\n<p>Als erstes m\u00f6chte Home Assistant, dass ihr einen Benutzer anlegt und eure Adresse einrichtet. Sobald das erledigt ist, werden im Anschluss auch schon die ersten &#8222;Ger\u00e4te&#8220; erkannt&#8230;<\/p>\n<\/details>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<details class=\"wp-block-details\"><summary><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color is-layout-flow wp-block-details-is-layout-flow\">Installation auf dem Raspberry Pi (4 oder 5)<\/mark><\/strong><\/summary>\n<p>Das entsprechende Iso runterladen und mit einem SD-Card-Flash-Tool auf die micro-SD-Karte schreiben.<\/p>\n\n\n\n<p>F\u00fcr den <a href=\"https:\/\/github.com\/home-assistant\/operating-system\/releases\/download\/16.0\/haos_rpi4-64-16.0.img.xz\">Rasperry Pi 4<\/a> oder den <a href=\"https:\/\/github.com\/home-assistant\/operating-system\/releases\/download\/16.0\/haos_rpi5-64-16.0.img.xz\">Raspberry Pi 5<\/a>.<\/p>\n<\/details>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<details class=\"wp-block-details\"><summary><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color is-layout-flow wp-block-details-is-layout-flow\">Erweiterter Modus in Home Assistant<\/mark><\/strong><\/summary>\n<p>Ohne den erweiterten Modus seht ihr manche Optionen in Home Assistant nicht. Klickt dazu bitte links unten auf euren Namen und aktiviert dort den erweiterten Modus.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details\"><summary><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color is-layout-flow wp-block-details-is-layout-flow\">HACS &#8211; Home Assistant Community Store<\/mark><\/strong><\/summary>\n<p><br>HACS bedeutet &#8222;Home Assistant Community Store&#8220;. Hier gibt&#8217;s tonnenweise schicke Add-Ons.<br>Besuche diese <a href=\"https:\/\/my.home-assistant.io\/redirect\/_change\/?redirect=supervisor_addon%2F%3Faddon%3Dcb646a50_get%26repository_url%3Dhttps%253A%252F%252Fgithub.com%252Fhacs%252Faddons\">Seite<\/a>, und trage die IP von Home Assistant ein. Klicke auf <strong>save<\/strong> und dann auf <strong>open link<\/strong>. Home Assistant bem\u00e4ngelt das fehlende Repository. Klickt bitte auf <strong>HINZUF\u00dcGEN<\/strong>, und dann auf <strong>INSTALLIEREN<\/strong>. Startet das Add-On, sobald es installiert ist.<\/p>\n\n\n\n<p>Jetzt muss Home Assistant neu gestartet werden. Danach k\u00f6nnt ihr HACS als Integration hinzuf\u00fcgen. Es wird eine Authorisierung in Github ben\u00f6tigt.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details\"><summary><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color is-layout-flow wp-block-details-is-layout-flow\">Advanced SSH &amp; Web Terminal (HACS)<\/mark><\/strong><\/summary>\n<p><br>Mit diesem Add-On l\u00e4sst sich SSH und ein Web-Terminal einrichten.<br>Unter Einstellungen -&gt; Add-Ons -&gt; Add-On-Store -&gt; &#8222;Advanced SSH &amp; Web Terminal&#8220; installieren, Watchdog und Seitenleiste aktivieren,<br>unter Konfiguration username und password definieren.<br>Add-On starten.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details\"><summary><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color is-layout-flow wp-block-details-is-layout-flow\">Homematic(IP) local (HACS)<\/mark><\/strong><br><\/summary>\n<p><br>Dieses Add-On wird ben\u00f6tigt um die Kommunikation mit einer CCU (oder Derivaten) aufzunehmen. Dazu muss unter HACS folgendes benutzerdefinierte Reposiory hinzugef\u00fcgt werden.<\/p>\n\n\n\n<p><code>https:\/\/github.com\/danielperna84\/custom_homematic<\/code><\/p>\n\n\n\n<p>Danach unter HACS das Add-On Homematic(IP) local runterladen und Home Assistant neu starten.<br>Nach dem Neustart kann dann die Integration &#8222;Homematic(IP) local&#8220; hinzugef\u00fcgt werden.<br><br>Der Instanzname ist frei w\u00e4hlbar. Dann noch die IP-Adresse der CCU eingeben sowie den passenden Usernamen und das Passwort der CCU. Im n\u00e4chsten Fenster muss dann noch Homematic IP und Bidcos-RF aktiviert werden.<\/p>\n\n\n\n<p>Nach klicken auf OK ist das Add-On fertig eingerichtet.<br><br><\/p>\n<\/details>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>Das Smart Home System &#8222;Home Asisstant&#8220; erfreut sich zunehmender Beliebtheit. Ich habe es schon sehr lange auf einem Raspberry Pi 4 laufen und stelle nun auf Proxmox um. Damit spare ich ein Ger\u00e4t. Ich&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-251","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/posts\/251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/comments?post=251"}],"version-history":[{"count":24,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/posts\/251\/revisions"}],"predecessor-version":[{"id":286,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/posts\/251\/revisions\/286"}],"wp:attachment":[{"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/media?parent=251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/categories?post=251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.escher.cc\/index.php\/wp-json\/wp\/v2\/tags?post=251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}