{"id":568,"date":"2020-06-12T11:19:32","date_gmt":"2020-06-12T03:19:32","guid":{"rendered":"https:\/\/www.iotch.xyz\/?p=568"},"modified":"2020-06-12T11:19:32","modified_gmt":"2020-06-12T03:19:32","slug":"home-assistant-%e4%b8%ad%e6%96%87%e6%96%87%e6%a1%a3","status":"publish","type":"post","link":"https:\/\/www.iotch.xyz\/?p=568","title":{"rendered":"Home Assistant \u4e2d\u6587\u6587\u6863"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u901a\u7528<\/h1>\n\n\n\n<p>Home Assistant \u8fd0\u884c\u5728 <strong>Python 3.5.3 \u53ca\u4ee5\u4e0a<\/strong> \u73af\u5883\u4e0b\uff0c\u4e00\u822c\u6765\u8bf4\uff0c\u7b26\u5408 Python \u8fd0\u884c\u6761\u4ef6\u7684\u7cfb\u7edf\u7686\u53ef\u5b89\u88c5 Home Assistant\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u901a\u7528\u5b89\u88c5\">\u901a\u7528\u5b89\u88c5<a href=\"https:\/\/home-assistant.cc\/installation\/general\/#\u901a\u7528\u5b89\u88c5\" target=\"_blank\"  rel=\"nofollow\" >\u00b6<\/a><\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 install homeassistant\nhass --open-ui\n<\/pre>\n\n\n\n<p>\u6ce8\u610f<\/p>\n\n\n\n<p>\u4f7f\u7528\u6b64\u65b9\u6cd5\u5e94\u786e\u4fdd\u6240\u9700\u4f9d\u8d56\u5df2\u5b89\u88c5\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"python-\u865a\u62df\u73af\u5883\u5b89\u88c5\">Python \u865a\u62df\u73af\u5883\u5b89\u88c5<a href=\"https:\/\/home-assistant.cc\/installation\/general\/#python-\u865a\u62df\u73af\u5883\u5b89\u88c5\" target=\"_blank\"  rel=\"nofollow\" >\u00b6<\/a><\/h2>\n\n\n\n<p>Home Assistant \u5b98\u65b9\u63a8\u8350\u4f7f\u7528 Python \u865a\u62df\u73af\u5883\u5b89\u88c5 Home Assistant \u4ee5\u907f\u514d\u5f71\u54cd\u751f\u4ea7\u73af\u5883\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a <code>python3 -m venv homeassistant<\/code><\/li><li>\u6253\u5f00\u865a\u62df\u73af\u5883\uff1a <code>cd homeassistant<\/code><\/li><li>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a <code>source bin\/activate<\/code><\/li><li>\u5b89\u88c5 Home Assistant\uff1a <code>python3 -m pip install --upgrade homeassistant<\/code><\/li><li>\u542f\u52a8 Home Assistant \u5e76\u6253\u5f00\u7f51\u9875\uff1a <code>hass --open-ui<\/code><\/li><\/ol>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u5f00\u53d1\u7248\u5b89\u88c5\">\u5f00\u53d1\u7248\u5b89\u88c5<a href=\"https:\/\/home-assistant.cc\/installation\/general\/#\u5f00\u53d1\u7248\u5b89\u88c5\" target=\"_blank\"  rel=\"nofollow\" >\u00b6<\/a><\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 install --upgrade git+git:\/\/github.com\/home-assistant\/home-assistant.git@dev\nhass --open-ui\n<\/pre>\n\n\n\n<p>\u6ce8\u610f<\/p>\n\n\n\n<p>\u8bf7\u786e\u4fdd\u5df2\u638c\u63e1\u4e00\u5b9a\u5f00\u53d1\u80fd\u529b\u518d\u4f7f\u7528\u5f00\u53d1\u7248\uff0c\u4e0d\u63a8\u8350\u5c06\u5f00\u53d1\u7248\u7cfb\u7edf\u7528\u4e8e\u65e5\u5e38\u751f\u4ea7\u73af\u5883\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong>\u5177\u4f53\u5404\u64cd\u4f5c\u7cfb\u7edf\u53ca\u5e73\u53f0\u5b89\u88c5\u65b9\u6cd5\u8bf7\u53c2\u9605\u5b50\u9879\u3002<\/strong><\/p>\n\n\n\n<p>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/home-assistant.cc\/installation\/general\/\" target=\"_blank\" rel=\"noreferrer noopener\" rel=\"nofollow\" >https:\/\/home-assistant.cc\/installation\/general\/<\/a><\/p>\n<button class=\"simplefavorite-button\" data-postid=\"568\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u901a\u7528 Home Assistant \u8fd0\u884c\u5728 Python 3.5.3 \u53ca\u4ee5\u4e0a \u73af\u5883\u4e0b\uff0c\u4e00\u822c\u6765\u8bf4\uff0c\u7b26\u5408 Python \u8fd0\u884c\u6761\u4ef6\u7684\u7cfb\u7edf &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-568","post","type-post","status-publish","format-standard","hentry","category-9"],"_links":{"self":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/posts\/568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=568"}],"version-history":[{"count":0,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/posts\/568\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}