{"id":6913,"date":"2024-04-25T10:57:25","date_gmt":"2024-04-25T08:57:25","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=6913"},"modified":"2026-01-02T16:56:12","modified_gmt":"2026-01-02T14:56:12","slug":"je-change-le-port-de-home-assistant","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/de\/je-change-le-port-de-home-assistant","title":{"rendered":"Ich \u00e4ndere den Port von Home Assistant"},"content":{"rendered":"<h2>Mein Ziel<\/h2>\r\n<p>Um die Verwendung eines \u201eStandard\u201c-Ports zu vermeiden, also aus Sicherheitsgr\u00fcnden, m\u00f6chte ich den Port des Home Assistant \u00e4ndern.<\/p>\r\n<p>Standardm\u00e4\u00dfig wird Port 8123 verwendet. F\u00fcr dieses RetEx werde ich 8888 als Beispiel w\u00e4hlen, aber nat\u00fcrlich habe ich zu Hause ein anderes verwendet.<\/p>\r\n<p><!--more--><\/p>\r\n<h2>Ich \u00e4ndere die Datei configuration.yaml<\/h2>\r\n<p>Sehr klassisch werde ich die Datei configuration.yaml \u00e4ndern und diese beiden Zeilen hinzuf\u00fcgen:<\/p>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">http: server_port: 8888<\/pre>\r\n<p>\u00a0<\/p>\r\n<p><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/port8888.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6914\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/port8888.png\" alt=\"\" width=\"501\" height=\"133\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/port8888.png 501w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/port8888-300x80.png 300w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/p>\r\n<h2>Ich wiederhole Home Assistant<\/h2>\r\n<p><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/port8888-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6917\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/port8888-1.png\" alt=\"\" width=\"755\" height=\"476\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/port8888-1.png 755w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/port8888-1-600x378.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/port8888-1-300x189.png 300w\" sizes=\"auto, (max-width: 755px) 100vw, 755px\" \/><\/a><\/p>\r\n<h2>Ich melde mich mit der neuen Adresse an<\/h2>\r\n<p>Um mich bei Home Assistant anzumelden, verwende ich nicht mehr http:\/\/homeAssistant.local:8321, sondern:<\/p>\r\n<ul>\r\n<li>http:\/\/homeassistant.local:8888<\/li>\r\n<\/ul>\r\n<h2>Ich teste den externen Zugang mit Nabu Casa<\/h2>\r\n<p><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/logo-text.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6920\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2024\/04\/logo-text.png\" alt=\"\" width=\"253\" height=\"214\" \/><\/a><\/p>\r\n<p>Kein Problem, Nabu Casa funktioniert perfekt, der externe Link zu meinem Ha ist ok\u00a0<\/p>\r\n<h2>Bibliographie<\/h2>\r\n<ul>\r\n<li><a href=\"https:\/\/www.wundertech.net\/how-to-access-home-assistant-remotely\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.wundertech.net\/how-to-access-home-assistant-remotely\/<\/a><\/li>\r\n<li><a href=\"https:\/\/rapidlydigital.com\/change-default-port-number-in-home-assistant\/\" target=\"_blank\" rel=\"noopener\">https:\/\/rapidlydigital.com\/change-default-port-number-in-home-assistant\/<\/a><\/li>\r\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Mein Ziel Um die Verwendung eines \u201eStandard\u201c-Ports zu vermeiden, also aus Sicherheitsgr\u00fcnden, m\u00f6chte ich den Port des Home Assistant \u00e4ndern. Standardm\u00e4\u00dfig wird Port 8123 verwendet. F\u00fcr dieses RetEx werde ich 8888 als Beispiel w\u00e4hlen, aber nat\u00fcrlich habe ich zu Hause ein anderes verwendet.<\/p>","protected":false},"author":1,"featured_media":7040,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[70,14,53,166],"tags":[],"class_list":["post-6913","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cybersecurite","category-domotique","category-home-assistant","category-retex"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/6913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/comments?post=6913"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/6913\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media\/7040"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media?parent=6913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/categories?post=6913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/tags?post=6913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}