{"id":379,"date":"2025-04-30T09:49:04","date_gmt":"2025-04-30T01:49:04","guid":{"rendered":"https:\/\/www.armbian.net\/?p=379"},"modified":"2025-04-30T09:49:04","modified_gmt":"2025-04-30T01:49:04","slug":"home-assistant","status":"publish","type":"post","link":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/","title":{"rendered":"Home Assistant"},"content":{"rendered":"<h2>\u4ec0\u4e48\u662fHome Assistant\uff1f<\/h2>\n<p><strong>Home Assistant<\/strong> \u662f\u4e00\u6b3e\u57fa\u4e8e Python \u7684\u667a\u80fd\u5bb6\u5c45\u5f00\u6e90\u7cfb\u7edf\uff0c\u652f\u6301\u6574\u5408\u4f17\u591a\u54c1\u724c\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff0c\u63d0\u4f9b\u7edf\u4e00\u7684\u63a7\u5236\u754c\u9762\u548c\u81ea\u52a8\u5316\u529f\u80fd\u3002<\/p>\n<h3>\u4e2d\u6587\u6587\u6863\u8d44\u6e90<\/h3>\n<ul>\n<li>\u5b98\u65b9\u4e2d\u6587\u6587\u6863\uff1a<a href=\"https:\/\/home-assistant-china.github.io\/\" target=\"_blank\" rel=\"noopener\">https:\/\/home-assistant-china.github.io\/<\/a><\/li>\n<li>\u6587\u6863\u955c\u50cf\u7ad9\uff1a<a href=\"https:\/\/www.wenjiangs.com\/doc\/home-assistant-index\" target=\"_blank\" rel=\"noopener\">https:\/\/www.wenjiangs.com\/doc\/home-assistant-index<\/a><\/li>\n<\/ul>\n<h2>\u5b89\u88c5\u65b9\u5f0f<\/h2>\n<h3>1. \u76f4\u63a5\u5b89\u88c5<\/h3>\n<pre><code>pip3 install homeassistant\r\nhass --open-ui<\/code><\/pre>\n<p><em>\u6ce8\u610f\uff1a\u4f7f\u7528\u6b64\u65b9\u6cd5\u5e94\u786e\u4fdd\u7cfb\u7edf\u5df2\u5b89\u88c5Python3\u53ca\u76f8\u5173\u4f9d\u8d56\u5e93\u3002<\/em><\/p>\n<h3>2. Python\u865a\u62df\u73af\u5883\u5b89\u88c5\uff08\u5b98\u65b9\u63a8\u8350\uff09<\/h3>\n<ol>\n<li>\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a\n<pre><code>python3 -m venv homeassistant<\/code><\/pre>\n<\/li>\n<li>\u8fdb\u5165\u76ee\u5f55\uff1a\n<pre><code>cd homeassistant<\/code><\/pre>\n<\/li>\n<li>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a\n<pre><code>source bin\/activate<\/code><\/pre>\n<\/li>\n<li>\u5b89\u88c5Home Assistant\uff1a\n<pre><code>python3 -m pip install --upgrade homeassistant<\/code><\/pre>\n<\/li>\n<li>\u542f\u52a8\u670d\u52a1\uff1a\n<pre><code>hass --open-ui<\/code><\/pre>\n<\/li>\n<\/ol>\n<h3>3. Docker\u5b89\u88c5<\/h3>\n<p>&nbsp;<\/p>\n<p>\u6253\u5f00\u5b9d\u5854\u9762\u677f&gt;docker&gt;\u5e94\u7528\u5546\u5e97&gt;Home Assistant&gt;\u5b89\u88c5&gt;\u9ed8\u8ba4\u4fe1\u606f\u5373\u53ef\u70b9\u51fb\u5b89\u88c5\uff0c\u7b49\u5f85\u5b89\u88c5\u5b8c\u6210<\/p>\n<h3>\u5b8c\u6210\u5b89\u88c5\u540e\uff0c\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\uff1a<code>http:\/\/\u670d\u52a1\u5668IP:8123<\/code><\/h3>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<pre><code><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u4e48\u662fHome Assistant\uff1f Home Assistant \u662f\u4e00\u6b3e\u57fa\u4e8e Python \u7684\u667a\u80fd\u5bb6\u5c45\u5f00\u6e90\u7cfb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-379","post","type-post","status-publish","format-standard","hentry","category-17"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Home Assistant - armbian\u670d\u52a1\u5668\u7cfb\u7edf<\/title>\n<meta name=\"description\" content=\"armbian\u4e09\u79cd\u65b9\u5f0f\u5b89\u88c5Home Assistant \u662f\u4e00\u6b3e\u57fa\u4e8e Python \u7684\u667a\u80fd\u5bb6\u5c45\u5f00\u6e90\u7cfb\u7edf\uff0c\u652f\u6301\u6574\u5408\u4f17\u591a\u54c1\u724c\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff0c\u63d0\u4f9b\u7edf\u4e00\u7684\u63a7\u5236\u754c\u9762\u548c\u81ea\u52a8\u5316\u529f\u80fd\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Home Assistant - armbian\u670d\u52a1\u5668\u7cfb\u7edf\" \/>\n<meta property=\"og:description\" content=\"armbian\u4e09\u79cd\u65b9\u5f0f\u5b89\u88c5Home Assistant \u662f\u4e00\u6b3e\u57fa\u4e8e Python \u7684\u667a\u80fd\u5bb6\u5c45\u5f00\u6e90\u7cfb\u7edf\uff0c\u652f\u6301\u6574\u5408\u4f17\u591a\u54c1\u724c\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff0c\u63d0\u4f9b\u7edf\u4e00\u7684\u63a7\u5236\u754c\u9762\u548c\u81ea\u52a8\u5316\u529f\u80fd\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/\" \/>\n<meta property=\"og:site_name\" content=\"armbian\u670d\u52a1\u5668\u7cfb\u7edf\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-30T01:49:04+00:00\" \/>\n<meta name=\"author\" content=\"2668171712\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"2668171712\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/\"},\"author\":{\"name\":\"2668171712\",\"@id\":\"https:\/\/www.armbian.net\/#\/schema\/person\/6ac5fb3503d4a20a36431ff5b0d3e542\"},\"headline\":\"Home Assistant\",\"datePublished\":\"2025-04-30T01:49:04+00:00\",\"dateModified\":\"2025-04-30T01:49:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/\"},\"wordCount\":38,\"publisher\":{\"@id\":\"https:\/\/www.armbian.net\/#\/schema\/person\/6ac5fb3503d4a20a36431ff5b0d3e542\"},\"articleSection\":[\"\u7269\u8054\u7f51\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/\",\"url\":\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/\",\"name\":\"Home Assistant - armbian\u670d\u52a1\u5668\u7cfb\u7edf\",\"isPartOf\":{\"@id\":\"https:\/\/www.armbian.net\/#website\"},\"datePublished\":\"2025-04-30T01:49:04+00:00\",\"dateModified\":\"2025-04-30T01:49:04+00:00\",\"description\":\"armbian\u4e09\u79cd\u65b9\u5f0f\u5b89\u88c5Home Assistant \u662f\u4e00\u6b3e\u57fa\u4e8e Python \u7684\u667a\u80fd\u5bb6\u5c45\u5f00\u6e90\u7cfb\u7edf\uff0c\u652f\u6301\u6574\u5408\u4f17\u591a\u54c1\u724c\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff0c\u63d0\u4f9b\u7edf\u4e00\u7684\u63a7\u5236\u754c\u9762\u548c\u81ea\u52a8\u5316\u529f\u80fd\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.armbian.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Home Assistant\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.armbian.net\/#website\",\"url\":\"https:\/\/www.armbian.net\/\",\"name\":\"armbian\u670d\u52a1\u5668\u7cfb\u7edf\",\"description\":\"armbian \u8ba9\u4e07\u7269\u91cd\u65b0\u91ca\u653e\u4ef7\u503c\uff0c\u4e3a\u4e86\u65e0\u6cd5\u66ff\u4ee3\u7684\u4ef7\u503c\",\"publisher\":{\"@id\":\"https:\/\/www.armbian.net\/#\/schema\/person\/6ac5fb3503d4a20a36431ff5b0d3e542\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.armbian.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.armbian.net\/#\/schema\/person\/6ac5fb3503d4a20a36431ff5b0d3e542\",\"name\":\"2668171712\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.armbian.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.armbian.net\/wp-content\/uploads\/2023\/03\/cropped-\u5c0f\u73a9\u9b54\u76d2.png\",\"contentUrl\":\"https:\/\/www.armbian.net\/wp-content\/uploads\/2023\/03\/cropped-\u5c0f\u73a9\u9b54\u76d2.png\",\"width\":512,\"height\":512,\"caption\":\"2668171712\"},\"logo\":{\"@id\":\"https:\/\/www.armbian.net\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.armbian.net\"],\"url\":\"https:\/\/www.armbian.net\/index.php\/author\/2668171712\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Home Assistant - armbian\u670d\u52a1\u5668\u7cfb\u7edf","description":"armbian\u4e09\u79cd\u65b9\u5f0f\u5b89\u88c5Home Assistant \u662f\u4e00\u6b3e\u57fa\u4e8e Python \u7684\u667a\u80fd\u5bb6\u5c45\u5f00\u6e90\u7cfb\u7edf\uff0c\u652f\u6301\u6574\u5408\u4f17\u591a\u54c1\u724c\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff0c\u63d0\u4f9b\u7edf\u4e00\u7684\u63a7\u5236\u754c\u9762\u548c\u81ea\u52a8\u5316\u529f\u80fd\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/","og_locale":"zh_CN","og_type":"article","og_title":"Home Assistant - armbian\u670d\u52a1\u5668\u7cfb\u7edf","og_description":"armbian\u4e09\u79cd\u65b9\u5f0f\u5b89\u88c5Home Assistant \u662f\u4e00\u6b3e\u57fa\u4e8e Python \u7684\u667a\u80fd\u5bb6\u5c45\u5f00\u6e90\u7cfb\u7edf\uff0c\u652f\u6301\u6574\u5408\u4f17\u591a\u54c1\u724c\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff0c\u63d0\u4f9b\u7edf\u4e00\u7684\u63a7\u5236\u754c\u9762\u548c\u81ea\u52a8\u5316\u529f\u80fd\u3002","og_url":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/","og_site_name":"armbian\u670d\u52a1\u5668\u7cfb\u7edf","article_published_time":"2025-04-30T01:49:04+00:00","author":"2668171712","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"2668171712","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/#article","isPartOf":{"@id":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/"},"author":{"name":"2668171712","@id":"https:\/\/www.armbian.net\/#\/schema\/person\/6ac5fb3503d4a20a36431ff5b0d3e542"},"headline":"Home Assistant","datePublished":"2025-04-30T01:49:04+00:00","dateModified":"2025-04-30T01:49:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/"},"wordCount":38,"publisher":{"@id":"https:\/\/www.armbian.net\/#\/schema\/person\/6ac5fb3503d4a20a36431ff5b0d3e542"},"articleSection":["\u7269\u8054\u7f51"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/","url":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/","name":"Home Assistant - armbian\u670d\u52a1\u5668\u7cfb\u7edf","isPartOf":{"@id":"https:\/\/www.armbian.net\/#website"},"datePublished":"2025-04-30T01:49:04+00:00","dateModified":"2025-04-30T01:49:04+00:00","description":"armbian\u4e09\u79cd\u65b9\u5f0f\u5b89\u88c5Home Assistant \u662f\u4e00\u6b3e\u57fa\u4e8e Python \u7684\u667a\u80fd\u5bb6\u5c45\u5f00\u6e90\u7cfb\u7edf\uff0c\u652f\u6301\u6574\u5408\u4f17\u591a\u54c1\u724c\u7684\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\uff0c\u63d0\u4f9b\u7edf\u4e00\u7684\u63a7\u5236\u754c\u9762\u548c\u81ea\u52a8\u5316\u529f\u80fd\u3002","breadcrumb":{"@id":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.armbian.net\/index.php\/2025\/04\/30\/home-assistant\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.armbian.net\/"},{"@type":"ListItem","position":2,"name":"Home Assistant"}]},{"@type":"WebSite","@id":"https:\/\/www.armbian.net\/#website","url":"https:\/\/www.armbian.net\/","name":"armbian\u670d\u52a1\u5668\u7cfb\u7edf","description":"armbian \u8ba9\u4e07\u7269\u91cd\u65b0\u91ca\u653e\u4ef7\u503c\uff0c\u4e3a\u4e86\u65e0\u6cd5\u66ff\u4ee3\u7684\u4ef7\u503c","publisher":{"@id":"https:\/\/www.armbian.net\/#\/schema\/person\/6ac5fb3503d4a20a36431ff5b0d3e542"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.armbian.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/www.armbian.net\/#\/schema\/person\/6ac5fb3503d4a20a36431ff5b0d3e542","name":"2668171712","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.armbian.net\/#\/schema\/person\/image\/","url":"https:\/\/www.armbian.net\/wp-content\/uploads\/2023\/03\/cropped-\u5c0f\u73a9\u9b54\u76d2.png","contentUrl":"https:\/\/www.armbian.net\/wp-content\/uploads\/2023\/03\/cropped-\u5c0f\u73a9\u9b54\u76d2.png","width":512,"height":512,"caption":"2668171712"},"logo":{"@id":"https:\/\/www.armbian.net\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.armbian.net"],"url":"https:\/\/www.armbian.net\/index.php\/author\/2668171712\/"}]}},"views":2345,"_links":{"self":[{"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/posts\/379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/comments?post=379"}],"version-history":[{"count":1,"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"predecessor-version":[{"id":380,"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/posts\/379\/revisions\/380"}],"wp:attachment":[{"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.armbian.net\/index.php\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}