{"id":507,"date":"2019-12-22T18:12:16","date_gmt":"2019-12-22T17:12:16","guid":{"rendered":"http:\/\/blog.chen-hongyi.com\/?p=507"},"modified":"2020-01-08T19:41:37","modified_gmt":"2020-01-08T18:41:37","slug":"%e5%85%a5%e5%9d%91ha-%e8%ae%b0%e5%bd%95%e5%ae%89%e8%a3%85home-assistant","status":"publish","type":"post","link":"https:\/\/chen-hongyi.com\/?p=507","title":{"rendered":"\u5165\u5751HA. \u8bb0\u5f55\u5b89\u88c5home assistant (docker)"},"content":{"rendered":"\n<p>\u5148\u4e70\u4e86\u4e2a\u667a\u80fd\u706f\u6ce1\uff0c\u4e70\u56de\u5bb6\u53d1\u73b0\u9700\u8981\u4e00\u4e2azigbee\u7684\u7f51\u5173\uff0e\u641c\u4e86\u4e00\u4e0b\uff0c\u4e70\u4e86\u4e2aconbee II\u7684usb\u3000\u7f51\u5173\uff0c\uff0e\u7136\u540e\u9700\u8981\u53f0\u7535\u8111\uff0c\u624b\u4e0a\u6ca1\u6709\u6811\u8393\u6d3e\uff0c\u6240\u4ee5\u627e\u4e86\u4e00\u53f0\u95f2\u7f6e\u4e86\u591a\u5e74\u7684\u65e7\u5bcc\u58eb\u5eb7\u7684\u4e0a\u7f51\u672cnt-330\u6765\u505a\uff0eCPU\u662finter ATOM\u3000\u652f\u6301amd64\u67b6\u6784\uff0c2G\u5185\u5b58\uff0c256G\u786c\u76d8\uff0e\u5148\u91cd\u88c5\u4e86ubuntu 18. \u7136\u540e\u5b89\u88c5conBee II\u7684\u9a71\u52a8\uff0e\u6d4b\u8bd5\u53ef\u7528\uff0e\u7136\u540e\u5f00\u59cb\u5b89\u88c5home assistant. <\/p>\n\n\n\n<p>\u5b98\u7f51\u591a\u90fd\u662f\u7ed9\u6811\u8393\u6d3e\u5199\u7684\uff0c\u4e00\u822c\u76f4\u63a5\u7ed9\u955c\u50cf\uff0e\u7ed9linux\u4e0d\u592a\u8be6\u7ec6\uff0e\u6211\u5148\u5c1d\u8bd5\u5b89\u88c5\u5b98\u65b9\u5bf9unbuntu\u7528\u6237\u7684\u6307\u5f15\uff1a<a href=\"https:\/\/www.home-assistant.io\/hassio\/installation\/\">https:\/\/www.home-assistant.io\/hassio\/installation\/<\/a>\u3000<\/p>\n\n\n\n<p>\u4e0d\u592a\u6210\u529f\uff0e\u6700\u540e\u641c\u5230\u7528docker\u5b8c\u6210\u7684\u4f8b\u5b50\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/community.home-assistant.io\/t\/installing-home-assistant-on-ubuntu-18-10\/95732\">https:\/\/community.home-assistant.io\/t\/installing-home-assistant-on-ubuntu-18-10\/95732<\/a><\/p>\n\n\n\n<p>sudo -i <br>add-apt-repository universe <br>apt-get <strong>update<\/strong> <br>apt-<strong>getinstall<\/strong> -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common <br>curl -fsSL get.docker.com | sh <br>curl -sL &#8220;https:\/\/raw.githubusercontent.com\/home-assistant\/hassio-build\/master\/install\/hassio_install&#8221; | bash -s<\/p>\n\n\n\n<p>\u6700\u540e\u4e00\u53e5\u51fa\u9519\uff0c\u6309\u540e\u641c\u7d22\uff0c\u6839\u636e\u63d0\u793a\u9700\u8981\u66f4\u65b0\u5373\u53ef<br><a href=\"https:\/\/github.com\/home-assistant\/hassio-installer\">https:\/\/github.com\/home-assistant\/hassio-installer<\/a><\/p>\n\n\n\n<p>\u65b0\u7684\u547d\u4ee4\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -sL https:\/\/raw.githubusercontent.com\/home-assistant\/hassio-installer\/master\/hassio_install.sh | bash -s<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b89\u88c5\u5b8c\u6210<a href=\"https:\/\/github.com\/home-assistant\/hassio-installer#command-line-arguments\"><\/a><\/h3>\n\n\n\n<p>\u6253\u5f008123\u7aef\u53e3\u5373\u53ef\u4f7f\u7528HA\u4e86\uff0e<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u4e70\u4e86\u4e2a\u667a\u80fd\u706f\u6ce1\uff0c\u4e70\u56de\u5bb6\u53d1\u73b0\u9700\u8981\u4e00\u4e2azigbee\u7684\u7f51\u5173\uff0e\u641c\u4e86\u4e00\u4e0b\uff0c\u4e70\u4e86\u4e2aconb &hellip; <a href=\"https:\/\/chen-hongyi.com\/?p=507\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-507","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/posts\/507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=507"}],"version-history":[{"count":2,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/posts\/507\/revisions"}],"predecessor-version":[{"id":519,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=\/wp\/v2\/posts\/507\/revisions\/519"}],"wp:attachment":[{"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chen-hongyi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}